
959 Views
1.4k Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
do script cũ gây ra việc fly bị mất trục nên fix
-- MOBILE JOYSTICK 8 HƯỚNG
-- MAX SPEED + DEADZONE UI
-- FIX FLY (KHÔNG CHẶN BAY LÊN/XUỐNG)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")
local player = Players.LocalPlayer
local camera = Workspace.CurrentCamera
-------------------------------------------------
-- DEADZONE
-------------------------------------------------
local DEADZONE = 0.08
-------------------------------------------------
-- UI (DRAGGABLE)
-------------------------------------------------
local gui = Instance.new("ScreenGui")
gui.Name = "DeadzoneUI"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.fromOffset(220, 120)
frame.Position = UDim2.fromScale(0.05, 0.6)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.BackgroundTransparency = 0.05
frame.BorderSizePixel = 0
frame.Parent = gui
frame.Active = true
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 14)
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 32)
title.BackgroundTransparency = 1
title.Text = "Deadzone Setting"
title.TextColor3 = Color3.new(1,1,1)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








