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

I'm trying to use a script to find the player?

Asked by 9 years ago

I'm using the OnEntered function along with GetPlayerFromCharacter in order to get to the StarterGUI without needing multiple scripts calling each other. I'm not sure if this is the most simplistic way to do this, and I've never done it before, but I wanna know if this could work and how I'd do it properly? So far I thought of this, unsure if it would work properly. Thanks for any help.

function OnEntered(player)

end GetPlayerFromCharacter:connect(OnEntered)

Answer this question