Universal Script 📌
1.6k Views
159 Executions
Key System

Joystick mobile hub

Universal Script 📌
EujogadordeRoblox
EujogadordeRoblox10K 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

Joystick mobile hub

View Raw
-- 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


Comments

1
Log in to join the conversation. Login
progamer05940's profile picture
progamer059401 year ago

How to use ir

1

More universal scripts

See all
Universal Script 📌
673
855
Bumped 11 minutes ago
Universal Script 📌
816
2.8k
Bumped 12 minutes ago
Script hub
7.7k
40.2k
Bumped 16 minutes ago
Script hub
47.5k
173.4k
Bumped 56 minutes ago
Key System

Script hub

#4 this month

Verified script badgeArcane Hub | 125+ Games & 4000+ Features

Script hub
173.1k
1.5M
Bumped 2 hours ago
Key System