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: What the heck is wrong with this script

Previous Thread :: Next Thread 
jaymanser1999 is not online. jaymanser1999
Joined: 11 Dec 2010
Total Posts: 179
14 Feb 2014 10:16 AM
Click = Script.Parent.Parent.Parent.devblog
--I changed the Script to script steal does not work the error is:
--11:12:58.275 - Players.Player1.PlayerGui.HUD.TopBar.Frame.TextButton.Scrip:1: attempt to index global 'Script' (a nil value)
--On line one

function onClicked(GUI)
Click.Visible = true

end
script.Parent.MouseButton1Click:connect(onClicked)

NOTE: I changed to path 50 times thats not it
Report Abuse
Solsticedev is not online. Solsticedev
Joined: 02 Feb 2014
Total Posts: 343
14 Feb 2014 10:25 AM
script not Script I believe.
Report Abuse
Zeloi is not online. Zeloi
Joined: 27 Sep 2010
Total Posts: 1143
14 Feb 2014 10:26 AM
Solsticedev is right..
Report Abuse
jaymanser1999 is not online. jaymanser1999
Joined: 11 Dec 2010
Total Posts: 179
14 Feb 2014 10:32 AM
Ok now none of the buttons are clickable?
Report Abuse
Solsticedev is not online. Solsticedev
Joined: 02 Feb 2014
Total Posts: 343
14 Feb 2014 10:34 AM
try

script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent["devblog"].Visible = true
end)
Report Abuse
jaymanser1999 is not online. jaymanser1999
Joined: 11 Dec 2010
Total Posts: 179
14 Feb 2014 10:36 AM
Worked but none of the buttons are working? q-q roblox will not allow them to be clicked wtf?!??!?! they are textbuttons..
Report Abuse
Solsticedev is not online. Solsticedev
Joined: 02 Feb 2014
Total Posts: 343
14 Feb 2014 10:38 AM
Check the active property.
Report Abuse
jaymanser1999 is not online. jaymanser1999
Joined: 11 Dec 2010
Total Posts: 179
14 Feb 2014 10:40 AM
They are?
Report Abuse
Zeloi is not online. Zeloi
Joined: 27 Sep 2010
Total Posts: 1143
14 Feb 2014 01:51 PM
Just use MouseButton1Down....

Its more accurate.
Report Abuse
david1234501 is not online. david1234501
Joined: 04 Oct 2008
Total Posts: 737
14 Feb 2014 02:00 PM
You shouldn't have to use MouseButton1Down, MouseButton1Click should work just fine..

script.Parent.MouseButton1Click:connect(function()

script.(However many parents)["devblog"].Visible = true

end)
Report Abuse
jaymanser1999 is not online. jaymanser1999
Joined: 11 Dec 2010
Total Posts: 179
14 Feb 2014 04:26 PM
I did the scrip has no errors but the buttons when clicked does nothing
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