Im trying to learn character teleporting and i keep getting an error message "Origin Position is not a valid member of model (User.Name)"
this is the local script inside a button in starterGUI
script.Parent.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
local Chara = player.Character or player.CharacterAdded:Wait()
Chara["Origin Position"] = "15.336, 82.634, 11.484"
end)

4 comments
Thank you, im a beginner script so could you please explain what PivotTo and that stuff, it doesnt have to be a super detailed explanation i just wanna know for later reference
PivotTo is basically like SetPrimaryPartCFrame, except that you don’t need to set rhe primary part, and you can edit the pivot. It can be used when teleporting Parts/Models, moving and rotating.
If this answer really helpful and it solved your problem, please accept my answer so other people can see it too :)
You can learn more about pivots here: https://developer.roblox.com/en-us/resources/studio/Pivot-Tools