I am making a script in which it needs to find the players and the character and interacts with both. I know how to find all the players in the game as you can see but I don't know how to find all the characters(where the torso and stuff is)
game.Players.PlayerAdded:connect(function(Player)
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(chat)
if chat == "SPromo" then
if plr:GetRankInGroup(2651783) >= 13 then
if then
end
end
end
end)
end)
end)
I need it to find all the players in the final if then section

2 comments
I don't know what you are trying to find here however why do you have 2 of the same functions -_-
I have 2 of the same functions as 1 controls the chat and the other controls players