#help how do i get the current camera

1 messages · Page 1 of 1 (latest)

indigo pond
last sphinx
#

??

low apex
# indigo pond

You shouldnt need find first child, and make sure the code is in a local script

#

you can only get current camera on the client side

indigo pond
low apex
#

just workspace.CurrentCamera

indigo pond
#

hm lemme check

low apex
#

and what exactly is going wrong? are getting an error?

indigo pond
#

saying im indexing nil

#

and even with your method it stil appears

low apex
#

as in "cam" is nil, or "cameraPart"

indigo pond
low apex
#

can you send a screenshot of the error message

low apex
#

after you define both cam and cameraPart, can you print both of them

indigo pond
#

oh nevermind, cameraPart happens to be nil

#

ill try to fix it, thnaks for the advice