Sadly, I can't test this in Studio's Play Solo, since we can not chat there.
What this code is meant to do is, if someone wants to go BRB/AFK, then they chat a certain phrase that should continuously make them jump until they say "I'm back" to stop the jumping and return them to normal.
BRBMode = false
game.Players.LocalPlayer.Chatted:connect(function(msg)
if msg == "I'll BRB" then
BRBMode = true
elseif msg == "I'm Back" then
BRBMode = false
end
end)
while BRBMode == true do --Did I do this correctly?
game.Players.LocalPlayer.Character.Humanoid.Jump = true
wait()
end

3 comments
Should work. Why don't you just test it in online mode, to see if it works for yourself?
Humanoid.J?
@Perci1, Thanks for your prediction. Sadly, all my spaces have been accumulated and there won't be enough space to publish the Alpha version on ROBLOX.