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
 

Help

Previous Thread :: Next Thread 
Actoz is not online. Actoz
Joined: 28 Apr 2011
Total Posts: 2745
30 Jul 2011 10:13 PM
How would you check if a value hasn't changed in so long?
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
30 Jul 2011 10:17 PM
Value = YourValue
TimeWithoutChanges = 0

coroutine.resume(coroutine.create(function()
while wait(1) do
TimeWithoutChanges = TimeWithoutChanges + 1
end end))

Value.Changed:connect(function()
TimeWithoutChanges = 0
end)

Maybe?
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 10:17 PM
function onChanged()
return true
end
script.Parent.Changed:connect(onChanged)

while not onChanged() do
wait()
local a = 1
a = a + 1
if a == 60 then
print("It's been a minute!")
break
end
end

It might not work, but try it anyway.
Report Abuse
SDuke524 is not online. SDuke524
Joined: 29 Jul 2008
Total Posts: 6267
30 Jul 2011 10:46 PM
Spec's should work.
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
30 Jul 2011 10:47 PM
"Spec's should work."

OHOHOHO icwatudidthere
Report Abuse
unknown89089 is not online. unknown89089
Joined: 21 Aug 2008
Total Posts: 2961
30 Jul 2011 10:49 PM
a = 1
b = a

if b == a then
end


wut, isn't this it?
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
30 Jul 2011 10:59 PM
OOHOHOHOHOHO

Which one :(
Report Abuse
Spectrumw is not online. Spectrumw
Joined: 04 Aug 2009
Total Posts: 13510
30 Jul 2011 11:00 PM
Mine Dx your won't work.
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