Joystick mobile hub
Key RequiredUniversal

Joystick mobile hub

Universal ScriptEujogadordeRobloxEujogadordeRoblox 1.5K views 101 executesUpdated Oct 31, 2025
Unrated
00
Lua Script•43 lines (1299 chars)
-- Analógico na tela que move o player
-- Script Local (StarterGui)

-- Cria a interface do analógico
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "AnalogicoGui"
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

local Base = Instance.new("Frame")
Base.Name = "Base"
Base.Size = UDim2.new(0, 120, 0, 120)
Base.Position = UDim2.new(0.1, 0, 0.7, 0)
Base.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
Base.BackgroundTransparency = 0.3
Base.AnchorPoint = Vector2.new(0.5, 0.5)
Base.Parent = ScreenGui

local Knob = Instance.new("Frame")
Knob.Name = "Knob"
Knob.Size = UDim2.new(0, 60, 0, 60)
Knob.Position = UDim2.new(0.5, 0, 0.5, 0)
Knob.AnchorPoint = Vector2.new(0.5, 0.5)
Knob.BackgroundColor3 = Color3.fromRGB(100, 100, 255)
Knob.BackgroundTransparency = 0.2
Knob.Parent = Base

local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local dragging = false
local moveVector = Vector3.new(0, 0, 0)
local radius = 50

local function updateMovement()
	if humanoid and character:FindFirstChild("HumanoidRootPart") then
		humanoid:Move(moveVector, true)
	end
end

--

Features & Information

Joystick mobile hub

Community Comments (1)

progamer05940progamer05940Nov 3, 2025

How to use ir

More Scripts for Universal Scripts