#Is there other way to get player

1 messages · Page 1 of 1 (latest)

modern dragon
#

If you are using remote event client to server you can receive player on server

broken cairn
#

and it really depends on what do you mean to get the player

weary tide
#

the player that has humanoid

modern dragon
broken cairn
#

?

weary tide
#

The one that has backpack I meant

modern dragon
weary tide
#

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

tall dust
#

There are plenty of ways to get to the player instance, really depends on what you need

weary tide
#

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

broken cairn
#

in the server there is not local player? I don't understand your purpose

weary tide
#

I want to reach local player using the script that is in ServerScriptService

#

Without using function

tall dust
#

There is no local player in a server script…

weary tide
#

No

#

I can't explain my self

broken cairn
#

can you send

#

how are you getting the Player

#

in the actual script

weary tide
weary pineBOT
#

studio** You are now Level 6! **studio

broken cairn
#

so?

weary tide
#

I am asking is there other ways to get the player without using a function

weary tide
#

Alright thanks anyways I will search more for other ways