I have a gui that's supposed to give players different particle effects. Everything works fine except for the fact that the particles only show up for the people using them. I know the issue is probably that everything uses a local script, but I still want the gui to be local, just not the particles. How do I accomplish this?
This script is inside a tool by the way, as the gui only appears when holding a mirror to change your appearance.
local folder = game.ReplicatedStorage.Effects
local Pink = script.Parent.Pink
local Blue = script.Parent.Blue
local Purple = script.Parent.Purple
local plr = game.Players.LocalPlayer
local char = plr.Character
Pink.MouseButton1Click:Connect(function()
local ParticleEmitter = folder.Pink:Clone()
local ParticleEmitter2 = folder.Pink:Clone()
local ParticleEmitter3 = folder.Pink2:Clone()
ParticleEmitter.Parent = char.LeftFoot
ParticleEmitter2.Parent = char.RightFoot
ParticleEmitter3.Parent = char.UpperTorso
end)
Blue.MouseButton1Click:Connect(function()
local ParticleEmitter = folder.Blue:Clone()
local ParticleEmitter2 = folder.Blue:Clone()
local ParticleEmitter3 = folder.Blue2:Clone()
ParticleEmitter.Parent = char.LeftFoot
ParticleEmitter2.Parent = char.RightFoot
ParticleEmitter3.Parent = char.UpperTorso
end)
Purple.MouseButton1Click:Connect(function()
local ParticleEmitter = folder.Purple:Clone()
local ParticleEmitter2 = folder.Purple:Clone()
local ParticleEmitter3 = folder.Purple2:Clone()
ParticleEmitter.Parent = char.LeftFoot
ParticleEmitter2.Parent = char.RightFoot
ParticleEmitter3.Parent = char.UpperTorso
end)

1 comment
Helped! Thanks so much!