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: How do I fix this?

Previous Thread :: Next Thread 
Aemons is not online. Aemons
Joined: 14 Aug 2011
Total Posts: 1488
24 Aug 2015 05:15 PM
game.Players.CharacterAutoLoads = false
local delay = 3

game.Players.PlayerAdded:connect(function(player)
wait(1)
player:LoadCharacter()
local char = player.Character
player.Character.Humanoid.Changed:connect(function()
if char and char.Humanoid.Health == 0 then
char:remove()
player.PlayerGui.rG.rF.Visible = true
local t = 10
repeat
--if t > 0 then
wait(1)
player.PlayerGui.rG.rF.rT.Text = "Respawning in : "..t.."."
t = t - 1
--end
until t <= 0
player.PlayerGui.rG.rF.Visible = false
player:LoadCharacter()
end
end)
end)





This works the 1st time the second time It doesnt.
Report Abuse
Aemons is not online. Aemons
Joined: 14 Aug 2011
Total Posts: 1488
24 Aug 2015 05:18 PM
b
Report Abuse
Ripepperoni is not online. Ripepperoni
Joined: 04 Jul 2010
Total Posts: 5715
24 Aug 2015 05:19 PM
well this will work everyime you join :L
once

that's how you set it up
if you want it to be like everyime the character loads use

player.CharacterAdded:connect(function(char)
end)
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