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: Why doesn't this work?

Previous Thread :: Next Thread 
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
07 Aug 2012 04:52 PM
player.PlayerGui.YouBought.Frame.Visible = true
player.PlayerGui.YouBought.Frame.Picture = player.PlayerGui.ShopGui.Picture.Image
wait(10)
player.PlayerGui.YouBought.Frame.Visible = false

This is just a section of a big script, so the functions work I just added this, And it doesn't work. It's suppose to make it so when you buy something it shows the picture of the item you bought. The picture of the item you bought is in the Shopgui's picture. I want the YouBought picture to have the same image as the ShopGui's picture.
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
07 Aug 2012 04:52 PM
Can you say what you want again?

I can't understand.
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
07 Aug 2012 04:53 PM
I want the shopgui's picture to be the same as youbought's picture
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
07 Aug 2012 04:55 PM
bump
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
07 Aug 2012 05:00 PM
bump...
Report Abuse
Brofessions is not online. Brofessions
Joined: 30 Jul 2012
Total Posts: 214
07 Aug 2012 05:01 PM
player.PlayerGui.YouBought.Frame.Picture.Image
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
07 Aug 2012 05:02 PM
i want the picture of a picture in a different gui to be in a different gui
Report Abuse
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
07 Aug 2012 05:03 PM
player.PlayerGui.YouBought.Frame.Visible = true
player.PlayerGui.YouBought.Frame.Image = player.PlayerGui.ShopGui.Picture.Image
wait(10)
player.PlayerGui.YouBought.Frame.Visible = false
Report Abuse
Brofessions is not online. Brofessions
Joined: 30 Jul 2012
Total Posts: 214
07 Aug 2012 05:04 PM
Frames don't have an image property
Report Abuse
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
07 Aug 2012 05:06 PM
player.PlayerGui.YouBought.Frame.Visible = true
player.PlayerGui.YouBought.Frame.ImageLabel.Image = LocalPlayerplayer.PlayerGui.ShopGui.Image
wait(10)
player.PlayerGui.YouBought.Frame.Visible = false

I found like 5 errors in there
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
07 Aug 2012 05:06 PM
player.PlayerGui.YouBought.Frame.Visible = true
player.PlayerGui.YouBought.Frame.Picture.Image = player.PlayerGui.ShopGui.Picture.Image
wait(10)
player.PlayerGui.YouBought.Frame.Visible = false

Still doesn't work
Report Abuse
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
07 Aug 2012 05:07 PM
player.PlayerGui.YouBought.Frame.Visible = true
player.PlayerGui.YouBought.Frame.Picture.Image = LocalPlater.PlayerGui.ShopGui.Picture.Image
wait(10)
player.PlayerGui.YouBought.Frame.Visible = false


Try this with a Local script because I used LocalPlayer
Report Abuse
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
07 Aug 2012 05:13 PM
Tell me if it works now.
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
07 Aug 2012 05:14 PM
is there a way to make it worth without using localplayer?
Report Abuse
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
07 Aug 2012 05:15 PM
Probably, I just find using LocalPlayer is the easiest. Just try my script inside of a Local Script and tell me if it works I think it should
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
07 Aug 2012 05:18 PM
It works
Report Abuse
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
07 Aug 2012 05:19 PM
Np
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