|
| 27 Jul 2013 10:05 PM |
function PlayerLeft(player) print(player.Name.." has left the server, Removing his/her's base.") game:GetService("Workspace"):FindFirstChild(player.Name.."Base"):Remove() print("Base removed.") end
game:GetService("Players").PlayerRemoving:connect(PlayerLeft)
Missing something or did I do something wrong? |
|
|
| Report Abuse |
|
|
iIikeyou
|
  |
| Joined: 07 Mar 2012 |
| Total Posts: 1659 |
|
|
| 27 Jul 2013 10:06 PM |
| Are you sure the name setup for the base is correct? That's the only possible issue I see in this |
|
|
| Report Abuse |
|
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 27 Jul 2013 10:06 PM |
| So if I entered that game, there would be a "noahBase in workspace? |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Jul 2013 10:10 PM |
| nvm its cause I didn't add the naming line to the base.. |
|
|
| Report Abuse |
|
|