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: ShopGui Not working.

Previous Thread :: Next Thread 
madiik is not online. madiik
Joined: 10 Feb 2009
Total Posts: 625
04 Dec 2012 12:06 PM
My script here:
for i,v in pairs(game.Players:GetPlayers()) do
if v.PlayerGui then
gui = v.PlayerGui.ShopGui.StarterGUI
gui.MouseButton1Down:connect(function()
function clicked()
v.PlayerGui.ShopGui.StartGUI.Visible = not v.PlayerGui.ShopGui.StartGUI.Visible
wait (0.1)
v.PlayerGui.ShopGui.Pistols.Visible = not v.PlayerGui.ShopGui.Pistols.Visible
end
end
end
end)

Well everything just seems fine, But what is wrong on there, Cause when i click it, It doesn't bring up the Pistols Gui.
Report Abuse
madiik is not online. madiik
Joined: 10 Feb 2009
Total Posts: 625
04 Dec 2012 12:16 PM
Maybe i did something wrong, I made a new one.

function onClicked()
if script.Parent.Parent.Frame.Visible == true then
script.Parent.Parent.Frame.Visible = false
else
script.Parent.Parent.Frame.Visible = true
end
end

script.Parent.MouseButton1Click:connect(onClicked)
Report Abuse
madiik is not online. madiik
Joined: 10 Feb 2009
Total Posts: 625
04 Dec 2012 12:33 PM
Bump

None of these work <_<

>Don't ignore the help needers!<
Report Abuse
xXTheRobotXx is not online. xXTheRobotXx
Joined: 05 May 2012
Total Posts: 13343
04 Dec 2012 12:35 PM
Make sure to change the GUI in the PlayerGui

Error 407:["Siggy.exe not found."] Please try again in a few moments.
Report Abuse
madiik is not online. madiik
Joined: 10 Feb 2009
Total Posts: 625
04 Dec 2012 12:39 PM
You mean the 1st script? That didn't work for all with my CS 1.6 Script, Pic here of my CS 1.6 Gui (Kinda outdated, Made a new one)

[IMG]http://i.imgur.com/jngC9.jpg?1[/IMG]

[Not a scam (FOR ROBLOX), It's a picture link, I added this reason so roblox wouldn't ban me for nothing]
Report Abuse
madiik is not online. madiik
Joined: 10 Feb 2009
Total Posts: 625
04 Dec 2012 12:59 PM
Bumpy Bump. Scripts not working
Report Abuse
xXTheRobotXx is not online. xXTheRobotXx
Joined: 05 May 2012
Total Posts: 13343
04 Dec 2012 01:32 PM
In a localscript
gui = game.Players.LocalPlayer.PlayerGui.ShopGui.StarterGUI
gui.MouseButton1Down:connect(function()
for i,v in pairs(gui) do
if v.Visible == false then
v.Visible == true
else
v.Visible = true
end
end
end)


Error 407:["Siggy.exe not found."] Please try again in a few moments.
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