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()
- local p = Instance.new("Part",workspace)
- p.CanCollide = false
- p.Anchored = true
- p.Transparency = 1
- p.Name = "Destination"
- p.CFrame = d.HumanoidRootPart.CFrame
- local parts = {}
- local parts2 = {}
- workspace.CurrentCamera.CameraSubject = p
- -- d.Humanoid.Name = "n"
- -- local w = Instance.new("Weld",d.HumanoidRootPart)
- -- w.Part0 = d.UpperTorso
- -- w.Part1 = d.HumanoidRootPart
- -- w.C0 = CFrame.new(0,500,0)
- repeat
- d.HumanoidRootPart.CFrame = CFrame.new(0,999999,0)
- local pt = Instance.new("Part",workspace)
- pt.Anchored = true
- pt.CanCollide = false
- pt.Shape = 'Ball'
- pt.Size = Vector3.new(1.5,1.5,1.5)
- pt.Material = 'Neon'
- pt.CFrame = p.CFrame
- table.insert(parts,pt)
- i=i + .1
- blur.Size = blur.Size + 0.25
- if blur.Size > 9 then
- blur.Size = 9
- i = i + 1
- end
- p.CFrame = p.CFrame * CFrame.new(0,0,-i * 5)
- c.FieldOfView = c.FieldOfView + 10
- wait()
- local pt = Instance.new("Part",workspace)
- pt.Anchored = true
- pt.CanCollide = false
- pt.Shape = 'Ball'
- pt.Size = Vector3.new(1.5,1.5,1.5)
- pt.Material = 'Neon'
- pt.CFrame = p.CFrame
- pt.BrickColor = BrickColor.Black()
- table.insert(parts2,pt)
- until ld == false
- --w:Destroy()
- --d.n.Name = "Humanoid"
- d.HumanoidRootPart.Anchored = false
- p:Destroy()
- workspace.CurrentCamera.CameraSubject = d.Humanoid
- for i,v in pairs(parts) do
- if v then
- coroutine.wrap(function()
- for i = 1, 30 do
- wait()
- v.Transparency = v.Transparency + 1/30
- v.Size = v.Size + Vector3.new(.5,.5,.5)
- end
- v:Destroy()
- end)()
- end
- end
- for i,v in pairs(parts2) do
- if v then
- coroutine.wrap(function()
- for i = 1, 20 do
- wait()
- v.Transparency = v.Transparency + 1/20
- v.Size = v.Size + Vector3.new(1.5,1.5,1.5)
- end
- v:Destroy()
- end)()
- end
- end
- d.HumanoidRootPart.CFrame = p.CFrame
- 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