Modme Forums

Shoot Object for money Script

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: SKALV
Can Someone Help me with a script where i shoot a model and i get points And Makes A Noise


ModmeBot:

Reply By: TrueGamerCalls

You can change the "1000" to any score you want, or change the "+" to a "-" to minus points

// Put in main
thread moneyscript();

// Put at the bottom of GSC
function moneyscript()
{
 shoot = GetEnt("shoot", "targetname");
 shootm = GetEnt("shootm", "targetname");
 shoot waittill( "trigger", player );
 player PlaySound("insertsoundalies");
 player.score += 1000;
 shoot Delete();
 shootm Delete();
}

// Put a trigger damage over the model you want to use, and put the targetname "shoot" and put the model as a script model, then give it a targetname of "shootm"


ModmeBot:

Reply By: SKALV

TrueGamerCalls
You can change the "1000" to any score you want, or change the "+" to a "-" to minus points // Put in main thread moneyscript(); // Put at the bottom of GSC function moneyscript() { shoot = GetEnt("shoot", "targetname"); shootm = GetEnt("shootm", "targetname"); shoot waittill( "trigger", player ); player PlaySound("insertsoundalies"); player.score += 1000; shoot Delete(); shootm Delete(); } // Put a trigger damage over the model you want to use, and put the targetname "shoot" and put the model as a script model, then give it a targetname of "shootm"

thank you