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 » Scripters
Home Search
 

Re: Just finished my first bigger script (not roblox)

Previous Thread :: Next Thread 
AamunkoittoAlt is not online. AamunkoittoAlt
Joined: 27 May 2013
Total Posts: 3835
09 Jun 2015 04:32 PM
confirm("are you ready to play?");
var age = prompt("What is your age?");
if (age <= 13){
console.log("You can play but we take no responsibility, ask your parents for permission!");
} else {
console.log("good luck and enjoy the game");
}
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'")
console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'")
var userAnswer = prompt("Do you want to race Bieber on stage?")
if (userAnswer === "yes"){
console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!")
} else {
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'")
}

var feedback = prompt("Rate 1-10");
if (feedback >= 8){
console.log("Thank you! We should race at the next concert!")
} else {
console.log("I'll keep practicing coding and racing.")
}
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
09 Jun 2015 04:33 PM
That's not big but okay
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
09 Jun 2015 04:34 PM
That's pretty meh grade dude
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
09 Jun 2015 04:35 PM
for userAnswer use confirm()
Report Abuse
HomeguardDev is not online. HomeguardDev
Joined: 15 Sep 2014
Total Posts: 835
09 Jun 2015 04:40 PM
That script looks familiar... Coder dojo?
Report Abuse
AamunkoittoAlt is not online. AamunkoittoAlt
Joined: 27 May 2013
Total Posts: 3835
09 Jun 2015 04:41 PM
Yeah i used codeacademy
Report Abuse
HomeguardDev is not online. HomeguardDev
Joined: 15 Sep 2014
Total Posts: 835
09 Jun 2015 04:41 PM
Haha! What a coincidence! I helped you with that!
Report Abuse
AamunkoittoAlt is not online. AamunkoittoAlt
Joined: 27 May 2013
Total Posts: 3835
09 Jun 2015 04:45 PM
Really? What do you mean?
Report Abuse
HomeguardDev is not online. HomeguardDev
Joined: 15 Sep 2014
Total Posts: 835
09 Jun 2015 04:46 PM
You go to the Austin coder dojo place, correct? I mentor there
Report Abuse
AamunkoittoAlt is not online. AamunkoittoAlt
Joined: 27 May 2013
Total Posts: 3835
09 Jun 2015 05:38 PM
code academy
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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