I don’t want you to talk shit to me or anything, I just want you to tell me how to do what I want or ask me about my script, just answer what I ask PLUS NOTHING…
I want this script to loop without the playeradded event happening:
local remote = game.ReplicatedStorage.xddddddddddd
local modulo = require(game.ReplicatedStorage.ModuleScript)
local tabla = modulo[1]
local tabla2 = modulo[2]
local puntajegla = game.Teams.gladiador.puntos
local puntajegue = game.Teams.guerrero.puntos
game.Players.PlayerAdded:Connect(function(plr)
print("esperando el ataque")
wait(30)
print("Empieza")
repeat
wait(1)
if #tabla == 0 then
local debonce = true
if debonce then
debonce = false
puntajegue.Value = puntajegue.Value + 1
print("el equipo de batalla murio")
remote:FireClient(plr)
wait(7)
plr:LoadCharacter()
wait(5)
debonce = true
end
elseif #tabla2 == 0 then
local debonce = true
if debonce then
debonce = false
puntajegla.Value = puntajegla.Value + 1
print("el equipo de batalla murio 2")
remote:FireClient(plr)
wait(7)
plr:LoadCharacter()
wait(5)
debonce = true
end
end
print("termina")
until puntajegla.Value == 100000
end)
at the beginning the event is executed because the player joins but since it is a round system then the script has to be repeated several times since what I want is that when it reaches the end it returns and repeats the same thing without the need for the playeradded event