Sorry, the mod has failed. Error:
pcall failure in function Client_PresentMenuUI ret=2 [string "require('History');
..."]:24: attempt to index a nil value (field 'Us')
I recommend something like this at the beginning of present menu
--If a spectator, just alert
if (game.Us == nil) then
UI.Alert("You can't do anything as a spectator");
return;
else
Sorry, the mod has failed. Error: pcall failure in function Client_PresentMenuUI ret=2 [string "require('History'); ..."]:24: attempt to index a nil value (field 'Us')
I recommend something like this at the beginning of present menu --If a spectator, just alert if (game.Us == nil) then UI.Alert("You can't do anything as a spectator"); return; else