Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make a vehicle GUI? URGENT

Asked by 10 years ago

I am doing a AGT (advanced GUI train) and i need help to make a gui that controls it!

0
help!!! PLEASE RobskiT 5 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

You could use the GetMouse() method, it simply acts like a mouse from tools and hopperbins.

If you need an example;

-- Must be in local script
p = game.Players.LocalPlayer
mouse = p:GetMouse()

mouse.KeyDown:connect(function(key)
    if key=='w' then
        print 'forward'
    end
end)
Ad

Answer this question