The title can be confusing, but I need help on changing brightness and range of the light part on the player. However, it only adds in light but doesn't change its properties, which have I've been doing wrong?
local Part = script.Parent:WaitForChild("HumanoidRootPart")
script.Light.Parent = Part
script.Light.Brightness = 1
script.Light.Range = 5
wait(0.1)
script:Destroy()

1 comment
Are you trying to add it and in 0.1 seconds it destroys the light that the script added? Sorry i'm confused, Also if your trying to change properties of a something that a script added i recommend using Instance.new