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 » Club Houses » Clans & Guilds
Home Search
 

Re: anyone script this

Previous Thread :: Next Thread 
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:25 PM
this audio plays 1 time (25-30 health points)
when you have 25-30 healthpoints left

http://www.roblox.com/OoT-Low-Health-item?id=183044355
Report Abuse
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:27 PM
,


adding a lot of small things to my fort
Report Abuse
UntoTheBreach is not online. UntoTheBreach
Joined: 19 Apr 2010
Total Posts: 28897
14 Oct 2015 07:28 PM
wouldn't it just be a while loop?
Report Abuse
robloxrock33 is not online. robloxrock33
Joined: 01 Jul 2011
Total Posts: 11509
14 Oct 2015 07:29 PM
mah ears!11111111111111111

The rock of the forums.™
Report Abuse
Zach1102 is not online. Zach1102
Joined: 20 Aug 2010
Total Posts: 48576
14 Oct 2015 07:31 PM
if health < 30:
play music code that i dont know
Report Abuse
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:38 PM
its not a loop
and 2
Report Abuse
Matthais5 is not online. Matthais5
Joined: 19 Apr 2012
Total Posts: 6520
14 Oct 2015 07:41 PM
You'd have to do something like

playSound = false

if player's health && playSound = false < 30
playSound = true
Play audio
end

if player's health >= 30
playsound = false
end
Report Abuse
ChiefAlpha is not online. ChiefAlpha
Joined: 01 Oct 2015
Total Posts: 2014
14 Oct 2015 07:41 PM
humanoid.Changed:connect(function(prop)
if prop is health
if health <= 30
audio:play()
end)
Report Abuse
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:42 PM
i can't script........

if
Report Abuse
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:47 PM
6566
Report Abuse
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:49 PM
~``
Report Abuse
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:52 PM
_+
Report Abuse
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:55 PM
~
Report Abuse
DivinePheonix is not online. DivinePheonix
Joined: 30 Mar 2011
Total Posts: 11190
14 Oct 2015 07:56 PM
Handle this locally. . .
(In other words place in starterGui in a local script)

repeat wait() until game.Players.LocalPlayer.Character
local Character = game.Players.LocalPlayer.Character
local Create = LoadLibrary("RbxUtility").Create
local Indicator = Create("Sound"){
Name = "Indicator",
Parent = Character,
SoundId = "rbxassetid://"..183044355
}
local Played = false
Character:WaitForChild("Humanoid").Changed:connect(function(Property)
if Property == "Health" then
if Played then
return
end
if Character.Humanoid.Health <= 30 then
Indicator:Play()
Played = true
end
end
end)
Report Abuse
Aellai is not online. Aellai
Joined: 24 Dec 2008
Total Posts: 6946
14 Oct 2015 07:59 PM
thx. willl test it
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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