#Is there other way to get player
1 messages · Page 1 of 1 (latest)
player is automatically passed to it
and it really depends on what do you mean to get the player
character
the player that has humanoid
Oh, yeah. I said that not correctly
?
You can also get player from character
I mixed them
game.Players.PlayerAdded:Connect(function(plr)
local backpack = plr.Backpack
end)
A short way to do the same thing that this script does
There are plenty of ways to get to the player instance, really depends on what you need
I just need to reach local player
I can use anything that is in there in future in the same script
If other ways to get local player is harder or longer than PlayerAdded event then it's okay
in the server there is not local player? I don't understand your purpose
I want to reach local player using the script that is in ServerScriptService
Without using function
There is no local player in a server script…
** You are now Level 6! **
so?
I am asking is there other ways to get the player without using a function
.
Alright thanks anyways I will search more for other ways