--BROUGHT TO YOU BY RobloxScripter.com!--
function getfirstword(answer)
local sentence = ""
for i,v in answer:gmatch(".") do
if i == "," then break end
sentence = sentence .. i
end
return sentence
end
game:GetService("ReplicatedStorage").HintAnswer:GetPropertyChangedSignal("Value"):Connect(function(v)
repeat task.wait() until game:GetService("ReplicatedStorage").HintAnswer.Value ~= '' and game:GetService("ReplicatedStorage").HintAnswer.Value ~= nil
local answer = game:GetService("ReplicatedStorage").HintAnswer.Value
local s = getfirstword(answer)
task.wait(.8)
game:GetService("ReplicatedStorage").SubmittedAnswer:FireServer(s, s:len())
end)