Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I store every single player's Humanoid that joins my game?

I'd like to know more or less how would I be able to store a player's humanoid when they join in my game into a variable or array.

2 comments

0

Connect a table to a playeradded function.

0

use characteradded and characterremoving inside playeradded function. Since this is not a request site, you will need to come up with your own script, and post it here if it does not work.

1 answer

`` game.Players.PlayerAdded:Connect(function(plr) local hum = plr.Character:WaitForChild("Humanoid") hum:Clone(game.ReplicatedStorage) hum.Name = hum.Parent.Name end)

This discussion is preserved as it was. New answers, comments, and votes are closed.