so basically im making an animated image with spritesheet because roblox hasnt added gif support so im using imagerectoffset
the screen gui its like this: StarterGui ScreenGUI ImageLabel LocalScript Value (BoolValue type "Value its off") here is the script
local imagerectoffset = script.Parent.ImageRectOffset
local time = 0.01666666666 --60fps
local value = script.Value.Value
repeat
imagerectoffset = "0, 0" --1
wait(time)
imagerectoffset = "204, 0" --2
wait(time)
imagerectoffset = "408, 0" --3
wait(time)
imagerectoffset = "612, 0" --4
wait(time)
imagerectoffset = "816, 0" --5
wait(time)
imagerectoffset = "0, 149" --6
wait(time)
imagerectoffset = "204, 149" --7
wait(time)
imagerectoffset = "408, 149" --8
wait(time)
imagerectoffset = "612, 149" --9
wait(time)
imagerectoffset = "816, 149" --10
wait(time)
imagerectoffset = "0, 298" --11
wait(time)
imagerectoffset = "204, 298" --12
wait(time)
imagerectoffset = "408, 298" --13
wait(time)
imagerectoffset = "612, 298" --14
wait(time)
imagerectoffset = "816, 298" --15
wait(time)
imagerectoffset = "0, 447" --16
wait(time)
imagerectoffset = "204, 447" --17
wait(time)
imagerectoffset = "408, 447" --18
wait(time)
imagerectoffset = "612, 447" --19
wait(time)
imagerectoffset = "816, 447" --20
wait(time)
imagerectoffset = "0, 596" --21
wait(time)
imagerectoffset = "204, 596" --22
wait(time)
imagerectoffset = "408, 596" --23
wait(time)
imagerectoffset = "612, 596" --24
wait(time)
until
value == true
thanks
