## Common Mistake: Player state carries over between rounds
In teacher‑made Roblox mini-games, it’s easy to overlook resetting a player’s health, tools, or score after each round. This leads to unfair advantages, broken logic, and confusing sessions for students.
**How to avoid it:**
Create a lightweight `ResetPlayer` function in a ModuleScript that runs automatically when a new round begins. Clear only the values you modified, and use `Player:LoadCharacter()` to fully reset character state.
-- ModuleScript: RoundManager
local Players = game:GetService("Players")
function ResetPlayer(player)
player.Health = 100
player.Character:BreakJoints()
player.LoadCharacter:Wait()
-- Clear backpack tools if needed
player.Backpack:ClearAllChildren()
end
game:GetService("ReplicatedStorage"):WaitForChild("StartRound").OnServerEvent:Connect(function()
for _, p in pairs(Players:GetPlayers()) do
ResetPlayer(p)
end
end)
Call this function before each new round, and your game will stay fair and predictable from the first student to join to the last.