Advertisement
howie9983

Roblox CHaracter glow script

Sep 18th, 2018
1,924
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. local mouse = game.Players.LocalPlayer:GetMouse()
  2. function Light()
  3. player = game.Players.LocalPlayer
  4. playerChar = player.Character
  5. playerLight = playerChar.Torso:FindFirstChild("Light")
  6. if playerLight then
  7. playerLight:Destroy()
  8. else
  9. light = Instance.new("SurfaceLight",playerChar:FindFirstChild("Torso"))
  10. light.Name = "Light"
  11. light.Range = 75 -- Change to distance ofthe Light.
  12. light.Brightness = 75 -- Change to how much.
  13. light.Shadows = false -- Change it to True/False.
  14.  
  15.  
  16. local play = Instance.new("Sound",playerChar:FindFirstChild("Head"))
  17. play.SoundId = "http://www.roblox.com/asset/?id=198914875" --Change the "198914875" to any sound ID you want.
  18. play:Play()
  19.  
  20. end
  21. end
  22. mouse.KeyDown:connect(function(key)
  23. key = key:lower()
  24. if key == "f" then -- Change this to any Keys but I reccomand leaving it as [F] key.
  25. Light()
  26. end
  27. end)
  28.  
  29. -- Made by iKennyHuynh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement