menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
How can I use variables when going through children?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
How can I use variables when going through children?
Exsius
Join Date: 2010-01-11
Post Count: 6340
#208298519
Friday, January 27, 2017 12:06 AM GMT
local test = Player1 --How can I use this variable game.Players.[test]:BreakJoints() --here?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
OAuth2
Join Date: 2016-11-27
Post Count: 751
#208298617
Friday, January 27, 2017 12:07 AM GMT
If it's a string, game.Players[test]... If it's already defined as an Instance, just call it. test...
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Exsius
Join Date: 2010-01-11
Post Count: 6340
#208298627
Friday, January 27, 2017 12:07 AM GMT
Sorry for bad wording I'm not sure what its called.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Exsius
Join Date: 2010-01-11
Post Count: 6340
#208298836
Friday, January 27, 2017 12:11 AM GMT
Thank you
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right