|
| 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 |
|
|
|
| 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 |
|
|
| |
|
|
| 05 Sep 2017 11:48 PM |
| To get an better understanding what does the errors say? |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2017 11:50 PM |
| Check your other ##### ##### Do not give up; the beginning is always the hardest part. |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Sep 2017 11:57 PM |
| @CRN there are no errors the function does not run |
|
|
| Report Abuse |
|
|
romiah123
|
  |
| Joined: 10 May 2015 |
| Total Posts: 65 |
|
| |
|