|
| 13 Aug 2016 07:09 PM |
| And will perform a function if the image has a certain ID |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2016 07:14 PM |
| Just do a while do loop with an if statement inside of it... plus, no one is going to just "do" it for you. |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2016 07:14 PM |
local Image --put the path here local ImageID = "" --the id you want to wait for Image.Changed:connect(function() if Image.Image == ImageID then --stuff end end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 13 Aug 2016 07:19 PM |
This is my script but it doesn't work
local Pic = game.Workspace.Camera.BattleField.Player.PlayerPokemon.Gui.Pic while true do if Pic.Image == "rbxgameasset://Images/frame_0_delay-0.05s" then Pic.Image = "rbxgameasset://Images/frame_1_delay-0.05s" wait (0.5) Pic.Image = "rbxgameasset://Images/frame_1_delay-0.05s" wait (0.5) Pic.Image = "rbxgameasset://Images/frame_2_delay-0.05s" wait (0.5) Pic.Image = "rbxgameasset://Images/frame_3_delay-0.05s" else
end |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2016 07:27 PM |
| Why is your gui in the camera? It should go into PlayerGui (StarterGui sends it into that location). |
|
|
| Report Abuse |
|
|
| |
|
|
| 13 Aug 2016 07:34 PM |
| Oh. I have some faint ideas that are probably wrong, but try replacing the images with some radom free decal asset IDs. |
|
|
| Report Abuse |
|
|