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

How do I get the local player from local script?

Asked by 4 years ago

How do I get the local player from local script?

1 answer

Log in to vote
0
Answered by
Lucke0051 165
4 years ago
Edited 4 years ago

Do

game.Players.LocalPlayer

or

game:GetService("Players").LocalPlayer
0
thank you fhewgbre 2 — 4y
Ad

Answer this question