
14.7k Views
4.1k Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Smooth joystick -Buttons- Fly Up Down Credits to @NPCNOK, if he asks for me to take it down, I will
--// MODERN FLY UI v5.1 – WORKING
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local ContextActionService = game:GetService("ContextActionService")
local Lighting = game:GetService("Lighting")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local camera = workspace.CurrentCamera
--// STATE
local flying = false
local flySpeed = 80
local verticalSpeed = 60
local bodyGyro, bodyVelocity
--// INPUT
local joyInput = Vector2.new()
local joySmooth = Vector2.new()
local upPressed = false
local downPressed = false
--// CONSTANTS
local JOY_RADIUS = 70
local JOY_SPRING_K = 200
local JOY_DAMPING = 20
--------------------------------------------------------------------
--// 1. CREATE BLUR EFFECTS IN LIGHTING
--------------------------------------------------------------------
local blur = Instance.new("BlurEffect")
blur.Size = 0
blur.Parent = Lighting
local function setBlur(size)
blur.Size = size
end
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








