Well they are the same type, the same text, and they are not equal. I need it to ask “Who is touching me!!”
And the character says “Steve_Speedy”
“Ok Mr controller, Who is player #1?”
And the controller says “Steve_Speedy”
“Ok then so Since Steve_Speedy is player #1, I’ll send him to the portal in the player #1 area.”
But the stupid thing says “Ok so since Steve_Speedy isn’t the same as Player #1 Steve_Speedy, I’m not sending him anywhere.”
It works fine with everything else. Just not this Portal.
typeof returns “instance” on both.
Now I tested it and added this:
local temp1 = Hit.Parent
local temp2 = Control.P1Name.Value
print(temp1.Character)
print(temp2.Character)
I got an Error on temp1 saying that Character was not part of the model. temp2 didn’t get to fire. Swapping them around means that temp2 returned the Character. but then temp1 returned the error.
I printed “Hit.Parent.Parent” and it returned “Workspace”.
So Hit is not actually returning the player to allow me to access the Character value. So even though they are identical, they are different locations. .character isn’t in “hit” but it is in my value.
I would love to see an object structure of a player. That way I could see what I am picking up and navigate around.
In the game while it’s running, I open Steve_Speedy in the explorer but I can’t find or Humanoid or anything like that. So I don’t know where I am and where I need to tell it to go from Hit to get the Character.Parent.
What is Hit actually returning? Because it’s in Workspace but I can’t see it in explorer.
Starting to think about ditching it and making a button and use a clicker. But it doesn’t feel like a real portal then.
I do like that Debounce Idea! That rocks!