interactive buddy scripts page 3

78 posts

Flag Post

I also have a bunch of other ones. Here’s some more:

Meteor Showers:

t=t+1;
if(t%80==0, assign(a, create(“bowlball”, randomBet(1, 549), 100, 0, 800));
xPos=getX(a);
yPos=getY(a);
fire(xPos, yPos-10, 0, 0, 10, 1);
if(yPos>300, destroy(a));
if(yPos>350, explode(xPos, yPos, 1));
if(yPos>350, create(“molotov”, xPos, yPos, 0, 0));

Niagara Falls:

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;

POSSESSED BUDDY!!!!

insanity=100; the name says it all;

delay=25; speed of thrashing, low # means faster;
~~~~~~~~~~~~~~~~;
i=i+1;
say(“DIE MORTALS! HAHAHAHAHAH!”, 100);
if(equal(i%delay, 0), addBuddyVel(randomBet(-1*insanity, insanity), randomBet(-1*insanity, insanity)));

Raining Baseballs:

assign(i,0)+
assign(clicksleft,maxclicks)+
assign(exists,1)+
assign(s,create(“baseball”,randomBet(0,550),randomBet(0,400),randomBet(-1 * speed,speed),randomBet(-1 * speed,speed))),
if((i % turnatframe) == 0,
setXV(s,randomBet(1 * speed,speed))+
setYV(s,randomBet(1 * speed,speed))

and later I’ll post some more.

 
Flag Post

I cant script teach me how to make my own please but I chang one to my good my script I made t=t+1;
if(t%2,fire(sin(t*.075)125+275,cos(t.052)*100+200,0,0,140,.075,2,2,false),0)

 
Flag Post

My script is to make huge lag and look like a nightime alien invasion.

It will ask you to abort say NO!

t=t+1;
if(t%2,water(sin(t*.075)125+275,cos(t.052)*
100+200,0,0,140,.075,2,2,false),0)
i=i+1;
if(equal(i%50, 0), say("My happiness is
" + getEmotion(),100));
addBuddyVel(0, 0-getEmotion()/25);

t=t+1000;
if(t%2,shock(sin(t*.666)333+333,cos(t.0666)*300+230,2,4,140,.075,2,2,true),9)
addBuddyVel(0, -1);
t=t+1;
if(t%2,shock(20,80,0,0,140,100),0)
t=t+1;
if(t%2,fire(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,fire,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,fire,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,fire,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,fire,80,0,0,140,100),0)
t=t+1;

t=t+1;
if(firstRun(),explode(240,0,150000));
create(“fireball”,getBuddyX(),40,0,50);
loop(5 ,fire(random()*500,370,0,0,1,5));
if(t%100==0,explode(getBuddyX(),getBuddy Y(),1));

Background will be black!

 
Flag Post
Originally posted by SelfStudyBuddy:

The Baseball Gun:

velx=getBuddyX() – getXMouse();
vely=getBuddyY() – getYMouse();
if(getMouseDown(),if(t%8==0,assign(t,t+1)create(“baseball”,getXMouse(),getYMouse(),velx,vely),assign(t,t1)),assign(t,0));

because there is no for and you cant define your own functions I couldn’t think of anyway to normalize velocity.

hey i changed tht to bowlingball gun, but its a litl annoying that it always aims at the buddy. i need a free aiming type of thing. can you mod that script in that way?

 
Flag Post

gx = getBuddyX();
test = gx>510||gx<40;
if(test,shock(gx+random()-.5,getBuddyY(),.15),0)

electrical fence :D

 
Flag Post

then I fill in the entire screen white of the explozies

lol!

grenades(444,3333,3333)
baseballs(333,5555,666)
rubber balls(333333,444444)
water(3333,4444)
explode(44444444444,333333333333,

lolllllllzzzzzzzzzzzzz

 
Flag Post

(getMouseDown(), shock(getXMouse(), getYMouse(), 0, 0, 1000, false); and mines is the free explode at mouse

 
Flag Post

why dont these work

 
Flag Post

Grenade Gun
firerate=8;
velocity=100;
projectile=“grenade”;
angle=atan((getBuddyX() – getXMouse())/(getBuddyY() – getYMouse()));
velx=velocity*sin(angle);
vely=velocity*cos(angle);
if(getMouseDown(),if(equal(t%(firerate-1),0),
assign(t,t+1)create(projectile,getXMouse(),getYMouse(),velx,vely),
assign(t,t
1)),
assign(t,0));

Mine gun

firerate=8;
velocity=100;
projectile=“mine”;
angle=atan((getBuddyX() – getXMouse())/(getBuddyY() – getYMouse()));
velx=velocity*sin(angle);
vely=velocity*cos(angle);
if(getMouseDown(),if(equal(t%(firerate-1),0),
assign(t,t+1)create(projectile,getXMouse(),getYMouse(),velx,vely),
assign(t,t
1)),
assign(t,0));

 
Flag Post

You know the normal lightning script? Well, here is a script what fires automatically lightnings.
if(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/t400)assign(n,n1)
,0);
oMouse = getMouseDown()
if(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/t400)assign(n,n1)

 
Flag Post

You know the script fountain? I added fire and electric elements.

t=t+1;
if(t%2,water(sin(t*.075)125+275,cos(t.052)100+200,0,0,140,.075,2,2,false),0)
t=t+1;
if(t%2,fire(sin(t
.075)125+275,cos(t.052)100+200,0,0,140,.075,2,2,false),0)
t=t+1;
if(t%2,shock(sin(t
.075)125+275,cos(t.052)*100+200,0,0,140,.075,2,2,false),0)

 
Flag Post

I didn’t know you can code in Interactive Buddy. What’s going on?

 
Flag Post
Sparkly strength=999000; water's pushing power; spread=.99900000000000;rate that drops expand at; size=25;size of drops; ~~~~~~~~~~~~~~~~~~; fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false); fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false); fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false); fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false); fire(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false); --------------------------------------------------------------------- Makes small flashes of fire all over the game screen :D
 
Flag Post

this is my first script i think its bad ass
addBuddyRot(sign(getXV(“body”))200)
if(getMouseDown() && bnot(oMouse),
playSound(“shock”,100)+
assign(rr,random()
100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()sin(n/t*10rr)15,n/t400)assign(n,n1)
,0);
oMouse = getMouseDown()
setBuddyRot(0);
use the fist to grab your buddy after entering the script it makes alot of money i call it electric doom run every frame and hold down on the buddy he will getta big shock like i said grab him with the fist

 
Flag Post

this one is called: are you happy? it shows how happy or sad the buddy is. 100 is the happiest, -100 is saddest
t=t+1;
if(t%2,water(sin(t*.075)125+275,cos(t.052)*
100+200,0,0,140,.075,2,2,false),0)
i=i+1;
if(equal(i%50, 0), say("My happiness is
" + getEmotion(),100));
addBuddyVel(0, 0-getEmotion()/25);

t=t+1000;
if(t%2,shock(sin(t*.666)333+333,cos(t.0666)*300+230,2,4,140,.075,2,2,true),9)
addBuddyVel(0, -1);
t=t+1;
if(t%2,shock(20,80,0,0,140,100),0)
t=t+1;
if(t%2,fire(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,fire,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,fire,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,fire,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,fire,80,0,0,140,100),0)
t=t+1;

t=t+1;
if(firstRun(),explode(240,0,150000));
create(“fireball”,getBuddyX(),40,0,50);
loop(5 ,fire(random()*500,370,0,0,1,5));
if(t%100==0,explode(getBuddyX(),getBuddy Y(),1));

 
Flag Post

ignite and put out the buddy. it switches between both
delay=30;amount of time between soaking and kindling
~~~~~~~~~~~~~~~~~~~~~;
r=r+1;
if(t%40, water(0, 0, getBuddyX()/20+8, getBuddyY()/20, 100, 0, 10, 1, false)); if(t%42, create(“fireball”, getBuddyX(), getBuddyY(), 0, 0));
if(t%42, assign(t, t+1)); if(r%delay0, assign(t, t+1));

 
Flag Post

raindrops keep falling on my head

strength=10; water’s pushing power;
spread=.3;rate that drops expand at;
size=3;size of drops;
~~~~~~~~~~~~~~~~;
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);
water(round(randomBet(10, 540)), 10, 0, 60, strength, spread, size, false);

 
Flag Post

i wanna make explododing baseballs, he catches it, it explodes, and the next one, he STILL catches it.

 
Flag Post

this is arinix’s shock script,but duplicated so that you get even MORE shock

 
Flag Post

~~~~~~~~~~~~~~~~~~~~~~~~
shock (getXMouse(),getYMouse())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~
shock (getXMouse(),getYMouse())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~
shock (getXMouse(),getYMouse())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~
shock (getXMouse(),getYMouse())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~
shock (getXMouse(),getYMouse())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~
shock (getXMouse(),getYMouse())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~
shock (getXMouse(),getYMouse())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~
shock (getXMouse(),getYMouse())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
Flag Post

CAN someone make a script that makes the buddy a certain amount of ammotion? like you wanna make it fully happy you click script engine and type 100 happines or something,anyone wanna try to make that?

 
Flag Post

super exile death of unforgiven nuke NOTE: this script may freeze our comp so dont use if your computer is slow

gx = getBuddyX();
test = gx>510||gx<40;
if(test,explode(gx+random()-.5,getBuddyY(),.15),0)
strength=5000; explode’s pushing power;
spread=1000;rate that explode expands at;
size=1000;size of stream;

if(getMouseDown(), explode(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15,
(getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));

strength=5000; fire’s pushing power;
spread=1000;rate that fire expands at;
size=1000;size of stream;

if(getMouseDown(), fire(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15,
(getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
strength=5000; water’s pushing power;
spread=1000;rate that water expands at;
size=1000;size of stream;

if(getMouseDown(), water(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15,
(getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));

 
Flag Post

SUPER LIGHTING ZAP MODE NOTE:DONT CLICK TOO MUCH OR ELLS IT WILL LAG TOO MUCH

strength=50; water’s pushing power;
spread=10;rate that water expands at;
size=10;size of stream;
~~~~~~~~~~~~~~~~;
if(getMouseDown(), shock(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown() && bnot(oMouse),
playSound(“shock”,100)+
assign(rr,random()
100)+
assign(n,0)+
assign(t,25)+
loop(t,shock(getXMouse()sin(n/t*10rr)15,n/t400)assign(n,n1)
,0);
oMouse = getMouseDown()
t=t+1;
if(t%2,shock(20,80,0,0,140,100),0)
t=t+1;
if(t%2,fire(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,fire,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,fire,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,fire,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,fire,80,0,0,140,100),0)
t=t+1;*

 
Flag Post

TALKER just change put name here thing to what you want your buddy to say

say(“put name here”,5),0);

 
Flag Post

Heres a little one I made up. CAUTION HUGE LAG CREATOR

its called the nuke :D good luck :) if(getMouseDown(), explode(getXMouse(), getYMouse(), (getXMouse()-getBuddyX())/-15, (getYMouse()-getBuddyY())/-15-10, strength, spread, size, false));
if(getMouseDown(), create(“fireball”, getBuddyX(), getBuddyY(), 0, 0));
if(getMouseDown(), playSound(“explode”,100)+