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: How to make your own SB(Script Builder)!

Previous Thread :: Next Thread 
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
02 Jul 2012 01:03 AM
-- YOU NEED A StringValue! --

First you want to start off with the basics:
The script to execute the inner workings(the script to execute the script.. XD)
--
Which will MOST LIKELY be the .Chatted event(except for crazyman32...)
--
Here's a tidbit of the script you may need:
----
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(msg)
if msg:sub(1,2) == "s/" then -- depending on what you are trying to do
------ Rest when done ------
----

Now that's all we have, this is where it gets tricky! you want to have one script(the text execution script*which is this:*) -- for this script the STRINGVALUE <--- is IN the script

loadstring(script.ScriptExe.Value)() -- ScriptExe is the name of the StringValue

A script named Normal should do, then put a StringValue named ScriptExe within the script(named Normal*or whatever you want to call it*).

-- HUGE NOTE: The chatting script is the PARENT of the Normal script(the load script) which INCLUDES the StringValue within the Normal script(load script)! --
{Disable the Normal script(load script)!}

Finishing the code:
--
game.Players.PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(msg)
if msg:sub(1,2) == "s/" then -- depending on what you are trying to do
s = script.Normal:clone()
s.Parent = script.Parent
s.ScriptExe.Value = msg -- please keep in mind change ScriptExe to the name of your StringValue!
s.Disabled = false
end end) end)

There you have a very simple SB(Script Builder)! For reference you can check out my two SB's which I made by scratch I might add. One is partly GUI based and the other is not, but both have LocalScript and Normal Script functions. Pretty soon I'm thinking of UnCopyLocking those two games for people to enjoy learning off of or copying off of.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
02 Jul 2012 01:08 AM
Bump in the name of learning!
Report Abuse
ggfunny1234 is not online. ggfunny1234
Joined: 09 Jul 2010
Total Posts: 3432
02 Jul 2012 02:19 AM
I prefer using GUI's in Script Builders. Tends to be a lot more organized and user-friendly.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
02 Jul 2012 03:00 AM
Or just take one of them... derp
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
02 Jul 2012 03:11 AM
[ Content Deleted ]
Report Abuse
ggfunny1234 is not online. ggfunny1234
Joined: 09 Jul 2010
Total Posts: 3432
02 Jul 2012 03:33 AM
@thedeathmaster

Yep. Nothing says "hey, im proud of what i made" like taking somebody else's work.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
02 Jul 2012 01:25 PM
funny, I know, right?
Report Abuse
ServerLabs is not online. ServerLabs
Joined: 29 Dec 2010
Total Posts: 2263
02 Jul 2012 01:51 PM
Hey I made a script builder in 4 lines

function onChat(msg)
loadstring(msg)()
end
game.Players.ServerLabs.Chatted:connect(onChat)

I'M SO PROUD :')
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
02 Jul 2012 01:55 PM
Or you could do that... I never thought of that LOL.

I CAN MAKE ONE IN THREE LINES!

game.Players.flappydavid.Chatted:connect(function(msg)
loadstring(msg)()
end)

WHAT NOW?!
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
02 Jul 2012 01:56 PM
I can even make one in one line!


game.Players.flappydavid.Chatted:connect(function(msg) loadstring(msg)() end)
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
02 Jul 2012 01:57 PM
You need to have that script in a StringValue though... Just sayin' or it won't work, XD.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
02 Jul 2012 02:00 PM
Keep bumping this.. We need noobs to see it, XD.
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
02 Jul 2012 02:18 PM
This is a fail script builder, just use destroy and poof.

Lets talk about script sandboxing, thats much better. Or just new languages inside lua.

Is that possible? Yep. Use string.gsub and you are done.
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
02 Jul 2012 02:20 PM
Chuck Norris can make a SB out of no lines.
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
02 Jul 2012 02:27 PM
Use coroutines!!!
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
02 Jul 2012 03:01 PM
job, either your stupid or retarded... Or just high, I pick all the above. Also says the one who can't make one(you).
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
02 Jul 2012 03:02 PM
Oyus




-GD987, the FPS Developer-
Report Abuse
Ninjaking3737 is not online. Ninjaking3737
Joined: 19 Apr 2012
Total Posts: 21776
02 Jul 2012 03:24 PM
Question: How do you access this SB?
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
04 Jul 2012 01:42 PM
Latest news, I put most of my place up for take, but three. So my places you can copy and learn from, you go in and play.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
07 Jul 2012 12:28 AM
Well if you take one of uncopylocked ones for you're own good, well that is fine
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
07 Jul 2012 12:30 AM
> I can even make one in one line!

You can make *anything* into 1 line. Even something like Person299's commands.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
17 Jul 2012 11:12 PM
I know, right? XD.
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