#CCTV Camera System

1 messages · Page 1 of 1 (latest)

winter shard
#

Need help scripting a camera system for an anomaly game. Have tried several tutorials but none have worked. I am very new to scripting.

tough cedar
#

wdym by none have worked

#

did you actually pay attention to the tutorials or did you just copy and paste the code that they gave without knowing how it works

winter shard
#

Went through the vids and followed them but they came back with errors that did not happen on the videos. I don't know where I can learn how to do code like this.

tough cedar
#

what did the errors say

winter shard
#

For one of the vids it was saying a piece of code with nil was preventing the function. This recent vid I tried has this error

faint crowBOT
#

studio** You are now Level 1! **studio

winter shard
#

Players.Stormbreakr907.PlayerGui.SecurityCameras.LocalScript:6: attempt to perform arithmetic (add) on nil and number

#

I go back to the line that has the error but its the same as the video

dry mural
#

It's just logic really

winter shard
#

So maybe just try another tutorial? Cause this should not be adding anything?

dry mural
#

Just use logic to keep track of what camera the player is on

#

And manipulate the camera when the player clicks a button

winter shard
#

Ok. Thanks for the help

dry mural
#

Take it step by step and have fun!