Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
TweenService = :()
RunService = :()
Workspace = :()
Lighting = :()
LocalPlayer = Players.LocalPlayer
LocalMouse = LocalPlayer:()
Camera = Workspace.CurrentCamera
Config = {
Speed = ,
JumpPower = ,
Gravity = Workspace.Gravity,
}
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.Parent = LocalPlayer:()
EXPANDED_SIZE = .(, , , )
COLLAPSED_SIZE = .(, , , )
MainFrame = .()
MainFrame.Name =
MainFrame.Size = EXPANDED_SIZE
MainFrame.Position = .(, -, , -)
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Parent = ScreenGui
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = MainFrame
TitleBar = .()
TitleBar.Name =
TitleBar.Size = .(, , , )
TitleBar.BackgroundColor3 = .(, , )
TitleBar.BorderSizePixel =
TitleBar.Parent = MainFrame
TitleCorner = .()
TitleCorner.CornerRadius = .(, )
TitleCorner.Parent = TitleBar
TitleLabel = .()
TitleLabel.Size = .(, -, , )
TitleLabel.Position = .(, , , )
TitleLabel.BackgroundTransparency =
TitleLabel.Text =
TitleLabel.TextColor3 = .(, , )
TitleLabel.TextXAlignment = .TextXAlignment.Left
TitleLabel.Font = .Font.GothamBold
TitleLabel.TextSize =
TitleLabel.Parent = TitleBar
minimized =
MinimizeBtn = .()
MinimizeBtn.Name =
MinimizeBtn.Size = .(, , , )
MinimizeBtn.Position = .(, -, , -)
MinimizeBtn.BackgroundColor3 = .(, , )
MinimizeBtn.Text =
MinimizeBtn.TextColor3 = .(, , )
MinimizeBtn.Font = .Font.GothamBold
MinimizeBtn.TextSize =
MinimizeBtn.Parent = TitleBar
MinimizeBtnCorner = .()
MinimizeBtnCorner.CornerRadius = .(, )
MinimizeBtnCorner.Parent = MinimizeBtn
dragging, dragInput, dragStart, startPos
TitleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = MainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
TitleBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
MainFrame.Position = .(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
)
(frame, dragHandle)
dragHandle = dragHandle frame
dragHandle.Active =
dragging, dragInput, dragStart, startPos
dragHandle.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
dragHandle.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
frame.Position = .(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
)
TabBar = .()
TabBar.Name =
TabBar.Size = .(, , , )
TabBar.Position = .(, , , )
TabBar.BackgroundColor3 = .(, , )
TabBar.BorderSizePixel =
TabBar.Parent = MainFrame
TabLayout = .()
TabLayout.FillDirection = .FillDirection.Horizontal
TabLayout.SortOrder = .SortOrder.LayoutOrder
TabLayout.Parent = TabBar
Pages = .()
Pages.Name =
Pages.Size = .(, -, , -)
Pages.Position = .(, , , )
Pages.BackgroundTransparency =
Pages.Parent = MainFrame
tabButtons = {}
pageFrames = {}
(name, displayLabel)
btn = .()
btn.Name = name ..
btn.Size = .( / , , , )
btn.BackgroundColor3 = .(, , )
btn.BorderSizePixel =
btn.Text = displayLabel name
btn.Font = .Font.GothamBold
btn.TextSize =
btn.TextColor3 = .(, , )
btn.Parent = TabBar
page = .()
page.Name = name ..
page.Size = .(, , , )
page.BackgroundTransparency =
page.BorderSizePixel =
page.ScrollBarThickness =
page.CanvasSize = .(, , , )
page.AutomaticCanvasSize = .AutomaticSize.Y
page.Visible =
page.Parent = Pages
listLayout = .()
listLayout.Padding = .(, )
listLayout.SortOrder = .SortOrder.LayoutOrder
listLayout.Parent = page
tabButtons[name] = btn
pageFrames[name] = page
btn.MouseButton1Click:(()
tabName, p (pageFrames)
p.Visible = (tabName == name)
tabName, b (tabButtons)
b.BackgroundColor3 = (tabName == name)
.(, , )
.(, , )
)
page
MovementPage = (, )
VisualPage = (, )
pageFrames[].Visible =
tabButtons[].BackgroundColor3 = .(, , )
MinimizeBtn.MouseButton1Click:(()
minimized = minimized
TabBar.Visible = minimized
Pages.Visible = minimized
MinimizeBtn.Text = minimized
targetSize = minimized COLLAPSED_SIZE EXPANDED_SIZE
TweenService:(MainFrame, TweenInfo.(), {Size = targetSize}):()
)
(parent, labelText, min, max, default, onChange)
container = .()
container.Size = .(, , , )
container.BackgroundTransparency =
container.Parent = parent
label = .()
label.Size = .(, , , )
label.BackgroundTransparency =
label.Text = labelText .. .. (default)
label.TextColor3 = .(, , )
label.Font = .Font.Gotham
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.Parent = container
track = .()
track.Size = .(, , , )
track.Position = .(, , , )
track.BackgroundColor3 = .(, , )
track.BorderSizePixel =
track.Parent = container
trackCorner = .()
trackCorner.CornerRadius = .(, )
trackCorner.Parent = track
fill = .()
pct = (default - min) / (max - min)
fill.Size = .(pct, , , )
fill.BackgroundColor3 = .(, , )
fill.BorderSizePixel =
fill.Parent = track
fillCorner = .()
fillCorner.CornerRadius = .(, )
fillCorner.Parent = fill
knob = .()
knob.Size = .(, , , )
knob.AnchorPoint = .(, )
knob.Position = .(pct, , , )
knob.BackgroundColor3 = .(, , )
knob.BorderSizePixel =
knob.Parent = track
knobCorner = .()
knobCorner.CornerRadius = .(, )
knobCorner.Parent = knob
dragging =
(inputPos)
relativeX = .((inputPos.X - track.AbsolutePosition.X) / track.AbsoluteSize.X, , )
value = .(min + (max - min) * relativeX)
fill.Size = .(relativeX, , , )
knob.Position = .(relativeX, , , )
label.Text = labelText .. .. (value)
(value)
track.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
(input.Position)
)
UserInputService.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
(input.Position)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
container
(sizeX, default, onChange)
switchBg = .()
switchBg.Size = .(, sizeX , , )
switchBg.BackgroundColor3 = default .(, , ) .(, , )
switchCorner = .()
switchCorner.CornerRadius = .(, )
switchCorner.Parent = switchBg
knob = .()
knob.Size = .(, , , )
knob.Position = default .(, -, , -) .(, , , -)
knob.BackgroundColor3 = .(, , )
knob.Parent = switchBg
knobCorner = .()
knobCorner.CornerRadius = .(, )
knobCorner.Parent = knob
state = default
clickBtn = .()
clickBtn.Size = .(, , , )
clickBtn.BackgroundTransparency =
clickBtn.Text =
clickBtn.Parent = switchBg
clickBtn.MouseButton1Click:(()
state = state
targetPos = state .(, -, , -) .(, , , -)
targetColor = state .(, , ) .(, , )
TweenService:(knob, TweenInfo.(), {Position = targetPos}):()
TweenService:(switchBg, TweenInfo.(), {BackgroundColor3 = targetColor}):()
(state)
)
switchBg
(parent, labelText, default, onChange)
container = .()
container.Size = .(, , , )
container.BackgroundTransparency =
container.Parent = parent
label = .()
label.Size = .(, , , )
label.BackgroundTransparency =
label.Text = labelText
label.TextColor3 = .(, , )
label.Font = .Font.Gotham
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.Parent = container
switch = (, default, onChange)
switch.Position = .(, -, , -)
switch.Parent = container
container
(parent, labelText, defaultValue, minValue, maxValue, onApply)
container = .()
container.Size = .(, , , )
container.BackgroundTransparency =
container.Parent = parent
label = .()
label.Size = .(, , , )
label.BackgroundTransparency =
label.Text = labelText ..
label.TextColor3 = .(, , )
label.Font = .Font.Gotham
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.Parent = container
inputBox = .()
inputBox.Size = .(, -, , -)
inputBox.Position = .(, , , )
inputBox.BackgroundColor3 = .(, , )
inputBox.Text = (defaultValue)
inputBox.TextColor3 = .(, , )
inputBox.Font = .Font.Gotham
inputBox.TextSize =
inputBox.ClearTextOnFocus =
inputBox.Parent = container
inputBoxCorner = .()
inputBoxCorner.CornerRadius = .(, )
inputBoxCorner.Parent = inputBox
applyButton = .()
applyButton.Size = .(, -, , -)
applyButton.Position = .(, , , )
applyButton.BackgroundColor3 = .(, , )
applyButton.Text =
applyButton.TextColor3 = .(, , )
applyButton.Font = .Font.GothamBold
applyButton.TextSize =
applyButton.Parent = container
applyButtonCorner = .()
applyButtonCorner.CornerRadius = .(, )
applyButtonCorner.Parent = applyButton
()
value = (inputBox.Text)
value
minValue value = .(minValue, value)
maxValue value = .(maxValue, value)
inputBox.Text = (value)
(value)
inputBox.Text = (defaultValue)
applyButton.MouseButton1Click:(applyValue)
inputBox.FocusLost:((enterPressed)
enterPressed
()
)
container
()
character = LocalPlayer.Character
character
humanoid = character:()
humanoid
humanoid.WalkSpeed = Config.Speed
humanoid.UseJumpPower =
humanoid.JumpPower = Config.JumpPower
(MovementPage, , Config.Speed, , , (value)
Config.Speed = value
character = LocalPlayer.Character
humanoid = character character:()
humanoid
humanoid.WalkSpeed = value
)
(MovementPage, , Config.JumpPower, , , (value)
Config.JumpPower = value
character = LocalPlayer.Character
humanoid = character character:()
humanoid
humanoid.UseJumpPower =
humanoid.JumpPower = value
humanoid.JumpHeight = (value ^ ) / ( * Workspace.Gravity)
)
(MovementPage, , Config.Gravity, -, , (value)
Config.Gravity = value
Workspace.Gravity = value
)
flying =
flyVelocity, flyGyro
flySpeed =
flyConnection
FlySpeedFrame = .()
FlySpeedFrame.Name =
FlySpeedFrame.Size = .(, , , )
FlySpeedFrame.Position = .(, -, , -)
FlySpeedFrame.BackgroundColor3 = .(, , )
FlySpeedFrame.BorderSizePixel =
FlySpeedFrame.Visible =
FlySpeedFrame.Parent = ScreenGui
MinimizeBtn.MouseButton1Click:(()
minimized
FlySpeedFrame.Visible =
FlySpeedFrame.Visible = flying
)
FlySpeedCorner = .()
FlySpeedCorner.CornerRadius = .(, )
FlySpeedCorner.Parent = FlySpeedFrame
FlySpeedLabel = .()
FlySpeedLabel.Size = .(, -, , )
FlySpeedLabel.Position = .(, , , )
FlySpeedLabel.BackgroundTransparency =
FlySpeedLabel.Text =
FlySpeedLabel.TextColor3 = .(, , )
FlySpeedLabel.Font = .Font.GothamBold
FlySpeedLabel.TextSize =
FlySpeedLabel.TextXAlignment = .TextXAlignment.Left
FlySpeedLabel.Parent = FlySpeedFrame
(FlySpeedFrame, FlySpeedLabel)
boostKeyCode = .KeyCode.LeftControl
awaitingKeybind =
BoostKeyButton = .()
BoostKeyButton.Size = .(, -, , )
BoostKeyButton.Position = .(, , , )
BoostKeyButton.BackgroundColor3 = .(, , )
BoostKeyButton.Text = .. boostKeyCode.Name
BoostKeyButton.TextColor3 = .(, , )
BoostKeyButton.Font = .Font.Gotham
BoostKeyButton.TextSize =
BoostKeyButton.Parent = FlySpeedFrame
BoostKeyButtonCorner = .()
BoostKeyButtonCorner.CornerRadius = .(, )
BoostKeyButtonCorner.Parent = BoostKeyButton
FlySpeedBox = .()
FlySpeedBox.Size = .(, -, , )
FlySpeedBox.Position = .(, , , )
FlySpeedBox.BackgroundColor3 = .(, , )
FlySpeedBox.Text = (flySpeed)
FlySpeedBox.TextColor3 = .(, , )
FlySpeedBox.PlaceholderText =
FlySpeedBox.Font = .Font.Gotham
FlySpeedBox.TextSize =
FlySpeedBox.ClearTextOnFocus =
FlySpeedBox.Parent = FlySpeedFrame
FlySpeedBoxCorner = .()
FlySpeedBoxCorner.CornerRadius = .(, )
FlySpeedBoxCorner.Parent = FlySpeedBox
FlyBoostLabel = .()
FlyBoostLabel.Size = .(, -, , )
FlyBoostLabel.Position = .(, , , )
FlyBoostLabel.BackgroundTransparency =
FlyBoostLabel.Text = boostKeyCode.Name ..
FlyBoostLabel.TextColor3 = .(, , )
FlyBoostLabel.Font = .Font.Gotham
FlyBoostLabel.TextSize =
FlyBoostLabel.TextXAlignment = .TextXAlignment.Left
FlyBoostLabel.TextWrapped =
FlyBoostLabel.Parent = FlySpeedFrame
BoostKeyButton.MouseButton1Click:(()
awaitingKeybind =
BoostKeyButton.Text =
)
UserInputService.InputBegan:((input, gameProcessed)
awaitingKeybind
input.UserInputType ~= .UserInputType.Keyboard
boostKeyCode = input.KeyCode
BoostKeyButton.Text = .. boostKeyCode.Name
FlyBoostLabel.Text = boostKeyCode.Name ..
awaitingKeybind =
)
FlySpeedBox.FocusLost:((enterPressed)
value = (FlySpeedBox.Text)
value
value = .(value, , )
flySpeed = value
FlySpeedBox.Text = (value)
FlySpeedBox.Text = (flySpeed)
)
savedJumpPower =
savedJumpHeight =
savedUseJumpPower =
superheroMode =
savedArmC0 = {}
speedTrails = {}
(character)
chains = { left = {}, right = {} }
upperTorso = character:()
upperTorso
leftShoulder = upperTorso:()
rightShoulder = upperTorso:()
leftShoulder .(chains.left, leftShoulder)
rightShoulder .(chains.right, rightShoulder)
leftUpperArm = character:()
rightUpperArm = character:()
leftUpperArm
leftElbow = leftUpperArm:()
leftElbow .(chains.left, leftElbow)
rightUpperArm
rightElbow = rightUpperArm:()
rightElbow .(chains.right, rightElbow)
torso = character:()
torso
leftMotor = torso:()
rightMotor = torso:()
leftMotor .(chains.left, leftMotor)
rightMotor .(chains.right, rightMotor)
chains
(character, enabled)
chains = (character)
root = character:()
root
enabled
humanoid = character:()
animator = humanoid humanoid:()
animator
_, track (animator:())
track:()
desiredWorldCFrame = root.CFrame * .(.(-), , )
(motor, isFirstInChain)
motor motor.Part0
enabled
savedArmC0[motor]
savedArmC0[motor] = motor.C0
isFirstInChain
motor.C0 = motor.Part0.CFrame:(desiredWorldCFrame) * motor.C1
motor.C0 = motor.C1
savedArmC0[motor]
motor.C0 = savedArmC0[motor]
savedArmC0[motor] =
i, motor (chains.left)
(motor, i == )
i, motor (chains.right)
(motor, i == )
(part)
att0 = .()
att0.Name =
att0.Position = .(, , -)
att0.Parent = part
att1 = .()
att1.Name =
att1.Position = .(, , )
att1.Parent = part
trail = .()
trail.Attachment0 = att0
trail.Attachment1 = att1
trail.Lifetime =
trail.MinLength =
trail.FaceCamera =
trail.Color = ColorSequence.(.(, , ))
trail.Transparency = NumberSequence.({
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
})
trail.WidthScale = NumberSequence.({
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
})
trail.Enabled =
trail.Parent = part
trail
(character)
root = character:()
root
speedTrails[character]
speedTrails[character] = (root)
(character)
trail = speedTrails[character]
trail
trail:()
speedTrails[character] =
()
flying =
flyConnection
flyConnection:()
flyConnection =
character = LocalPlayer.Character
humanoid = character character:()
humanoid
humanoid.PlatformStand =
savedUseJumpPower ~=
humanoid.UseJumpPower = savedUseJumpPower
savedJumpPower ~=
humanoid.JumpPower = savedJumpPower
savedJumpHeight ~=
humanoid.JumpHeight = savedJumpHeight
savedJumpPower, savedJumpHeight, savedUseJumpPower = , ,
flyVelocity flyVelocity:() flyVelocity =
flyGyro flyGyro:() flyGyro =
FlySpeedFrame.Visible =
character
(character, )
(character)
()
character = LocalPlayer.Character
character
humanoid = character:()
root = character:()
humanoid root
flying =
humanoid.PlatformStand =
FlySpeedFrame.Visible =
(character)
armsRaised =
savedUseJumpPower = humanoid.UseJumpPower
savedJumpPower = humanoid.JumpPower
savedJumpHeight = humanoid.JumpHeight
humanoid.JumpPower =
humanoid.JumpHeight =
flyVelocity = .()
flyVelocity.MaxForce = .(, , ) * .huge
flyVelocity.Velocity = .()
flyVelocity.Parent = root
flyGyro = .()
flyGyro.MaxTorque = .(, , ) * .huge
flyGyro.P =
flyGyro.CFrame = root.CFrame
flyGyro.Parent = root
lastFlyDirection =
flyConnection = RunService.RenderStepped:(()
flying flyVelocity flyGyro
humanoid.PlatformStand ~=
humanoid.PlatformStand =
cam = Workspace.CurrentCamera
moveVector = .()
UserInputService:(.KeyCode.W)
moveVector = moveVector + cam.CFrame.LookVector
UserInputService:(.KeyCode.S)
moveVector = moveVector - cam.CFrame.LookVector
UserInputService:(.KeyCode.A)
moveVector = moveVector - cam.CFrame.RightVector
UserInputService:(.KeyCode.D)
moveVector = moveVector + cam.CFrame.RightVector
isBoosting =
moveVector.Magnitude >
currentSpeed = flySpeed
UserInputService:(boostKeyCode)
currentSpeed = currentSpeed *
isBoosting =
moveVector = moveVector.Unit * currentSpeed
flyVelocity.Velocity = moveVector
superheroMode
baseDiveAngle = isBoosting - -
flatDirection
moveVector.Magnitude >
flatDirection = .(moveVector.X, , moveVector.Z)
flatDirection.Magnitude >
lastFlyDirection = flatDirection.Unit
flatDirection flatDirection.Magnitude <
lastFlyDirection
flatDirection = lastFlyDirection
rootLook = root.CFrame.LookVector
flatDirection = .(rootLook.X, , rootLook.Z)
flatDirection.Magnitude <
flatDirection = .(, , -)
camLook = cam.CFrame.LookVector
camPitch = .(.(camLook.Y, -, ))
totalPitch = .(baseDiveAngle) + camPitch
lookCFrame = .(root.Position, root.Position + flatDirection.Unit)
flyGyro.CFrame = lookCFrame * .(totalPitch, , )
isBoosting armsRaised
(character, )
armsRaised =
isBoosting armsRaised
(character, )
armsRaised =
trail = speedTrails[character]
trail
trail.Enabled =
trail.Lifetime = isBoosting
flyGyro.CFrame = cam.CFrame
armsRaised
(character, )
armsRaised =
trail = speedTrails[character]
trail
trail.Enabled =
)
flyRow = .()
flyRow.Size = .(, , , )
flyRow.BackgroundTransparency =
flyRow.Parent = MovementPage
flyGearBtn = .()
flyGearBtn.Size = .(, , , )
flyGearBtn.Position = .(, , , -)
flyGearBtn.BackgroundColor3 = .(, , )
flyGearBtn.Text =
flyGearBtn.TextColor3 = .(, , )
flyGearBtn.Font = .Font.GothamBold
flyGearBtn.TextSize =
flyGearBtn.Parent = flyRow
flyGearBtnCorner = .()
flyGearBtnCorner.CornerRadius = .(, )
flyGearBtnCorner.Parent = flyGearBtn
flyLabel = .()
flyLabel.Size = .(, -, , )
flyLabel.Position = .(, , , )
flyLabel.BackgroundTransparency =
flyLabel.Text =
flyLabel.TextColor3 = .(, , )
flyLabel.Font = .Font.Gotham
flyLabel.TextSize =
flyLabel.TextXAlignment = .TextXAlignment.Left
flyLabel.Parent = flyRow
flySwitch = (, , (state)
state
()
()
)
flySwitch.Position = .(, -, , -)
flySwitch.Parent = flyRow
flySettingsPanel = .()
flySettingsPanel.Size = .(, , , )
flySettingsPanel.BackgroundColor3 = .(, , )
flySettingsPanel.BorderSizePixel =
flySettingsPanel.ClipsDescendants =
flySettingsPanel.Visible =
flySettingsPanel.Parent = MovementPage
flyPanelCorner = .()
flyPanelCorner.CornerRadius = .(, )
flyPanelCorner.Parent = flySettingsPanel
flyPanelPadding = .()
flyPanelPadding.PaddingLeft = .(, )
flyPanelPadding.PaddingRight = .(, )
flyPanelPadding.PaddingTop = .(, )
flyPanelPadding.PaddingBottom = .(, )
flyPanelPadding.Parent = flySettingsPanel
superheroRow = .()
superheroRow.Size = .(, , , )
superheroRow.BackgroundTransparency =
superheroRow.Parent = flySettingsPanel
superheroLabel = .()
superheroLabel.Size = .(, , , )
superheroLabel.BackgroundTransparency =
superheroLabel.Text =
superheroLabel.TextColor3 = .(, , )
superheroLabel.Font = .Font.Gotham
superheroLabel.TextSize =
superheroLabel.TextXAlignment = .TextXAlignment.Left
superheroLabel.Parent = superheroRow
superheroSwitch = (, , (state)
superheroMode = state
state
character = LocalPlayer.Character
character
(character, )
trail = speedTrails[character]
trail
trail.Enabled =
)
superheroSwitch.Size = .(, , , )
superheroSwitch.Position = .(, -, , -)
superheroSwitch.Parent = superheroRow
flyPanelOpen =
flyGearBtn.MouseButton1Click:(()
flyPanelOpen = flyPanelOpen
flySettingsPanel.Visible =
targetHeight = flyPanelOpen
tween = TweenService:(flySettingsPanel, TweenInfo.(), {Size = .(, , , targetHeight)})
tween:()
tween.Completed:(()
flyPanelOpen
flySettingsPanel.Visible =
)
)
tpPosition =
tpSelecting =
tpRow = .()
tpRow.Size = .(, , , )
tpRow.BackgroundTransparency =
tpRow.Parent = MovementPage
tpGearBtn = .()
tpGearBtn.Size = .(, , , )
tpGearBtn.Position = .(, , , -)
tpGearBtn.BackgroundColor3 = .(, , )
tpGearBtn.Text =
tpGearBtn.TextColor3 = .(, , )
tpGearBtn.Font = .Font.GothamBold
tpGearBtn.TextSize =
tpGearBtn.Parent = tpRow
tpGearBtnCorner = .()
tpGearBtnCorner.CornerRadius = .(, )
tpGearBtnCorner.Parent = tpGearBtn
tpLabel = .()
tpLabel.Size = .(, -, , )
tpLabel.Position = .(, , , )
tpLabel.BackgroundTransparency =
tpLabel.Text =
tpLabel.TextColor3 = .(, , )
tpLabel.Font = .Font.Gotham
tpLabel.TextSize =
tpLabel.TextXAlignment = .TextXAlignment.Left
tpLabel.Parent = tpRow
tpSelectButton = .()
tpSelectButton.Size = .(, , , )
tpSelectButton.Position = .(, -, , -)
tpSelectButton.BackgroundColor3 = .(, , )
tpSelectButton.Text =
tpSelectButton.TextColor3 = .(, , )
tpSelectButton.Font = .Font.GothamBold
tpSelectButton.TextSize =
tpSelectButton.Parent = tpRow
tpSelectButtonCorner = .()
tpSelectButtonCorner.CornerRadius = .(, )
tpSelectButtonCorner.Parent = tpSelectButton
tpSettingsPanel = .()
tpSettingsPanel.Size = .(, , , )
tpSettingsPanel.BackgroundColor3 = .(, , )
tpSettingsPanel.BorderSizePixel =
tpSettingsPanel.ClipsDescendants =
tpSettingsPanel.Visible =
tpSettingsPanel.Parent = MovementPage
tpPanelCorner = .()
tpPanelCorner.CornerRadius = .(, )
tpPanelCorner.Parent = tpSettingsPanel
tpPanelPadding = .()
tpPanelPadding.PaddingLeft = .(, )
tpPanelPadding.PaddingRight = .(, )
tpPanelPadding.PaddingTop = .(, )
tpPanelPadding.PaddingBottom = .(, )
tpPanelPadding.Parent = tpSettingsPanel
tpCoordLabel = .()
tpCoordLabel.Size = .(, , , )
tpCoordLabel.BackgroundTransparency =
tpCoordLabel.Text =
tpCoordLabel.TextColor3 = .(, , )
tpCoordLabel.Font = .Font.Gotham
tpCoordLabel.TextSize =
tpCoordLabel.TextXAlignment = .TextXAlignment.Left
tpCoordLabel.Parent = tpSettingsPanel
(posX, width)
box = .()
box.Size = .(width, , , )
box.Position = .(posX, , , )
box.BackgroundColor3 = .(, , )
box.Text =
box.TextColor3 = .(, , )
box.Font = .Font.Gotham
box.TextSize =
box.ClearTextOnFocus =
box.Parent = tpSettingsPanel
corner = .()
corner.CornerRadius = .(, )
corner.Parent = box
box
tpXBox = (, )
tpYBox = (, )
tpZBox = (, )
tpGoButton = .()
tpGoButton.Size = .(, , , )
tpGoButton.Position = .(, , , )
tpGoButton.BackgroundColor3 = .(, , )
tpGoButton.Text =
tpGoButton.TextColor3 = .(, , )
tpGoButton.Font = .Font.GothamBold
tpGoButton.TextSize =
tpGoButton.Parent = tpSettingsPanel
tpGoButtonCorner = .()
tpGoButtonCorner.CornerRadius = .(, )
tpGoButtonCorner.Parent = tpGoButton
()
tpPosition
tpXBox.Text = .(, tpPosition.X)
tpYBox.Text = .(, tpPosition.Y)
tpZBox.Text = .(, tpPosition.Z)
(pos)
character = LocalPlayer.Character
root = character character:()
root pos
root.CFrame = .(pos + .(, , ))
tpGoButton.MouseButton1Click:(()
x = (tpXBox.Text)
y = (tpYBox.Text)
z = (tpZBox.Text)
(x y z)
tpPosition = .(x, y, z)
(tpPosition)
)
tpPanelOpen =
tpGearBtn.MouseButton1Click:(()
tpPanelOpen = tpPanelOpen
tpSettingsPanel.Visible =
targetHeight = tpPanelOpen
tween = TweenService:(tpSettingsPanel, TweenInfo.(), {Size = .(, , , targetHeight)})
tween:()
tween.Completed:(()
tpPanelOpen
tpSettingsPanel.Visible =
)
)
tpSelectButton.MouseButton1Click:(()
tpSelecting =
tpSelectButton.Text =
)
UserInputService.InputBegan:((input, gameProcessed)
tpSelecting
input.UserInputType ~= .UserInputType.MouseButton1 input.UserInputType ~= .UserInputType.Touch
gameProcessed
tpSelecting =
tpSelectButton.Text =
hit = LocalMouse.Hit
hit
tpPosition = hit.Position
()
)
playerTPContainer = .()
playerTPContainer.Size = .(, , , )
playerTPContainer.BackgroundTransparency =
playerTPContainer.Parent = MovementPage
playerTPLabel = .()
playerTPLabel.Size = .(, , , )
playerTPLabel.BackgroundTransparency =
playerTPLabel.Text =
playerTPLabel.TextColor3 = .(, , )
playerTPLabel.Font = .Font.Gotham
playerTPLabel.TextSize =
playerTPLabel.TextXAlignment = .TextXAlignment.Left
playerTPLabel.Parent = playerTPContainer
playerTPBox = .()
playerTPBox.Size = .(, -, , )
playerTPBox.Position = .(, , , )
playerTPBox.BackgroundColor3 = .(, , )
playerTPBox.Text =
playerTPBox.PlaceholderText =
playerTPBox.TextColor3 = .(, , )
playerTPBox.Font = .Font.Gotham
playerTPBox.TextSize =
playerTPBox.ClearTextOnFocus =
playerTPBox.Parent = playerTPContainer
playerTPBoxCorner = .()
playerTPBoxCorner.CornerRadius = .(, )
playerTPBoxCorner.Parent = playerTPBox
playerTPGoButton = .()
playerTPGoButton.Size = .(, -, , )
playerTPGoButton.Position = .(, , , )
playerTPGoButton.BackgroundColor3 = .(, , )
playerTPGoButton.Text =
playerTPGoButton.TextColor3 = .(, , )
playerTPGoButton.Font = .Font.GothamBold
playerTPGoButton.TextSize =
playerTPGoButton.Parent = playerTPContainer
playerTPGoButtonCorner = .()
playerTPGoButtonCorner.CornerRadius = .(, )
playerTPGoButtonCorner.Parent = playerTPGoButton
(query)
query query ==
lowerQuery = query:()
_, player (Players:())
player.Name:() == lowerQuery player.DisplayName:() == lowerQuery
player
_, player (Players:())
player.Name:():(, #lowerQuery) == lowerQuery
player.DisplayName:():(, #lowerQuery) == lowerQuery
player
()
target = (playerTPBox.Text)
target
playerTPBox.PlaceholderText =
target == LocalPlayer
targetCharacter = target.Character
targetRoot = targetCharacter targetCharacter:()
targetRoot
(targetRoot.Position)
playerTPGoButton.MouseButton1Click:(teleportToPlayer)
playerTPBox.FocusLost:((enterPressed)
enterPressed
()
)
LocalPlayer.CharacterAdded:(()
.()
()
flying
()
)
espEnabled =
espSettings = {
ShowDistance = ,
ShowHealth = ,
ShowChat = ,
}
chamsColor = .(, , )
CHAT_DISPLAY_DURATION =
espData = {}
(player)
player == LocalPlayer
player.Character
espData[player]
character = player.Character
head = character:() character:()
highlight = .()
highlight.FillColor = chamsColor
highlight.OutlineColor = .(, , )
highlight.FillTransparency =
highlight.OutlineTransparency =
highlight.DepthMode = .HighlightDepthMode.AlwaysOnTop
highlight.Parent = character
billboard = .()
billboard.Size = .(, , , )
billboard.StudsOffset = .(, , )
billboard.AlwaysOnTop =
billboard.Adornee = head
billboard.Enabled =
billboard.Parent = character
nameLabel = .()
nameLabel.Size = .(, , , )
nameLabel.BackgroundTransparency =
nameLabel.Text = player.Name
nameLabel.TextColor3 = .(, , )
nameLabel.Font = .Font.GothamBold
nameLabel.TextSize =
nameLabel.Parent = billboard
distanceLabel = .()
distanceLabel.Size = .(, , , )
distanceLabel.Position = .(, , , )
distanceLabel.BackgroundTransparency =
distanceLabel.Text =
distanceLabel.TextColor3 = .(, , )
distanceLabel.Font = .Font.Gotham
distanceLabel.TextSize =
distanceLabel.Visible =
distanceLabel.Parent = billboard
healthLabel = .()
healthLabel.Size = .(, , , )
healthLabel.Position = .(, , , )
healthLabel.BackgroundTransparency =
healthLabel.Text =
healthLabel.TextColor3 = .(, , )
healthLabel.Font = .Font.Gotham
healthLabel.TextSize =
healthLabel.Visible =
healthLabel.Parent = billboard
chatBillboard = .()
chatBillboard.Size = .(, , , )
chatBillboard.StudsOffset = .(, , )
chatBillboard.AlwaysOnTop =
chatBillboard.Adornee = head
chatBillboard.Enabled =
chatBillboard.Parent = character
chatBg = .()
chatBg.Size = .(, , , )
chatBg.BackgroundColor3 = .(, , )
chatBg.BackgroundTransparency =
chatBg.BorderSizePixel =
chatBg.Parent = chatBillboard
chatBgCorner = .()
chatBgCorner.CornerRadius = .(, )
chatBgCorner.Parent = chatBg
chatLabel = .()
chatLabel.Size = .(, -, , -)
chatLabel.Position = .(, , , )
chatLabel.BackgroundTransparency =
chatLabel.Text =
chatLabel.TextColor3 = .(, , )
chatLabel.Font = .Font.Gotham
chatLabel.TextSize =
chatLabel.TextWrapped =
chatLabel.TextYAlignment = .TextYAlignment.Center
chatLabel.Parent = chatBg
chatHideTask =
chatConnection = player.Chatted:((message)
data = espData[player]
data
espSettings.ShowChat
data.chatLabel.Text = message
data.chatBillboard.Enabled =
data.chatHideTask
.(data.chatHideTask)
data.chatHideTask = .(CHAT_DISPLAY_DURATION, ()
data.chatBillboard.Enabled =
data.chatHideTask =
)
)
espData[player] = {
highlight = highlight,
billboard = billboard,
distanceLabel = distanceLabel,
healthLabel = healthLabel,
chatBillboard = chatBillboard,
chatLabel = chatLabel,
chatConnection = chatConnection,
chatHideTask = ,
}
(player)
data = espData[player]
data
data.highlight data.highlight:()
data.billboard data.billboard:()
data.chatBillboard data.chatBillboard:()
data.chatConnection data.chatConnection:()
data.chatHideTask .(data.chatHideTask)
espData[player] =
()
espEnabled
_, player (Players:())
(player)
player, _ (espData)
(player)
Players.PlayerAdded:((player)
player.CharacterAdded:(()
espEnabled
.()
(player)
)
)
Players.PlayerRemoving:((player)
(player)
)
RunService.RenderStepped:(()
espEnabled
cam = Workspace.CurrentCamera
player, data (espData)
character = player.Character
character character:()
data.billboard.Enabled =
root = character.HumanoidRootPart
humanoid = character:()
showBillboard = espSettings.ShowDistance espSettings.ShowHealth
data.billboard.Enabled = showBillboard
espSettings.ShowDistance
dist = (cam.CFrame.Position - root.Position).Magnitude
data.distanceLabel.Text = .(, dist)
data.distanceLabel.Visible =
data.distanceLabel.Visible =
espSettings.ShowHealth humanoid
data.healthLabel.Text = .(, .(humanoid.Health), .(humanoid.MaxHealth))
data.healthLabel.Visible =
data.healthLabel.Visible =
)
espRow = .()
espRow.Size = .(, , , )
espRow.BackgroundTransparency =
espRow.Parent = VisualPage
gearBtn = .()
gearBtn.Size = .(, , , )
gearBtn.Position = .(, , , -)
gearBtn.BackgroundColor3 = .(, , )
gearBtn.Text =
gearBtn.TextColor3 = .(, , )
gearBtn.Font = .Font.GothamBold
gearBtn.TextSize =
gearBtn.Parent = espRow
gearCorner = .()
gearCorner.CornerRadius = .(, )
gearCorner.Parent = gearBtn
espLabel = .()
espLabel.Size = .(, -, , )
espLabel.Position = .(, , , )
espLabel.BackgroundTransparency =
espLabel.Text =
espLabel.TextColor3 = .(, , )
espLabel.Font = .Font.Gotham
espLabel.TextSize =
espLabel.TextXAlignment = .TextXAlignment.Left
espLabel.Parent = espRow
espSwitch = (, , (state)
espEnabled = state
()
)
espSwitch.Position = .(, -, , -)
espSwitch.Parent = espRow
espSettingsPanel = .()
espSettingsPanel.Size = .(, , , )
espSettingsPanel.BackgroundColor3 = .(, , )
espSettingsPanel.BorderSizePixel =
espSettingsPanel.ClipsDescendants =
espSettingsPanel.Visible =
espSettingsPanel.Parent = VisualPage
espPanelCorner = .()
espPanelCorner.CornerRadius = .(, )
espPanelCorner.Parent = espSettingsPanel
espPanelPadding = .()
espPanelPadding.PaddingLeft = .(, )
espPanelPadding.PaddingRight = .(, )
espPanelPadding.PaddingTop = .(, )
espPanelPadding.PaddingBottom = .(, )
espPanelPadding.Parent = espSettingsPanel
espPanelLayout = .()
espPanelLayout.Padding = .(, )
espPanelLayout.SortOrder = .SortOrder.LayoutOrder
espPanelLayout.Parent = espSettingsPanel
(labelText, key, onToggle)
row = .()
row.Size = .(, , , )
row.BackgroundTransparency =
row.Parent = espSettingsPanel
label = .()
label.Size = .(, , , )
label.BackgroundTransparency =
label.Text = labelText
label.TextColor3 = .(, , )
label.Font = .Font.Gotham
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.Parent = row
sw = (, espSettings[key], (state)
espSettings[key] = state
onToggle
(state)
)
sw.Size = .(, , , )
sw.Position = .(, -, , -)
sw.Parent = row
(, )
(, )
(, , (state)
state
_, data (espData)
data.chatHideTask
.(data.chatHideTask)
data.chatHideTask =
data.chatBillboard
data.chatBillboard.Enabled =
)
chamsRow = .()
chamsRow.Size = .(, , , )
chamsRow.BackgroundTransparency =
chamsRow.Parent = espSettingsPanel
chamsLabel = .()
chamsLabel.Size = .(, , , )
chamsLabel.BackgroundTransparency =
chamsLabel.Text =
chamsLabel.TextColor3 = .(, , )
chamsLabel.Font = .Font.Gotham
chamsLabel.TextSize =
chamsLabel.TextXAlignment = .TextXAlignment.Left
chamsLabel.Parent = chamsRow
(parent, posX, defaultValue)
box = .()
box.Size = .(, , , )
box.Position = .(posX, , , )
box.BackgroundColor3 = .(, , )
box.Text = (defaultValue)
box.TextColor3 = .(, , )
box.Font = .Font.Gotham
box.TextSize =
box.ClearTextOnFocus =
box.Parent = parent
corner = .()
corner.CornerRadius = .(, )
corner.Parent = box
box
chamsRBox = (chamsRow, , )
chamsGBox = (chamsRow, , )
chamsBBox = (chamsRow, , )
chamsApplyButton = .()
chamsApplyButton.Size = .(, , , )
chamsApplyButton.Position = .(, , , )
chamsApplyButton.BackgroundColor3 = .(, , )
chamsApplyButton.Text =
chamsApplyButton.TextColor3 = .(, , )
chamsApplyButton.Font = .Font.GothamBold
chamsApplyButton.TextSize =
chamsApplyButton.Parent = chamsRow
chamsApplyCorner = .()
chamsApplyCorner.CornerRadius = .(, )
chamsApplyCorner.Parent = chamsApplyButton
chamsApplyButton.MouseButton1Click:(()
r = (chamsRBox.Text)
g = (chamsGBox.Text)
b = (chamsBBox.Text)
(r g b)
r = .(r, , )
g = .(g, , )
b = .(b, , )
chamsRBox.Text = (r)
chamsGBox.Text = (g)
chamsBBox.Text = (b)
chamsColor = .(r, g, b)
_, data (espData)
data.highlight
data.highlight.FillColor = chamsColor
)
panelOpen =
gearBtn.MouseButton1Click:(()
panelOpen = panelOpen
espSettingsPanel.Visible =
targetHeight = panelOpen
tween = TweenService:(espSettingsPanel, TweenInfo.(), {Size = .(, , , targetHeight)})
tween:()
tween.Completed:(()
panelOpen
espSettingsPanel.Visible =
)
)
desiredFOV =
RunService.RenderStepped:(()
desiredFOV
cam = Workspace.CurrentCamera
cam
cam.FieldOfView = desiredFOV
)
(VisualPage, , , , , (value)
desiredFOV = value
cam = Workspace.CurrentCamera
cam
cam.FieldOfView = value
)
fullbrightEnabled =
savedLighting =
(state)
state
savedLighting = {
Brightness = Lighting.Brightness,
ClockTime = Lighting.ClockTime,
GlobalShadows = Lighting.GlobalShadows,
OutdoorAmbient = Lighting.OutdoorAmbient,
Ambient = Lighting.Ambient,
}
Lighting.Brightness =
Lighting.ClockTime =
Lighting.GlobalShadows =
Lighting.OutdoorAmbient = .(, , )
Lighting.Ambient = .(, , )
savedLighting
Lighting.Brightness = savedLighting.Brightness
Lighting.ClockTime = savedLighting.ClockTime
Lighting.GlobalShadows = savedLighting.GlobalShadows
Lighting.OutdoorAmbient = savedLighting.OutdoorAmbient
Lighting.Ambient = savedLighting.Ambient
savedLighting = nil
end
end
end
createToggle(VisualPage, "常時明るく (Fullbright)", false, function(state)
fullbrightEnabled = state
applyFullbright(state)
end)
----------------------------------------------------------------
-- Visualタブ: No Fog (霧を消す)
----------------------------------------------------------------
local noFogEnabled = false
local savedFog = nil
local function applyNoFog(state)
if state then
savedFog = {
FogStart = Lighting.FogStart,
FogEnd = Lighting.FogEnd,
}
Lighting.FogStart = 0
Lighting.FogEnd = 100000
else
if savedFog then
Lighting.FogStart = savedFog.FogStart
Lighting.FogEnd = savedFog.FogEnd
savedFog = nil
end
end
end
createToggle(VisualPage, "No Fog (霧を消す)", false, function(state)
noFogEnabled = state
applyNoFog(state)
end)
----------------------------------------------------------------
-- Visualタブ: バー等 (HPバー / スピードバー / 高度 / FPS / Ping)
----------------------------------------------------------------
local hudEnabled = false
local barSettings = {
ShowHP = true,
ShowSpeed = true,
ShowAltitude = true,
ShowFPS = true,
ShowPing = true,
}
local HudFrame = Instance.new("Frame")
HudFrame.Name = "HudFrame"
HudFrame.Size = UDim2.new(0, 160, 0, 158)
HudFrame.Position = UDim2.new(1, -176, 0, 16)
HudFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 18)
HudFrame.BackgroundTransparency = 0.1
HudFrame.BorderSizePixel = 0
HudFrame.Visible = false
HudFrame.Parent = ScreenGui
local hudCorner = Instance.new("UICorner")
hudCorner.CornerRadius = UDim.new(0, 8)
hudCorner.Parent = HudFrame
-- ドラッグ用の持ち手(スマホでも動かしやすいように専用バーを用意)
local hudDragHandle = Instance.new("Frame")
hudDragHandle.Size = UDim2.new(1, 0, 0, 18)
hudDragHandle.BackgroundColor3 = Color3.fromRGB(24, 24, 28)
hudDragHandle.BorderSizePixel = 0
hudDragHandle.Parent = HudFrame
local hudDragHandleCorner = Instance.new("UICorner")
hudDragHandleCorner.CornerRadius = UDim.new(0, 8)
hudDragHandleCorner.Parent = hudDragHandle
local hudDragLabel = Instance.new("TextLabel")
hudDragLabel.Size = UDim2.new(1, 0, 1, 0)
hudDragLabel.BackgroundTransparency = 1
hudDragLabel.Text = "⠿"
hudDragLabel.TextColor3 = Color3.fromRGB(150, 150, 155)
hudDragLabel.Font = Enum.Font.GothamBold
hudDragLabel.TextSize = 12
hudDragLabel.Parent = hudDragHandle
makeDraggable(HudFrame, hudDragHandle)
local hudContent = Instance.new("Frame")
hudContent.Size = UDim2.new(1, 0, 1, -18)
hudContent.Position = UDim2.new(0, 0, 0, 18)
hudContent.BackgroundTransparency = 1
hudContent.Parent = HudFrame
local hudPadding = Instance.new("UIPadding")
hudPadding.PaddingLeft = UDim.new(0, 8)
hudPadding.PaddingRight = UDim.new(0, 8)
hudPadding.PaddingTop = UDim.new(0, 6)
hudPadding.PaddingBottom = UDim.new(0, 6)
hudPadding.Parent = hudContent
local hudLayout = Instance.new("UIListLayout")
hudLayout.Padding = UDim.new(0, 6)
hudLayout.SortOrder = Enum.SortOrder.LayoutOrder
hudLayout.Parent = hudContent
-- 共通: ラベル+バーのセットを作る
local function createHudBar(labelPrefix, barColor)
local container = Instance.new("Frame")
container.Size = UDim2.new(1, 0, 0, 26)
container.BackgroundTransparency = 1
container.Parent = hudContent
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 0, 12)
label.BackgroundTransparency = 1
label.Text = labelPrefix .. ": --"
label.TextColor3 = Color3.fromRGB(220, 220, 220)
label.Font = Enum.Font.Gotham
label.TextSize = 11
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = container
local track = Instance.new("Frame")
track.Size = UDim2.new(1, 0, 0, 8)
track.Position = UDim2.new(0, 0, 0, 16)
track.BackgroundColor3 = Color3.fromRGB(50, 50, 55)
track.BorderSizePixel = 0
track.Parent = container
local trackCorner = Instance.new("UICorner")
trackCorner.CornerRadius = UDim.new(1, 0)
trackCorner.Parent = track
local fill = Instance.new("Frame")
fill.Size = UDim2.new(0, 0, 1, 0)
fill.BackgroundColor3 = barColor
fill.BorderSizePixel = 0
fill.Parent = track
local fillCorner = Instance.new("UICorner")
fillCorner.CornerRadius = UDim.new(1, 0)
fillCorner.Parent = fill
return container, label, fill
end
local hpContainer, healthBarLabel, healthBarFill = createHudBar("HP", Color3.fromRGB(90, 220, 120))
local speedContainer, speedBarLabel, speedBarFill = createHudBar("Speed", Color3.fromRGB(90, 170, 255))
local altitudeContainer, altitudeBarLabel, altitudeBarFill = createHudBar("高度", Color3.fromRGB(230, 190, 90))
-- FPS
local fpsLabel = Instance.new("TextLabel")
fpsLabel.Size = UDim2.new(1, 0, 0, 14)
fpsLabel.BackgroundTransparency = 1
fpsLabel.Text = "FPS: --"
fpsLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
fpsLabel.Font = Enum.Font.Gotham
fpsLabel.TextSize = 12
fpsLabel.TextXAlignment = Enum.TextXAlignment.Left
fpsLabel.Parent = hudContent
-- Ping
local pingLabel = Instance.new("TextLabel")
pingLabel.Size = UDim2.new(1, 0, 0, 14)
pingLabel.BackgroundTransparency = 1
pingLabel.Text = "Ping: -- ms"
pingLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
pingLabel.Font = Enum.Font.Gotham
pingLabel.TextSize = 12
pingLabel.TextXAlignment = Enum.TextXAlignment.Left
pingLabel.Parent = hudContent
----------------------------------------------------------------
-- バー等の行(歯車 + トグル) + 詳細設定パネル
----------------------------------------------------------------
local barsRow = Instance.new("Frame")
barsRow.Size = UDim2.new(1, 0, 0, 36)
barsRow.BackgroundTransparency = 1
barsRow.Parent = VisualPage
local barsGearBtn = Instance.new("TextButton")
barsGearBtn.Size = UDim2.new(0, 26, 0, 26)
barsGearBtn.Position = UDim2.new(0, 0, 0.5, -13)
barsGearBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 55)
barsGearBtn.Text = "⚙"
barsGearBtn.TextColor3 = Color3.fromRGB(230, 230, 230)
barsGearBtn.Font = Enum.Font.GothamBold
barsGearBtn.TextSize = 16
barsGearBtn.Parent = barsRow
local barsGearBtnCorner = Instance.new("UICorner")
barsGearBtnCorner.CornerRadius = UDim.new(0, 6)
barsGearBtnCorner.Parent = barsGearBtn
local barsLabel = Instance.new("TextLabel")
barsLabel.Size = UDim2.new(1, -80, 1, 0)
barsLabel.Position = UDim2.new(0, 34, 0, 0)
barsLabel.BackgroundTransparency = 1
barsLabel.Text = "バー等"
barsLabel.TextColor3 = Color3.fromRGB(220, 220, 220)
barsLabel.Font = Enum.Font.Gotham
barsLabel.TextSize = 14
barsLabel.TextXAlignment = Enum.TextXAlignment.Left
barsLabel.Parent = barsRow
local barsSwitch = createToggleSwitch(44, false, function(state)
hudEnabled = state
HudFrame.Visible = state
end)
barsSwitch.Position = UDim2.new(1, -44, 0.5, -13)
barsSwitch.Parent = barsRow
local barsSettingsPanel = Instance.new("Frame")
barsSettingsPanel.Size = UDim2.new(1, 0, 0, 0)
barsSettingsPanel.BackgroundColor3 = Color3.fromRGB(24, 24, 28)
barsSettingsPanel.BorderSizePixel = 0
barsSettingsPanel.ClipsDescendants = true
barsSettingsPanel.Visible = false
barsSettingsPanel.Parent = VisualPage
local barsPanelCorner = Instance.new("UICorner")
barsPanelCorner.CornerRadius = UDim.new(0, 6)
barsPanelCorner.Parent = barsSettingsPanel
local barsPanelPadding = Instance.new("UIPadding")
barsPanelPadding.PaddingLeft = UDim.new(0, 10)
barsPanelPadding.PaddingRight = UDim.new(0, 10)
barsPanelPadding.PaddingTop = UDim.new(0, 6)
barsPanelPadding.PaddingBottom = UDim.new(0, 6)
barsPanelPadding.Parent = barsSettingsPanel
local barsPanelLayout = Instance.new("UIListLayout")
barsPanelLayout.Padding = UDim.new(0, 4)
barsPanelLayout.SortOrder = Enum.SortOrder.LayoutOrder
barsPanelLayout.Parent = barsSettingsPanel
local function addBarSettingToggle(labelText, key, container)
local row = Instance.new("Frame")
row.Size = UDim2.new(1, 0, 0, 26)
row.BackgroundTransparency = 1
row.Parent = barsSettingsPanel
local label = Instance.new("TextLabel")
label.Size = UDim2.new(0.7, 0, 1, 0)
label.BackgroundTransparency = 1
label.Text = labelText
label.TextColor3 = Color3.fromRGB(200, 200, 200)
label.Font = Enum.Font.Gotham
label.TextSize = 13
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = row
local sw = createToggleSwitch(36, barSettings[key], function(state)
barSettings[key] = state
container.Visible = state
end)
sw.Size = UDim2.new(0, 36, 0, 18)
sw.Position = UDim2.new(1, -36, 0.5, -9)
sw.Parent = row
end
addBarSettingToggle("HPバー", "ShowHP", hpContainer)
addBarSettingToggle("スピードバー", "ShowSpeed", speedContainer)
addBarSettingToggle("高度", "ShowAltitude", altitudeContainer)
addBarSettingToggle("FPS", "ShowFPS", fpsLabel)
addBarSettingToggle("Ping", "ShowPing", pingLabel)
local barsPanelOpen = false
barsGearBtn.MouseButton1Click:Connect(function()
barsPanelOpen = not barsPanelOpen
barsSettingsPanel.Visible = true
local targetHeight = barsPanelOpen and 150 or 0
local tween = TweenService:Create(barsSettingsPanel, TweenInfo.new(0.2), {Size = UDim2.new(1, 0, 0, targetHeight)})
tween:Play()
tween.Completed:Connect(function()
if not barsPanelOpen then
barsSettingsPanel.Visible = false
end
end)
end)
----------------------------------------------------------------
-- 更新ループ
----------------------------------------------------------------
local NetworkStats = game:GetService("Stats").Network
local fpsFrameCount = 0
local fpsTimer = 0
local altitudeRayParams = RaycastParams.new()
altitudeRayParams.FilterType = Enum.RaycastFilterType.Exclude
RunService.RenderStepped:Connect(function(dt)
if not hudEnabled then return end
-- FPS計算(0.5秒ごとに更新)
if barSettings.ShowFPS then
fpsFrameCount = fpsFrameCount + 1
fpsTimer = fpsTimer + dt
if fpsTimer >= 0.5 then
local fps = math.floor(fpsFrameCount / fpsTimer)
fpsLabel.Text = "FPS: " .. fps
fpsFrameCount = 0
fpsTimer = 0
end
end
local character = LocalPlayer.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
local root = character and character:FindFirstChild("HumanoidRootPart")
-- HP
if barSettings.ShowHP and humanoid then
healthBarLabel.Text = string.format("HP: %d / %d", math.floor(humanoid.Health), math.floor(humanoid.MaxHealth))
local pct = humanoid.MaxHealth > 0 and (humanoid.Health / humanoid.MaxHealth) or 0
healthBarFill.Size = UDim2.new(math.clamp(pct, 0, 1), 0, 1, 0)
end
-- Speed(HumanoidRootPartの実際の速度)
if barSettings.ShowSpeed and root then
local speed = root.AssemblyLinearVelocity.Magnitude
speedBarLabel.Text = string.format("Speed: %d", math.floor(speed))
local pct = math.clamp(speed / 200, 0, 1) -- 200studs/sを目安に満タン
speedBarFill.Size = UDim2.new(pct, 0, 1, 0)
end
-- 高度(地面までの距離をレイキャストで測定)
if barSettings.ShowAltitude and root and character then
altitudeRayParams.FilterDescendantsInstances = { character }
local rayResult = Workspace:Raycast(root.Position, Vector3.new(0, -1000, 0), altitudeRayParams)
local altitude = rayResult and rayResult.Distance or 0
altitudeBarLabel.Text = string.format("高度: %d studs", math.floor(altitude))
local pct = math.clamp(altitude / 300, 0, 1) -- 300studsを目安に満タン
altitudeBarFill.Size = UDim2.new(pct, 0, 1, 0)
end
-- Ping
if barSettings.ShowPing then
local success, pingValue = pcall(function()
return NetworkStats.ServerStatsItem["Data Ping"]:GetValue()
end)
if success and pingValue then
pingLabel.Text = string.format("Ping: %d ms", math.floor(pingValue))
end
end
end)
-- 初期キャラクターへの適用
if LocalPlayer.Character then
applyToCharacter()
end日本人初の自作スクリプトです。名前はプチハブ。いろんな機能があります!(キーなしハブ)

Universal