Ad
Log in to vote
0

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

Asked by 4 months 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 4 months 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