Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Local .Touched running for whole server rather than Client?

Asked by 3 years ago
Edited 3 years ago

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)
0
It disappeared for the whole server in a local script? Last time I heard someone say something like this, they didn't even check to see what the server saw and they just got mixed up with something else. So make sure you are certain it does what you claim. SteamG00B 1633 — 3y
0
Yes I had a friend test it and it disappeared for me as well. Involity 5 — 3y

2 answers

Log in to vote
0
Answered by
jetlag 15
3 years ago

Put in in a localscript rather than a normal script.

0
It was already a localscript I edited my question sorry about that Involity 5 — 3y
Ad
Log in to vote
0
Answered by 3 years ago
mom

Answer this question