Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
TweenService = :()
CoreGui = :()
LocalPlayer = Players.LocalPlayer
Camera = .CurrentCamera
MOVE_SPEED =
cframeEnabled =
cameraLocked =
YOUTUBE_URL =
DISCORD_URL =
ROBUX_URL =
()
LocalPlayer.Character LocalPlayer.Character:()
LocalPlayer.Character.HumanoidRootPart.Position - .(, , )
.(, , )
squarePart = .()
squarePart.Name = .. LocalPlayer.Name
squarePart.Size = .(, , )
squarePart.Position = ()
squarePart.Anchored =
squarePart.CanCollide =
squarePart.Material = .Material.Neon
squarePart.Color = .(, , )
squarePart.Transparency =
squarePart.TopSurface = .SurfaceType.Smooth
squarePart.BottomSurface = .SurfaceType.Smooth
squarePart.Parent =
outline = .()
outline.Name =
outline.Adornee = squarePart
outline.Color3 = .(, , )
outline.SurfaceColor3 = .(, , )
outline.LineThickness =
outline.Transparency =
outline.Parent = squarePart
targetGuiParent = CoreGui:() CoreGui LocalPlayer:()
targetGuiParent:()
targetGuiParent.MobileSquareControllerUI:()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.Parent = targetGuiParent
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(, , , )
MainFrame.Position = .(, -, , -)
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Active =
MainFrame.ClipsDescendants =
MainFrame.Parent = ScreenGui
MainFrameCorner = .()
MainFrameCorner.CornerRadius = .(, )
MainFrameCorner.Parent = MainFrame
MainFrameStroke = .()
MainFrameStroke.Thickness =
MainFrameStroke.Color = .(, , )
MainFrameStroke.Transparency =
MainFrameStroke.Parent = MainFrame
TopBar = .()
TopBar.Name =
TopBar.Size = .(, , , )
TopBar.BackgroundColor3 = .(, , )
TopBar.BorderSizePixel =
TopBar.Parent = MainFrame
TopBarCorner = .()
TopBarCorner.CornerRadius = .(, )
TopBarCorner.Parent = TopBar
TitleLabel = .()
TitleLabel.Size = .(, -, , )
TitleLabel.Position = .(, , , )
TitleLabel.BackgroundTransparency =
TitleLabel.Text =
TitleLabel.TextColor3 = .(, , )
TitleLabel.TextSize =
TitleLabel.Font = .Font.GothamBold
TitleLabel.TextXAlignment = .TextXAlignment.Left
TitleLabel.Parent = TopBar
MinimizeBtn = .()
MinimizeBtn.Name =
MinimizeBtn.Size = .(, , , )
MinimizeBtn.Position = .(, -, , )
MinimizeBtn.BackgroundColor3 = .(, , )
MinimizeBtn.BorderSizePixel =
MinimizeBtn.Text =
MinimizeBtn.TextColor3 = .(, , )
MinimizeBtn.Font = .Font.GothamBold
MinimizeBtn.TextSize =
MinimizeBtn.Parent = TopBar
MinimizeCorner = .()
MinimizeCorner.CornerRadius = .(, )
MinimizeCorner.Parent = MinimizeBtn
CloseBtn = .()
CloseBtn.Name =
CloseBtn.Size = .(, , , )
CloseBtn.Position = .(, -, , )
CloseBtn.BackgroundColor3 = .(, , )
CloseBtn.BorderSizePixel =
CloseBtn.Text =
CloseBtn.TextColor3 = .(, , )
CloseBtn.Font = .Font.GothamBold
CloseBtn.TextSize =
CloseBtn.Parent = TopBar
CloseCorner = .()
CloseCorner.CornerRadius = .(, )
CloseCorner.Parent = CloseBtn
isMinimized =
MinimizeBtn.MouseButton1Click:(()
isMinimized = isMinimized
isMinimized
TweenService:(MainFrame, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {Size = .(, , , )}):()
MinimizeBtn.Text =
TweenService:(MainFrame, TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out), {Size = .(, , , )}):()
MinimizeBtn.Text =
)
()
LocalPlayer.Character
humanoid = LocalPlayer.Character:()
humanoid
Camera.CameraSubject = humanoid
CloseBtn.MouseButton1Click:(()
()
squarePart squarePart.Parent
squarePart:()
ScreenGui:()
)
PosLabel = .()
PosLabel.Size = .(, -, , )
PosLabel.Position = .(, , , )
PosLabel.BackgroundTransparency =
PosLabel.Text =
PosLabel.TextColor3 = .(, , )
PosLabel.TextSize =
PosLabel.Font = .Font.GothamMedium
PosLabel.Parent = MainFrame
ControlsPad = .()
ControlsPad.Name =
ControlsPad.Size = .(, -, , )
ControlsPad.Position = .(, , , )
ControlsPad.BackgroundTransparency =
ControlsPad.Parent = MainFrame
dragging =
dragStart, startPos
TopBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
UserInputService.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
MainFrame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
activeInputs = {
Forward = ,
Backward = ,
Left = ,
Right = ,
Up = ,
Down =
}
(name, text, position, size)
btn = .()
btn.Name = name
btn.Size = size .(, , , )
btn.Position = position
btn.BackgroundColor3 = .(, , )
btn.BorderSizePixel =
btn.Text = text
btn.TextColor3 = .(, , )
btn.Font = .Font.GothamBold
btn.TextSize =
btn.AutoButtonColor =
btn.Parent = ControlsPad
corner = .()
corner.CornerRadius = .(, )
corner.Parent = btn
stroke = .()
stroke.Thickness =
stroke.Color = .(, , )
stroke.Transparency =
stroke.Parent = btn
btn.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
activeInputs[name] =
btn.BackgroundColor3 = .(, , )
)
()
activeInputs[name] =
btn.BackgroundColor3 = .(, , )
btn.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
()
)
btn
(, , .(, , , ))
(, , .(, , , ))
(, , .(, , , ))
(, , .(, , , ))
(, , .(, , , ))
(, , .(, , , ))
(text)
setclipboard
(setclipboard, text)
toclipboard
(toclipboard, text)
.write_clipboard
(.write_clipboard, text)
Clipboard Clipboard.set
(Clipboard.set, text)
CFrameBtn = .()
CFrameBtn.Name =
CFrameBtn.Size = .(, , , )
CFrameBtn.Position = .(, , , )
CFrameBtn.BackgroundColor3 = .(, , )
CFrameBtn.BorderSizePixel =
CFrameBtn.Text =
CFrameBtn.TextColor3 = .(, , )
CFrameBtn.Font = .Font.GothamBold
CFrameBtn.TextSize =
CFrameBtn.Parent = MainFrame
CFrameCorner = .()
CFrameCorner.CornerRadius = .(, )
CFrameCorner.Parent = CFrameBtn
CFrameBtn.MouseButton1Click:(()
cframeEnabled = cframeEnabled
cframeEnabled
CFrameBtn.Text =
CFrameBtn.BackgroundColor3 = .(, , )
CFrameBtn.Text =
CFrameBtn.BackgroundColor3 = .(, , )
)
StopCamBtn = .()
StopCamBtn.Name =
StopCamBtn.Size = .(, , , )
StopCamBtn.Position = .(, , , )
StopCamBtn.BackgroundColor3 = .(, , )
StopCamBtn.BorderSizePixel =
StopCamBtn.Text =
StopCamBtn.TextColor3 = .(, , )
StopCamBtn.Font = .Font.GothamBold
StopCamBtn.TextSize =
StopCamBtn.Parent = MainFrame
StopCamCorner = .()
StopCamCorner.CornerRadius = .(, )
StopCamCorner.Parent = StopCamBtn
StopCamBtn.MouseButton1Click:(()
cameraLocked = cameraLocked
cameraLocked
StopCamBtn.Text =
StopCamBtn.BackgroundColor3 = .(, , )
StopCamBtn.Text =
StopCamBtn.BackgroundColor3 = .(, , )
()
)
CopyBtn = .()
CopyBtn.Name =
CopyBtn.Size = .(, , , )
CopyBtn.Position = .(, , , )
CopyBtn.BackgroundColor3 = .(, , )
CopyBtn.BorderSizePixel =
CopyBtn.Text =
CopyBtn.TextColor3 = .(, , )
CopyBtn.Font = .Font.GothamBold
CopyBtn.TextSize =
CopyBtn.Parent = MainFrame
CopyCorner = .()
CopyCorner.CornerRadius = .(, )
CopyCorner.Parent = CopyBtn
isCopyingPos =
CopyBtn.MouseButton1Click:(()
squarePart isCopyingPos
pos = squarePart.Position
formattedPos = .(, pos.X, pos.Y, pos.Z)
(formattedPos)
isCopyingPos =
CopyBtn.Text =
CopyBtn.BackgroundColor3 = .(, , )
.(, ()
CopyBtn.Text =
CopyBtn.BackgroundColor3 = .(, , )
isCopyingPos =
)
)
(name, text, url, position, size)
btn = .()
btn.Name = name
btn.Size = size
btn.Position = position
btn.BackgroundColor3 = .(, , )
btn.BorderSizePixel =
btn.Text = text
btn.TextColor3 = .(, , )
btn.Font = .Font.GothamBold
btn.TextSize =
btn.Parent = MainFrame
corner = .()
corner.CornerRadius = .(, )
corner.Parent = btn
stroke = .()
stroke.Thickness =
stroke.Color = .(, , )
stroke.Transparency =
stroke.Parent = btn
isBusy =
btn.MouseButton1Click:(()
isBusy
(url)
isBusy =
btn.Text =
btn.BackgroundColor3 = .(, , )
.(, ()
btn.Text = text
btn.BackgroundColor3 = .(, , )
isBusy =
)
)
btn
(, , YOUTUBE_URL, .(, , , ), .(, , , ))
(, , DISCORD_URL, .(, , , ), .(, , , ))
(, , ROBUX_URL, .(, , , ), .(, , , ))
RunService.RenderStepped:((dt)
squarePart squarePart.Parent
cameraLocked
Camera.CameraSubject ~= squarePart
Camera.CameraSubject = squarePart
cameraCFrame = Camera.CFrame
flatLook = .(cameraCFrame.LookVector.X, , cameraCFrame.LookVector.Z)
flatLook = (flatLook.Magnitude > ) flatLook.Unit .(, , -)
flatRight = .(cameraCFrame.RightVector.X, , cameraCFrame.RightVector.Z)
flatRight = (flatRight.Magnitude > ) flatRight.Unit .(, , )
moveVector = .(, , )
activeInputs.Forward moveVector = moveVector + flatLook
activeInputs.Backward moveVector = moveVector - flatLook
activeInputs.Left moveVector = moveVector - flatRight
activeInputs.Right moveVector = moveVector + flatRight
activeInputs.Up moveVector = moveVector + .(, , )
activeInputs.Down moveVector = moveVector - .(, , )
moveVector.Magnitude >
deltaPos = moveVector.Unit * (MOVE_SPEED * dt)
squarePart.CFrame = squarePart.CFrame + deltaPos
cframeEnabled LocalPlayer.Character
root = LocalPlayer.Character:()
root
root.CFrame = squarePart.CFrame + .(, , )
p = squarePart.Position
PosLabel.Text = .(, p.X, p.Y, p.Z)
)It spawns a square, and you can control the square and copy its position.