Run it
Copy the script and paste it into your executor.
Players = :()
UIS = :()
lp = Players.LocalPlayer
Mouse = lp:()
history = {}
uiVisible =
gui = .(, lp:())
gui.Name =
gui.ResetOnSpawn =
main = .(, gui)
main.Name =
main.Size = .(, , , )
main.Position = .(, , , )
main.BackgroundColor3 = .(, , )
main.BorderSizePixel =
main.BackgroundTransparency =
main.Visible =
main.Active =
main.Draggable =
UIStroke = .(, main)
UIStroke.Thickness =
UIStroke.Color = .(, , )
UIStroke.Transparency =
title = .(, main)
title.Size = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.Font = .Font.GothamBold
title.TextSize =
deleteToggle = .(, main)
deleteToggle.Size = .(, -, , )
deleteToggle.Position = .(, , , )
deleteToggle.Text =
deleteToggle.BackgroundColor3 = .(, , )
deleteToggle.TextColor3 = .(, , )
deleteToggle.Font = .Font.Gotham
deleteToggle.TextSize =
undoBtn = .(, main)
undoBtn.Size = .(, -, , )
undoBtn.Position = .(, , , )
undoBtn.Text =
undoBtn.BackgroundColor3 = .(, , )
undoBtn.TextColor3 = .(, , )
undoBtn.Font = .Font.Gotham
undoBtn.TextSize =
toggleBtn = .(, gui)
toggleBtn.Size = .(, , , )
toggleBtn.Position = .(, , , )
toggleBtn.BackgroundColor3 = .(, , )
toggleBtn.Text =
toggleBtn.TextColor3 = .(, , )
toggleBtn.Font = .Font.GothamBold
toggleBtn.TextSize =
toggleBtn.BorderSizePixel =
deleting =
deleteToggle.MouseButton1Click:(()
deleting = deleting
deleteToggle.Text = .. (deleting )
deleteToggle.BackgroundColor3 = deleting .(, , ) .(, , )
)
Mouse.Button1Down:(()
deleting
target = Mouse.Target
target target:() target:(lp.Character)
clone = target:()
props = {
Parent = target.Parent,
Material = target.Material,
Color = target.Color,
Size = target.Size,
= target.CFrame,
Anchored = target.Anchored,
Transparency = target.Transparency,
CanCollide = target.CanCollide,
Name = target.Name
}
.(history, {props = props, clone = clone})
target:()
)
undoBtn.MouseButton1Click:(()
#history ==
data = .(history)
newPart = data.clone:()
prop, val (data.props)
newPart[prop] = val
newPart.Parent = data.props.Parent
)
toggleBtn.MouseButton1Click:(()
uiVisible = uiVisible
main.Visible = uiVisible
)
Universal