Sunday, March 1, 2009

Lotso Scripts

killer rain:
t=t+1;water(getBuddyX(), 0, 0, 0, 10000, 50, 1, false));
bowling ball cannon:
if(getMouseDown(), create("bowlball", getBuddyX(), getBuddyY(), -100, -100));
Possesed buddy:
i=i+1;say("DIE MORTALS! HAHAHAHAHAH!!",100) if(equal(i%.5, 0), addBuddyVel(randomBet(-200, 200), randomBet(-200, 200)));
blow up buddy whenever you click:
if(getMouseDown() && bnot(oMouse),explode(getBuddyX(),getBuddyY(),10)
nuclear bomb:
if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),100.0)+fire(getXMouse(),getYMouse(),0,-20,20,100,100,100,false),0);
elemental bomb:
if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),0.05)+water(getXMouse(),getYMouse(),0,-20,20,100,100,100,false),0);if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),0.05)+fire(getXMouse(),getYMouse(),0,-20,20,100,100,100,false),0);if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),0.05)+shock(getXMouse(),getYMouse(),0,-20,20,100,100,100,false)
electric chair(don't edit):if(firstRun(), resetForces());if(firstRun(), setBuddyPos(287, 100));if(firstRun(), assign(a, create("bowlball", 275, 375, 0, 0)));if(firstRun(), assign(b, create("bowlball", 275, 360, 0, 0)));if(firstRun(), assign(c, create("bowlball", 330, 375, 0, 0)));if(firstRun(), assign(d, create("bowlball", 330, 360, 0, 0)));if(firstRun(), assign(e, create("bowlball", 330, 345, 0, 0)));if(firstRun(), assign(f, create("bowlball", 275, 345, 0, 0)));if(firstRun(), addConstraint(a, getX(a), getY(a), 0));if(firstRun(), addConstraint(b, getX(b), getY(b), 0));if(firstRun(), addConstraint(c, getX(c), getY(c), 0));if(firstRun(), addConstraint(d, getX(d), getY(d), 0));if(firstRun(), addConstraint(e, getX(e), getY(e), 0));if(firstRun(), addConstraint(f, getX(f), getY(f), 0));if(firstRun(), setBuddyPos(287, 360));if(firstRun(), addConstraint("lArm", 275, 355, 0));if(firstRun(), addConstraint("rArm", 330, 355, 0));if(firstRun(), addConstraint("body", 300, 360, 0));shock(getBuddyX()+randomBet(-20, 20), getBuddyY()+randomBet(-20, 20));
constrain buddy:
addConstraint("body", getX("body"), getY("body"), 1));addConstraint("lArm", getX("lArm"), getY("lArm"), 1));addConstraint("rArm", getX("rArm"), getY("rArm"), 1));addConstraint("lLeg", getX("lLeg"), getY("lLeg"), 1));addConstraint("rLeg", getX("rLeg"), getY("rLeg"), 1));addConstraint("head", getX("head"), getY("head"), 1));
release buddy from constraint and electric chair:
releaseForces();
elemental fountain:
t=t+1;if(t%2,water(sin(t*.075)*125+275,cos(t*.052)*100+2 00,0,0,140,.075,2,2,false),0);if(t%2,fire(sin(t*.075)*125+275,cos(t*.052)*100+20 0,0,0,140,.075,2,2,false),0);if(t%2,shock(sin(t*.075)*125+275,cos(t*.052)*100+2 00,0,0,140,.075,2,2,false),0)
Super lightning(lightning follows the mouse everywhere)
t=t+1;if(t%2,water(sin(t*.075)*125+275,cos(t*.052)*100+2 00,0,0,140,.075,2,2,false),0)t=t+1if(getMouseDown() && bnot(oMouse),playSound("shock",100)+assign(rr,random()*100)+assign(n,0)+assign(t,25)+loop(t,shock(getXMouse()+sin(n/t*10+rr)*15,n/t*400)+assign(n,n+1),0);oMouse = getMouseDown()
niagra falls(very powerful):
t=t+1;if(t%2,shock(20,80,0,0,140,100),0)t=t+1;if(t%2,water(60,80,0,0,140,100),0)t=t+1;if(t%2,shock(150,80,0,0,140,100),0)t=t+1;if(t%2,water(200,80,0,0,140,100),0)t=t+1;if(t%2,shock(250,80,0,0,140,100),0)t=t+1;if(t%2,water(300,80,0,0,140,100),0)t=t+1;if(t%2,shock(350,80,0,0,140,100),0)t=t+1;if(t%2,water(400,80,0,0,140,100),0)t=t+1;if(t%2,shock(450,80,0,0,140,100),0)t=t+1;if(t%2,water(500,80,0,0,140,100),0)t=t+1;
rooms of doom(rooms with walls made of sparks):
t=t+1;if(t%2,shock(20,200,0,0,140,100),0)t=t+1;if(t%2,shock(45,200,0,0,140,100),0)t=t+1;if(t%2,shock(60,200,0,0,140,100),0)t=t+1;if(t%2,shock(85,200,0,0,140,100),0)t=t+1;if(t%2,shock(100,200,0,0,140,100),0)t=t+1;if(t%2,shock(125,200,0,0,140,100),0)t=t+1;if(t%2,shock(150,200,0,0,140,100),0)t=t+1;if(t%2,shock(175,200,0,0,140,100),0)t=t+1;if(t%2,shock(200,200,0,0,140,100),0)t=t+1;if(t%2,shock(225,200,0,0,140,100),0)t=t+1;if(t%2,shock(250,200,0,0,140,100),0)t=t+1;if(t%2,shock(250,225,0,0,140,100),0)t=t+1;if(t%2,shock(250,250,0,0,140,100),0)t=t+1;if(t%2,shock(250,275,0,0,140,100),0)t=t+1;if(t%2,shock(250,300,0,0,140,100),0)t=t+1;if(t%2,shock(250,325,0,0,140,100),0)t=t+1;if(t%2,shock(250,350,0,0,140,100),0)t=t+1;if(t%2,shock(250,375,0,0,140,100),0)t=t+1;if(t%2,shock(250,340,0,0,140,100),0)t=t+1;if(t%2,shock(275,200,0,0,140,100),0)t=t+1;if(t%2,shock(300,200,0,0,140,100),0)t=t+1;if(t%2,shock(325,200,0,0,140,100),0)t=t+1;if(t%2,shock(350,200,0,0,140,100),0)t=t+1;if(t%2,shock(375,200,0,0,140,100),0)t=t+1;if(t%2,shock(400,200,0,0,140,100),0)t=t+1;if(t%2,shock(425,200,0,0,140,100),0)t=t+1;if(t%2,shock(450,200,0,0,140,100),0)t=t+1;if(t%2,shock(475,200,0,0,140,100),0)t=t+1;if(t%2,shock(500,200,0,0,140,100),0)t=t+1;if(t%2,shock(525,200,0,0,140,100),0)t=t+1;if(t%2,shock(550,200,0,0,140,100),0)t=t+1;if(t%2,shock(575,200,0,0,140,100),0)t=t+1;
rooms of fire(same as last, but with fire for walls):
t=t+1;if(t%2,fire(20,200,0,0,5,1),0)t=t+1;if(t%2,fire(45,200,0,0,5,1),0)t=t+1;if(t%2,fire(60,200,0,0,5,1),0)t=t+1;if(t%2,fire(85,200,0,0,5,1),0)t=t+1;if(t%2,fire(100,200,0,0,5,1),0)t=t+1;if(t%2,fire(125,200,0,0,5,1),0)t=t+1;if(t%2,fire(150,200,0,0,5,1),0)t=t+1;if(t%2,fire(175,200,0,0,5,1),0)t=t+1;if(t%2,fire(200,200,0,0,5,1),0)t=t+1;if(t%2,fire(225,200,0,0,5,1),0)t=t+1;if(t%2,fire(250,200,0,0,5,1),0)t=t+1;if(t%2,fire(250,225,0,0,5,1),0)t=t+1;if(t%2,fire(250,250,0,0,5,1),0)t=t+1;if(t%2,fire(250,275,0,0,5,1),0)t=t+1;if(t%2,fire(250,300,0,0,5,1),0)t=t+1;if(t%2,fire(250,325,0,0,5,1),0)t=t+1;if(t%2,fire(250,350,0,0,5,1),0)t=t+1;if(t%2,fire(250,375,0,0,5,1),0)t=t+1;if(t%2,fire(250,340,0,0,5,1),0)t=t+1;if(t%2,fire(275,200,0,0,5,1),0)t=t+1;if(t%2,fire(300,200,0,0,5,1),0)t=t+1;if(t%2,fire(325,200,0,0,5,1),0)t=t+1;if(t%2,fire(350,200,0,0,5,1),0)t=t+1;if(t%2,fire(375,200,0,0,5,1),0)t=t+1;if(t%2,fire(400,200,0,0,5,1),0)t=t+1;if(t%2,fire(425,200,0,0,5,1),0)t=t+1;if(t%2,fire(450,200,0,0,5,1),0)t=t+1;if(t%2,fire(475,200,0,0,5,1),0)t=t+1;if(t%2,fire(500,200,0,0,5,1),0)t=t+1;if(t%2,fire(525,200,0,0,5,1),0)t=t+1;if(t%2,fire(550,200,0,0,5,1),0)t=t+1;if(t%2,fire(575,200,0,0,5,1),0)t=t+1;
great ball of fire(moltovs hit the buddy from all directions[may slow your computer down a bit]):
if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 0, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, 0));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 0, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, 0));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 0, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, 0));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 0, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, 0));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 0, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, 0));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 0, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, 0));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 0, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, 0));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 0, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, 0));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, 20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), -20, -20));if(getMouseDown(), create("molotov", getBuddyX(), getBuddyY(), 20, 20));
hell(you figure it out):
fire(50, 380, 0, 0, 50, 4.0);fire(100, 380, 0, 0, 50, 4.0);fire(150, 380, 0, 0, 50, 4.0);fire(200, 380, 0, 0, 50, 4.0);fire(250, 380, 0, 0, 50, 4.0);fire(300, 380, 0, 0, 50, 4.0);fire(350, 380, 0, 0, 50, 4.0);fire(400, 380, 0, 0, 50, 4.0);fire(450, 380, 0, 0, 50, 4.0);fire(500, 380, 0, 0, 50, 4.0);
water rockets:
water(getX("rLeg"), getY("rLeg"), -1, 2.0, 5, 5, 3, 5, false);water(getX("lLeg"), getY("lLeg"), 1, 2.0, 5, 5, 3, 5, false);water(getX("rArm"), getY("rArm"), -1, -500, 5, 5, 3, 5, false);water(getX("lArm"), getY("lArm"), 1, -500, 5, 5, 3, 5, false)
spin buddy around:
addBuddyRot(3);
hey quit that clicking:
if(getMouseDown(),say("Ow That Hurts! Stop that clicking!", 50))
meteor shower:
create("fireball", randomBet(0, 600), pi(), 0, 50)
Bullets:
t=t+1;if(t%2, bullet(getBuddyX(),getBuddyY()-300,0,0,2800,0,1600,1600,false),0)
strung up rubber ball:
xx=100;if(firstRun(),loop(1,assign(bb,addSpring(create("bouncyball",xx,200,0,0 ),xx,30,30))+assign(xx,xx+25)+noAutoDelete(bb)),0)

awesome script:
if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),0.05)+water(getXMouse(),getYMouse(),0,-20,20,100,100,100,false),0);if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),0.05)+fire(getXMouse(),getYMouse(),0,-20,20,100,100,100,false),0);if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),0.05)+shock(getXMouse(),getYMouse(),0,-20,20,100,100,100,false)if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),100.0)+fire(getXMouse(),getYMouse(),0,-20,20,100,100,100,false),0);

Noose Nap:
resetForces()addConstraint("head", getX("head"), 100, 50));
Force Choke/Lightning:
shock(getBuddyX(5),getBuddyY(5),0.1)
Dragon Breath:r=r+1;if(t%4==0, fire(0, 0, getBuddyX()/20+8, getBuddyY()/20, 100, 0, 5, 1, false));

infinte money:
if(getMouseDown() && bnot(oMouse),explode(getXMouse(),getYMouse(),1000.0)+explode(getXMouse(),getYMouse(),0,-20,20,100,100,100,false),0);