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 would I make a 'Fix' command?

Previous Thread :: Next Thread 
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
29 May 2013 03:02 AM
Where would I start on this?

--Yes, I have the beginning and end of this onchatted function. This is just an example.


if msg == "fix" then
--stuff
end



Thanks!

~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~
Report Abuse
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
29 May 2013 03:03 AM
But then again... if the script breaks, how would I use the fix command?

~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
29 May 2013 03:08 AM
Make all the orher commands run in new thread. No need for fix command anymore.
Report Abuse
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
29 May 2013 03:12 AM
Wat.

~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~
Report Abuse
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
29 May 2013 03:29 AM
I hope you inferred I meant for my admin script I'm creating..

~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
29 May 2013 07:32 AM
Why create an Admin Script if you don't know how to make it fix? Admin Scripts are advanced. Well, some of them. But then again, I probably shouldn't be talking, I don't program in RBX Lua.
Report Abuse
JoeLuke001 is not online. JoeLuke001
Joined: 04 Oct 2008
Total Posts: 5861
29 May 2013 07:37 AM
Couldn't you reset everything to return to a certain point of time, like when you press the reset button in Studio?
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
29 May 2013 07:54 AM
Admin scripts are NOT advanced.

I had to say it.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
29 May 2013 08:05 AM
Now if one of yourcommands derp, it won't disconnect event, so you are able to use other commands that works.


player.Chatted:connect(function(msg)
Spawn(function()
if msg:match("^/ded") then
player.Character:BreakJoints()
end
end)
end)
Report Abuse
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
29 May 2013 06:49 PM
imma stick to pcall.
e.e
And just make sure I make it error-proof.

~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~
Report Abuse
TELEMONTHE1st is not online. TELEMONTHE1st
Joined: 11 May 2010
Total Posts: 692
29 May 2013 08:14 PM
no don't stick with pcall
stick with ypcall
Report Abuse
TheMotherProject is not online. TheMotherProject
Joined: 09 May 2013
Total Posts: 62
29 May 2013 08:24 PM
Fix command could be to clone a Disabled copy of the script from Lighting back into Workspace, delete the current one, and Enable the new one.
Report Abuse
zackeryjerrypowers is not online. zackeryjerrypowers
Joined: 01 Aug 2008
Total Posts: 1515
30 May 2013 04:32 AM
If the script is broken, how would I say 'Fix'?
I would have to create a whole 'nother individual script for that.

~ ∂◊и'₮ サ∆₮∑ ◊и ₮サ∑ ㄅⅰббㄚ ~
Report Abuse
TELEMONTHE1st is not online. TELEMONTHE1st
Joined: 11 May 2010
Total Posts: 692
13 Jun 2013 02:18 PM
Just use ypcall.

~ninja poster~
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