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 =
KILL =
SLASH =
FOOTSTEP_ID =
enabled =
curTrack, conn, stepConn, animConn
tracks = {}
stepSound =
isKilling =
()
curTrack (() curTrack:() ) curTrack=
conn conn:() conn=
stepConn stepConn:() stepConn=
animConn animConn:() animConn=
_, t (tracks) (() t:() )
tracks = {}
stepSound stepSound:() stepSound=
(root)
stepSound stepSound:()
stepSound = .()
stepSound.Name =
stepSound.SoundId = FOOTSTEP_ID
stepSound.Volume =
stepSound.Parent = root
(name)
enabled isKilling
tracks[name]
curTrack == tracks[name]
curTrack curTrack:()
curTrack = tracks[name]
curTrack:()
(hum)
()
char = hum.Parent
root = char:()
animator = hum:()
(root)
(id, name)
a = .() a.Name = name a.AnimationId = id
animator:(a)
tracks.Idle = (IDLE, )
tracks.Walk = (WALK, )
tracks.Run = (RUN, )
tracks.Kill = (KILL, )
tracks.Slash = (SLASH, )
tracks.Kill.Looped = tracks.Kill.Priority = .AnimationPriority.Action4
tracks.Slash.Looped = tracks.Slash.Priority = .AnimationPriority.Action3
_, n ({,,})
tracks[n].Looped = tracks[n].Priority = .AnimationPriority.Movement
animConn = animator.AnimationPlayed:((track)
enabled
name = track.Name:()
name:() name:()
track:()
tracks.Slash:()
tracks.Slash.Stopped:()
hum.MoveDirection.Magnitude >
hum.WalkSpeed > () ()
()
)
(hum)
isKilling enabled
isKilling =
oldWalk = hum.WalkSpeed
oldJump = hum.JumpPower
curTrack curTrack:()
stepSound stepSound:()
hum.WalkSpeed = hum.JumpPower = hum.AutoRotate =
tracks.Kill:()
tracks.Kill.Stopped:()
tracks.Idle
curTrack curTrack:()
curTrack = tracks.Idle
curTrack:()
.()
hum.WalkSpeed = oldWalk > oldWalk
hum.JumpPower = oldJump > oldJump
hum.AutoRotate =
isKilling =
(hum)
(hum)
lastStep =
conn = hum.Running:((s)
enabled isKilling
s < ()
s < ()
()
)
stepConn = :().Heartbeat:(()
enabled isKilling stepSound
hum.MoveDirection.Magnitude > hum.FloorMaterial ~= .Material.Air
interval = hum.WalkSpeed >
() - lastStep >= interval lastStep = () stepSound:()
)
()
(other)
other == p
(char)
hum = char:()
hum.Died:(()
tag = hum:()
tag tag.Value == p enabled
myChar = p.Character
myChar
myHum = myChar:()
myHum (myHum)
)
other.Character .(onChar, other.Character)
other.CharacterAdded:(onChar)
_, plr (.Players:()) (plr)
.Players.PlayerAdded:(watchPlayer)
b.MouseButton1Click:(()
enabled = enabled
enabled
b.Text =
b.BackgroundColor3 = .(,,)
((p.Character p.CharacterAdded:()):())
b.Text =
b.BackgroundColor3 = .(,,)
()
)
p.CharacterAdded:((char)
.()
enabled (char:())
)only works at Ssampong Tower