Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- local r = game.Players.LocalPlayer
- local d = r.Character
- local c = workspace.CurrentCamera
- local ld = false
- local False = false
- local blur
- function reset(blur)
- for i = 1, 50 do
- blur.Size = blur.Size - 0.25
- wait()
- end
- c.FieldOfView = 70
- end
- function LightSpeed()
- ld = true
- blur = Instance.new("BlurEffect",game.Lighting)
- blur.Size = 0
- local i = 1
- local a = Instance.new("Sound",d)
- a.SoundId = 'rbxassetid://3152498762'
- a.Volume = 3
- a:Play()
- repeat
- i=i + .5
- blur.Size = blur.Size + 0.25
- if blur.Size > 9 then
- blur.Size = 9
- i = i + 1
- end
- d.HumanoidRootPart.CFrame = d.HumanoidRootPart.CFrame * CFrame.new(0,0,-i * 5)
- c.FieldOfView = c.FieldOfView + 10
- wait()
- until ld == false
- reset(blur)
- ld = False
- blur:Destroy()
- end
- local m = r:GetMouse()
- r.CharacterAdded:Connect(function(jj)
- d = jj
- end)
- d.Humanoid.Died:Connect(function()
- if blur == nil then return end
- reset(blur)
- end)
- m.KeyDown:Connect(function(k)
- k=k:lower()
- if k=="g" and ld == False then
- LightSpeed()
- end
- end)
- m.KeyUp:Connect(function(k)
- k=k:lower()
- if k=="g" then
- ld=false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement