Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

LocalScript not work on filtering enabled?

local player = game.Players.LocalPlayer
player.Character:Destroy()

it works in studio but not in game help!!!111!

1 answer

✓ Accepted answer

Hello,

Your script works in the studio but not in the game because studio acts as the client and as the server.

You should use remote events and learn how to script with filtering enabled.

~Frag

This discussion is preserved as it was. New answers, comments, and votes are closed.