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: Why doesn't this work

Previous Thread :: Next Thread 
Porkloinial is not online. Porkloinial
Joined: 03 Aug 2014
Total Posts: 105
05 Sep 2017 11:24 PM
print(1)
local playerScripts = script.Parent
local player = playerScripts.Parent
local playerGui = player.PlayerGui
local character = player.Character
if not character or character.Parent then
character = player.CharacterAdded:wait()
end
local humanoid = character:WaitForChild("Humanoid")
local deathGui = playerGui.DeathGui
local DeathFrame = deathGui.DeathFrame
local oofedText = DeathFrame.Oofed

print(2)
local function deathGuiShow()
print(3)
repeat
DeathFrame.BackgroundTransparency = DeathFrame.BackgroundTransparency - 0.1
wait(0.06)
print (DeathFrame.BackgroundTransparency)
until DeathFrame.BackgroundTransparency <= 0.25
print (DeathFrame.BackgroundTransparency)
oofedText.Visible = true
print(4)
end

local function deathGuiHide()
print(5)
DeathFrame.BackgroundTransparency = 1
oofedText.Visible = false
print(6)
end

humanoid.Died:connect(deathGuiShow)
player.CharacterAdded:connect(deathGuiHide)

this is in starter player scripts and the deathGuiShow only fires once but deathGuiHide always works. I know because of the print de buging. any help is greatly appreciated.
Report Abuse
Porkloinial is not online. Porkloinial
Joined: 03 Aug 2014
Total Posts: 105
05 Sep 2017 11:25 PM
also I have posted this before but have not gotten anything useful I don't mean to spam
Report Abuse
Porkloinial is not online. Porkloinial
Joined: 03 Aug 2014
Total Posts: 105
05 Sep 2017 11:31 PM
Any thing is appreciated.
Report Abuse
OnePieceCRN is not online. OnePieceCRN
Joined: 03 Jul 2017
Total Posts: 7
05 Sep 2017 11:48 PM
To get an better understanding what does the errors say?
Report Abuse
Fluent_Lua is not online. Fluent_Lua
Joined: 03 Oct 2011
Total Posts: 1290
05 Sep 2017 11:50 PM
Check your other ##### ##### Do not give up; the beginning is always the hardest part.
Report Abuse
Porkloinial is not online. Porkloinial
Joined: 03 Aug 2014
Total Posts: 105
05 Sep 2017 11:55 PM
its tagged
Report Abuse
Porkloinial is not online. Porkloinial
Joined: 03 Aug 2014
Total Posts: 105
05 Sep 2017 11:57 PM
@CRN there are no errors the function does not run
Report Abuse
romiah123 is not online. romiah123
Joined: 10 May 2015
Total Posts: 65
06 Sep 2017 12:17 PM
Oh hold on...
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