Only the main function on your lua file?
Of course it's only loadscreen appears.
You should do it's like this.
MissionSetup = function() -- basic mission setup function which is used in almost all bully scripts
local l_1_0 = 270 -- X coords
local l_1_1 = -110 -- Y coords
local l_1_2 = 6.4000000953674 -- Z coords
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
end
MissionCleanup = function()
end
main = function()
SecondPlayer = PedCreateXYZ(37,270,-110,7)
ThirdPlayer = PedCreateXYZ(23,270,-105,7)
PedSetActionTree(SecondPlayer,"/Global/P_Striker_A","Act/P_Striker_A.Act")
PedSetActionTree(ThirdPlayer,"/Global/G_Striker_A","Act/G_Striker_A.Act")
PedSetAITree(SecondPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
PedSetAITree(ThirdPlayer,"/Global/PlayerAI","Act/PlayerAI.act")
PedSetControllerID(SecondPlayer,1)
PedSetControllerID(ThirdPlayer,2)
repeat
Wait(0)
until not Alive
end