#Why isn't this working?

1 messages · Page 1 of 1 (latest)

knotty spindle
#

It isn't registering the trigger is being touched

glad merlin
#

plr is not a player

#

It’s a part

glad merlin
knotty spindle
glad merlin
#

U do a if statement

#

And ask if the part has a character as parent

knotty spindle
#

How would I do that?

glad merlin
#

The "plr" is a Part that is touching "trigger"

#

So instead of plr do touchingPart

#

And then check if it has a character

#

Like

#

if touchingPart.Parent:FindFirstChild("Humanoid“) then local char = touchingPart.Parent end

glad merlin
#

Or go to the dev forums

glad merlin
#

ya

knotty spindle
# glad merlin ya

What do I do from here? How do I actually tell it to teleport the player? Do I put an if statement?

glad merlin
knotty spindle
glad merlin
#

char

#

not touching.Character

#

just Character

#

since u already defined Character