Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This is very Good For horror Games So You Can Use It [This is for Void Script Builder] So Thank You for reading This!
- local mouse = game.Players.LocalPlayer:GetMouse()
- function Light()
- player = game.Players.LocalPlayer
- playerChar = player.Character
- playerLight = playerChar.Torso:FindFirstChild("Light")
- if playerLight then
- playerLight:Destroy()
- else
- light = Instance.new("SurfaceLight",playerChar:FindFirstChild("Torso"))
- light.Name = "Light"
- light.Range = 10 -- Change to distance ofthe Light.
- light.Brightness = 15 -- Change to how much.
- light.Shadows = true -- Change it to True/False.
- local play = Instance.new("Sound",playerChar:FindFirstChild("Head"))
- play.SoundId = "http://www.roblox.com/asset/?id=" --Change the "198914875" to any sound ID you want.
- play:Play()
- end
- end
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- if key == "z" then
- Light()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement