Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
rootPart = character:()
settings = {
color = .(, , ),
bindKey = .KeyCode.F1
}
guiVisible =
flying =
flySpeed =
bodyVelocity =
selectedPlayer =
(text, isOn)
gui = player.PlayerGui:()
gui
notif = .()
notif.Size = .(, , , )
notif.Position = .(, -, , )
notif.BackgroundColor3 = isOn .(, , ) .(, , )
notif.BackgroundTransparency =
notif.TextColor3 = .(,,)
notif.Text = text
notif.Font = .Font.SourceSansBold
notif.TextScaled =
notif.BorderSizePixel =
notif.ClipsDescendants =
notif.Parent = gui
tween = :():(notif,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out),
{Position = .(, -, , )}
)
tween:()
tween.Completed:()
()
tweenOut = :():(notif,
TweenInfo.(, .EasingStyle.Quad, .EasingDirection.In),
{Position = .(, , , )}
)
tweenOut:()
tweenOut.Completed:(()
notif:()
)
(dropdown)
i = #dropdown:(), , -
child = dropdown:()[i]
child:() child:()
child:()
players = .Players:()
yPos =
_, plr (players)
plr ~= player
btn = .()
btn.Size = .(, , , )
btn.Position = .(, , , yPos)
btn.Text = plr.Name
btn.TextColor3 = .(,,)
btn.BackgroundColor3 = .(,,)
btn.BorderSizePixel =
btn.Font = .Font.SourceSans
btn.TextScaled =
btn.Parent = dropdown
btn.MouseButton1Click:(()
selectedPlayer = plr
parentFrame = dropdown.Parent
selectBtn = parentFrame:()
selectBtn
selectBtn.Text = .. plr.Name
dropdown.Visible =
)
yPos = yPos +
yPos ==
lbl = .()
lbl.Size = .(, , , )
lbl.Position = .(, , , )
lbl.Text =
lbl.TextColor3 = .(,,)
lbl.BackgroundTransparency =
lbl.Font = .Font.SourceSans
lbl.TextScaled =
lbl.Parent = dropdown
dropdown.CanvasSize = .(, , , yPos + )
(target)
target
(, )
targetChar = target.Character
targetChar
(, )
targetRoot = targetChar:()
targetRoot
(, )
targetCF = targetRoot.CFrame
newCF = targetCF + targetCF.LookVector * + .(, , )
rootPart.CFrame = newCF
( .. target.Name, )
(gui, color)
mainFrame = gui:()
mainFrame
mainFrame.BackgroundColor3 = color
leftPanel = mainFrame mainFrame:()
leftPanel
leftPanel.BackgroundColor3 = color
_, btn (gui:())
btn:() btn.Name ~= btn.Name ~= btn:()
trans = btn.BackgroundTransparency
btn.BackgroundColor3 = color
btn.BackgroundTransparency = trans
selectBtn = gui:(, )
selectBtn
selectBtn.BackgroundColor3 = color
applyBtn = gui:(, )
applyBtn
applyBtn.BackgroundColor3 = color
()
screenGui = .()
screenGui.Name =
screenGui.Parent = player.PlayerGui
mainFrame = .()
mainFrame.Name =
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = settings.color
mainFrame.BackgroundTransparency =
mainFrame.BorderSizePixel =
mainFrame.ClipsDescendants =
mainFrame.Active =
mainFrame.Draggable =
mainFrame.Parent = screenGui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = mainFrame
leftPanel = .()
leftPanel.Name =
leftPanel.Size = .(, , , )
leftPanel.BackgroundColor3 = settings.color
leftPanel.BackgroundTransparency =
leftPanel.BorderSizePixel =
leftPanel.Parent = mainFrame
leftCorner = .()
leftCorner.CornerRadius = .(, )
leftCorner.Parent = leftPanel
mainBtn = .()
mainBtn.Name =
mainBtn.Size = .(, , , )
mainBtn.Position = .(, , , )
mainBtn.Text =
mainBtn.TextColor3 = .(,,)
mainBtn.BackgroundColor3 = settings.color
mainBtn.BackgroundTransparency =
mainBtn.BorderSizePixel =
mainBtn.Font = .Font.GothamBold
mainBtn.TextScaled =
mainBtn.Parent = leftPanel
mbCorner = .()
mbCorner.CornerRadius = .(, )
mbCorner.Parent = mainBtn
settingsBtn = .()
settingsBtn.Name =
settingsBtn.Size = .(, , , )
settingsBtn.Position = .(, , , -)
settingsBtn.Text =
settingsBtn.TextColor3 = .(,,)
settingsBtn.BackgroundColor3 = settings.color
settingsBtn.BackgroundTransparency =
settingsBtn.BorderSizePixel =
settingsBtn.Font = .Font.GothamBold
settingsBtn.TextScaled =
settingsBtn.Parent = leftPanel
sbCorner = .()
sbCorner.CornerRadius = .(, )
sbCorner.Parent = settingsBtn
contentFrame = .()
contentFrame.Name =
contentFrame.Size = .(, -, , -)
contentFrame.Position = .(, , , )
contentFrame.BackgroundTransparency =
contentFrame.Parent = mainFrame
tabMain = .()
tabMain.Name =
tabMain.Size = .(, , , )
tabMain.BackgroundTransparency =
tabMain.Visible =
tabMain.Parent = contentFrame
tabSettings = .()
tabSettings.Name =
tabSettings.Size = .(, , , )
tabSettings.BackgroundTransparency =
tabSettings.Visible =
tabSettings.Parent = contentFrame
titleMain = .()
titleMain.Size = .(, , , )
titleMain.Position = .(, , , )
titleMain.Text =
titleMain.TextColor3 = .(,,)
titleMain.BackgroundTransparency =
titleMain.Font = .Font.GothamBold
titleMain.TextScaled =
titleMain.Parent = tabMain
flyBtn = .()
flyBtn.Name =
flyBtn.Size = .(, , , )
flyBtn.Position = .(, , , )
flyBtn.Text =
flyBtn.TextColor3 = .(,,)
flyBtn.BackgroundColor3 = settings.color
flyBtn.BackgroundTransparency =
flyBtn.BorderSizePixel =
flyBtn.Font = .Font.SourceSansBold
flyBtn.TextScaled =
flyBtn.Parent = tabMain
fbCorner = .()
fbCorner.CornerRadius = .(, )
fbCorner.Parent = flyBtn
speedLabel = .()
speedLabel.Size = .(, , , )
speedLabel.Position = .(, , , )
speedLabel.Text =
speedLabel.TextColor3 = .(,,)
speedLabel.BackgroundTransparency =
speedLabel.Font = .Font.SourceSans
speedLabel.TextScaled =
speedLabel.Parent = tabMain
speedSlider = .()
speedSlider.Size = .(, , , )
speedSlider.Position = .(, , , )
speedSlider.Text =
speedSlider.TextColor3 = .(,,)
speedSlider.BackgroundColor3 = .(,,)
speedSlider.BorderSizePixel =
speedSlider.Font = .Font.SourceSans
speedSlider.TextScaled =
speedSlider.Parent = tabMain
slCorner = .()
slCorner.CornerRadius = .(, )
slCorner.Parent = speedSlider
speedSlider.FocusLost:((enterPressed)
enterPressed
val = (speedSlider.Text)
val val >
flySpeed = val
speedLabel.Text = .. flySpeed
bodyVelocity
mv = bodyVelocity.Velocity
mv.Magnitude >
bodyVelocity.Velocity = mv.Unit * flySpeed
speedSlider.Text = (flySpeed)
)
selectFrame = .()
selectFrame.Size = .(, , , )
selectFrame.Position = .(, , , )
selectFrame.BackgroundTransparency =
selectFrame.Parent = tabMain
selectBtn = .()
selectBtn.Name =
selectBtn.Size = .(, , , )
selectBtn.Position = .(, , , )
selectBtn.Text =
selectBtn.TextColor3 = .(,,)
selectBtn.BackgroundColor3 = settings.color
selectBtn.BackgroundTransparency =
selectBtn.BorderSizePixel =
selectBtn.Font = .Font.SourceSans
selectBtn.TextScaled =
selectBtn.Parent = selectFrame
sCorner = .()
sCorner.CornerRadius = .(, )
sCorner.Parent = selectBtn
teleportBtn = .()
teleportBtn.Name =
teleportBtn.Size = .(, , , )
teleportBtn.Position = .(, , , )
teleportBtn.Text =
teleportBtn.TextColor3 = .(,,)
teleportBtn.BackgroundColor3 = .(, , )
teleportBtn.BorderSizePixel =
teleportBtn.Font = .Font.SourceSansBold
teleportBtn.TextScaled =
teleportBtn.Parent = selectFrame
tCorner = .()
tCorner.CornerRadius = .(, )
tCorner.Parent = teleportBtn
teleportBtn.MouseButton1Click:(()
(selectedPlayer)
)
dropdown = .()
dropdown.Size = .(, , , )
dropdown.Position = .(, , , )
dropdown.BackgroundColor3 = .(,,)
dropdown.BorderSizePixel =
dropdown.ScrollBarThickness =
dropdown.Visible =
dropdown.Parent = selectFrame
dCorner = .()
dCorner.CornerRadius = .(, )
dCorner.Parent = dropdown
selectBtn.MouseButton1Click:(()
dropdown.Visible = dropdown.Visible
dropdown.Visible
(dropdown)
)
status = .()
status.Name =
status.Size = .(, , , )
status.Position = .(, , , -)
status.Text =
status.TextColor3 = .(,,)
status.BackgroundTransparency =
status.Font = .Font.SourceSans
status.TextScaled =
status.Parent = tabMain
setTitle = .()
setTitle.Size = .(, , , )
setTitle.Position = .(, , , )
setTitle.Text =
setTitle.TextColor3 = .(,,)
setTitle.BackgroundTransparency =
setTitle.Font = .Font.GothamBold
setTitle.TextScaled =
setTitle.Parent = tabSettings
colorLabel = .()
colorLabel.Size = .(, , , )
colorLabel.Position = .(, , , )
colorLabel.Text =
colorLabel.TextColor3 = .(,,)
colorLabel.BackgroundTransparency =
colorLabel.Font = .Font.SourceSans
colorLabel.TextScaled =
colorLabel.Parent = tabSettings
colorBox = .()
colorBox.Name =
colorBox.Size = .(, , , )
colorBox.Position = .(, , , )
colorBox.Text =
colorBox.TextColor3 = .(,,)
colorBox.BackgroundColor3 = .(,,)
colorBox.BorderSizePixel =
colorBox.Font = .Font.SourceSans
colorBox.TextScaled =
colorBox.Parent = tabSettings
cbCorner = .()
cbCorner.CornerRadius = .(, )
cbCorner.Parent = colorBox
colorGrid = .()
colorGrid.Name =
colorGrid.Size = .(, , , )
colorGrid.Position = .(, , , )
colorGrid.BackgroundTransparency =
colorGrid.Parent = tabSettings
presetColors = {
, , ,
, , ,
, ,
}
cols =
btnSizeX =
btnSizeY =
spacingX =
spacingY =
i, hex (presetColors)
row = .((i-) / cols)
col = (i-) % cols
x = col * (btnSizeX + spacingX) +
y = row * (btnSizeY + spacingY) +
btn = .()
btn.Size = .(btnSizeX, , btnSizeY, )
btn.Position = .(x, , y, )
btn.Text =
btn.BackgroundColor3 = .(hex)
btn.BorderSizePixel =
btn.BorderColor3 = .(,,)
btn.Parent = colorGrid
corner = .()
corner.CornerRadius = .(, )
corner.Parent = btn
btn.MouseButton1Click:(()
colorBox.Text = hex
r, g, b = .(hex).r, .(hex).g, .(hex).b
settings.color = .(r255, g255, b*)
(screenGui, settings.color)
( .. hex, )
)
bindLabel = .()
bindLabel.Size = .(, , , )
bindLabel.Position = .(, , , )
bindLabel.Text =
bindLabel.TextColor3 = .(,,)
bindLabel.BackgroundTransparency =
bindLabel.Font = .Font.SourceSans
bindLabel.TextScaled =
bindLabel.Parent = tabSettings
bindBox = .()
bindBox.Name =
bindBox.Size = .(, , , )
bindBox.Position = .(, , , )
bindBox.Text =
bindBox.TextColor3 = .(,,)
bindBox.BackgroundColor3 = .(,,)
bindBox.BorderSizePixel =
bindBox.Font = .Font.SourceSans
bindBox.TextScaled =
bindBox.Parent = tabSettings
bbCorner = .()
bbCorner.CornerRadius = .(, )
bbCorner.Parent = bindBox
applyBtn = .()
applyBtn.Name =
applyBtn.Size = .(, , , )
applyBtn.Position = .(, , , )
applyBtn.Text =
applyBtn.TextColor3 = .(,,)
applyBtn.BackgroundColor3 = settings.color
applyBtn.BackgroundTransparency =
applyBtn.BorderSizePixel =
applyBtn.Font = .Font.SourceSansBold
applyBtn.TextScaled =
applyBtn.Parent = tabSettings
apCorner = .()
apCorner.CornerRadius = .(, )
apCorner.Parent = applyBtn
mainBtn.MouseButton1Click:(()
tabMain.Visible =
tabSettings.Visible =
mainBtn.BackgroundTransparency =
settingsBtn.BackgroundTransparency =
)
settingsBtn.MouseButton1Click:(()
tabMain.Visible =
tabSettings.Visible =
settingsBtn.BackgroundTransparency =
mainBtn.BackgroundTransparency =
)
mainBtn.BackgroundTransparency =
settingsBtn.BackgroundTransparency =
flyBtn.MouseButton1Click:(()
flying = flying
flying
bodyVelocity = .()
bodyVelocity.MaxForce = .(, , )
bodyVelocity.Velocity = .(,,)
bodyVelocity.Parent = rootPart
(()
flying
moveDirection = .(,,)
camera = .CurrentCamera
camera
forward = camera.CFrame.LookVector
right = camera.CFrame.RightVector
:():(.KeyCode.W)
moveDirection = moveDirection + forward
:():(.KeyCode.S)
moveDirection = moveDirection - forward
:():(.KeyCode.A)
moveDirection = moveDirection - right
:():(.KeyCode.D)
moveDirection = moveDirection + right
:():(.KeyCode.Space)
moveDirection = moveDirection + .(,,)
:():(.KeyCode.LeftShift)
moveDirection = moveDirection - .(,,)
moveDirection.Magnitude >
moveDirection = moveDirection.Unit * flySpeed
bodyVelocity.Velocity = moveDirection
:().Heartbeat:()
bodyVelocity
bodyVelocity:()
bodyVelocity =
)
flyBtn.Text =
flyBtn.BackgroundColor3 = .(, , )
(, )
bodyVelocity
bodyVelocity:()
bodyVelocity =
flyBtn.Text =
flyBtn.BackgroundColor3 = settings.color
(, )
)
(()
statusLabel = tabMain:()
statusLabel
statusLabel.Text = flying
()
)
applyBtn.MouseButton1Click:(()
hex = colorBox.Text:(, )
#hex ==
r = (hex:(,), )
g = (hex:(,), )
b = (hex:(,), )
settings.color = .(r, g, b)
(screenGui, settings.color)
(, )
keyName = bindBox.Text:()
key = .KeyCode[keyName]
key
settings.bindKey = key
( .. keyName, )
(, )
)
:().InputBegan:((input, gameProcessed)
gameProcessed
input.KeyCode == settings.bindKey
guiVisible = guiVisible
mainFrame.Visible = guiVisible
)
.Players.PlayerAdded:(()
dropdown.Visible (dropdown)
)
.Players.PlayerRemoving:(()
dropdown.Visible (dropdown)
)
screenGui
gui = ()
player.CharacterAdded:((newChar)
character = newChar
rootPart = character:()
humanoid = character:()
flying =
bodyVelocity
bodyVelocity:()
bodyVelocity =
flyBtn = gui:(, ) gui:(, ):(, ):(, ):()
flyBtn
flyBtn.Text =
flyBtn.BackgroundColor3 = settings.color
)ai script for fly X teleport IDK

Universal