Universal Script 📌
1.1k Views
57 Executions

Fly script

Universal Script 📌
scripttester191
scripttester19110K executions
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

E to fly

View Raw
local player = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local flying = false
local speed = 500

local HRP
local Humanoid

local move = {
	forward = false,
	back = false,
	left = false,
	right = false,
	up = false,
	down = false
}

-- Setup character
local function setupCharacter(char)
	HRP = char:WaitForChild("HumanoidRootPart")
	Humanoid = char:WaitForChild("Humanoid")
end

if player.Character then
	setupCharacter(player.Character)
end

player.CharacterAdded:Connect(function(char)
	setupCharacter(char)
end)

-- Input
UIS.InputBegan:Connect(function(input, gpe)
	if gpe then return end

	if input.KeyCode == Enum.KeyCode.E then
		flying = not flying



Comments

2
Log in to join the conversation. Login
trok*e's profile picture
trok*e11 months ago

not working

1
scripttester191's profile picture
scripttester191Uploader11 months ago

@trok*e its working js press e tho

1

More universal scripts

See all
Script hub
17.0k
88.8k
Bumped 3 hours ago
Universal Script 📌
36.5k
1.1M
Bumped 3 hours ago
Script hub
4.0M
2.0M
Bumped 3 hours ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 20+ supported Games

Script hub
287
18
10 hours ago
Key System