I am trying to make a script that if there is only 1 left in the Model he wins
function onTouched(Chief) --Chief is the Model h = Chief.Parent:findFirstChild("Humanoid") if h == 1 then x = Instance.New("Message", Workspace) wait(0.1) x.Text = h.Name.."Has won the round!" wait(2) x.Text = "" end end
FindFirstChild will get only one child, and h is not the number of childs. Use GetChildren instead.
Also, you didn't run the function, so I suggest you to know more about Events and Functions. And you can't use Touched function on a model, it has to be a part.
Please, try learning more about Lua before making questions.