I just wanted to know, How do you make a .gif that will look more realistic and not like a millisecond behind? Is there a way to make it realistic or is it always going to be this way? Sorry if I am not making this understandable, but I just had a curiosity.
Instead of using Heartbeat, use RenderStepped. Make sure the script is local.
This is your last script but with RenderStepped instead.
01 | Frames = { 251495903 , 251495914 , 251495930 , 251495944 , 251495974 } --A Table/Array doesn't NEED to be local. |
02 | local frame = 1 |
03 |
04 | game:GetService( "RunService" ).RenderStepped:connect( function () --Local Script! |
05 | script.Parent.Image = "http://www.roblox.com/asset/?id=" ..Frames [ frame ] |
06 | frame = frame+ 1 |
07 | if frame > #Frames then |
08 | frame = 1 |
09 | end |
10 | end ) |
Hope this helps!
Locked by EzraNehemiah_TF2 and Goulstem
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?