Ad
Log in to vote
0

Players.DisasterHotelGiant.PlayerGui.DeathUI.RegisterDeath:11: attempt to index nil with 'Died' ?

Asked by 14 days ago

--[[ colbert2677 - May 2nd, 2017 @ 4:17 PM EDT RegisterDeath --]]

local Players = game:GetService("Players") local Player = Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:wait() local Humanoid = Character:FindFirstChildOfClass("Humanoid")

Humanoid.Died:connect(function () for i = 1, 20 do script.Parent.Frame.BackgroundTransparency = i/20 wait() end end)~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~

0
this is a local script LYESPILLEDINMYEYES -14 — 14d

Answer this question