Advertisement
Guest User

Roblox script

a guest
Jun 26th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(player)
  2. player.CharacterAdded:connect(function(char)
  3. local trail = game.ServerStorage.Trail:Clone()
  4. trail.Parent = char.Head
  5. local attachment0 = Instance.new("Attachment", char.Head)
  6. attachment0.Name = "TrailAttachment0"
  7. local attachment1 = Instance.new("Attachment", char.HumanoidRootPart)
  8. attachment0.Name = "TrailAttachment1"
  9. trail.Attachment0 = attachment0
  10. trail.Attachment1 = attachment1
  11. end)
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement