Run it
Copy the script and paste it into your executor.
-- GUI
local player = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Parent = game.CoreGui
local vim = game:GetService("VirtualInputManager")
-- desativar controles mobile
pcall(function()
game.Players.LocalPlayer.PlayerScripts:WaitForChild("PlayerModule"):WaitForChild("ControlModule"):Disable()
)
(key)
vim:(,key,,)
(key)
vim:(,key,,)
(text,posX,posY,parent)
b = .()
b.Size = .(,,,)
b.Position = .(posX,,posY,)
b.Text = text
b.TextScaled =
b.BackgroundColor3 = .(,,)
b.TextColor3 = .(,,)
b.Parent = parent
b
up = (,,,gui)
left = (,,,gui)
right = (,,,gui)
down = (,,,gui)
(button,key)
button.InputBegan:((input)
input.UserInputType == .UserInputType.Touch
(key)
)
button.InputEnded:((input)
input.UserInputType == .UserInputType.Touch
(key)
)
(up,.KeyCode.W)
(left,.KeyCode.A)
(right,.KeyCode.D)
(down,.KeyCode.S)
q = (,,,gui)
t = (,,,gui)
e = (,,,gui)
(key)
vim:(,key,,)
.()
vim:(,key,,)
q.MouseButton1Click:(()
(.KeyCode.Q)
)
t.MouseButton1Click:(()
(.KeyCode.T)
)
e.MouseButton1Click:(()
(.KeyCode.E)
)676767

Universal