Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tool = script.Parent
- local lightSource = tool.LightSource:WaitForChild("SpotLight")
- tool.Activated:Connect(function()
- lightSource.Enabled = not lightSource.Enabled
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement