|
| 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 |
|
|
|
| 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 |
|
|
|
| 10 Jan 2014 06:50 PM |
| I need the game.Players.RANDOMNAME.RobloxLocked = false in there. |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 10 Jan 2014 10:01 PM |
| No, add it on there. It's my script. |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
|
| 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
|
  |
| 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 |
|
|
|
| 11 Jan 2014 09:17 AM |
@Above. You volunteered to do something you cant do.
|
|
|
| Report Abuse |
|
|
|
| 11 Jan 2014 09:35 AM |
yes but no @j
@OP don't come to Scripting Helpers and then refuse help |
|
|
| Report Abuse |
|
|
|
| 11 Jan 2014 10:56 AM |
@OP
If you're asking for help and refusing said help, you are silly. |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 14 Jan 2014 03:12 PM |
| igeorge7159gotban get out stupid exploiter. |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2014 07:06 PM |
| Whatever, I'm done with forums. Bunch of kids... |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 17345 |
|
|
| 14 Jan 2014 07:08 PM |
| A guide to ignorance by igeorge7159gotban. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 18 Jan 2014 02:44 PM |
| Where is the RobloxLocked = false on there? |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2014 02:48 PM |
| while true do if not false then repeat until false end end |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2014 05:52 PM |
| WHY THE F DO YOU NEED THE ROBLOXLOCK YOU NOOB |
|
|
| Report Abuse |
|
|