Hello, for my typing game every time you were to type a period it would pop up the Emote Wheel which is not very convenient. Is there any way to disable it?
This is what I mean
Hello, for my typing game every time you were to type a period it would pop up the Emote Wheel which is not very convenient. Is there any way to disable it?
This is what I mean
As I have looked in the Roblox documentation, I don’t really see a way to “disable” the Emotes UI. But you could just make the period its own UserInputService so it doesn’t interfere with anything, like this code:
local UserInputService = game:GetService("UserInputService")
local isTyping = false
local function enableTypingMode()
isTyping = true
end
local function disableTypingMode()
isTyping = false
end
UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if gameProcessedEvent then return end -- If the game has already processed the input, skip
if input.KeyCode == Enum.KeyCode.Period then
if isTyping then
print("Typing mode is active. Emote Wheel disabled.")
return true -- Indicate that the input has been handled
end
-- Additional logic here if needed when not typing
end
end)
I hope this Helped!
To disable it, use StarterGui:SetCoreGuiEnabled()
. Check this link for details: Roblox Emotes Documentation.
I have tried that but it doesn’t seem to work. Any other solutions?
To diagnose why it’s not working, we first need to determine the type of script and its location:
Knowing these details will help us pinpoint potential issues more effectively.
I added it as a local script inside of StarterPlayerScripts.