So I know basic scripting and I'm practising to script by making an admin gui and one of the options I want on it is a "Jail Player" option, but how do teleport the jail to player so that the target is trapped inside and cant get out.
You can move their HumanoidRootPart.
local Dummy = workspace:WaitForChild("Dummy") -- There's a dummy in the workspace for example Dummy.HumanoidRootPart.CFrame = CFrame.new(workspace.Part.Position) -- We're changing the RootPart's CFrame to a Part (in workspace)'s Position