How to get the char from :GetPlayerFromCharacter?

Ofc its gonna be focasds, he’s been there for years helping so he must got mad at simple stuff after repeating.

:GetPlayersFromCharacter() gets the player from a character.
Target.Parent is the character.

Also, I wrote the script the same as you, and did not get any warning.

So can you HOVER over the warning line and us what it says? When u hover on the line, its supposed to tell you the warning.

1 Like

Don’t apologize. Maybe just read some more documentation on what you’re having the problem with? That always helps me.

1 Like

I didn’t get a warning either lol, also I didn’t know you were in the server anyway.

Anyways, I understand it gets the player from a character, but how do i get the char then? I know its a stupid question but I seriously dont know how i can getplayerfromcharacter and get the character after doing the complete opposite.

If you did :GetPlayerFromCharacter(Target.Parent), then Target.Parent is the character. You can’t get the character if you already have it.

its been like 2 years since i left that server, but this man focasd is still here helping people

1 Like

Jeez, didnt know.

Also I tried to do target.parent, but it still printed the part it would touch, not the parent. adding to that, it lined orange so it never worked.

lined orange means its a WARNING. as i said, hover over that line and tell us what it says

2 Likes

Sending objects over a remoteevent can cause them to become nil or have a nil parent on the server.

1 Like