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

Getting Character from Player?

Asked by 10 years ago

Title is all I need.

2 answers

Log in to vote
1
Answered by 10 years ago

If you mean from Character to Player then;

c=GetPlayerFromCharacter(workspace.TheAlphaStigma) -- Be aware I might've done this one wrong.

or player to character;

plr=game:GetService("Players").LocalPlayer
repeat wait(0)until plr.Character
0
FOr the Character to player, it's game.Players:GetPlayerFromCharacter() Shawnyg 4330 — 10y
Ad
Log in to vote
-1
Answered by 10 years ago

Simple. Just go

game.Workspace.Players.PlayerNameHere.Character

and you're in.

0
game.Players, not game.Workspace.Players gskw 1046 — 10y
0
Ik thank you.Sorry for lack of description it was pretty late when I asked this question YellowoTide 1992 — 10y

Answer this question