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 » Scripting Helpers
Home Search
 

Re: The image isn't changing in my GUI

Previous Thread :: Next Thread 
PeerPants is not online. PeerPants
Joined: 09 Nov 2007
Total Posts: 7393
03 Mar 2013 10:54 AM
No errors in the output


print('Map change script loaded.')
while true do
maps = game.Lighting.Maps:GetChildren()
map = maps[math.random(1, #maps)]
game.Workspace.Message.Text = 'Changing Map'
for index,player in pairs(game.Players:GetChildren()) do
player.PlayerGui.ScreenGui.ImageButton.Image = "http://www.roblox.com/asset/?id=108329426"
end
wait(1)
game.Workspace.Message.Text = ''
map:Clone().Parent = workspace
game.Workspace.Message.Text = 'Map Changed'
for index,player in pairs(game.Players:GetChildren()) do
player.PlayerGui.ScreenGui.ImageButton.Image = "http://www.roblox.com/asset/?id=108329386"
end
wait(1)
game.Workspace.Message.Text = ''
print('Map changed')
wait(5)
workspace[map.Name]:Destroy()
end
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
03 Mar 2013 11:10 AM
I've gotten this glitch before.
I have no clue what causes it, and I have no clue what fixes it.
I changed the Visible property to false then true again, and it fixed for me.
But others have reported that doesn't work for them.

Good luck, and if you do manage to figure out a solution, please share. :)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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