How would I make a PointLight, local. Meaning that only the player could see it. I don't think it would go in a PlayerGui, so, any help? Is this even possible?
Thanks!
There are a couple ways of making objects like Parts local.
One way is to parent the object to the Camera in a LocalScript...
Instance.new("Part", workspace.CurrentCamera)
Another interesting method is parenting your local object to a Message in the Character object. Objects parented to the message will be localized to the player. Here's an example, assuming the variable character is a reference to the player's Character.
localSpace = Instance.new("Message", character) Instance.new("Part", localSpace) -- A local Part
Using one of these methods above, we can simply make a Part local and then parent the PointLight to the local Part to get what you're looking for!
Locked by TheMyrco
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?