Third version of the script, huds not included because they're not very good. Again, I couldn't test it because I'm not familiar with FPSC's multiplayer and how it works, it definitely changes from singleplayer. Anyways, I'm not really working with FPSC at the moment as I am trying out other softwares. Best of luck on the create a class, though.
;Artificial Intelligence Script
;Header
desc = Create a class Script by Pvt_Classified based on ideas of Washburnover
;Triggers
:state=0:resetplrweapons,hudname=Create a Class Secondary,hudimage=Create a Class Secondary.tga,hudblue=255,hudred=255,hudgreen=255,hudmake=display,state=1
:state=1,scancodekeypressed=2:settargetname=millsno36,plrdisable=1,settarget,state=2
:state=1,scancodekeypressed=3:settargetname=law,plrdisable=1,settarget,state=2
:state=2:collecttarget,hudunshow=Create a Class Secondary,hudname=Create a Class Primary,hudimage=Create a Class Primary.tga,hudblue=255,hudred=255,hudgreen=255,hudmake=display,state=3
:state=3,scancodekeypressed=2:settargetname=commando,plrdisable=1,settarget,state=4
:state=3,scancodekeypressed=3:settargetname=mossberg,plrdisable=1,settarget,state=4
:state=3,scancodekeypressed=4:settargetname=minigun,plrdisable=1,settarget,state=4
:state=3,scancodekeypressed=5:settargetname=uzi,plrdisable=1,settarget,state=4
:state=4:collecttarget,hudunshow=Create a Class Primary
;End of Script
Pvt_Classified at http://assembledpirateswithblowtorches.weebly.com/