Run it
Copy the script and paste it into your executor.
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")
local flying = false
local function onKeyPress(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.E then
flying = not flying
if flying then
humanoid.PlatformStand =
humanoid:(.HumanoidStateType.Physics)
humanoid.PlatformStand =
humanoid:(.HumanoidStateType.GettingUp)
()
flying
mouse = player:()
targetPosition = mouse.Hit.p
rootPart.CFrame = .(rootPart.Position, targetPosition)
rootPart.Velocity = (targetPosition - rootPart.Position).unit *
UserInputService.InputBegan:(onKeyPress)
RunService.RenderStepped:(followMouse)
follows your mouse toggible by E

Universal