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
 

0

Previous Thread :: Next Thread 
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
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
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
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
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
20 Oct 2013 10:08 AM
^ how
cmd:sub(6)=a player's name
Report Abuse
ProxyKiller is not online. ProxyKiller
Joined: 16 Oct 2013
Total Posts: 193
20 Oct 2013 10:15 AM
game.Players:findFirstChild(Msg:sub(6))
Report Abuse
DragonODeath is not online. DragonODeath
Joined: 02 May 2011
Total Posts: 1252
20 Oct 2013 10:48 AM
O:
We have a service called Geometry?
Report Abuse
ProxyKiller is not online. ProxyKiller
Joined: 16 Oct 2013
Total Posts: 193
20 Oct 2013 10:48 AM
We also have a service name ScriptService
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
20 Oct 2013 10:51 AM
I needish learn geometry before scripty doodle!
Report Abuse
ProxyKiller is not online. ProxyKiller
Joined: 16 Oct 2013
Total Posts: 193
20 Oct 2013 10:53 AM
Also a HttpService.
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