Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do you make a .gif that will look more realistic...? (Please don't downvote)(Answered) [closed]

Asked by 9 years ago

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.

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?

1 answer

Log in to vote
3
Answered by 9 years ago

Instead of using Heartbeat, use RenderStepped. Make sure the script is local.


This is your last script but with RenderStepped instead.

Frames = {251495903,251495914,251495930,251495944,251495974} --A Table/Array doesn't NEED to be local.
local frame = 1

game:GetService("RunService").RenderStepped:connect(function()--Local Script!
    script.Parent.Image = "http://www.roblox.com/asset/?id="..Frames[frame]
    frame = frame+1
    if frame > #Frames then
        frame = 1
    end
end)

Hope this helps!

1
ugh you beat me. woodengop 1134 — 9y
6
You forgot to explain: Why should he use 'RenderStepped'? What does it do? How does it work? :P TheeDeathCaster 2368 — 9y
Ad