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

Test if a player presses Enter?

1 answer

Use key:byte()

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

mouse.KeyDown:connect(function(key)
if key:byte() == 13 then --the code for enter is 13
--Advance the text
end
end)

2 comments

0

I'll try this in a bit

0

Didn't work... I'll instead use a TextButton

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