Here is the code
--Strings
local Playername = game.StarterGui.ScreenGui.Player.Text
local Coordinates = game.StarterGui.ScreenGui.Coordinates.Text
--Script
script.Parent.MouseButton1Click:Connect(function()
Playername.HumanoidRootPart.Position = Coordinates
end)
Also here is the UI so you get the point https://gyazo.com/439995b389db1a07c1b06a06a01bc333
And this is the error I received when I attempted to test it https://gyazo.com/4bb4174f24bbc8be9c94b203bbc7d509

7 comments
i mean use the Vector3 thingy, try dat
But it didn't say anything about the coordinates All it said that it couldn't find my Humanoid Root Part
then find the character like ; local player = game.Players.LocalPlayer ,,, local ch = player.Character
I need to find any player I type though.
u mean a certain player or what
I want to make a fill in th blank where it teleports the player I typed so It can't be local player
find the character in the workspace