Need help finding my error in this code.
This is my code:
This is the code from Youtube:
what is the code supposed to do and what line is the error on?
There is no error and it is supposed to essentially set your camera to a part, hide your avatar, then show it again once you hit a button.
on line 9, 11, 12 and 13, i am pretty sure you are supposed to do :FindFirstChild() or :Destroy() instead of the .FindFirstChild() or .Destroy()
.Destroy() does not make sense because it is an event and not a function. Hope this helped.
Thank you! I noticed that too after I posted.