Universal Script ๐Ÿ“Œ
295 Views
603 Executions

Lzfhubbestuniv

Universal Script ๐Ÿ“Œ
halilyasarkosun
halilyasarkosunPublished 5
10 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

Uรงma noclip set speed teleport

View Raw
-- SERVICES
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

-- PLAYER
local player = Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char:WaitForChild("Humanoid")
local hrp = char:WaitForChild("HumanoidRootPart")

-- SETTINGS
local flying = false
local noclip = false
local flySpeed = 60
local walkSpeed = 16

-- SPEED
humanoid.WalkSpeed = walkSpeed

-- FLY
local bodyGyro, bodyVelocity

function startFly()
	flying = true

	bodyGyro = Instance.new("BodyGyro", hrp)
	bodyGyro.P = 9e4
	bodyGyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
	bodyGyro.cframe = hrp.CFrame

	bodyVelocity = Instance.new("BodyVelocity", hrp)
	bodyVelocity.velocity = Vector3.zero
	bodyVelocity.maxForce = Vector3.new(9e9, 9e9, 9e9)

	RunService.RenderStepped:Connect(function()
		if flying then
			bodyGyro.cframe = workspace.CurrentCamera.CFrame
			bodyVelocity.velocity = workspace.CurrentCamera.CFrame.LookVector * flySpeed
		end


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script ๐Ÿ“Œ
4.0k
26.6k
4 months ago
Script hub
1.1k
28
4 days ago
Key System
Script hub
3.5M
1.0M
1 year ago
Key System
Script hub
2.7M
643.6k
4 months ago
Key System

Script hub

#2 today

Verified script badgeFlow Hub | 35 Games | Updated