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: My first script!

Previous Thread :: Next Thread 
FreeGamesROBLOX is not online. FreeGamesROBLOX
Joined: 15 Jun 2011
Total Posts: 6622
21 Apr 2012 09:12 PM
What it does is creates a message that counts down from 10 and then removes the message.... It'll be useful for minigames.

Instance.new("IntValue",game.Workspace)
Instance.new("Message",game.Workspace)
for i=10,1,-1 do
wait(1)
workspace.Value.Value=i
workspace.Message.Text = workspace.Value.Value
end
workspace.Message:remove()
Report Abuse
FreeGamesROBLOX is not online. FreeGamesROBLOX
Joined: 15 Jun 2011
Total Posts: 6622
21 Apr 2012 09:13 PM
My*
Sorry, I made a typo in the title of this thread
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
21 Apr 2012 09:26 PM
Um, good job.
Report Abuse
NanoSpace is not online. NanoSpace
Joined: 11 Jan 2011
Total Posts: 4789
21 Apr 2012 09:29 PM
I'm amazed I can't understand most of this.

ಠ_ಠ
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
21 Apr 2012 09:38 PM
@Nano,
If you are being serious...

Instance.new("IntValue",game.Workspace)
Creates a new value. Puts in workspace.

Instance.new("Message",game.Workspace)
Creates a message. Puts in workspace.

for i=10,1,-1 do
Starts at 10. Ends at 1. Goes down by 1 each time.

wait(1)
1 second pause.

workspace.Value.Value=i
Make the value equal to the current value of i (starts at 10, goes down 1 each time)

workspace.Message.Text = workspace.Value.Value
Displays the value's current value.

end
Ends the loop- it repeats here.

workspace.Message:remove()
Removes the message.
Report Abuse
NanoSpace is not online. NanoSpace
Joined: 11 Jan 2011
Total Posts: 4789
21 Apr 2012 09:41 PM
:o...Now I know :D
Report Abuse
ZackZak is not online. ZackZak
Joined: 26 Jul 2009
Total Posts: 2811
21 Apr 2012 09:56 PM
Could be much more efficient.

Message = Instance.new("Message", game.Workspace);
for Index = 10, 1, -1 do
Message.Text = "Seconds left before I eat everyone "..Index;
wait(1);
end
Message.Parent = nil;
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
21 Apr 2012 09:58 PM
Zack, most 'first scripts' can be more efficient...
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
21 Apr 2012 09:58 PM
Huh, ZackZak, yours isn't really more efficient, you know...
Report Abuse
FreeGamesROBLOX is not online. FreeGamesROBLOX
Joined: 15 Jun 2011
Total Posts: 6622
21 Apr 2012 10:01 PM
I have successfully created a minigame!
Well, the script....
The maps are only 4 blocks grouped on top of each other...
Report Abuse
RA2lover is not online. RA2lover
Joined: 09 Nov 2008
Total Posts: 1254
22 Apr 2012 06:26 AM
your script is leaking IntValues.
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
22 Apr 2012 07:34 AM
Dear lord.
Report Abuse
Techboy6601 is not online. Techboy6601
Joined: 29 Jun 2009
Total Posts: 4914
22 Apr 2012 12:41 PM
Mother of god...
Report Abuse
Parthax is not online. Parthax
Joined: 27 Apr 2011
Total Posts: 6941
22 Apr 2012 02:11 PM
[ Content Deleted ]
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
22 Apr 2012 06:35 PM
My first script was a sword that makes you lose health for having it out. Not sure I still have it.
Report Abuse
LordValkrie is not online. LordValkrie
Joined: 25 Feb 2012
Total Posts: 11344
22 Apr 2012 09:17 PM
I just started a scripting folder, working on Advanced scripts.
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
23 Apr 2012 05:11 PM
^
It must be empty
Report Abuse
1Ra is not online. 1Ra
Joined: 02 May 2010
Total Posts: 2400
23 Apr 2012 05:34 PM
G-G-G-GOTEM!
Report Abuse
LordValkrie is not online. LordValkrie
Joined: 25 Feb 2012
Total Posts: 11344
23 Apr 2012 07:49 PM
@booing, no it has 5 scripts.
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
24 Apr 2012 07:14 AM
@OP
ARRR I HAD ME FIRST SCRIPT TOO
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