#any way to get all humanoids in workspace?
31 messages · Page 1 of 1 (latest)
local function GetHums()
local t = {}
for _, Plr in game.Players:GetPlayers() do
table.insert(t, Plr.Character.Humanoid)
end
return t
end
im in a scripting game, which means it is not mine. they can hide humanoids anywhere and i want to be able to find them.
you could also make like a Folder where you put all the Characters in to
@clever hare i could get warnings from that, there are rules for it
so youre playing Hide & Seek, in Studio, With Humanoids?
im not in studio, im in a game.
but yeah, your correct.
should i just list all humanoids at the start and remove + add as i go?
never use that in a real Game :
for _, check in workspace:GetDescendants() do
if check:IsA("Humanoid") then
print("fund",check)
end
task.wait()
end
(aslo very slow)
then just make sure all of the humanoids are in a folder or something
that is what im using atm.
omg i just went over this..
you've a terrible game set up
then you'll receive terrible scripts to fix it
so either overhaul the game or use some awful script that takes years to find all of the humanoids
"overhaul the game"
why do you not just make a script to crash the server 🤷♂️
i dont feel like talking to an idiot that cant even remember past conversation. i've found my solution.
Ey ey ey... Lets not spood feed them like that, ok?
says the guy wasting time on some scripting game
only took 2 mins
he's playing a fucking scripting game, it will take people like that 10 days to make a loop
A scripting game? huhh