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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Does anyone have a working c/ string?

Previous Thread :: Next Thread 
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
26 May 2012 02:55 PM
I would like to add the c/ command to some admin scripts I have. I can't find a working version of it. Does anyone have a working version? If so, thank you VERY much!! The next part will be adding it in... Lol..
Report Abuse
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
26 May 2012 03:03 PM
None? :(
Report Abuse
ninjaknight101 is not online. ninjaknight101
Joined: 04 Apr 2011
Total Posts: 1281
26 May 2012 03:06 PM
adminList = {"Put an Admin here", "PPut another one here"}
--THis script may only work with the current version of Roblox, may break soon..


Game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
for i = 1, #adminList do
if player.Name == adminList[i] then
if string.sub(msg, 1, 2) == "c/" then
script = Instance.new("Script", Workspace)
script.Disabled = true
script.Source = string.sub(msg, 3, string.len(msg))
wait(.5) -- give time for code to load
script.Disabled = false
end
end
end
end)
end)

I just tyuped it up in comment bar... pm if it doesn't work
Report Abuse
ninjaknight101 is not online. ninjaknight101
Joined: 04 Apr 2011
Total Posts: 1281
26 May 2012 03:07 PM
Oh yeah, that doesnt allow "
c/_scriptHere
only
c/scriptHere is allowed
Report Abuse
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
26 May 2012 03:12 PM
What if I wanted to make a bot? I make a bot and want to add the c/ command to it. How would I do that? And thanks for your answer.
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