OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 29 Jun 2013 03:36 AM |
| My username is LocalPlayer and an admin's kick GUI is local script. He puts "LocalPlayer". Would it remove me or him? |
|
|
| Report Abuse |
|
|
| |
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
| |
|
|
| 29 Jun 2013 03:39 AM |
It would remove the local player. To access the player with the name of "LocalPlayer" you'd have to do something like:
for _, Player in pairs(Game.Players:GetPlayers()) do if Player.Name == "LocalPlayer" then --- end end
But luckily there is no account named LocalPlayer |
|
|
| Report Abuse |
|
|
|
| 29 Jun 2013 03:39 AM |
| The script in the kick gui. There is more than one way to kick. |
|
|
| Report Abuse |
|
|