Okay guys I have this little trail script, what I want is when the player jump, the trails the trails enable the time of the jump and land of the player, and then it disable and ect..
Here is the scripts:
game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(char) local trail = game.ServerStorage.Trail:Clone() trail.Parent = char.Head local attachment0 = Instance.new("Attachment",char.Head) attachment0.Name = "TrailAttachment0" local attachment1 = Instance.new("Attachment",char.HumanoidRootPart) attachment1.Name = "TrailAttachment1" trail.Attachment0 = attachment0 trail.Attachment1 = attachment1 end) end)

2 comments
Put your code in a codeblock so we can see it easier
Don't come on this site with alvinbloxx's script, expecting for it to be fixed.