Target player problem


What do I put in for x if I want the hit player to become a hobo.

I already have it so it runs the code only when you hit someone, but how the fuck do I target that person.

self.Owner works if I’m trying to change myself to something.

Agh this is pissing me off so much I’ve tried everything, and I’ve been working on it for a week now with no success

repost because I need an answer, and I dunno how many people go to the subforums


Make sure it’s a player before you try and set his team.

I love you more than any other person on this earth, thank you.

I tried tr.entity, which I thought was the same thing but whatever.

Lua is case sensitive.