Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

CharacterAdded is not a valid member of Player?

Asked by 7 years ago

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)

1 answer

Log in to vote
2
Answered by
Perci1 4988 Trusted Moderation Voter Community Moderator
7 years ago
Edited 7 years ago

You wrote CharactedAdded instead of CharacterAdded. Characted. Simple as that xD.

3
You could say, you *characted* his mistake! :D I'll go now... ;-; TheeDeathCaster 2368 — 7y
0
bro, i just had this same mistake and i spent so long trying to figure out what was wrong XxOPGUYxX1234567 221 — 3y
Ad

Answer this question