For this GUI i want it to respawn your character on the right spawn.. What i mean by the right spawn is... [If your on Blue Team you spawn on Blue Team spawn] [If your on Red Team you spawn on Red Team spawn] im currently stuck on this script i dont know how i would code for the right spawn
local Button = script.Parent
local Hold = nil
Button.MouseButton1Down:connect(function()
if (Hold ~= nil) then return end
Hold = true
wait(1)
Button.Text = "5"
wait(1)
Button.Text = "4"
wait(1)
Button.Text = "3"
wait(1)
Button.Text = "2"
wait(1)
Button.Text = "1"
wait(1)
Button.Text = "0"
wait(1)
Button.Parent.Parent.Parent:LoadCharacter(true)
Hold = nil
end)
