Can you help me

Could you help me make a script for teleporting to a model, tool or part
on press gui button
I’m just creating a cheat for the game and I really need this feature


part.Position =, y, z)
1 Like

I think this should help

1 Like

Move the model’s Pivot to the CFrame you want it to be.


local Model — model you want to move
local CFrame =,1,0) — new Pivot(CFrame) for the model


Model:PivotTo(CFrame) — Changes Model Pivot to the CFrame inside the parenthesis.
1 Like

Also, if you want to move the player(Teleport the player), you should change the HumanoidRootPart’s CFrame to the CFrame you want it to be.

Example code:

local plr -- player
local CFrame = workspace:FindFirstChild("Part").CFrame -- the CFrame from a part you want the player to be


plr.Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame -- new player's position

Note: Changing the HumanoidRootPart’s Position or CFrame will also change the Player’s character position in the workspace.