Aj7Fish
|
  |
| Joined: 30 Dec 2014 |
| Total Posts: 500 |
|
|
| 27 Apr 2015 07:53 PM |
If I want to make a script that depending on which order you joined the server, you get placed there. So an example.
First person to join the server gets their id placed in a certain gui, the second person to join gets their id placed in another gui, etc. I made this, but it didn't work.
local name = Player.Name for i,v in pairs(game.Players:GetChildren()) do if v[1] then print("works!") game.StarterGui.Player1.ID = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..name end end |
|
|
| Report Abuse |
|
|
Aj7Fish
|
  |
| Joined: 30 Dec 2014 |
| Total Posts: 500 |
|
| |
|
gerov
|
  |
| Joined: 05 Feb 2011 |
| Total Posts: 5504 |
|
| |
|
gerov
|
  |
| Joined: 05 Feb 2011 |
| Total Posts: 5504 |
|
|
| 27 Apr 2015 08:22 PM |
| And also, you cannot change someone's ID, it is a locked property. |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2015 08:24 PM |
"use RProxy" "ID is a locked property"
you don't understand what he wants to do |
|
|
| Report Abuse |
|
|
treebee63
|
  |
| Joined: 16 Aug 2010 |
| Total Posts: 376 |
|
|
| 27 Apr 2015 08:32 PM |
Just check for new player added in game.Players
Create a slot for the first player to enter.
Check if the slot is empty.
If it is, place the player's data into it.
Now any other players that enters cannot make change to the slot since it is already filled with the first player's data.
(for second player in the game, check if the first player data exist, if true, then check if the second data exist, if false, then make change) |
|
|
| Report Abuse |
|
|