I'm trying to make a tool that teleports the player to a Y coordinate that they provide, so far everything has been working up until the actual teleport code itself. I have the teleport code inside of a server side script and I'm not sure whats wrong with it.
Here's the entire code: Teleport Script
I don't get any error output when running the code and I know that the char and player aren't nil, also I've tested to see if the code itself even runs and it does.

5 comments
That worked, Thank you!
@IBlackViper accept the answer dude, ;-;
The button isn't there for some reason...
hm it should be there
Oh I switched pc's and it showed up