I want a GUI to appear onTouch (I know the function) and when you press a certain key on your keyboard, something happens next. I don't know how to do this.
Like some text but not a print.
Like for example:
____________________________
| Hello my name is (insert |
|name here) |
------------------------------
player=game.Players.LocalPlayer
mouse=player:GetMouse()
mouse.KeyDown:connect(function(key)
key=key:lower()
if key=="r" then
print("Hello "..player.Name..", you pressed 'r'")
end
end)