Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.Off.ClickDetector.MouseClick:Connect(function()
- script.Parent.Light.SpotLight.Brightness = 0
- end)
- script.Parent.On.ClickDetector.MouseClick:Connect(function()
- script.Parent.Light.SpotLight.Brightness = 10
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement