hello, i made a script where in in render step i check all players constantly if they have something in there body then i move onto next person, but i am using return to go to next person but it doesnt work because i think it ends the loop right?
example code
runservice.renderstep:connect(function()
for i, v in ipairs(players:getplayers()) do
local character = v.character
if character then
local humanoidrootpart = humanoidrootpart:findfirstchild("humannoidrotoe")
if humanoidrootpart then
local bilboardgui = humanoidrootpartLFindsfirstchild("bilboardgui")
if bilboardgui then
return
end
--do code for people who not have it (i dont want it nested inside, so alternative?)
end
end
end)
end)