hallo, i have a custom chatbox and im encountering a bug where certain players (of my two non american testers, both had this issue) where their textbox doesnt update visually; but does update in the script and fires it to the server
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local GUI = script.Parent
local entryBox = GUI.Frame.Entry
local open = false
local function Appear()
game:GetService("TweenService"):Create(GUI,TweenInfo.new(.2),{GroupTransparency = 0}):Play()
open = true
entryBox.Interactable = true
task.wait(0.01)
entryBox:CaptureFocus()
end
local function Send()
local message = entryBox.Text
if message == "" then return end
chatEvent:FireServer(message)
entryBox.Text = ""
end
entryBox.FocusLost:Connect(function()
game:GetService("TweenService"):Create(GUI,TweenInfo.new(.2),{GroupTransparency = 1}):Play()
entryBox.Interactable = false
task.wait(.1)
open = false
end)
UIS.InputBegan:Connect(function(input, isTyping)
if input.KeyCode == Enum.KeyCode.Return and open == true then
Send()
elseif input.KeyCode == Enum.KeyCode.Slash and not isTyping and open == false then
Appear()
end
end)
if anyone knows any fixes; could you please help? ive been trying to figure out why this occurs. when my testers press f9, they dont see any errors relating to it, and the getpropertychangedsignal works fine in f9