Cloning particles inside a player

Basically, my goal is to clone particles inside a player after clicking a button, i’m not very used to Events so i may be doing something wrong, if someone can please help me, this is the script so far.

LocalScript:

local plr = game.Players.LocalPlayer

local char = plr.Character

script.Parent.MouseButton1Click:Connect(function()
	game.ReplicatedStorage.Events.Fly:FireServer(char)
end)

ServerScript

local folder = game.ReplicatedStorage.Particles

game.ReplicatedStorage.Events.Faczki.Fly.OnServerEvent:Connect(function(plr)
	folder.Glow:Clone().Parent = plr.Character.HumanoidRootPart
	folder.Rays:Clone().Parent = plr.Character.HumanoidRootPart
	folder.Vortex:Clone().Parent = plr.Character.HumanoidRootPart
	folder.Vortex_Bits:Clone().Parent = plr.Character.HumanoidRootPart
end)

Note: The output shows no error.

1 Like

Add print statements to both scripts, that way you could easily find where the problem could lie?

3 Likes