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

Why does it not print the variable?

Asked by 4 years ago
Edited 4 years ago

why does it say nil when i say print(Player)

local Player = game:GetService("Players").LocalPlayer.Name

print(game:GetService("Players").LocalPlayer.Name)

bruh its same thing and only one work

1 answer

Log in to vote
1
Answered by 4 years ago

instead, write

print(Player)
0
hey can you accept this btw ScriptsALot 91 — 4y
Ad

Answer this question