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)
You can't get the Origin Position and Origin Orientation of a model. Instead, edit its pivot's position. Also, when changing a position, use Vector3
and not a string.
Chara:PivotTo((Chara:GetPivot() - Chara:GetPivot().Position) + Vector3.new(15.336, 82.634, 11.484))