Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you make a vehicle GUI? URGENT

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

1 comment

0

help!!! PLEASE

1 answer

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)

This discussion is preserved as it was. New answers, comments, and votes are closed.