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 » Game Creation and Development » Scripting Helpers
Home Search
 

Re: HELP

Previous Thread :: Next Thread 
igeorge7159gotban is not online. igeorge7159gotban
Joined: 21 Jun 2011
Total Posts: 185
09 Jan 2014 05:19 PM
This crashes me only, please fix:

banneduser = "Noob"
while wait() do
if game.Players:FindFirstChild(banneduser) then
game.Players:FindFirstChild(banneduser).RobloxLocked = false -- just leave it there
game.Players:FindFirstChild(banneduser):Kick()
end
end
Report Abuse
TheArmyHasHonor is not online. TheArmyHasHonor
Joined: 16 Jul 2008
Total Posts: 544
09 Jan 2014 05:28 PM
I'm not exactly sure why it's crashing you, but this is not the best way to do what you're trying to do.

    banned = {"Noob", "SuperNoob"}
    
    function onJoin(player)
        for i, bannedPlayer in pairs(banned) do
            if (player.Name == bannedPlayer) then
                player:Kick()
            end
        end
    end
    game.Players.PlayerAdded:connect(onJoin)

————
Smile.
        Know fun.
                Live life.
Report Abuse
igeorge7159gotban is not online. igeorge7159gotban
Joined: 21 Jun 2011
Total Posts: 185
10 Jan 2014 06:50 PM
I need the game.Players.RANDOMNAME.RobloxLocked = false in there.
Report Abuse
VoidShredder is not online. VoidShredder
Joined: 06 Jan 2014
Total Posts: 1467
10 Jan 2014 07:02 PM
Why
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Jan 2014 07:03 PM
Because he thinks it will work without elevated permissions...
Remove it, Kick already bypasses RobloxLocked
Report Abuse
igeorge7159gotban is not online. igeorge7159gotban
Joined: 21 Jun 2011
Total Posts: 185
10 Jan 2014 09:05 PM
Well, there is this hacker that RobloxLocks himself so I have to put RobloxLocked = false every time I go to kick him.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Jan 2014 09:08 PM
Nope, you still don't understand what RobloxLock is.
Remove that line
Report Abuse
igeorge7159gotban is not online. igeorge7159gotban
Joined: 21 Jun 2011
Total Posts: 185
10 Jan 2014 10:01 PM
No, add it on there. It's my script.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
10 Jan 2014 10:02 PM
It's going to break your script if you add it there, unless the script is white-listed or you somehow have higher permissions server-side.

I'm assuming you are using server-side since the Kick method only works server-sided. Otherwise I'm going to call you a stupid exploiting skid because loleris caught you.
Report Abuse
igeorge7159gotban is not online. igeorge7159gotban
Joined: 21 Jun 2011
Total Posts: 185
11 Jan 2014 08:50 AM
Get off my thread. Now.
Report Abuse
TheRobloxian909 is not online. TheRobloxian909
Joined: 08 Aug 2013
Total Posts: 2444
11 Jan 2014 09:01 AM
BannedUsers = {"Noob"}

game.Players.PlayerAdded:connect(function(p)
for i,v in pairs (BannedUser) do
if p.Name == BannedUser then
p:Kick()
end)
Report Abuse
jamcal6 is not online. jamcal6
Joined: 21 Apr 2011
Total Posts: 8
11 Jan 2014 09:12 AM
I need help I am in a group and I volunteered to make a script that tells a rank in my game. can someone make that for me?
Report Abuse
VoidShredder is not online. VoidShredder
Joined: 06 Jan 2014
Total Posts: 1467
11 Jan 2014 09:17 AM
@Above. You volunteered to do something you cant do.
Report Abuse
MarioKartAddict is not online. MarioKartAddict
Joined: 11 Nov 2009
Total Posts: 42774
11 Jan 2014 09:35 AM
yes but no @j

@OP
don't come to Scripting Helpers and then refuse help
Report Abuse
TheNickmaster21 is not online. TheNickmaster21
Joined: 04 Oct 2008
Total Posts: 9490
11 Jan 2014 10:56 AM
@OP

If you're asking for help and refusing said help, you are silly.
Report Abuse
igeorge7159gotban is not online. igeorge7159gotban
Joined: 21 Jun 2011
Total Posts: 185
12 Jan 2014 09:57 PM
Who the hell is OP?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
12 Jan 2014 10:02 PM
You, dimwit
Report Abuse
FreeScriptMaker is not online. FreeScriptMaker
Joined: 29 Nov 2013
Total Posts: 2275
14 Jan 2014 03:12 PM
igeorge7159gotban get out stupid exploiter.
Report Abuse
igeorge7159gotban is not online. igeorge7159gotban
Joined: 21 Jun 2011
Total Posts: 185
14 Jan 2014 07:06 PM
Whatever, I'm done with forums. Bunch of kids...
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Jan 2014 07:08 PM
At least we're not skids.
(Ohh yeah)
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
14 Jan 2014 07:08 PM
A guide to ignorance by igeorge7159gotban.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
14 Jan 2014 07:08 PM
Here dummy:

local banned = {}

function ban(name)
for _, b in pairs(banned) do
if b:lower() == name:lower() then return true end
end
return false
end
end

game.Players.PlayerAdded:connect(function(nP)
if ban(nP.Name) then
nP:Kick()
end
end)
Report Abuse
igeorge7159gotban is not online. igeorge7159gotban
Joined: 21 Jun 2011
Total Posts: 185
18 Jan 2014 02:44 PM
Where is the RobloxLocked = false on there?
Report Abuse
BinaryC0DER is not online. BinaryC0DER
Joined: 03 Jan 2014
Total Posts: 83
18 Jan 2014 02:48 PM
while true do if not false then repeat until false end end
Report Abuse
VoidShredder is not online. VoidShredder
Joined: 06 Jan 2014
Total Posts: 1467
18 Jan 2014 05:52 PM
WHY THE F DO YOU NEED THE ROBLOXLOCK YOU NOOB
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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