Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
player = Players.LocalPlayer
mouse = player:()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.Parent = player:()
mainFrame = .()
mainFrame.Name =
mainFrame.Position = .(, , , )
mainFrame.Size = .(, , , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Parent = ScreenGui
mainFrame.Active =
mainFrame.Draggable =
titleBar = .()
titleBar.Name =
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.Parent = mainFrame
titleLabel = .()
titleLabel.Name =
titleLabel.Text =
titleLabel.Size = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.TextColor3 = .(, , )
titleLabel.Font = .Font.SourceSansBold
titleLabel.TextSize =
titleLabel.TextXAlignment = .TextXAlignment.Left
titleLabel.Parent = titleBar
titleLabel.Position = .(, , , )
closeButton = .()
closeButton.Name =
closeButton.Text =
closeButton.Size = .(, , , )
closeButton.Position = .(, , , )
closeButton.BackgroundColor3 = .(, , )
closeButton.TextColor3 = .(, , )
closeButton.Font = .Font.SourceSansBold
closeButton.TextSize =
closeButton.Parent = titleBar
closeButton.MouseButton1Click:(()
ScreenGui:()
)
instructionLabel = .()
instructionLabel.Size = .(, -, , )
instructionLabel.Position = .(, , , )
instructionLabel.TextColor3 = .(, , )
instructionLabel.BackgroundTransparency =
instructionLabel.Text =
instructionLabel.Font = .Font.SourceSans
instructionLabel.TextSize =
instructionLabel.TextWrapped =
instructionLabel.Parent = mainFrame
spawnButton = .()
spawnButton.Name =
spawnButton.Text =
spawnButton.Size = .(, , , )
spawnButton.Position = .(, , , )
spawnButton.BackgroundColor3 = .(, , )
spawnButton.TextColor3 = .(, , )
spawnButton.Font = .Font.SourceSansBold
spawnButton.TextSize =
spawnButton.Parent = mainFrame
deleteButton = .()
deleteButton.Name =
deleteButton.Text =
deleteButton.Size = .(, , , )
deleteButton.Position = .(, , , )
deleteButton.BackgroundColor3 = .(, , )
deleteButton.TextColor3 = .(, , )
deleteButton.Font = .Font.SourceSansBold
deleteButton.TextSize =
deleteButton.Parent = mainFrame
xyzSizeLabel = .()
xyzSizeLabel.Text =
xyzSizeLabel.Size = .(, , , )
xyzSizeLabel.Position = .(, , , )
xyzSizeLabel.BackgroundTransparency =
xyzSizeLabel.TextColor3 = .(, , )
xyzSizeLabel.Font = .Font.SourceSans
xyzSizeLabel.TextSize =
xyzSizeLabel.Parent = mainFrame
xyzSizeInput = .()
xyzSizeInput.Text =
xyzSizeInput.Size = .(, , , )
xyzSizeInput.Position = .(, , , )
xyzSizeInput.ClearTextOnFocus =
xyzSizeInput.Parent = mainFrame
xyzSizeInput.BackgroundColor3 = .(, , )
xyzSizeInput.TextColor3 = .(, , )
xyzSizeInput.Font = .Font.SourceSans
xyzSizeInput.TextSize =
colorLabel = .()
colorLabel.Text =
colorLabel.Size = .(, , , )
colorLabel.Position = .(, , , )
colorLabel.BackgroundTransparency =
colorLabel.TextColor3 = .(, , )
colorLabel.Font = .Font.SourceSans
colorLabel.TextSize =
colorLabel.Parent = mainFrame
redInput = .()
redInput.Text =
redInput.Size = .(, , , )
redInput.Position = .(, , , )
redInput.ClearTextOnFocus =
redInput.Parent = mainFrame
redInput.BackgroundColor3 = .(, , )
redInput.TextColor3 = .(, , )
redInput.Font = .Font.SourceSans
redInput.TextSize =
greenInput = .()
greenInput.Text =
greenInput.Size = .(, , , )
greenInput.Position = .(, , , )
greenInput.ClearTextOnFocus =
greenInput.Parent = mainFrame
greenInput.BackgroundColor3 = .(, , )
greenInput.TextColor3 = .(, , )
greenInput.Font = .Font.SourceSans
greenInput.TextSize =
blueInput = .()
blueInput.Text =
blueInput.Size = .(, , , )
blueInput.Position = .(, , , )
blueInput.ClearTextOnFocus =
blueInput.Parent = mainFrame
blueInput.BackgroundColor3 = .(, , )
blueInput.TextColor3 = .(, , )
blueInput.Font = .Font.SourceSans
blueInput.TextSize =
typeLabel = .()
typeLabel.Text =
typeLabel.Size = .(, , , )
typeLabel.Position = .(, , , )
typeLabel.BackgroundTransparency =
typeLabel.TextColor3 = .(, , )
typeLabel.Font = .Font.SourceSans
typeLabel.TextSize =
typeLabel.Parent = mainFrame
dropdown = .()
dropdown.Name =
dropdown.Text =
dropdown.Size = .(, , , )
dropdown.Position = .(, , , )
dropdown.BackgroundColor3 = .(, , )
dropdown.TextColor3 = .(, , )
dropdown.Font = .Font.SourceSans
dropdown.TextSize =
dropdown.Parent = mainFrame
optionsFrame = .()
optionsFrame.Size = .(, , , )
optionsFrame.Position = .(, , , )
optionsFrame.BackgroundColor3 = .(, , )
optionsFrame.Visible =
optionsFrame.Parent = mainFrame
objectTypes = {, , , , }
(text)
option = .()
option.Text = text
option.Size = .(, , , )
option.BackgroundColor3 = .(, , )
option.TextColor3 = .(, , )
option.Font = .Font.SourceSans
option.TextSize =
option.Parent = optionsFrame
option.MouseEnter:(()
option.BackgroundColor3 = .(, , )
)
option.MouseLeave:(()
option.BackgroundColor3 = .(, , )
)
option
i, objType (objectTypes)
option = (objType)
option.Position = .(, , , (i - ) * )
option.MouseButton1Click:(()
dropdown.Text = objType ..
optionsFrame.Visible =
)
dropdown.MouseButton1Click:(()
optionsFrame.Visible = optionsFrame.Visible
)
staticLabel = .()
staticLabel.Text =
staticLabel.Size = .(, , , )
staticLabel.Position = .(, , , )
staticLabel.BackgroundTransparency =
staticLabel.TextColor3 = .(, , )
staticLabel.Font = .Font.SourceSans
staticLabel.TextSize =
staticLabel.Parent = mainFrame
staticCheckbox = .()
staticCheckbox.Name =
staticCheckbox.Text =
staticCheckbox.Size = .(, , , )
staticCheckbox.Position = .(, , , )
staticCheckbox.BackgroundColor3 = .(, , )
staticCheckbox.TextColor3 = .(, , )
staticCheckbox.Font = .Font.SourceSans
staticCheckbox.TextSize =
staticCheckbox.Parent = mainFrame
staticEnabled =
staticCheckbox.MouseButton1Click:(()
staticEnabled = staticEnabled
staticCheckbox.Text = staticEnabled
)
spawnPosition =
deleteMode =
(text, min, max, default)
num = (text)
num == default
num < min min
num > max max
num
(text)
nums = {}
num text:()
.(nums, (num))
#nums ~=
.(nums[], nums[], nums[])
mouse.Button1Down:(()
deleteMode
target = mouse.Target
target
spawnPosition = mouse.Hit.p
instructionLabel.Text = ..
.(, spawnPosition.X, spawnPosition.Y, spawnPosition.Z)
)
spawnButton.MouseButton1Click:(()
spawnPosition
instructionLabel.Text =
xyzSize = (xyzSizeInput.Text)
xyzSize
instructionLabel.Text =
finalSize = .(
.(xyzSize.X, , ),
.(xyzSize.Y, , ),
.(xyzSize.Z, , )
)
r = (redInput.Text, , , ) /
g = (greenInput.Text, , , ) /
b = (blueInput.Text, , , ) /
color = .(r, g, b)
objType = dropdown.Text:()
newPart
objType ==
newPart = .()
newPart.Shape = .PartType.Ball
objType ==
newPart = .()
newPart.Shape = .PartType.Cylinder
objType ==
newPart = .()
objType ==
newPart = .()
newPart = .()
newPart.Shape = .PartType.Block
newPart.Anchored = staticEnabled
newPart.Size = finalSize
newPart.Position = spawnPosition
newPart.BrickColor = BrickColor.(color)
newPart.Material = .Material.Plastic
newPart.Parent =
newPart.CanCollide =
)
deleteButton.MouseButton1Click:(()
deleteMode = deleteMode
deleteMode
deleteButton.Text =
instructionLabel.Text =
deleteButton.Text =
instructionLabel.Text =
)
mouse.Button1Down:(()
deleteMode
target = mouse.Target
target target.Parent ==
(target:() target:() target:())
target:()
instructionLabel.Text =
deleteMode =
deleteButton.Text =
)
toggleButton = .()
toggleButton.Name =
toggleButton.Text =
toggleButton.Size = .(, , , )
toggleButton.Position = .(, -, , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.TextColor3 = .(, , )
toggleButton.Font = .Font.SourceSansBold
toggleButton.TextSize =
toggleButton.Parent = ScreenGui
toggleButton.Active =
toggleButton.Selectable =
draggingToggle =
dragInputToggle
dragStartToggle
startPosToggle
(input)
delta = input.Position - dragStartToggle
toggleButton.Position = .(
startPosToggle.X.Scale,
startPosToggle.X.Offset + delta.X,
startPosToggle.Y.Scale,
startPosToggle.Y.Offset + delta.Y)
toggleButton.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
draggingToggle =
dragStartToggle = input.Position
startPosToggle = toggleButton.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
draggingToggle =
)
)
toggleButton.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
dragInputToggle = input
)
UserInputService.InputChanged:((input)
input == dragInputToggle draggingToggle
(input)
)
toggleButton.MouseButton1Click:(()
draggingToggle
mainFrame.Visible = mainFrame.Visible
)
Cool physics Sandbox script I made with chatgpt-5 also other plays can interact with your objects but can see them

Universal