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: Can someone make a script that keeps checking an image?

Previous Thread :: Next Thread 
President_Cupcake is not online. President_Cupcake
Joined: 06 Mar 2016
Total Posts: 903
13 Aug 2016 07:09 PM
And will perform a function if the image has a certain ID
Report Abuse
xXLegendarySoldierXx is not online. xXLegendarySoldierXx
Joined: 22 Mar 2012
Total Posts: 551
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
nooneisback is not online. nooneisback
Joined: 28 Feb 2012
Total Posts: 1672
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
xXLegendarySoldierXx is not online. xXLegendarySoldierXx
Joined: 22 Mar 2012
Total Posts: 551
13 Aug 2016 07:18 PM
I stand corrected. Gg.
Report Abuse
President_Cupcake is not online. President_Cupcake
Joined: 06 Mar 2016
Total Posts: 903
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
nooneisback is not online. nooneisback
Joined: 28 Feb 2012
Total Posts: 1672
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
President_Cupcake is not online. President_Cupcake
Joined: 06 Mar 2016
Total Posts: 903
13 Aug 2016 07:29 PM
It's a surface gui
Report Abuse
nooneisback is not online. nooneisback
Joined: 28 Feb 2012
Total Posts: 1672
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
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