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: How to use RenderStepped?

Previous Thread :: Next Thread 
Roytt is online. Roytt
Joined: 19 Apr 2010
Total Posts: 957
24 May 2016 12:05 PM
Could you give me a small example?
Report Abuse
DiscoveryDev is not online. DiscoveryDev
Joined: 16 Mar 2016
Total Posts: 67
24 May 2016 12:07 PM
game:GetService('RunService').RenderStepped:connect(function()
print('stfu')
end)

or

while true do
game:GetService('RunService').RenderStepped:wait()
end


Rendersteps are in loops basically.
Report Abuse
Roytt is online. Roytt
Joined: 19 Apr 2010
Total Posts: 957
24 May 2016 12:21 PM
In the first example is it going to print 'stfu' once very rapidly or is it going to fire multiple times?
and in the second example it is going to wait a very small amount of time for each iteration of the loop?
Report Abuse
DiscoveryDev is not online. DiscoveryDev
Joined: 16 Mar 2016
Total Posts: 67
24 May 2016 12:27 PM
First example, it's going to constantly print 'stfu', second example it'll just continuously fire whatever is in the while true do
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