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 » Scripters
Home Search
 

Re: Script refresh.

Previous Thread :: Next Thread 
mityguy is not online. mityguy
Joined: 07 Jun 2008
Total Posts: 5483
18 Nov 2015 02:05 PM
Is there a way to make a script run from the top? I was hoping disabling and enabling would do that for me... I didn't get so lucky...
Report Abuse
mityguy is not online. mityguy
Joined: 07 Jun 2008
Total Posts: 5483
18 Nov 2015 02:15 PM
Negate this question. I've decided to delete then clone.
Report Abuse
WVPII is not online. WVPII
Joined: 19 Aug 2015
Total Posts: 207
18 Nov 2015 02:32 PM
How do you mean?
Report Abuse
AnimatedUglyPet is not online. AnimatedUglyPet
Joined: 23 Feb 2013
Total Posts: 364
18 Nov 2015 02:36 PM
Go back to Scripting Help Moron
Report Abuse
Zaxerion is not online. Zaxerion
Joined: 09 Feb 2013
Total Posts: 2304
18 Nov 2015 02:40 PM
No, no no. Put all your code where I say --code here and replace respawnTime with how often it refreshs.

local respawnTime = (5 * 60) -- 5 * 60 = 5 minutes, because it is in seconds.

local Code = function()
--code here
end

Code()

while wait(respawnTime) do
Code()
end
Report Abuse
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
18 Nov 2015 03:57 PM
It is truly pointless to put your code in a function when you can just put it in the loop.
Report Abuse
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
18 Nov 2015 03:58 PM
also 5 * 60 ~= 60 * 5


It is supposed to be 60*5. I'd expect this from you though.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
18 Nov 2015 03:59 PM
'5 * 60 ~= 60 * 5'
Are you an idiot?
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
18 Nov 2015 04:03 PM
lol idiot
Report Abuse
colinrules10 is not online. colinrules10
Joined: 04 May 2013
Total Posts: 878
18 Nov 2015 04:16 PM
Destroying and recloning helps.
Report Abuse
Zaxerion is not online. Zaxerion
Joined: 09 Feb 2013
Total Posts: 2304
18 Nov 2015 04:31 PM
Um, fish, I hate to dog on you, but, GO BACK TO KINDERGARTEN AND LEARN MULTIPLICATION.
Report Abuse
TheBuilderGames is not online. TheBuilderGames
Joined: 28 Mar 2013
Total Posts: 211
18 Nov 2015 04:32 PM
@AnimatedUglyPet Last time I checked you were a moron.
Report Abuse
Zaxerion is not online. Zaxerion
Joined: 09 Feb 2013
Total Posts: 2304
18 Nov 2015 04:34 PM
@Fishguy100

It is not pointless, it looks better to the eyes. Maybe because you don't appreciate good code aesthetics that doesn't mean we don't.
Report Abuse
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
18 Nov 2015 06:23 PM
Actually, to my eyes it looks like something that could have been shorten. And that is not pleasing to my eye...

Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
18 Nov 2015 06:25 PM
script:Clone().Parent=script.Parent;script:Destroy()
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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