Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. script.Parent.Off.ClickDetector.MouseClick:Connect(function()
  2. script.Parent.Light.SpotLight.Brightness = 0
  3. end)
  4.  
  5. script.Parent.On.ClickDetector.MouseClick:Connect(function()
  6. script.Parent.Light.SpotLight.Brightness = 10
  7. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement