Teclado Hub
Key RequiredUniversal

Teclado Hub

Universal ScriptEujogadordeRobloxEujogadordeRoblox 1.4K views 6.6K executesUpdated Oct 31, 2025
Unrated
00
Lua Script•31 lines (1021 chars)
-- Serviços necessários
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

-- Criando a GUI do teclado
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "TecladoGUI"
screenGui.Parent = player:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 200)
frame.Position = UDim2.new(0.5, -100, 0.7, 0)
frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
frame.Active = true
frame.Draggable = true -- Permite mover o teclado
frame.Parent = screenGui

-- Função para mover o personagem
local speed = 10
local moveVector = Vector3.new(0,0,0)

local function updateMovement()
    humanoidRootPart.Velocity = Vector3.new(moveVector.X, humanoidRootPart.Velocity.Y, moveVector.Z)
end

-- Detectando teclas

Features & Information

Wow!! Teclado virtual

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts