Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- Mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'e' then
- Player.Character.Humanoid.WalkSpeed = 30
- end
- end)
- Mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'q' then
- Player.Character.Humanoid.WalkSpeed = 16
- end
- end)
- while true do
- wait(0.00000000000000000000001)
- local part = Instance.new('Part', game.Workspace)
- local particle = Instance.new('ParticleEmitter', part)
- particle.Speed = NumberRange.new(0,0)
- part.Name = Player.Name.."'s Path"
- particle.Rate = 500000
- particle.Rotation = NumberRange.new(0, 360)
- particle.RotSpeed = NumberRange.new(600,600)
- part.Transparency = 1
- part.Anchored = true
- part.CanCollide = true
- part.Size = Vector3.new(4, 0.5, 4)
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Material = "SmoothPlastic"
- part.CFrame = Player.Character.Torso.CFrame * CFrame.new(0, -3, 0)
- wait(0.1)
- part:Remove()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement