jki
|
  |
| Joined: 23 Aug 2008 |
| Total Posts: 4629 |
|
|
| 06 Aug 2013 04:26 AM |
Okay, this is the part that needs working on... (I think)
local function onPlayerEntered(newPlayer) -- remove banned player if they try to come back in for _, v in pairs(banned) do if v:lower() == newPlayer.Name:lower() then newPlayer:Destroy() end end
Once I ban them, they can come back in to the game. How can I make sure they can't? |
|
|
| Report Abuse |
|
|
jki
|
  |
| Joined: 23 Aug 2008 |
| Total Posts: 4629 |
|
|
| 06 Aug 2013 04:28 AM |
| Bump, I posted this in Scripting Helpers and they didn't reply. |
|
|
| Report Abuse |
|
|
mike4103
|
  |
| Joined: 31 Jul 2008 |
| Total Posts: 1200 |
|
|
| 06 Aug 2013 04:29 AM |
| The go back there and try again. |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2013 04:29 AM |
neeeyhhhhhhhhhhhhhhhhhhhh
data persistence |
|
|
| Report Abuse |
|
|
jki
|
  |
| Joined: 23 Aug 2008 |
| Total Posts: 4629 |
|
| |
|
|
| 06 Aug 2013 04:51 AM |
| Hmm, Your missing One more part of the script it needs to know if its a Humanoid or "Player". |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2013 04:53 AM |
Add in if humanoid then Humanoid = game.Parent.findFirstChild:("Humanoid") if humanoid then Kick = game.Parent:kick("Humanoid")
|
|
|
| Report Abuse |
|
|
|
| 06 Aug 2013 04:55 AM |
local function onPlayerEntered(newPlayer) -- remove banned player if they try to come back in for _, v in pairs(banned) do if v:lower() == newPlayer.Name:lower() then newPlayer:Destroy() end end) Try this Script. |
|
|
| Report Abuse |
|
|
jki
|
  |
| Joined: 23 Aug 2008 |
| Total Posts: 4629 |
|
|
| 06 Aug 2013 05:26 AM |
| Awesome, thanks. I'll try now :D |
|
|
| Report Abuse |
|
|
| |
|
jki
|
  |
| Joined: 23 Aug 2008 |
| Total Posts: 4629 |
|
| |
|
popgirl8
|
  |
| Joined: 01 Jul 2011 |
| Total Posts: 2811 |
|
|
| 06 Aug 2013 07:36 AM |
remove banned player if they try to come back in
realy? |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2013 07:37 AM |
| Hmm I'll check the script And try it on Roblox studio. If you don't mind? |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2013 07:38 AM |
lol free modelers
function onPlayerEntered(newPlayer) for _, v in pairs(banned) do if v == newPlayer then newPlayer:WaitForDataReady() newPlayer:Destroy() end end) |
|
|
| Report Abuse |
|
|
jki
|
  |
| Joined: 23 Aug 2008 |
| Total Posts: 4629 |
|
|
| 06 Aug 2013 07:46 AM |
| It's funny how it isn't free models... |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Aug 2013 07:50 AM |
"-- remove banned player if they try to come back in"
free models...anyway try mine, it will work, but add in an extra end |
|
|
| Report Abuse |
|
|