Universal Script 📌
1.1k Views
1.9k Executions

Helicopter controller move

Universal Script 📌
ggggGTIff
ggggGTIffFirst script
8 months 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

Are you here because some. Does the game need a computer to control the helicopter and feel troubled? Or is it a car? I made a special one to control the helicopter. He is open source. If you need more keys, you can add them yourself. Or improve it yourself. Should run on most actuators.He supports long press.There is no virus in this, it is completely open source. You can check it yourself.Hope you have a good time.

View Raw
local VIM = game:GetService("VirtualInputManager")
local cam = workspace.CurrentCamera

local sW = cam.ViewportSize.X
local sH = cam.ViewportSize.Y
local pad = 25
local keySize = 70
local funcSizeW = 80
local funcSizeH = 40

local SG = Instance.new("ScreenGui")
SG.Parent = game.CoreGui

local function makeBtn(name, keyCode, x, y, w, h)
    local btn = Instance.new("TextButton")
    btn.Parent = SG
    btn.Text = name
    btn.Size = UDim2.new(0, w, 0, h)
    btn.Position = UDim2.new(0, x, 0, y)
    btn.BackgroundColor3 = Color3.fromRGB(40,40,40)
    btn.TextColor3 = Color3.new(1,1,1)
    btn.TextSize = 18
    btn.BorderSizePixel = 0
    btn.AutoButtonColor = true

    local holding = false

    btn.MouseButton1Down:Connect(function()
        holding = true
        spawn(function()
            while holding do
                VIM:SendKeyEvent(true, keyCode, false, game)
                wait(0.03)
            end
            VIM:SendKeyEvent(false, keyCode, false, game)
        end)
    end)

    btn.MouseButton1Up:Connect(function() holding = false end)
    btn.MouseLeave:Connect(function() holding = false end)


Comments

3
Log in to join the conversation. Login
Dlldldmdmmdmdn's profile picture
Dlldldmdmmdmdn8 months ago

NAHHH BRO THIS TYPA UNIVERSAL SCEIPTS ARE SO TUFFFFF🔥

1
ggggGTIff's profile picture
ggggGTIffUploader8 months ago

I'm not good at English.😭😭😭😭

1
Idknamelol's profile picture
Idknamelol8 months ago

@ggggGTIff Why don't you speak English or are you just Russian?

1

Tags

More universal scripts

See all
Script hub
98
7
Approved 3 hours ago
Key System

Script hub

Plutonium

Script hub
120
14
5 hours ago