Run it
Copy the script and paste it into your executor.
RunService = :()
Players = :()
UserInputService = :()
dummyName =
currentDummy =
enabled =
player = Players.LocalPlayer
mouse = player:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
button = .()
button.Size = .(, , , )
button.Position = .(, -, , )
button.BackgroundTransparency =
button.BackgroundColor3 = .(, , )
button.BorderSizePixel =
button.BorderColor3 = .(, , )
button.ImageTransparency =
button.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = button
text = .()
text.Size = .(, , , )
text.BackgroundTransparency =
text.Text =
text.TextColor3 = .(, , )
text.TextSize =
text.Font = .Font.GothamBold
text.Parent = button
dragging =
dragStart
buttonStart
button.InputBegan:((input)
input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
buttonStart = button.Position
)
UserInputService.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseMovement)
delta = input.Position - dragStart
button.Position = .(buttonStart.X.Scale, buttonStart.X.Offset + delta.X, buttonStart.Y.Scale, buttonStart.Y.Offset + delta.Y)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.Touch input.UserInputType == .UserInputType.MouseButton1
dragging =
)
()
enabled = enabled
text.Text = enabled
button.BorderColor3 = enabled .(, , ) .(, , )
currentDummy
_, c (currentDummy:())
c:() c:()
c.Enabled = enabled
button.MouseButton1Click:(toggle)
UserInputService.InputBegan:((input)
input.KeyCode == .KeyCode.X input.UserInputType == .UserInputType.Keyboard
()
)
(target)
_, c (target:())
c:() c:() c:()
hl = .()
hl.FillColor = .(,,)
hl.OutlineColor = .(,,)
hl.FillTransparency =
hl.OutlineTransparency =
hl.DepthMode = .HighlightDepthMode.AlwaysOnTop
hl.Enabled = enabled
hl.Parent = target
bb = .()
bb.Name =
bb.Size = .(,,,)
bb.StudsOffset = .(,,)
bb.AlwaysOnTop =
bb.Enabled = enabled
txt = .()
txt.Size = .(,,,)
txt.BackgroundTransparency =
txt.Text = dummyName
txt.TextColor3 = .(,,)
txt.TextStrokeTransparency =
txt.TextStrokeColor3 = .(,,)
txt.Font = .Font.GothamBold
txt.TextSize =
txt.Parent = bb
bb.Parent = target
()
_, obj (:())
(obj:() obj:()) (obj.Name == dummyName (obj:() obj.DisplayName.Value == dummyName))
obj
RunService.RenderStepped:(()
new = ()
new new ~= currentDummy
currentDummy
_, c (currentDummy:())
c:() c:() c:()
currentDummy = new
(currentDummy)
)
initial = ()
initial
currentDummy = initial
(currentDummy)