Works in studio, but gives out an error on a multiplayer server.
Player = game.Players.LocalPlayer Character = Player.Character or Player.CharactedAdded:wait() Frame = script.Parent.Frame Plrname = script.Parent.Frame.PlrName Value1 = Character.SwordPart:WaitForChild("Killed") Sound = script.indicator Value1.Changed:connect(function() Plrname.Text = Value1.Value Frame.Visible = true Sound:Play() wait(5) Frame.Visible = false end)
You wrote CharactedAdded
instead of CharacterAdded
. Characted. Simple as that xD.