Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
player = Players.LocalPlayer
playerGui = player:()
GUI_NAME =
STEP_NAME =
RunService:(STEP_NAME)
oldGui = playerGui:(GUI_NAME)
oldGui
oldGui:()
enabled =
minimized =
character
humanoid
root
animateScript
oldAutoRotate
oldAnimateDisabled
diedConnection
characterConnection
gui = .()
gui.Name = GUI_NAME
gui.ResetOnSpawn =
gui.IgnoreGuiInset =
gui.Parent = playerGui
main = .()
main.Name =
main.Size = .(, )
main.Position = .(, -, , )
main.BackgroundColor3 = .(, , )
main.BorderSizePixel =
main.Active =
main.Parent = gui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = main
outline = .()
outline.Color = .(, , )
outline.Thickness =
outline.Parent = main
header = .()
header.Name =
header.Size = .(, , , )
header.BackgroundColor3 = .(, , )
header.BorderSizePixel =
header.Text =
header.TextColor3 = .(, , )
header.TextSize =
header.Font = .Font.GothamBold
header.Parent = main
headerCorner = .()
headerCorner.CornerRadius = .(, )
headerCorner.Parent = header
minimizeButton = .()
minimizeButton.Name =
minimizeButton.Size = .(, )
minimizeButton.Position = .(, -, , )
minimizeButton.BackgroundColor3 = .(, , )
minimizeButton.BorderSizePixel =
minimizeButton.Text =
minimizeButton.TextColor3 = .(, , )
minimizeButton.TextSize =
minimizeButton.Font = .Font.GothamBold
minimizeButton.ZIndex =
minimizeButton.Parent = main
minimizeCorner = .()
minimizeCorner.CornerRadius = .(, )
minimizeCorner.Parent = minimizeButton
toggle = .()
toggle.Name =
toggle.Size = .(, -, , )
toggle.Position = .(, , , )
toggle.BackgroundColor3 = .(, , )
toggle.BorderSizePixel =
toggle.Text =
toggle.TextColor3 = .(, , )
toggle.TextSize =
toggle.Font = .Font.GothamBold
toggle.Parent = main
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggle
toggleOutline = .()
toggleOutline.Color = .(, , )
toggleOutline.Thickness =
toggleOutline.Parent = toggle
()
enabled =
RunService:(STEP_NAME)
humanoid humanoid.Parent
oldAutoRotate ~=
humanoid.AutoRotate = oldAutoRotate
animateScript animateScript.Parent
oldAnimateDisabled ~=
animateScript.Disabled = oldAnimateDisabled
toggle.Text =
toggle.BackgroundColor3 = .(, , )
()
character humanoid root
humanoid.Health <=
RunService:(STEP_NAME)
enabled =
oldAutoRotate = humanoid.AutoRotate
humanoid.AutoRotate =
animateScript = character:()
oldAnimateDisabled =
animateScript animateScript:()
oldAnimateDisabled = animateScript.Disabled
animateScript.Disabled =
toggle.Text =
toggle.BackgroundColor3 = .(, , )
RunService:(
STEP_NAME,
.RenderPriority.Character.Value + ,
()
enabled
character
character.Parent
humanoid
humanoid.Health <=
root
root.Parent
direction = humanoid.MoveDirection
direction.Magnitude >
flatDirection = .(
direction.X,
,
direction.Z
)
flatDirection.Magnitude >
position = root.Position
root.CFrame = .(
position,
position + flatDirection.Unit
)
)
toggle.Activated:(()
enabled
()
()
)
minimizeButton.Activated:(()
minimized = minimized
minimized
toggle.Visible =
main.Size = .(, )
minimizeButton.Text =
toggle.Visible =
main.Size = .(, )
minimizeButton.Text =
)
dragging =
dragInput
dragStart
startPosition
header.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPosition = main.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
header.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
dragging dragStart startPosition
input == dragInput
input.UserInputType == .UserInputType.MouseMovement
delta = input.Position - dragStart
main.Position = .(
startPosition.X.Scale,
startPosition.X.Offset + delta.X,
startPosition.Y.Scale,
startPosition.Y.Offset + delta.Y
)
)
(newCharacter)
()
character = newCharacter
humanoid = character:()
root = character:()
animateScript = character:()
oldAutoRotate =
oldAnimateDisabled =
diedConnection
diedConnection:()
diedConnection =
diedConnection = humanoid.Died:(()
()
)
characterConnection = player.CharacterAdded:(setupCharacter)
player.Character
(player.Character)
gui.Destroying:(()
()
diedConnection
diedConnection:()
diedConnection =
characterConnection
characterConnection:()
characterConnection =
)
()Tela movement

Universal