What is the of the GUI? (Shop, Admin Panel, Inventory, etc.)
remoteEvent.OnServerEvent:Connect( (player, message) print(player.Name .. " sent a message: " .. message) -- Put the code you want the server to execute here Use code with caution. Copied to clipboard Key Safety Tips Never trust the client : Do not let the LocalScript roblox fe gui script
| Error | Cause | Solution | | :--- | :--- | :--- | | | LocalScript is in a regular Script, or ScreenGui is not enabled. | Ensure GUI is in StarterGui and use LocalScript only. | | RemoteEvent doesn't fire | The server script cannot find the RemoteEvent. | Use WaitForChild and ensure the RemoteEvent is in ReplicatedStorage . | | Changes only appear on my screen | You tried to change a Part color from a LocalScript without FE bypass. | You cannot change the 3D world locally. Use a RemoteEvent to ask the server. | | "Infinite yield possible" | Your script is looking for something that doesn't exist yet. | Add :WaitForChild() timeouts or check if the object exists. | What is the of the GUI
If a player changed a part's color with a script, it changed for everyone in the game. message) -- Put the code you want the