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
 

eat

Previous Thread :: Next Thread 
Fojut is not online. Fojut
Joined: 09 Aug 2013
Total Posts: 8
11 Aug 2013 04:37 AM
Hi.
How to add in-game bar fatigue, hunger ?
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
11 Aug 2013 04:39 AM
By scripting a GUI for it... Duh.
Report Abuse
Fojut is not online. Fojut
Joined: 09 Aug 2013
Total Posts: 8
11 Aug 2013 05:44 AM
GUI
Report Abuse
pomopaul is not online. pomopaul
Joined: 27 Aug 2011
Total Posts: 174
11 Aug 2013 06:45 AM
Graphical User Interface.

TextBox that says hunger/ thirst/ etc.
num value
script that limits the number value (i hope you know how to make that)
script that when the value is under 0 player dies
in the text box have this script:

local numValue = (the number value. Make sure you get the actual Value)

while wait(a number) do
numValue = numValue - 1
end

and you also need this script:

local numValue = (the number value. Make sure you get the actual Value)
local textBox = (the textbox)

while wait() do
textBox.Size = {0, numValue} {0, 10}
textBox .Postion = {0.4, numValue} {0.9, 0}
end


i hop this helps.
Report Abuse
Fojut is not online. Fojut
Joined: 09 Aug 2013
Total Posts: 8
11 Aug 2013 09:42 AM
THX subject to close
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