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: Underwater Breath Script+GUI

Previous Thread :: Next Thread 
cloney8 is not online. cloney8
Joined: 16 Jan 2009
Total Posts: 175
31 Aug 2011 09:45 AM
Ok, I have a 99% chance of getting flamed for this, but, here we go.

Ok, so I have my game, Modern Combat: Harbor Attack. I need a script for if you are in the water that gives you a GUI that counts the amount o air you have left, like a timed killing divice that lets you move freely, and that if you get off the brick the timer stops and the GUI goes away.

Any help?
Report Abuse
cloney8 is not online. cloney8
Joined: 16 Jan 2009
Total Posts: 175
31 Aug 2011 09:46 AM
Also, note, if you fla me, here's a question: Why did they put the scripting helpers here if you can't get help? Huh? HUH?
Report Abuse
cloney8 is not online. cloney8
Joined: 16 Jan 2009
Total Posts: 175
31 Aug 2011 09:47 AM
Fla=flame.
Report Abuse
pokelord910 is not online. pokelord910
Joined: 26 May 2009
Total Posts: 1045
31 Aug 2011 10:04 AM
i agree with you on the flaming, why make scripting helpers if you dont HELP others with scripts
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
31 Aug 2011 10:11 AM
Well, the StoppedTouching event would be helpful, when it comes out..

The rules of this forum clearly state that you are not to request scripts.

I do not mind helping, but this forum is for debugging scripts that you made, already, so that we can get it to work.
Report Abuse
cloney8 is not online. cloney8
Joined: 16 Jan 2009
Total Posts: 175
09 Sep 2011 04:06 PM
Well, I'm really ticked you can't do that, 'cause what about the people that don't and don't want to script? If you don't mind helping, can you? If you can't, it's okay.
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
09 Sep 2011 04:09 PM
Ok, learn too script.

We can "Help" you, but not make it for you :3
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
09 Sep 2011 04:12 PM
lol, i just finished making this exact thing for my game. i just compared my characters torso to the surface of the water to find out if your under water or not and then while your under water i had the bar shrink at a certain increment every second and when the bars Y scale reached 0 you died. the bar refills when your position is above the waters surface. if you want to see it go here: http://www.roblox.com/The-Survival-Game-place?id=11676059
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
09 Sep 2011 04:21 PM
This thread is pointless! Why the heck do need to post this thread this when its 99% chance of flame wars? HUH! Do you want a flame war? WHY?
Report Abuse
cloney8 is not online. cloney8
Joined: 16 Jan 2009
Total Posts: 175
08 Oct 2011 07:31 PM
I'm just saying that there is a chance of someone ACTUALLY HELPING ME. I never said I wanted flame wars. Besides, you may just be starting one.
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
08 Oct 2011 11:44 PM
The .TouchEnded event just came out. Enjoy. :P
Report Abuse
Pennyz is not online. Pennyz
Joined: 04 May 2008
Total Posts: 6081
09 Oct 2011 01:04 AM
Make a GUI.
Script it so that when you touch a certian brick name the GUI pops up.
if Player:Hit(Brick) = true
then
script.Parent.GUI.visible = false
elseif Player:hit(Brick) = false
then script.Parent.GUI.visible = false
or something like that.
Blah blah blah go find the rest yourself im too lazy to make something for you lol.
Report Abuse
BobGeorgenworn909 is not online. BobGeorgenworn909
Joined: 03 Apr 2008
Total Posts: 1161
09 Oct 2011 01:13 AM
I store 2 values in the player, Underwater and Air.

When the character enters the water, Underwater.Value = 1.
while Underwater.Value == 1 and wait(1) do
Air.Value = Air.Value - 1
if Air.Value < 1 then
script.Parent:BreakJoints()
end
end

Gui part is easy.
Report Abuse
cloney8 is not online. cloney8
Joined: 16 Jan 2009
Total Posts: 175
09 Oct 2011 03:19 PM
Thanks, guys. Also, bob, does your help require another script you didn't include? Just asking. Again, thanks!

~Creation is the Key~
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