Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chr = workspace.supercoolguy53
- chr.Humanoid.WalkSpeed = 50
- mouse = game.Players.LocalPlayer:GetMouse()
- part = Instance.new("Part",workspace.supercoolguy53)
- part.Size = Vector3.new(10,1,10)
- part.Anchored = true
- part.Transparency = .9
- pos = 3.6
- mouse.KeyDown:connect(function(key)
- if key == 'q' then
- pos = 3.8
- elseif key == 'e' then
- pos = 3.4
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == 'q' or key == 'e' then
- pos = 3.6
- end
- end)
- while game:GetService('RunService').RenderStepped:wait() do
- part.CFrame = chr.Torso.CFrame - Vector3.new(0,pos,0)
- for i = 0,1,.05 do
- game:GetService('RunService').RenderStepped:wait()
- part.Transparency = i
- part.CFrame = chr.Torso.CFrame - Vector3.new(0,pos,0)
- end
- part.CFrame = chr.Torso.CFrame - Vector3.new(0,pos,0)
- for i = 1,0,-.05 do
- game:GetService('RunService').RenderStepped:wait()
- part.Transparency = i
- part.CFrame = chr.Torso.CFrame - Vector3.new(0,pos,0)
- end
- part.CFrame = chr.Torso.CFrame - Vector3.new(0,pos,0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement