local seconds = script.Parent.Parent.Time
script.Parent.Text = seconds.Value
for i = 1,seconds.Value do
wait(1)
seconds.Value = seconds.Value - 1
script.Parent.Text = seconds.Value
end
if seconds <= 0 then
local players = game.Workspace.Player:GetPlayers()
players:kick()
end
I don't understand why it's not kicking me?

3 comments
game.Workspace.Player:GetPlayers() ? dont you mean game.Players:GetPlayers() and the loop though the array to kick each player
Time is an int value correct?
Time is a numberValue