RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"light up a part"
-- put this script under the part you want to light up local lightPart = script.Parent local canLight = true function lightOn(bodypart) if canLight then canLight = false local light = Instance.new("PointLight") light.Parent = lightPart light.Range = 25 light.Brightness = 5 task.wait(5) lightPart.PointLight:Destroy() canLight = true end end lightPart.Touched:Connect(lightOn)