game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
script.Parent.Parent.StarterGui.ShopMenu.ScrollingFrame.rainbow.MouseButton1Click: Connect(function()
local trail = game.ServerStorage["rainbow"]
local plrTrail = trail:Clone()
plrTrail.Parent = char.HumanoidRootPart
plrTrail.Attachment0 = char.Head.FaceFrontAttachment
plrTrail.Attachment1 = char.Torso.WaistBackAttachment
end)
end)
end)
This is the script, i really don't know how to fix it. I've tried alot of different things. Please help me.

1 comment
Could you accept the answer?