Advertisement
ROBLOXG4mer1234

trail

Sep 28th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. game.Players.PlayerAdded:connect(function(player)
  2. player.CharacterAdded:connect(function(char)
  3. local traill = Instance.new("Trail", char)
  4. traill.Color = ColorSequence.new(Color3.new(255,0,0))
  5. traill.LightEmission = 1
  6. local trail = traill:Clone()
  7. trail.Parent = char.Head
  8. local attachment0 = Instance.new("Attachment", char.Torso)
  9. attachment0.Name = "TrailAttachment0"
  10. local attachment1 = Instance.new("Attachment", char.Head)
  11. attachment1.Name = "TrailAttachment1"
  12. trail.Attachment0 = attachment0
  13. trail.Attachment1 = attachment1
  14. while wait(0.5) do
  15. trail.Color = ColorSequence.new(Color3.new(255,0,0))
  16. wait(0.5)
  17. trail.Color = ColorSequence.new(Color3.new(255,255,0))
  18. wait(0.5)
  19. trail.Color = ColorSequence.new(Color3.new(0,50,0))
  20. wait(0.5)
  21. trail.Color = ColorSequence.new(Color3.new(0,0,255))
  22. wait(0.5)
  23. trail.Color = ColorSequence.new(Color3.new(255,0,255))
  24. end
  25. end)
  26. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement