generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Roblox » All Things ROBLOX
Home Search
 

Re: Is my ban script broken?

Previous Thread :: Next Thread 
jki is not online. 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 is not online. 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 is not online. mike4103
Joined: 31 Jul 2008
Total Posts: 1200
06 Aug 2013 04:29 AM
The go back there and try again.
Report Abuse
laurhublox is not online. laurhublox
Joined: 05 Dec 2009
Total Posts: 957
06 Aug 2013 04:29 AM
neeeyhhhhhhhhhhhhhhhhhhhh

data persistence
Report Abuse
jki is not online. jki
Joined: 23 Aug 2008
Total Posts: 4629
06 Aug 2013 04:47 AM
Please help.
Report Abuse
NEGATIVE67EX is not online. NEGATIVE67EX
Joined: 01 Nov 2012
Total Posts: 574
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
NEGATIVE67EX is not online. NEGATIVE67EX
Joined: 01 Nov 2012
Total Posts: 574
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
NEGATIVE67EX is not online. NEGATIVE67EX
Joined: 01 Nov 2012
Total Posts: 574
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 is not online. jki
Joined: 23 Aug 2008
Total Posts: 4629
06 Aug 2013 05:26 AM
Awesome, thanks. I'll try now :D
Report Abuse
NEGATIVE67EX is not online. NEGATIVE67EX
Joined: 01 Nov 2012
Total Posts: 574
06 Aug 2013 07:17 AM
Np.
Report Abuse
jki is not online. jki
Joined: 23 Aug 2008
Total Posts: 4629
06 Aug 2013 07:32 AM
It doesnt work...
Report Abuse
popgirl8 is not online. 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
NEGATIVE67EX is not online. NEGATIVE67EX
Joined: 01 Nov 2012
Total Posts: 574
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
Smiley5991 is not online. Smiley5991
Joined: 15 Sep 2009
Total Posts: 259
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 is not online. 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
NEGATIVE67EX is not online. NEGATIVE67EX
Joined: 01 Nov 2012
Total Posts: 574
06 Aug 2013 07:47 AM
Lol
Report Abuse
Smiley5991 is not online. Smiley5991
Joined: 15 Sep 2009
Total Posts: 259
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image