Advertisement
Ben_Scripts343

Slow mo script

Jun 15th, 2021
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer.Character
  2. local hum = plr.HumanoidRootPart
  3. setting = settings().Network
  4. local point = Instance.new("PointLight")
  5. point.Parent = plr.Torso
  6. point.Brightness = 20
  7. point.Range = 10
  8. point.Enabled = false
  9. point.Color = Color3.fromRGB(245, 229, 6)
  10. local Effect = Instance.new("ColorCorrectionEffect")
  11. Effect.Parent = game.Lighting
  12. Effect.Saturation = .8
  13. Effect.Brightness = 0.1
  14. Effect.Contrast = 0.3
  15. Effect.Enabled = false
  16. local time = false
  17.  
  18.  
  19. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  20. if key == "e" then
  21. if time == false then
  22. time = true
  23. local sav = hum.CFrame
  24. point.Enabled = true
  25. Effect.Enabled = true
  26. setting.IncomingReplicationLag = 1000
  27. local plr = game.Players.LocalPlayer.Character
  28. local light = Instance.new("Part")
  29. light.Parent = Workspace
  30. light.Material = "Neon"
  31. light.Name = "Lighting"
  32. light.CFrame = plr.Torso.CFrame*CFrame.new(0,-1,1.2)
  33. light.CanCollide = false
  34. light.Anchored = true
  35. light.Color = Color3.fromRGB(255,254, 0)
  36. light.Transparency = 0.56
  37. light.Size = Vector3.new(1,2.4,6)
  38. light.Position = light.Position+Vector3.new(-1.7,1,-.45)
  39. while wait() do
  40. light.CFrame = plr.Torso.CFrame*CFrame.new(0,0,2.5)
  41. if time == false then
  42. break
  43. end
  44. end
  45.  
  46. else
  47. time = false
  48. point.Enabled = false
  49. Effect.Enabled = false
  50. setting.IncomingReplicationLag = 0
  51. game.Workspace.Lighting:Remove()
  52. end
  53. end
  54. end
  55. )
  56.  
  57.  
  58.  
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement