I am doing a AGT (advanced GUI train) and i need help to make a gui that controls it!
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)