Universal Script πŸ“Œ
1.1k Views
63 Executions

Fly script

Universal Script πŸ“Œ
scripttester191
scripttester19110K executions
1 year 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*e1 year ago

not working

1
scripttester191's profile picture
scripttester191Uploader1 year ago

@trok*e its working js press e tho

1

More universal scripts

See all
Script hub
181
990
Bumped 2 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 2 hours ago
Key System
Script hub
10.6k
201.0k
Bumped 2 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.8k
Bumped 5 hours ago
Script hub
23.7k
5.3k
Bumped 5 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
347
1.2k
Bumped 6 hours ago