Hey guys, I just thought I’d drop in with something cool I’ve been working on for quite some time.
For the past little while, I have been making a command script that allows easy mods and is free to modify at will. Currently, the script is marked as Unfinished, but the current prototype I have is definitely usable from within games.
But then I asked myself while coding, what if there was a way to essentially code using commands? Not only would this completely eliminate the need of loadstring, it would also make the command script infinitely more usable in the process. And so that’s exactly what I did, and why my command script excels.
ml:
=>{ ##Thread separation##
input_box:me: -id box -boxlabel Message 1 -dtext Test1 -button true -blabel SubTest -col 0,0,0 -tcol White -pos 0.25,0,0.25,0;
input_wait:box;
assign>input_getinfo:box>val;
m:%val%
};
=>{ ##Thread separation##
input_box:me: -id box2 -boxlabel Message 2 -dtext Test1 -button true -blabel SubTest -col 0,0,0 -tcol White -pos 0.75,0,0.25,0;
input_wait:box2;
assign>input_getinfo:box2>val;
m:%val%
};
I’ve made multiple APIs including ones for re-implementing 2D arrays into roblox and lists, all of that fun stuff. If you’d like to check it out, I’ll keep an updated script posted here.
There are some example uses for commands here, so I’ll go through them one by one. If you want a full documentation, it is included in the script and the spoiler tag at the top of this post.
This command teleports everyone else to you.
This command swaps someone else’s head (hats and all) with you.
This command sets your Money stat in your leaderboard to 10000.
This command makes you appear as though you are ROBLOX.
This command plays some MLG quickscope can can!
[quote]!ml:ds_grid_create:hi:50:50;
ds_grid_clear:hi;
ds_grid_set_disk:hi:25:25:24:1[/quote]
This command creates and clears a 50x50 grid. Then, it sets a disk with 24 radius at the point (25,25). You can then use a command like
[quote]!ml:forgrid>hi>{
p:1 1 1 -xr %x% -zr %y% -c Bright blue
}[/quote]
to display it using 1x1x1 parts positioned (x,y) relative to your head + a bit in the y axis by default to prevent overlapping your head.
This command gets a longer command paste in pastebin with its raw data and executes it as a command. This pastebin creates a yellow boxcar below your feet. Because of some circumstances you need to drag the parts with building tools before the box actually moves. It’s a good example though.
This command makes it so if anybody dies, they are banned from this server. This adds an interesting layer of challenge to a survival or fighting game.
This command summons a hopperbin in your inventory that executes the pastebin paste for spawning boxcars every time you click with it.
This command script is also capable of recreating entire compiled models one by one!
Feel free to give feedback and criticisms! I would love to hear how I could improve it.
[size=6]How to get it[/size]
There is so much more you can do with the script. For now, if you would like to test some of these commands without implementing it, I have prepared a demo that you can try in this game. (Everybody has OP privileges so everybody can use most commands)
Otherwise, Just download the attachment, and place the model that loads into the ServerScriptService.
Then, just go in it and replace one of the admin names with yours in the purple quote tags.