Run it
Copy the script and paste it into your executor.
p = .Players.LocalPlayer
g = .(, p.PlayerGui)
g.Name =
g.ResetOnSpawn =
main = .(, g)
main.Size = .(, , , )
main.Position = .(, -, , -)
main.BackgroundColor3 = .(,,)
.(, main)
title = .(, main)
title.Size = .(, , , )
title.Text =
title.TextXAlignment = .TextXAlignment.Left
title.TextColor3 = .(,,)
title.BackgroundColor3 = .(,,)
title.Font = .Font.GothamBold
title.TextSize =
.(, title)
btnMin = .(, title)
btnMin.Size = .(, , , )
btnMin.Position = .(, -, , )
btnMin.Text =
btnMin.BackgroundColor3 = .(,,)
btnMin.TextColor3 = .(,,)
btnMin.Font = .Font.GothamBold
btnMin.TextScaled =
.(, btnMin)
b = .(, main)
b.Size = .(, -, , )
b.Position = .(, , , )
b.Text =
b.BackgroundColor3 = .(,,)
b.TextColor3 = .(,,)
b.Font = .Font.GothamBold
b.TextScaled =
.(, b)
dragging, dragInput, dragStart, startPos
title.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging = dragStart = input.Position startPos = main.Position
input.Changed:(() input.UserInputState == .UserInputState.End dragging = )
)
title.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch dragInput = input
)
:().InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
main.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
minimized =
btnMin.MouseButton1Click:(()
minimized = minimized
minimized main.Size = .(,,,) b.Visible= btnMin.Text=
main.Size = .(,,,) b.Visible= btnMin.Text=
)
IDLE =
WALK =
RUN =
FOOTSTEP_ID =
enabled =
curTrack, conn, stepConn
tracks = {}
stepSound =
()
curTrack curTrack:() curTrack=
conn conn:() conn=
stepConn stepConn:() stepConn=
_, t (tracks) (() t:() )
tracks = {}
stepSound stepSound:()
(root)
stepSound stepSound:()
stepSound = .()
stepSound.Name =
stepSound.SoundId = FOOTSTEP_ID
stepSound.Volume =
stepSound.RollOffMode = .RollOffMode.Linear
stepSound.Parent = root
(hum)
()
char = hum.Parent
root = char:()
animator = hum:()
(root)
(id)
a = .() a.AnimationId = id
animator:(a)
tracks.Idle = (IDLE) tracks.Walk = (WALK) tracks.Run = (RUN)
_, t (tracks) t.Looped = t.Priority = .AnimationPriority.Movement
(name)
enabled
tracks[name]
curTrack == tracks[name]
curTrack curTrack:()
curTrack = tracks[name] curTrack:()
(hum)
(hum)
conn conn:()
stepConn stepConn:()
lastStep =
conn = hum.Running:((s)
enabled
s <
()
s <
()
()
)
stepConn = :().Heartbeat:(()
enabled stepSound
hum.MoveDirection.Magnitude > hum.FloorMaterial ~= .Material.Air
speed = hum.MoveDirection.Magnitude * hum.WalkSpeed
interval = speed >
() - lastStep >= interval
lastStep = ()
stepSound:()
)
()
b.MouseButton1Click:(()
enabled = enabled
enabled
b.Text = b.BackgroundColor3 = .(,,)
char = p.Character p.CharacterAdded:()
(char:())
b.Text = b.BackgroundColor3 = .(,,)
()
)
p.CharacterAdded:((char)
.()
hum = char:()
enabled (hum)
)the time being, it can only be used on this tower