I have tried multiple ways to make a particle trail system for the player when they touch the block, but unfortunately I have had no luck with making it. Can someone please help me make a particle trail system. It would be very helpful! (I was never really good at scripting in "Lua Script" anyway. I am still learning Info: These are ways that I tried to make a particle trail system, bu t they didn't work)
game.Players.PlayerAdded:connect(function(plr)
local plrName = plr.Name
plr.CharacterAdded:connect(function(char)
local plrTorso = char:WaitForChild("Torso")
local sTrail = Instance.new("ParticleEmitter")
sTrail.Name = "TrailTest"
sTrail.Parent = plrTorso
end)
end)

3 comments
Please know that we're not supposed to just make code for you. We're supposed to help you with code you've already made...
This didn't work? I don't see anything wrong with this script.
What's the purpose of variable "plrName?" It's not used anywhere in your code. And why're you using the PlayerAdded & CharacterAdded events when you're trying to have the particles emit when a player touches a part?