Particle not appearing when scripts clearly enables its

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

  2. Particle is not appearing when a server side script enables the trail though a remote eventInclude screenshots / videos if possible!

equipsave.openparticle.OnServerEvent:Connect(function(player,trailparticle)
trailparticle.Enabled = true
print(“working”)
end)

equipsave.closeparticle.OnServerEvent:Connect(function(player,trailparticle)
wait(3)
trailparticle.Enabled = false
print(“closed”)

end)

i dont know why this isnt working the prints work normaly and they show on the output but its simply refuses to be enabled

heres the local side of the script

if random == 1 then
if onlygoonce ~= 1 then
animation.AnimationId = game.ReplicatedStorage.Items.weapons[itemstats.Name].attackAnimation1.AnimationId
onlygoonce = 1
print(1)
humanoid.WalkSpeed = 5
equipsave.openparticle:FireServer(trailparticle)

Change it to a RemoteEvent, RemoteFunctions use different syntax to connect functions.

my bad its was already a remote event just a mistake in spelling

Could you show your client code?

if random == 1 then
if onlygoonce ~= 1 then
animation.AnimationId = game.ReplicatedStorage.Items.weapons[itemstats.Name].attackAnimation1.AnimationId
onlygoonce = 1
print(1)
humanoid.WalkSpeed = 5
equipsave.openparticle:FireServer(trailparticle)

Where is the particle parented to?
Also maybe try and send the trail over in the parameters for the remote event and try it from there

its has 2 attachments one that is parented to the top and bottom of the sword the trail is in a model which is easy to get localy