local light = Instance.new("PointLight") light.Parent = game.Players.LocalPlayer:WaitForChild("Character").Torso
Can somebody tell me why this does not work and how to fix this? There is no error. It is a very simple localscript and I can't think of any way how this doesn't work.
You cant waitforchild character, that just simply wont work. Instead, wait for the characteradded event to be fired, then put it inside Something like this.
local light = Instance.new("PointLight") game.Players.LocalPlayer.CharacterAdded:Wait() light.Parent = game.Players.LocalPlayer.Character.Torso