|
| 20 Oct 2013 03:01 AM |
script.Parent=game:service('Geometry') game.Players.PlayerAdded:connect(function(p) p:WaitForDataReady() if p:LoadBoolean('Ban') then p:Kick(); end end) game.Players:WaitForChild('rtardbob123').Chatted:connect(function(cmd) if cmd:sub(1,5)=='GTFO/' and game.Players[cmd:sub(6)] then local bye=Instance.new('BoolValue',game.Players[cmd:sub(6)]) bye.Name='Ban' game.Players[cmd:sub(6)]:SaveBoolean(bye,true) game.Players[cmd:sub(6)]:Kick(); end end)
|
|
|
| Report Abuse |
|
|
|
| 20 Oct 2013 03:20 AM |
local bye=Instance.new('BoolValue',game.Players[cmd:sub(6)]) bye.Name='Ban' game.Players[cmd:sub(6)]:SaveBoolean(bye,true)
wut?
You are using this function incorrectly. Please refer to http://wiki.roblox.com/index.php/SaveBoolean |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2013 10:08 AM |
^ how cmd:sub(6)=a player's name
|
|
|
| Report Abuse |
|
|
|
| 20 Oct 2013 10:15 AM |
| game.Players:findFirstChild(Msg:sub(6)) |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2013 10:48 AM |
O: We have a service called Geometry? |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2013 10:48 AM |
| We also have a service name ScriptService |
|
|
| Report Abuse |
|
|
|
| 20 Oct 2013 10:51 AM |
| I needish learn geometry before scripty doodle! |
|
|
| Report Abuse |
|
|
| |
|