Hey, I did not ask a question for a longer time. (I guess thats good tho)
Problem
I am trying to make a script that kills a player after some time if they do not touch a part.
Script
for i, user in ipairs(game.Players:GetChildren()) do
local char = user.Character
local part = workspace.InZone
local h = part.Parent:FindFirstChild("Humanoid")
if h~= nil then
h.Health = h.Health -200
end
end
