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: script wont work at all?????

Previous Thread :: Next Thread 
teamkilled is not online. teamkilled
Joined: 14 Apr 2013
Total Posts: 1748
10 Oct 2013 02:08 PM
function Click()
Script.Parent.Parent.Visible = false
end

script.Parent.MouseButton1Down:connect(Click)

--


A VERY basic script won't work at all. Is it because of it's placement in the game?
The script is located at game.StarterGui.StartGui.RuleFrame.Close.Script
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
10 Oct 2013 02:11 PM
Script is capitalized.
Report Abuse
randomname5k is not online. randomname5k
Joined: 12 Aug 2009
Total Posts: 8892
10 Oct 2013 02:39 PM
script.Parent

not Script.Parent.
Report Abuse
talk2me2 is not online. talk2me2
Joined: 25 Mar 2011
Total Posts: 1051
10 Oct 2013 02:51 PM
function Click()
script.Parent.Parent.Visible = false
end

script.Parent.MouseButton1Down:connect(Click)
Report Abuse
bballer13sn is not online. bballer13sn
Joined: 03 Jun 2009
Total Posts: 2490
10 Oct 2013 02:54 PM
Yeah...This isn't C#, this is Lua. We use lowercase letters to start our variable names. Kthxbai.
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