Whats wrong with my gamepass trails? AGAIN!!!!!
Asked by
7 years ago Edited 7 years ago
Revert to this for more info;
https://scriptinghelpers.org/questions/46597/gamepass-rainbow-trails-do-not-work
This is my new script, when someone comes in with a pass they're supposed to get a trail but it still isn't working.
06 | function playerHasPass(plr) |
07 | for _,id in pairs (passIDs) do |
08 | if game.MarketplaceService:PlayerOwnsAsset(plr, id) then |
15 | game.Players.PlayerAdded:Connect( function (player) |
16 | if playerHasPass(plr) then |
17 | player.CharacterAdded:Connect( function (char) |
18 | local trail = game.ServerStorage.Trail:Clone() |
19 | trail.Parent = char.Head |
20 | local attachment 0 = Instance.new( "Attachment" ,char.Head) |
21 | attachment 0. Name = "trailAttachment0" |
22 | local attachment 1 = Instance.new( "Attachment" ,char.Torso) |
23 | attachment 1. Name = "TrailAttachment1" |
24 | trail.Attachment 0 = attachment 0 |
25 | trail.Attachment 1 = attachment 1 |