Changing the in-game environment on the fly.
Since the above script runs on the client, you need a RemoteEvent to communicate with the server: fe kick ban player gui script op roblox exclusive
: Disconnects a player immediately using player:Kick("Reason") . Changing the in-game environment on the fly
In the early days of Roblox, scripts were often "server-side," meaning a player could change the game for everyone simply by exploiting the local machine. changed this, requiring developers to secure their games so local changes don't automatically replicate to the server. scripts were often "server-side
Kick/Ban GUI issues - Scripting Support - Developer Forum | Roblox