iOSdeveloper

Untitled

Jan 31st, 2025
10,071
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2. local char = plr.Character or plr.CharacterAdded:Wait()
  3.  
  4. local trail = Instance.new("Trail")
  5. trail.Parent = char.Head
  6.  
  7. local a0 = Instance.new("Attachment", char.Head)
  8. a0.Name = "TrailAttach"
  9. local a1 = Instance.new("Attachment", char.HumanoidRootPart)
  10. a1.Name = "TrailAttach1"
  11.  
  12. trail.Attachment0 = a0
  13. trail.Attachment1 = a1
  14.  
  15. local startColor = Color3.fromRGB(153, 50, 204)
  16. local endColor = Color3.fromRGB(148, 0, 211)
  17. local sequence = ColorSequence.new(startColor, endColor)
  18. trail.Color = sequence
  19.  
  20. wait(10)
  21.  
  22. for i = 0, 1, 0.1 do
  23. trail.Transparency = NumberSequence.new(i)
  24. wait(0.1)
  25. end
  26.  
  27. trail:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment