-- The server receives the player who fired it and any data sent print(player.Name .. " triggered the event with message: " .. message)
❌ Trusting client-provided values (e.g., item price, cooldown) ✅ Fix: Recalculate values on the server. roblox fe gui script better
The item spawns twice. Check: Did you accidentally put the Server Script inside a Tool or a GUI? Move it to ServerScriptService . -- The server receives the player who fired