Advertisement
Death_Glow

Particle Path

Sep 4th, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Mouse = Player:GetMouse()
  3. Mouse.KeyDown:connect(function(Key)
  4. Key = Key:lower()
  5. if Key == 'e' then
  6. Player.Character.Humanoid.WalkSpeed = 30
  7. end
  8. end)
  9. Mouse.KeyDown:connect(function(Key)
  10. Key = Key:lower()
  11. if Key == 'q' then
  12. Player.Character.Humanoid.WalkSpeed = 16
  13. end
  14. end)
  15. while true do
  16. wait(0.00000000000000000000001)
  17. local part = Instance.new('Part', game.Workspace)
  18. local particle = Instance.new('ParticleEmitter', part)
  19. particle.Speed = NumberRange.new(0,0)
  20. part.Name = Player.Name.."'s Path"
  21. particle.Rate = 500000
  22. particle.Rotation = NumberRange.new(0, 360)
  23. particle.RotSpeed = NumberRange.new(600,600)
  24. part.Transparency = 1
  25. part.Anchored = true
  26. part.CanCollide = true
  27. part.Size = Vector3.new(4, 0.5, 4)
  28. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  29. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  30. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  31. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  32. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  33. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  34. part.Material = "SmoothPlastic"
  35. part.CFrame = Player.Character.Torso.CFrame * CFrame.new(0, -3, 0)
  36. wait(0.1)
  37. part:Remove()
  38. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement