local p=game.Players.LocalPlayer local pos=Vector3.new(162,22,-631) local function g() local s=Instance.new("ScreenGui",p:WaitForChild("PlayerGui")) s.Name="HouseGui" local f=Instance.new("Frame",s) f.Size=UDim2.new(0,250,0,80) f.Position=UDim2.new(1,-260,0.5,-40) f.BackgroundColor3=Color3.fromRGB(50,50,50) f.BackgroundTransparency=0.5 f.Active=true f.Draggable=true local b=Instance.new("TextButton",f) b.Size=UDim2.new(0,120,0,40) b.Position=UDim2.new(0,10,0,20) b.Text="Teleport" b.BackgroundColor3=Color3.fromRGB(200,200,200) local c=Instance.new("TextButton",f) c.Size=UDim2.new(0,80,0,40) c.Position=UDim2.new(0,140,0,20) c.Text="Loop TP: OFF" c.BackgroundColor3=Color3.fromRGB(180,180,180) local l=false c.MouseButton1Click:Connect(function() l=not l c.Text="Loop TP: "..(l and"ON"or"OFF") end) b.MouseButton1Click:Connect(function() local char=p.Character if char and char:FindFirstChild("HumanoidRootPart")then char.HumanoidRootPart.CFrame=CFrame.new(pos) if l then spawn(function() while l and char:FindFirstChild("HumanoidRootPart")do char.HumanoidRootPart.CFrame=CFrame.new(pos) wait(0.3)end end)end end end) end p.CharacterAdded:Connect(function() if not p.PlayerGui:FindFirstChild("HouseGui")then g()end end) if p.Character then g() end