Universal Script 📌
1.1k Views
2.3k Executions

Helicopter controller move

Universal Script 📌
ggggGTIff
ggggGTIffFirst script
9 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
Dlldldmdmmdmdn9 months ago

NAHHH BRO THIS TYPA UNIVERSAL SCEIPTS ARE SO TUFFFFF🔥

1
ggggGTIff's profile picture
ggggGTIffUploader9 months ago

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

1
Idknamelol's profile picture
Idknamelol9 months ago

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

1

Tags

More universal scripts

See all
Script hub
46
64
Bumped 37 minutes ago
Key System

Script hub

Devoid Hub

Universal Script 📌
2.7M
2.4M
Bumped 47 minutes ago
Key System
Script hub
6.8k
42.1k
Bumped 2 hours ago

Script hub

TLMenu

Script hub
58
31
4 hours ago
Key System
Script hub
1.8M
460.8k
Bumped 5 hours ago
Key System

Script hub

#5 today

Verified script badgeAxonic Hub | 50+ Games Supported

Universal Script 📌
647
1.4k
Bumped 6 hours ago