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

Print The Name Script..? Error says Player is not a valid member of DataModel "this gamer"

Asked by 3 years ago
local player = game.Player.LocalPlayer
script.Parent.Text = player.Name

doesnt work halp error: Player is not a valid member of DataModel "this gamer"

1 answer

Log in to vote
1
Answered by 3 years ago

It's game.Players.LocalPlayer

not game.Player.LocalPlayer

(You forgot to add an s at the end of Player)

Ad

Answer this question