local Guigetposition = Instance.new("ScreenGui") Guigetposition.Parent = game.Players.LocalPlayer.PlayerGui Guigetposition.Enabled = true Guigetposition.SafeAreaCompatibility = Enum.SafeAreaCompatibility.FullscreenExtension Guigetposition.ResetOnSpawn = false Guigetposition.IgnoreGuiInset = false Guigetposition.Name = "Guigetposition" Guigetposition.DisplayOrder = 0 Guigetposition.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Guigetposition.ScreenInsets = Enum.ScreenInsets.CoreUISafeInsets Guigetposition.ClipToDeviceSafeArea = true local Frame = Instance.new("Frame") Frame.Parent = Guigetposition Frame.LayoutOrder = 0 Frame.BorderMode = Enum.BorderMode.Outline Frame.Interactable = true Frame.AnchorPoint = Vector2.new(0, 0) Frame.BorderColor = BrickColor.new("Really black") Frame.SizeConstraint = Enum.SizeConstraint.RelativeXY Frame.ZIndex = 1 Frame.AutomaticSize = Enum.AutomaticSize.XY Frame.Size = UDim2.new(0.21185286343097687, 0, 0.5, 0) Frame.Draggable = false Frame.Visible = true Frame.ClipsDescendants = false Frame.BorderColor3 = Color3.fromRGB(0, 0, 0) Frame.Selectable = false Frame.Style = Enum.FrameStyle.Custom Frame.SelectionOrder = 0 Frame.Rotation = 0 Frame.Transparency = 0 Frame.BackgroundTransparency = 0 Frame.Position = UDim2.new(0.05528255179524422, 0, 0.23074126243591309, 0) Frame.Active = false Frame.Name = "Frame" Frame.BorderSizePixel = 0 Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) local ULL = Instance.new("UIListLayout") ULL.Parent = Frame ULL.FillDirection = Enum.FillDirection.Vertical ULL.HorizontalAlignment = Enum.HorizontalAlignment.Center ULL.HorizontalFlex = Enum.UIFlexAlignment.Fill ULL.VerticalAlignment = Enum.VerticalAlignment.Top ULL.SortOrder = Enum.SortOrder.LayoutOrder ULL.Name = "ULL" ULL.Wraps = false ULL.Padding = UDim.new(0.05000000074505806, 0) ULL.ItemLineAlignment = Enum.ItemLineAlignment.Automatic ULL.VerticalFlex = Enum.UIFlexAlignment.None local button = Instance.new("TextButton") button.Parent = Frame button.LayoutOrder = 0 button.FontSize = Enum.FontSize.Size24 button.LineHeight = 1 button.Active = true button.Interactable = true button.TextStrokeTransparency = 1 button.TextTruncate = Enum.TextTruncate.None button.SizeConstraint = Enum.SizeConstraint.RelativeXY button.ZIndex = 1 button.BorderSizePixel = 0 button.Draggable = false button.RichText = false button.Modal = false button.AutoButtonColor = true button.SelectionOrder = 0 button.TextYAlignment = Enum.TextYAlignment.Center button.TextScaled = false button.BackgroundColor3 = Color3.fromRGB(255, 255, 255) button.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal) button.BorderMode = Enum.BorderMode.Outline button.Selectable = true button.OpenTypeFeatures = "" button.AnchorPoint = Vector2.new(0, 0) button.Visible = true button.TextXAlignment = Enum.TextXAlignment.Center button.BorderColor = BrickColor.new("Really black") button.TextWrapped = false button.Selected = false button.AutomaticSize = Enum.AutomaticSize.None button.Size = UDim2.new(0, 224, 0, 50) button.TextWrap = false button.TextTransparency = 0 button.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) button.ClipsDescendants = false button.BorderColor3 = Color3.fromRGB(0, 0, 0) button.Text = "Get Position" button.TextSize = 20 button.TextDirection = Enum.TextDirection.Auto button.Rotation = 0 button.Font = Enum.Font.SourceSans button.BackgroundTransparency = 0 button.Position = UDim2.new(0, 0, 0, 0) button.TextColor3 = Color3.fromRGB(0, 0, 0) button.MaxVisibleGraphemes = -1 button.Style = Enum.ButtonStyle.Custom button.Name = "button" local UDD = Instance.new("UIDragDetector") UDD.Parent = Frame UDD.MinDragAngle = 0 UDD.SelectionModeRotateSpeed = 90 UDD.MinDragTranslation = UDim2.new(0, 0, 0, 0) UDD.SelectionModeDragSpeed = UDim2.new(0, 300, 0, 300) UDD.BoundingBehavior = Enum.UIDragDetectorBoundingBehavior.Automatic UDD.ResponseStyle = Enum.UIDragDetectorResponseStyle.Offset UDD.DragSpace = Enum.UIDragDetectorDragSpace.Parent UDD.Enabled = true UDD.UIDragSpeedAxisMapping = Enum.UIDragSpeedAxisMapping.XY UDD.Name = "UDD" UDD.DragStyle = Enum.UIDragDetectorDragStyle.TranslatePlane UDD.DragRotation = 0 UDD.ActivatedCursorIconContent = Content.none UDD.MaxDragTranslation = UDim2.new(0, 0, 0, 0) UDD.CursorIconContent = Content.none UDD.DragRelativity = Enum.UIDragDetectorDragRelativity.Absolute UDD.MaxDragAngle = 0 UDD.DragUDim2 = UDim2.new(0, 0, 0, 0) UDD.CursorIcon = "" UDD.DragAxis = Vector2.new(1, 0) UDD.ActivatedCursorIcon = "" local textbox = Instance.new("TextBox") textbox.Parent = Frame textbox.MultiLine = false textbox.CursorPosition = 1 textbox.LineHeight = 1 textbox.Active = true textbox.Interactable = true textbox.TextStrokeTransparency = 1 textbox.SelectionStart = -1 textbox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178) textbox.SizeConstraint = Enum.SizeConstraint.RelativeXY textbox.ZIndex = 1 textbox.BorderSizePixel = 0 textbox.TextEditable = true textbox.Draggable = false textbox.RichText = false textbox.SelectionOrder = 0 textbox.TextYAlignment = Enum.TextYAlignment.Center textbox.TextScaled = false textbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) textbox.Visible = true textbox.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal) textbox.TextXAlignment = Enum.TextXAlignment.Center textbox.BorderMode = Enum.BorderMode.Outline textbox.Selectable = true textbox.TextWrapped = false textbox.OpenTypeFeatures = "" textbox.TextWrap = false textbox.AnchorPoint = Vector2.new(0, 0) textbox.TextTruncate = Enum.TextTruncate.None textbox.TextTransparency = 0 textbox.BorderColor = BrickColor.new("Really black") textbox.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) textbox.PlaceholderText = "" textbox.AutomaticSize = Enum.AutomaticSize.None textbox.ShowNativeInput = true textbox.TextSize = 20 textbox.TextDirection = Enum.TextDirection.Auto textbox.TextColor3 = Color3.fromRGB(0, 0, 0) textbox.ClipsDescendants = false textbox.BorderColor3 = Color3.fromRGB(0, 0, 0) textbox.Text = "" textbox.Size = UDim2.new(0, 200, 0, 50) textbox.LayoutOrder = 0 textbox.Rotation = 0 textbox.Font = Enum.Font.SourceSans textbox.BackgroundTransparency = 0 textbox.Position = UDim2.new(0, 0, 0, 0) textbox.FontSize = Enum.FontSize.Size24 textbox.ClearTextOnFocus = true textbox.Name = "textbox" textbox.MaxVisibleGraphemes = -1 local button2 = Instance.new("TextButton") button2.Parent = Frame button2.LayoutOrder = 0 button2.FontSize = Enum.FontSize.Size24 button2.LineHeight = 1 button2.Active = true button2.Interactable = true button2.TextStrokeTransparency = 1 button2.TextTruncate = Enum.TextTruncate.None button2.SizeConstraint = Enum.SizeConstraint.RelativeXY button2.ZIndex = 1 button2.BorderSizePixel = 0 button2.Draggable = false button2.RichText = false button2.Modal = false button2.AutoButtonColor = true button2.SelectionOrder = 0 button2.TextYAlignment = Enum.TextYAlignment.Center button2.TextScaled = false button2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) button2.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal) button2.BorderMode = Enum.BorderMode.Outline button2.Selectable = true button2.OpenTypeFeatures = "" button2.AnchorPoint = Vector2.new(0, 0) button2.Visible = true button2.TextXAlignment = Enum.TextXAlignment.Center button2.BorderColor = BrickColor.new("Really black") button2.TextWrapped = false button2.Selected = false button2.AutomaticSize = Enum.AutomaticSize.None button2.Size = UDim2.new(0, 203, 0, 50) button2.TextWrap = false button2.TextTransparency = 0 button2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) button2.ClipsDescendants = false button2.BorderColor3 = Color3.fromRGB(0, 0, 0) button2.Text = "Check Position" button2.TextSize = 20 button2.TextDirection = Enum.TextDirection.Auto button2.Rotation = 0 button2.Font = Enum.Font.SourceSans button2.BackgroundTransparency = 0 button2.Position = UDim2.new(0, 0, 0.6807692646980286, 0) button2.TextColor3 = Color3.fromRGB(0, 0, 0) button2.MaxVisibleGraphemes = -1 button2.Style = Enum.ButtonStyle.Custom button2.Name = "button2" local button3 = Instance.new("TextButton") button3.Parent = Frame button3.LayoutOrder = 0 button3.FontSize = Enum.FontSize.Size24 button3.LineHeight = 1 button3.Active = true button3.Interactable = true button3.TextStrokeTransparency = 1 button3.TextTruncate = Enum.TextTruncate.None button3.SizeConstraint = Enum.SizeConstraint.RelativeXY button3.ZIndex = 1 button3.BorderSizePixel = 0 button3.Draggable = false button3.RichText = false button3.Modal = false button3.AutoButtonColor = true button3.SelectionOrder = 0 button3.TextYAlignment = Enum.TextYAlignment.Center button3.TextScaled = false button3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) button3.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal) button3.BorderMode = Enum.BorderMode.Outline button3.Selectable = true button3.OpenTypeFeatures = "" button3.AnchorPoint = Vector2.new(0, 0) button3.Visible = true button3.TextXAlignment = Enum.TextXAlignment.Center button3.BorderColor = BrickColor.new("Really black") button3.TextWrapped = false button3.Selected = false button3.AutomaticSize = Enum.AutomaticSize.None button3.Size = UDim2.new(0, 200, 0, 50) button3.TextWrap = false button3.TextTransparency = 0 button3.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) button3.ClipsDescendants = false button3.BorderColor3 = Color3.fromRGB(0, 0, 0) button3.Text = "Destroy Part" button3.TextSize = 22 button3.TextDirection = Enum.TextDirection.Auto button3.Rotation = 0 button3.Font = Enum.Font.SourceSans button3.BackgroundTransparency = 0 button3.Position = UDim2.new(0, 0, 0, 0) button3.TextColor3 = Color3.fromRGB(0, 0, 0) button3.MaxVisibleGraphemes = -1 button3.Style = Enum.ButtonStyle.Custom button3.Name = "button3" local button4 = Instance.new("TextButton") button4.Parent = Frame button4.LayoutOrder = 0 button4.FontSize = Enum.FontSize.Size24 button4.LineHeight = 1 button4.Active = true button4.Interactable = true button4.TextStrokeTransparency = 1 button4.TextTruncate = Enum.TextTruncate.None button4.SizeConstraint = Enum.SizeConstraint.RelativeXY button4.ZIndex = 1 button4.BorderSizePixel = 0 button4.Draggable = false button4.RichText = false button4.Modal = false button4.AutoButtonColor = true button4.SelectionOrder = 0 button4.TextYAlignment = Enum.TextYAlignment.Center button4.TextScaled = false button4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) button4.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular, Enum.FontStyle.Normal) button4.BorderMode = Enum.BorderMode.Outline button4.Selectable = true button4.OpenTypeFeatures = "" button4.AnchorPoint = Vector2.new(0, 0) button4.Visible = true button4.TextXAlignment = Enum.TextXAlignment.Center button4.BorderColor = BrickColor.new("Really black") button4.TextWrapped = false button4.Selected = false button4.AutomaticSize = Enum.AutomaticSize.None button4.Size = UDim2.new(0, 200, 0, 50) button4.TextWrap = false button4.TextTransparency = 0 button4.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) button4.ClipsDescendants = false button4.BorderColor3 = Color3.fromRGB(0, 0, 0) button4.Text = "Destroy Gui" button4.TextSize = 22 button4.TextDirection = Enum.TextDirection.Auto button4.Rotation = 0 button4.Font = Enum.Font.SourceSans button4.BackgroundTransparency = 0 button4.Position = UDim2.new(0, 0, 0, 0) button4.TextColor3 = Color3.fromRGB(0, 0, 0) button4.MaxVisibleGraphemes = -1 button4.Style = Enum.ButtonStyle.Custom button4.Name = "button4" function getposition() local char = game:GetService("Players").LocalPlayer.Character if char then local hrp = char:FindFirstChild("HumanoidRootPart") if hrp then pcall(function() print(hrp.Position) setclipboard(tostring(hrp.Position)) end) end end end function checkposition() local split = string.split(textbox.Text, ",") local x = tonumber(split[1]) local y = tonumber(split[2]) local z = tonumber(split[3]) local part = Instance.new("Part") part.Name = "part position" part.Anchored = true part.CanCollide = false part.Size = Vector3.new(1.5, 1.5, 1.5) part.CFrame = CFrame.new(x, y, z) part.Color = Color3.fromRGB(255, 0, 0) part.Parent = workspace end button.MouseButton1Click:Connect(function() pcall(getposition) end) button2.MouseButton1Click:Connect(function() pcall(checkposition) end) button3.MouseButton1Click:Connect(function() for i, part in pairs(game.Workspace:GetChildren()) do if part:IsA("BasePart") and part.Name == "part position" then pcall(function() part:Destroy() end) end end end) button4.MouseButton1Click:Connect(function() Guigetposition:Destroy() end)