That’s some interesting behaviour. Apparently script.Parent.Parent.Parent.Parent is a player’s character? Try printing out the names of script.Parent, script.Parent.Parent, and etc.
you could just access the HeadLight & pointlightx through workspace then
or put the whole code that you have in the onbutton script
into the HeadlightController.
and then delete the script.
Thanks a billion! I finally understand my mistake, forgot that it reached the root directory of PlayerGui and not the headlight! Thanks a lot, I really appreciate the help! Now I have to figure the hard part of fixing everything ahhh.
Hey uhh sorry to bother you but how do you think I should fix this? I’m not all that sure on moving things from the GUI… So it could be a big help for me if you could help me to implement a way to move it from checking the parent of the playergui and check the parent of the meshpart…