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: Can you help this script?

Previous Thread :: Next Thread 
corncob567 is not online. corncob567
Joined: 18 Jan 2011
Total Posts: 795
21 May 2012 06:58 PM
I made this script and I have no idea why it isn't working. See if you can help:

function onClicked()
game.Workspace.Variables.BrickColor = BrickColor.new("Really red")
game.Workspace.Waiting Commands.Name = "So you want to learn about Variables?"
wait(4)
game.Workspace.Waiting Commands.Name = "Variables are letters or anything that represents a number."
wait(5)
game.Workspace.Waiting Commands.Name = "Variables are used when there is an unknown value in an equation"
wait(6)
game.Workspace.Waiting Commands.Name = "Let's say there are N kids in a classroom. If one leaves there are 15 left. How many kids are there if a kid doesn't leave?"
wait(10)
game.Workspace.Waiting Commands.Name = "Well N is the variable and our goal is to find out what N is."
wait(7)
game.Workspace.Waiting Commands.Name = "So the problem looks like N-1=15. What is N? To find N you must do the inverse operation they used to get 15."
wait(10)
game.Workspace.Waiting Commands.Name = "If they used subtraction you would have to use addition. You would add 1 to 15. Which is 16."
wait(10)
game.Workspace.Waiting Commands.Name = "So now we know that N=16."
wait(4)
game.Workspace.Waiting Commands.Name = "If you would like to learn about advanced variable uses, click on the button that is labeled Advanced Variable Uses."
wait(10)
game.Workspace.Waiting Commands.Name = "Waiting Command"
game.Workspace.Variables.BrickColor = BrickColor.new("Camo")
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
21 May 2012 06:59 PM
Is "Variables" a brick?

Also:

game.Workspace["Waiting Commands"].Name

† KMXD †
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
21 May 2012 07:03 PM
Plus if you are changin the names of the model, I don't think you could keep calling it "Waiting Commands".

† KMXD †
Report Abuse
corncob567 is not online. corncob567
Joined: 18 Jan 2011
Total Posts: 795
21 May 2012 07:08 PM
Variables is a model and so is Waiting Commands. And good thinking with the name change thing.
Report Abuse
vampirexevipex is not online. vampirexevipex
Joined: 11 Apr 2009
Total Posts: 1598
21 May 2012 07:08 PM
Can you tell us what the Output says?
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
21 May 2012 07:13 PM
BrickColor is not a property of a model.

† KMXD †
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