Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
Lighting = :()
player = Players.LocalPlayer
playerGui = player:()
viejo = playerGui:()
viejo viejo:()
VEL_MIN, VEL_MAX = ,
ajustes = { velVuelo = , caminar = , salto = , fov = }
tocado = { caminar = , salto = }
POS_PANEL = .(, , , -)
POS_BOTON = .(, , , -)
volando, noclip, saltoInfinito = , ,
subiendo, bajando = ,
velActual = .zero
conexionVuelo, linearVel, alignOri, attachment
posGuardada =
gravedadOriginal = .Gravity
luzOriginal = {
Brightness = Lighting.Brightness, ClockTime = Lighting.ClockTime,
FogEnd = Lighting.FogEnd, Ambient = Lighting.Ambient,
GlobalShadows = Lighting.GlobalShadows,
}
()
c = player.Character
h = c c:()
r = c c:()
c, h, r
(input)
input.UserInputType == .UserInputType.Touch
input.UserInputType == .UserInputType.MouseButton1
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.IgnoreGuiInset =
gui.DisplayOrder =
gui.ZIndexBehavior = .ZIndexBehavior.Sibling
gui.Parent = playerGui
ROJO = .(, , )
VERDE = .(, , )
GRIS = .(, , )
OSCURO = .(, , )
AZUL = .(, , )
(obj, r)
c = .()
c.CornerRadius = .(, r)
c.Parent = obj
(padre, texto, color, size)
b = .()
b.Size = size
b.BackgroundColor3 = color
b.TextColor3 = .(, , )
b.Font = .Font.GothamBold
b.TextScaled =
b.Text = texto
b.Parent = padre
lim = .()
lim.MaxTextSize =
lim.Parent = b
(b, )
b
aviso = .()
aviso.AnchorPoint = .(, )
aviso.Position = .(, , , )
aviso.Size = .(, , , )
aviso.BackgroundColor3 = OSCURO
aviso.BackgroundTransparency =
aviso.TextColor3 = .(, , )
aviso.Font = .Font.GothamBold
aviso.TextScaled =
aviso.Visible =
aviso.Parent = gui
(aviso, )
avisoId =
(texto)
avisoId +=
mi = avisoId
aviso.Text = .. texto ..
aviso.Visible =
.(, ()
mi == avisoId aviso.Visible =
)
abrir = .()
abrir.Size = .(, , , )
abrir.Position = POS_BOTON
abrir.BackgroundColor3 = OSCURO
abrir.BackgroundTransparency =
abrir.TextColor3 = .(, , )
abrir.Font = .Font.GothamBold
abrir.TextScaled =
abrir.Text =
abrir.ZIndex =
abrir.Parent = gui
(abrir, )
panel = .()
panel.Size = .(, , , )
panel.AutomaticSize = .AutomaticSize.Y
panel.Position = POS_PANEL
panel.BackgroundColor3 = OSCURO
panel.BackgroundTransparency =
panel.BorderSizePixel =
panel.Active =
panel.Visible =
panel.Parent = gui
(panel, )
pad = .()
pad.PaddingTop, pad.PaddingBottom = .(, ), .(, )
pad.PaddingLeft, pad.PaddingRight = .(, ), .(, )
pad.Parent = panel
listaPanel = .()
listaPanel.Padding = .(, )
listaPanel.SortOrder = .SortOrder.LayoutOrder
listaPanel.Parent = panel
cabecera = .()
cabecera.Size = .(, , , )
cabecera.BackgroundTransparency =
cabecera.LayoutOrder =
cabecera.Parent = panel
barra = .()
barra.Size = .(, -, , )
barra.BackgroundColor3 = .(, , )
barra.TextColor3 = .(, , )
barra.Font = .Font.GothamBold
barra.TextScaled =
barra.Text =
barra.Active =
barra.Parent = cabecera
(barra, )
limBarra = .()
limBarra.MaxTextSize =
limBarra.Parent = barra
botonCerrar = (cabecera, , ROJO, .(, , , ))
botonCerrar.Position = .(, -, , )
filaTabs = .()
filaTabs.Size = .(, , , )
filaTabs.BackgroundTransparency =
filaTabs.LayoutOrder =
filaTabs.Parent = panel
nombresTabs = { , , }
botonesTab, paginas = {}, {}
i, nombre (nombresTabs)
b = (filaTabs, nombre, GRIS, .(, , , ))
b.Position = .((i - ) * , , , )
botonesTab[i] = b
pg = .()
pg.Size = .(, , , )
pg.AutomaticSize = .AutomaticSize.Y
pg.BackgroundTransparency =
pg.LayoutOrder =
pg.Visible = (i == )
pg.Parent = panel
lp = .()
lp.Padding = .(, )
lp.SortOrder = .SortOrder.LayoutOrder
lp.Parent = pg
paginas[i] = pg
(n)
i = , #paginas
paginas[i].Visible = (i == n)
botonesTab[i].BackgroundColor3 = (i == n) AZUL GRIS
i, b (botonesTab)
b.Activated:(() (i) )
()
(boton, fn)
boton.InputBegan:((input)
(input)
activo =
input.Changed:(()
input.UserInputState == .UserInputState.End activo =
)
()
.(()
.()
activo
()
.()
)
)
(padre, nombre, valor, min, max, paso, alCambiar)
fila = .()
fila.Size = .(, , , )
fila.BackgroundTransparency =
fila.Parent = padre
menos = (fila, , GRIS, .(, , , ))
mas = (fila, , GRIS, .(, , , ))
mas.Position = .(, , , )
etiqueta = .()
etiqueta.Size = .(, , , )
etiqueta.Position = .(, , , )
etiqueta.BackgroundTransparency =
etiqueta.TextColor3 = .(, , )
etiqueta.Font = .Font.GothamBold
etiqueta.TextScaled =
etiqueta.Parent = fila
lim = .()
lim.MaxTextSize =
lim.Parent = etiqueta
() etiqueta.Text = nombre .. .. valor
(d)
valor = .(valor + d, min, max)
()
(valor)
()
(menos, () (-paso) )
(mas, () (paso) )
(padre, nombre, alCambiar)
estado =
b = (padre, nombre .. , ROJO, .(, , , ))
obj = {}
obj.(v)
estado = v
b.Text = nombre .. (v )
b.BackgroundColor3 = v VERDE ROJO
(v)
obj.() estado
b.Activated:(() obj.( estado) )
obj
(manejador, objetivo, limitar)
arrastrando, input0, inicio, posAbs = , , ,
info = { movido = }
manejador.InputBegan:((input)
(input)
arrastrando =
info.movido =
input0 = input
inicio = input.Position
posAbs = objetivo.AbsolutePosition
input.Changed:(()
input.UserInputState == .UserInputState.End arrastrando =
)
)
UserInputService.InputChanged:((input)
arrastrando (input == input0 input.UserInputType == .UserInputType.MouseMovement)
d = input.Position - inicio
d.Magnitude > info.movido =
info.movido
x, y = posAbs.X + d.X, posAbs.Y + d.Y
limitar
vp = .CurrentCamera.ViewportSize
x = .(x, , vp.X - objetivo.AbsoluteSize.X)
y = .(y, , vp.Y - objetivo.AbsoluteSize.Y)
objetivo.Position = .(x, y)
)
info
infoPanel = (barra, panel, )
infoAbrir = (abrir, abrir, )
(v)
panel.Visible = v
v
c = panel.AbsolutePosition + panel.AbsoluteSize /
vp = .CurrentCamera.ViewportSize
c.X < c.X > vp.X c.Y < c.Y > vp.Y
panel.Position = POS_PANEL
abrir.Activated:(()
infoAbrir.movido infoAbrir.movido =
( panel.Visible)
)
botonCerrar.Activated:(() () )
(texto, posY)
b = .()
b.AnchorPoint = .(, )
b.Size = .(, , , )
b.Position = .(, -, , posY)
b.BackgroundColor3 = OSCURO
b.BackgroundTransparency =
b.TextColor3 = .(, , )
b.Font = .Font.GothamBold
b.TextScaled =
b.Text = texto
b.Visible =
b.Parent = gui
(b, )
b
flotanteSubir = (, -)
flotanteBajar = (, )
(boton, setter)
boton.InputBegan:((input)
(input)
()
input.Changed:(()
input.UserInputState == .UserInputState.End ()
)
)
(flotanteSubir, (v) subiendo = v )
(flotanteBajar, (v) bajando = v )
volarToggle
()
conexionVuelo conexionVuelo:() conexionVuelo =
linearVel linearVel:() linearVel =
alignOri alignOri:() alignOri =
attachment attachment:() attachment =
velActual = .zero
()
volando =
subiendo, bajando = ,
flotanteSubir.Visible =
flotanteBajar.Visible =
()
_, humanoid = ()
humanoid humanoid.PlatformStand =
()
_, humanoid, raiz = ()
humanoid raiz humanoid.Health <=
()
volando =
flotanteSubir.Visible =
flotanteBajar.Visible =
humanoid.PlatformStand =
attachment = .()
attachment.Parent = raiz
linearVel = .()
linearVel.Attachment0 = attachment
linearVel.MaxForce = .huge
linearVel.VelocityConstraintMode = .VelocityConstraintMode.Vector
linearVel.VectorVelocity = .zero
linearVel.Parent = raiz
alignOri = .()
alignOri.Mode = .OrientationAlignmentMode.OneAttachment
alignOri.Attachment0 = attachment
alignOri.RigidityEnabled =
alignOri.MaxTorque = .huge
alignOri.Responsiveness =
alignOri.Parent = raiz
conexionVuelo = RunService.RenderStepped:((dt)
camara = .CurrentCamera
dir = humanoid.MoveDirection
objetivo = .zero
vel = ajustes.velVuelo
dir.Magnitude >
rel = camara.CFrame:(dir)
v = camara.CFrame.LookVector * -rel.Z + camara.CFrame.RightVector * rel.X
v.Magnitude >
objetivo = v.Unit * .(dir.Magnitude, ) * vel
subiendo humanoid.Jump objetivo += .yAxis * vel *
bajando objetivo -= .yAxis * vel *
velActual = velActual:(objetivo, .(dt * , , ))
linearVel.VectorVelocity = velActual
look = camara.CFrame.LookVector
yaw = .(-look.X, -look.Z)
inclinacion = .(velActual.Magnitude / .(vel, ), , ) * .()
alignOri.CFrame = .(, yaw, ) * .(-inclinacion, , )
)
volarToggle = (paginas[], , (v)
v
()
volarToggle.()
()
()
)
(paginas[], , ajustes.velVuelo, VEL_MIN, VEL_MAX, , (v)
ajustes.velVuelo = v
)
(paginas[], , (v) noclip = v )
()
_, h = ()
h
tocado.caminar h.WalkSpeed = ajustes.caminar
tocado.salto
h.UseJumpPower =
h.JumpPower = ajustes.salto
(paginas[], , ajustes.caminar, , , , (v)
ajustes.caminar = v
tocado.caminar =
()
)
(paginas[], , ajustes.salto, , , , (v)
ajustes.salto = v
tocado.salto =
()
)
(paginas[], , (v) saltoInfinito = v )
(paginas[], , (v)
.Gravity = v gravedadOriginal * gravedadOriginal
)
botonGuardar = (paginas[], , AZUL, .(, , , ))
botonIr = (paginas[], , AZUL, .(, , , ))
botonGuardar.Activated:(()
_, _, raiz = ()
raiz
posGuardada = raiz.CFrame
()
)
botonIr.Activated:(()
_, _, raiz = ()
posGuardada ()
raiz
raiz.CFrame = posGuardada
()
)
(paginas[], , ajustes.fov, , , , (v)
ajustes.fov = v
.CurrentCamera.FieldOfView = v
)
(paginas[], , (v)
v
Lighting.Brightness =
Lighting.ClockTime =
Lighting.FogEnd =
Lighting.Ambient = .(, , )
Lighting.GlobalShadows =
k, val (luzOriginal) Lighting[k] = val
)
botonCentrar = (paginas[], , GRIS, .(, , , ))
botonCentrar.Activated:(()
panel.Position = POS_PANEL
abrir.Position = POS_BOTON
)
RunService.Stepped:(()
noclip
personaje = player.Character
personaje
_, parte (personaje:())
parte:() parte.CanCollide =
)
UserInputService.JumpRequest:(()
saltoInfinito volando
_, humanoid = ()
humanoid humanoid:(.HumanoidStateType.Jumping)
)
(personaje)
volarToggle.()
humanoid = personaje:(, )
humanoid
humanoid.Died:(() volarToggle.() )
.()
()
player.CharacterAdded:(alAparecer)
player.Character .(alAparecer, player.Character)
()This script lets you fly in Roblox.

Universal