Run it
Copy the script and paste it into your executor.
flyingSpeed =
player = .Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
camera = .Workspace.CurrentCamera
flying =
flightDirection = .()
bodyVelocity = .()
bodyVelocity.MaxForce = .(, , )
bodyVelocity.P =
screenGui = .(, player:())
screenGui.Name =
flyButton = .(, screenGui)
flyButton.Name =
flyButton.Text =
flyButton.Size = .(, , , )
flyButton.Position = .(, , , )
flyButton.BackgroundColor3 = .(, , )
flyButton.TextColor3 = .(, , )
unflyButton = .(, screenGui)
unflyButton.Name =
unflyButton.Text =
unflyButton.Size = .(, , , )
unflyButton.Position = .(, , , )
unflyButton.BackgroundColor3 = .(, , )
unflyButton.TextColor3 = .(, , )
()
bodyVelocity.Parent = character.PrimaryPart
flying =
()
bodyVelocity.Parent =
flying =
()
forwardDirection = camera.CFrame.LookVector
rightDirection = camera.CFrame.RightVector
movementDirection = .()
flying
.UserInputService:(.KeyCode.W)
movementDirection = movementDirection + forwardDirection
.UserInputService:(.KeyCode.S)
movementDirection = movementDirection - forwardDirection
.UserInputService:(.KeyCode.A)
movementDirection = movementDirection - rightDirection
.UserInputService:(.KeyCode.D)
movementDirection = movementDirection + rightDirection
.UserInputService:(.KeyCode.Space)
movementDirection = movementDirection + .(, , )
.UserInputService:(.KeyCode.LeftShift)
movementDirection = movementDirection + .(, -, )
flightDirection = movementDirection.unit * flyingSpeed
bodyVelocity.Velocity = flightDirection
flyButton.MouseButton1Click:(()
()
)
unflyButton.MouseButton1Click:(()
()
)
:().RenderStepped:(updateFlightDirection)
Fly unfly. Made by chatgpt. Sry for the image there are two buttons fly unfly. And its weird ass flying so yes its weird ass