I have made a localscript where when you step on a part and another part disappears. I am not sure where exactly to put this script, I know it doesn't work in ServerScriptService nor in the workspace or anything inside it, I have tried putting it in StarterPlayerScripts but it is still making the part disappear for the whole server. How do I fix this?
local FB = game.Workspace.FirstBlocker game.Workspace.FirstBlockerUnlock.Touched:Connect(function() FB.Transparency = 1 FB.CanCollide = false end)
Put in in a localscript rather than a normal script.