When this code runs the GUI will become not visible but it will still kick the player after twenty seconds? Why?
if game.Players.LocalPlayer.UserId == 85907087 or 45119661 or 636062412 then
script.Parent.Visible = false
end
if game.Players.LocalPlayer.UserId ~= 85907087 or 45119661 or 636062412 then
print("script ran")
script.Parent.Info.Text = "You will be automatically kicked in 20 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 19 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 18 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 17 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 16 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 15 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 14 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 13 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 12 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 11 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 10 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 9 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 8 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 7 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 6 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 5 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 4 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 3 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 2 seconds."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 1 second."
wait(1)
script.Parent.Info.Text = "You will be automatically kicked in 0 seconds."
game.Players.LocalPlayer:Kick("You have been automatically kicked")
end
