Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
Workspace = :()
TweenService = :()
HttpService = :()
PAGE =
CONFIG =
defaults = {
push = ,
spin = ,
= ,
smoke = ,
key = ,
menu = ,
}
settings = .(defaults)
saveQueued =
()
writefile saveQueued
saveQueued =
.(, ()
saveQueued =
(writefile, CONFIG, HttpService:(settings))
)
isfile readfile
(()
(CONFIG)
saved = HttpService:((CONFIG))
name, value (defaults)
(saved[name]) == (value)
settings[name] = saved[name]
)
liftKey = .KeyCode[settings.key] .KeyCode.LeftAlt
menuKey = .KeyCode[settings.menu] .KeyCode.Zero
GRAVITY = Workspace.Gravity
CF_SPEED =
SPLASH_RANGE =
FADE_TIME =
GROUND_PROBE =
TEXTURE =
altDown = UserInputService:(liftKey)
rig =
spinTime =
spinLastCF =
airTime =
pendingKey =
connections = {}
stale = Workspace:()
stale
stale:()
(signal, handler)
.(connections, signal:(handler))
()
character = Players.LocalPlayer.Character
humanoid = character character:()
seat = humanoid humanoid.SeatPart
seat (seat:() seat:())
seat.AssemblyRootPart seat
root = character character:()
root
ok, parts = (()
root:()
)
ok parts
_, part (parts)
part:(character)
part.AssemblyRootPart part
(key)
UserInputService:(key)
sizeRoot, sizeVec = ,
filterRoot, filterParams = ,
(root)
sizeRoot == root sizeVec
sizeVec
size = root.Size
model = root:()
model
ok, _, box = (()
model:()
)
ok box box.Magnitude < root.Size.Magnitude *
size = box
sizeRoot, sizeVec = root, size
size
(root)
filterParams filterRoot == root
filterParams
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
params.RespectCanCollide =
ignore = {}
character = Players.LocalPlayer.Character
model = root:()
character
.(ignore, character)
model
.(ignore, model)
ok, connected = (()
root:()
)
ok connected
_, part (connected)
.(ignore, part)
.(ignore, root)
params.FilterDescendantsInstances = ignore
filterRoot, filterParams = root, params
params
(root)
cf = root.CFrame
size = (root)
halfY = (.(cf.RightVector.Y) * size.X
+ .(cf.UpVector.Y) * size.Y
+ .(cf.LookVector.Y) * size.Z) *
origin = .(cf.Position.X, cf.Position.Y - halfY + , cf.Position.Z)
Workspace:(origin, .(, -GROUND_PROBE, ), (root)) ~=
(a, b)
trace = a.RightVector:(b.RightVector)
+ a.UpVector:(b.UpVector)
+ a.LookVector:(b.LookVector)
.(.((trace - ) * , -, ))
(parent)
emitter = .()
emitter.Texture = TEXTURE
emitter.Color = ColorSequence.(.(, , ))
emitter.LightEmission =
emitter.LightInfluence =
emitter.Parent = parent
emitter
()
rig
visuals = rig.visuals
force = rig.force
rig =
force:()
_, object (visuals)
object:()
object.Enabled =
.(FADE_TIME, ()
_, object (visuals)
object:()
)
(root)
visuals = {}
force = .()
force.RelativeTo = .ActuatorRelativeTo.World
force.ApplyAtCenterOfMass =
force.Force = .(, root.AssemblyMass * GRAVITY, )
+ root.CFrame.UpVector * (root.AssemblyMass * settings.push)
force.Parent = root
params = (root)
jets, splashes = {}, {}
rates = {}
(emitter, base)
emitter.Rate = base * settings.smoke
.(rates, { emitter = emitter, base = base })
x, y, z = root.Size.X * , -root.Size.Y * , root.Size.Z *
corners = {
.(-x, y, -z), .(x, y, -z),
.(-x, y, z), .(x, y, z),
}
_, position (corners)
attachment = .()
attachment.Position = position
attachment.Parent = root
.(jets, attachment)
jet = (attachment)
jet.EmissionDirection = .NormalId.Bottom
jet.Lifetime = NumberRange.(, )
(jet, )
jet.Speed = NumberRange.(, )
jet.SpreadAngle = .(, )
jet.Size = NumberSequence.({
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
})
jet.Transparency = NumberSequence.({
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
})
jet.Acceleration = .(, -, )
.(visuals, jet)
splashAttachment = .()
splashAttachment.Parent = root
.(visuals, splashAttachment)
splash = (splashAttachment)
splash.Enabled =
splash.EmissionDirection = .NormalId.Top
splash.Lifetime = NumberRange.(, )
(splash, )
splash.Speed = NumberRange.(, )
splash.SpreadAngle = .(, )
splash.Drag =
splash.Size = NumberSequence.({
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
})
splash.Transparency = NumberSequence.({
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
})
splash.Acceleration = .(, -, )
.(visuals, splash)
.(splashes, { attachment = splashAttachment, emitter = splash })
rcs = {}
(position, direction)
attachment = .()
attachment.Position = position
attachment.Parent = root
.(visuals, attachment)
jet = (attachment)
jet.Enabled =
jet.EmissionDirection = direction
jet.Lifetime = NumberRange.(, )
(jet, )
jet.Speed = NumberRange.(, )
jet.SpreadAngle = .(, )
jet.Size = NumberSequence.({
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
})
jet.Transparency = NumberSequence.({
NumberSequenceKeypoint.(, ),
NumberSequenceKeypoint.(, ),
})
jet.Acceleration = .(, -, )
.(visuals, jet)
jet
rcs.front = (.(, , -root.Size.Z * - ), .NormalId.Front)
rcs.back = (.(, , root.Size.Z * + ), .NormalId.Back)
rcs.left = (.(-root.Size.X * - , , ), .NormalId.Left)
rcs.right = (.(root.Size.X * + , , ), .NormalId.Right)
rigData = {
root = root,
force = force,
visuals = visuals,
jets = jets,
splashes = splashes,
rcs = rcs,
rates = rates,
params = params,
mode = ,
started = .(),
startPos = root.Position,
}
rig = rigData
()
rig
_, item (rig.rates)
item.emitter.Rate = item.base * settings.smoke
WHITE = .(, , )
DIM = .(, , )
INK = .(, , )
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.IgnoreGuiInset =
gui.DisplayOrder =
gui.Parent = Players.LocalPlayer:()
scrim = .()
scrim.Size = .(, )
scrim.BackgroundColor3 = .(, , )
scrim.BackgroundTransparency =
scrim.Text =
scrim.AutoButtonColor =
scrim.Visible =
scrim.ZIndex =
scrim.Parent = gui
(object, time, goals, style)
info = TweenInfo.(time , style .EasingStyle.Quad, .EasingDirection.Out)
tween = TweenService:(object, info, goals)
tween:()
tween
(object, radius)
corner = .()
corner.CornerRadius = .(, radius )
corner.Parent = object
object
(object, alpha)
stroke = .()
stroke.Color = WHITE
stroke.Thickness =
stroke.Transparency = alpha
stroke.Parent = object
stroke
(parent, value, size, color, weight)
label = .()
label.BackgroundTransparency =
label.Text = value
label.TextSize = size
label.TextColor3 = color WHITE
label.Font = weight .Font.GothamMedium
label.TextXAlignment = .TextXAlignment.Left
label.Parent = parent
label
(button, grow)
scale = .()
scale.Parent = button
button.MouseEnter:(()
(scale, , { Scale = grow })
)
button.MouseLeave:(()
(scale, , { Scale = })
)
button.MouseButton1Down:(()
(scale, , { Scale = (grow ) * })
)
button.MouseButton1Up:(()
(scale, , { Scale = grow }, .EasingStyle.Back)
)
scale
panel = .()
panel.AnchorPoint = .(, )
panel.Position = .(, , , )
panel.Size = .(, )
panel.AutomaticSize = .AutomaticSize.Y
panel.BackgroundColor3 = INK
panel.BackgroundTransparency =
panel.BorderSizePixel =
panel.Visible =
panel.ZIndex =
(panel, )
(panel, )
panel.Parent = gui
panelScale = .()
panelScale.Scale =
panelScale.Parent = panel
edge = .()
edge.PaddingTop = .(, )
edge.PaddingBottom = .(, )
edge.PaddingLeft = .(, )
edge.PaddingRight = .(, )
edge.Parent = panel
stack = .()
stack.Padding = .(, )
stack.SortOrder = .SortOrder.LayoutOrder
stack.Parent = panel
header = .()
header.BackgroundTransparency =
header.Size = .(, , , )
header.LayoutOrder =
header.Parent = panel
tabs = .()
tabs.FillDirection = .FillDirection.Horizontal
tabs.HorizontalAlignment = .HorizontalAlignment.Center
tabs.VerticalAlignment = .VerticalAlignment.Center
tabs.Padding = .(, )
tabs.Parent = header
(parent, color)
holder = .()
holder.Size = .(, )
holder.Position = .(, , , )
holder.AnchorPoint = .(, )
holder.BackgroundTransparency =
holder.Parent = parent
roof = .()
roof.Size = .(, )
roof.AnchorPoint = .(, )
roof.Position = .(, , , )
roof.Rotation =
roof.BackgroundColor3 = color
roof.BorderSizePixel =
(roof, )
roof.Parent = holder
body = .()
body.Size = .(, )
body.AnchorPoint = .(, )
body.Position = .(, , , )
body.BackgroundColor3 = color
body.BorderSizePixel =
(body, )
body.Parent = holder
{ roof, body }
(parent, color)
holder = .()
holder.Size = .(, )
holder.Position = .(, , , )
holder.AnchorPoint = .(, )
holder.BackgroundTransparency =
holder.Parent = parent
parts = {}
row = ,
line = .()
line.Size = .(, )
line.Position = .(, + row * )
line.BackgroundColor3 = color
line.BorderSizePixel =
line.Parent = holder
knob = .()
knob.Size = .(, )
knob.AnchorPoint = .(, )
knob.Position = .(row == , + row * )
knob.BackgroundColor3 = color
knob.BorderSizePixel =
(knob, )
knob.Parent = holder
.(parts, line)
.(parts, knob)
parts
(name, order, build)
button = .()
button.Size = .(, )
button.BackgroundColor3 = WHITE
button.BackgroundTransparency =
button.Text =
button.AutoButtonColor =
button.LayoutOrder = order
button.Parent = header
(button, )
(button, )
icon = (button, WHITE)
caption = (button, name, , DIM)
caption.Position = .(, )
caption.Size = .(, -, , )
{ button = button, icon = icon, caption = caption, name = name }
homeTab = (, , homeIcon)
settingsTab = (, , settingsIcon)
(order)
frame = .()
frame.BackgroundTransparency =
frame.Size = .(, , , )
frame.AutomaticSize = .AutomaticSize.Y
frame.LayoutOrder = order
frame.Parent = panel
layout = .()
layout.Padding = .(, )
layout.SortOrder = .SortOrder.LayoutOrder
layout.Parent = frame
frame
pageHome = ()
pageSettings = ()
drag =
(parent, order, name, min, max, step, current, fmt, apply)
row = .()
row.BackgroundTransparency =
row.Size = .(, , , )
row.LayoutOrder = order
row.Parent = parent
title = (row, name, , WHITE)
title.Size = .(, -, , )
value = (row, , , WHITE, .Font.GothamBold)
value.Size = .(, )
value.Position = .(, -, , )
value.TextXAlignment = .TextXAlignment.Right
track = .()
track.Size = .(, , , )
track.Position = .(, )
track.BackgroundColor3 = WHITE
track.BackgroundTransparency =
track.BorderSizePixel =
track.Parent = row
(track, )
fill = .()
fill.Size = .(, , , )
fill.BackgroundColor3 = WHITE
fill.BorderSizePixel =
fill.Parent = track
(fill, )
knob = .()
knob.Size = .(, )
knob.AnchorPoint = .(, )
knob.Position = .(, , , )
knob.BackgroundColor3 = WHITE
knob.BorderSizePixel =
knob.Parent = track
(knob, )
knobScale = .()
knobScale.Parent = knob
hit = .()
hit.Text =
hit.AutoButtonColor =
hit.BackgroundTransparency =
hit.Size = .(, , , )
hit.Position = .(, -, , )
hit.Parent = row
hit.MouseEnter:(()
(knobScale, , { Scale = })
)
hit.MouseLeave:(()
(knobScale, , { Scale = })
)
(number)
alpha = .((number - min) / (max - min), , )
fill.Size = .(alpha, , , )
knob.Position = .(alpha, , , )
value.Text = (number)
(input)
width = .(track.AbsoluteSize.X, )
alpha = .((input.Position.X - track.AbsolutePosition.X) / width, , )
number = .(.((min + alpha * (max - min)) / step + ) * step, min, max)
(number)
(number)
hit.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
drag = move
(input)
(knobScale, , { Scale = })
)
hit.MouseButton1Up:(()
(knobScale, , { Scale = }, .EasingStyle.Back)
)
(())
show
pushSlider = (pageHome, , , , , ,
() settings.push ,
(number) .(, .(number + )) ,
(number)
settings.push = number
()
)
spinSlider = (pageHome, , , , , ,
() settings.spin ,
(number) .(, number) ,
(number)
settings.spin = number
()
)
delaySlider = (pageHome, , , , , ,
() settings.delay ,
(number) .(, .(number * + )) ,
(number)
settings.delay = number
()
)
smokeSlider = (pageHome, , , , , ,
() settings.smoke ,
(number) .(, .(number * + )) ,
(number)
settings.smoke = number
()
()
)
(parent, order, name, slot)
row = .()
row.BackgroundTransparency =
row.Size = .(, , , )
row.LayoutOrder = order
row.Parent = parent
title = (row, name, , WHITE)
title.Size = .(, -, , )
button = .()
button.Size = .(, )
button.Position = .(, -, , )
button.BackgroundColor3 = WHITE
button.BackgroundTransparency =
button.Text =
button.TextColor3 = WHITE
button.TextSize =
button.Font = .Font.GothamBold
button.AutoButtonColor =
button.Parent = row
(button, )
(button, )
(button, )
button.MouseEnter:(()
(button, , { BackgroundTransparency = })
)
button.MouseLeave:(()
(button, , { BackgroundTransparency = })
)
button.MouseButton1Click:(()
pendingKey = slot
button.Text =
button.TextColor3 = DIM
)
button
liftButton = (pageSettings, , , )
menuButton = (pageSettings, , , )
(name)
rest = name:() name:()
name:(, ) == rest
.. rest
rest name
()
liftButton.Text = (settings.key)
liftButton.TextColor3 = WHITE
menuButton.Text = (settings.menu)
menuButton.TextColor3 = WHITE
()
resetButton = .()
resetButton.Size = .(, , , )
resetButton.BackgroundColor3 = WHITE
resetButton.BackgroundTransparency =
resetButton.Text =
resetButton.TextColor3 = WHITE
resetButton.TextSize =
resetButton.Font = .Font.GothamMedium
resetButton.AutoButtonColor =
resetButton.LayoutOrder =
resetButton.Parent = pageSettings
(resetButton, )
(resetButton, )
(resetButton, )
resetButton.MouseEnter:(()
(resetButton, , { BackgroundTransparency = })
)
resetButton.MouseLeave:(()
(resetButton, , { BackgroundTransparency = })
)
resetButton.MouseButton1Click:(()
settings.push = defaults.push
settings.spin = defaults.spin
settings.delay = defaults.delay
settings.smoke = defaults.smoke
settings.key = defaults.key
settings.menu = defaults.menu
liftKey = .KeyCode[settings.key] .KeyCode.LeftAlt
menuKey = .KeyCode[settings.menu] .KeyCode.Zero
altDown = UserInputService:(liftKey)
pendingKey =
(settings.push)
(settings.spin)
(settings.delay)
(settings.smoke)
()
()
()
)
divider = .()
divider.Size = .(, , , )
divider.BackgroundColor3 = WHITE
divider.BackgroundTransparency =
divider.BorderSizePixel =
divider.LayoutOrder =
divider.Parent = pageSettings
credit = (pageSettings, , , DIM)
credit.Size = .(, , , )
credit.LayoutOrder =
copyButton = .()
copyButton.Size = .(, , , )
copyButton.BackgroundColor3 = WHITE
copyButton.Text =
copyButton.TextColor3 = INK
copyButton.TextSize =
copyButton.Font = .Font.GothamBold
copyButton.AutoButtonColor =
copyButton.LayoutOrder =
copyButton.Parent = pageSettings
(copyButton, )
(copyButton, )
copyButton.MouseEnter:(()
(copyButton, , { BackgroundColor3 = .(, , ) })
)
copyButton.MouseLeave:(()
(copyButton, , { BackgroundColor3 = WHITE })
)
toast = .()
toast.AnchorPoint = .(, )
toast.Position = .(, -, , )
toast.Size = .(, )
toast.BackgroundColor3 = INK
toast.BackgroundTransparency =
toast.BorderSizePixel =
toast.GroupTransparency =
toast.Visible =
toast.ZIndex =
toast.Parent = gui
(toast, )
(toast, )
toastTitle = (toast, , , WHITE, .Font.GothamBold)
toastTitle.Position = .(, )
toastTitle.Size = .(, -, , )
toastLink = (toast, PAGE, , DIM)
toastLink.Position = .(, )
toastLink.Size = .(, -, , )
toastLink.TextTruncate = .TextTruncate.AtEnd
toastId =
()
(()
setclipboard
(PAGE)
toclipboard
(PAGE)
)
toastId = toastId +
id = toastId
toast.Visible =
toast.Position = .(, -, , )
(toast, , { GroupTransparency = , Position = .(, -, , ) })
.(, ()
toastId ~= id
(toast, , { GroupTransparency = , Position = .(, -, , ) })
.(, ()
toastId == id
toast.Visible =
)
)
copyButton.MouseButton1Click:(copyPage)
(which)
_, item ({ homeTab, settingsTab })
on = item.name == which
(item.button, , { BackgroundTransparency = on })
(item.caption, , { TextColor3 = on INK DIM })
_, part (item.icon)
(part, , { BackgroundColor3 = on INK WHITE })
pageHome.Parent = which == panel
pageSettings.Parent = which == panel
homeTab.button.MouseButton1Click:(()
()
)
settingsTab.button.MouseButton1Click:(()
()
)
()
menuId =
()
menuId = menuId +
id = menuId
panel.Visible
(panelScale, , { Scale = })
(panel, , { Position = .(, , , ) })
(scrim, , { BackgroundTransparency = })
.(, ()
menuId == id
panel.Visible =
scrim.Visible =
)
pendingKey =
drag =
()
panel.Visible =
panelScale.Scale =
panel.Position = .(, , , )
scrim.Visible =
scrim.BackgroundTransparency =
(scrim, , { BackgroundTransparency = })
(panelScale, , { Scale = }, .EasingStyle.Back)
(panel, , { Position = .(, , , ) })
(UserInputService.InputBegan, (input, gameProcessed)
pendingKey
slot = pendingKey
pendingKey =
code = input.KeyCode
code ~= .KeyCode.Unknown
slot ==
liftKey = code
settings.key = code.Name
altDown = UserInputService:(code)
menuKey = code
settings.menu = code.Name
()
()
input.KeyCode == menuKey
gameProcessed
()
input.KeyCode == liftKey
altDown =
)
(UserInputService.InputChanged, (input)
drag (input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch)
(input)
)
(UserInputService.InputEnded, (input)
input.KeyCode == liftKey
altDown =
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
drag =
)
(UserInputService.WindowFocusReleased, ()
altDown =
pendingKey =
drag =
)
(RunService.Stepped, (_, dt)
dt = .(dt, )
root = ()
root root.Parent
()
onGround = (root)
altDown onGround
airTime = airTime + dt
airTime =
armed = altDown onGround airTime >= settings.delay
axis =
pitch =
roll =
armed
(.KeyCode.S) pitch = pitch +
(.KeyCode.W) pitch = pitch -
(.KeyCode.D) roll = roll +
(.KeyCode.A) roll = roll -
pitch ~= roll ~=
direction = root.CFrame.RightVector * pitch + root.CFrame.LookVector * roll
direction.Magnitude >
axis = direction.Unit
rig rig.rcs
rig.rcs.front.Enabled = armed pitch <
rig.rcs.back.Enabled = armed pitch >
rig.rcs.left.Enabled = armed roll <
rig.rcs.right.Enabled = armed roll >
spin =
axis
cap = settings.spin
spinTime = spinTime + dt
spin = .(cap, spinTime * .(cap * , ))
spinTime =
altDown
rig rig.root ~= root
()
(root)
rig.mode ==
mass = root.AssemblyMass
up = root.CFrame.UpVector
push = settings.push
maxUp = push *
rig.force.Force = .(, mass * GRAVITY, ) + up * (mass * push)
velocity = root.AssemblyLinearVelocity
+ .(, GRAVITY * dt, )
+ up * (push * dt)
along = velocity:(up)
along > maxUp
velocity = velocity - up * (along - maxUp)
root.AssemblyLinearVelocity = velocity
axis
root.AssemblyAngularVelocity = root.AssemblyAngularVelocity * .(- * dt)
.() - rig.started > (root.Position - rig.startPos).Magnitude <
root.AssemblyLinearVelocity = .zero
rig.mode =
root.CFrame = root.CFrame + root.CFrame.UpVector * (CF_SPEED * settings.push / * dt)
root.AssemblyLinearVelocity = .zero
axis
root.AssemblyAngularVelocity = .zero
index, splash (rig.splashes)
jet = rig.jets[index]
hit = Workspace:(jet.WorldPosition, .(, -SPLASH_RANGE, ), rig.params)
hit
point = hit.Position + hit.Normal *
splash.attachment.Position = root.CFrame:(point)
splash.emitter.Enabled =
splash.emitter.Enabled =
()
axis
current = root.AssemblyAngularVelocity
along = current:(axis)
along < spin
root.AssemblyAngularVelocity = current + axis * (spin - along)
expected = spin * dt
moved = expected
spinLastCF
moved = (spinLastCF, root.CFrame)
moved < expected *
position = root.CFrame.Position
root.CFrame = (.(axis, expected - moved) * root.CFrame.Rotation) + position
spinLastCF = root.CFrame
spinLastCF =
)
runtime = .()
runtime.Name =
runtime.Destroying:(()
_, connection (connections)
connection:()
connections = {}
altDown =
()
gui:()
)
runtime.Parent = Workspacetryes to implement teslas new flying car logic to any other car keep in mind some games have different and custom cars physics thats can conflict with this one its just a fun script made by soynd

Universal