Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Trail = game.ServerStorage["Rainbow Trail"]
- game.Players.PlayerAdded:Connect(function(plr)
- plr.CharacterAdded:Connect(function(char)
- local plrTrail = Trail:Clone()
- plrTrail.Parent = char.HumanoidRootPart
- if char:FindFirstChild("UpperTorso") then
- plrTrail.Attachment0 = char.Head.FaceFrontAttachment
- plrTrail.Attachment1 = char.Torso.RootRigAttachment
- else
- plrTrail.Attachment0 = char.Head.FaceFrontAttachment
- plrTrail.Attachment1 = char.Torso.WaistBackAttachment
- end
- end)
- local character = script.Parent.Parent.Parent
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement