How to make effect like smoke visible to one person only

I tried this in a local script but it doesn’t work. Normally it works fine but I want it to be visible only to one person. Is it possible?

ocal pp = script.Parent

pp.Triggered:Connect(function(player)

local fire = script.Parent.Parent.Effects.Fire
local light = script.Parent.Parent.Effects.FireLight
local smoke = script.Parent.Parent.Effects.Smoke


fire.Enabled = true
light.Enabled = true
smoke.Enabled = true

end)

Try setting smoke.Enabled = false in every player that you don’t want seeing the smoke

Local scripts won’t work in the Workspace. You need to create them in a different location, such as StarterGui, and write the same code but with the path to the Part object, for example

workspace.Part.pp.Triggered:Connect(function(player)
local fire = workspace.Part.Effects.Fire
local light = workspace.Part.Effects.FireLight
local smoke = workspace.Part.Effects.Smoke

fire.Enabled = true
light.Enabled = true
smoke.Enabled = true

end)