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
 

Need help with 2nd chance script!

Previous Thread :: Next Thread 
32stopper is not online. 32stopper
Joined: 21 Mar 2010
Total Posts: 7
07 Jul 2011 01:35 PM
Why doesnt this work???

local h = script.Parent.Humanoid
local HeadPos = script.Parent.Head
local ChangeHumanoid = script.Parent.Humanoid
while true do wait(1)
if humanoid.Health == 40 then
h.Sit=true
local a = Instance.new("BillboardGui")
local b = Instance.new("TextLabel")
b.Parent = a --Inside BillbordGui
a.Parent = HeadPos
b.Text = "Revive Me" --Billbord name
ChangeHumanoid.Name = "Downed" --Zombies dont kill you
for i = 40, 0, -1 do --start 40 until 0 ?
h.Health = h.Health - 1 -- One every 2 Secs
wait(2)
end
if h.Health == 0 then -- Died
b:Remove()
a:Remove()
end
end
end
Report Abuse
citymaster22 is not online. citymaster22
Joined: 10 Jan 2010
Total Posts: 4993
07 Jul 2011 01:36 PM
while wait(1) do
a.Adornee = HeadPos
Report Abuse
KuchiBoy is not online. KuchiBoy
Joined: 29 Aug 2008
Total Posts: 5374
07 Jul 2011 01:37 PM
I'm pretty sure you can't change the name of humanoids or players. It used to work, however.
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