Gamebuster icon

Pigeons.sk v1.0.0

Gamebuster | PRO | 05/23/15 05:24:38 PM UTC | 0 ⭐ | 1149 👁️ | Never ⏰ | []
text |

1.15 KB

|

None

|

0 👍

/

0 👎

on spawn of chicken:
	chance of 30%:
		cancel the event
		spawn 1 bat at event-location
		wait 1 tick
		disguise spawned bat as "Chicken"
		set spawned bat's name to "Pigeon"
		add spawned bat to {pigeons::*}
		set spawned bat's automatic despawn state to false
		while spawned bat is alive:
			wait 5 seconds
			drop 1 light gray dye named "Bird Shift" at spawned bat's location
 on rightclick:
	if player's held item is light gray dye:
		if player's held item's name is "Bird Shift":
			if {pigeon.%player%} is not true:
				disguise player as "Chicken"
				allow fly for player
				message "<light green>You ate bird shift... You are now a pigeon! Fly away!"
				remove 1 light gray dye named "Bird Shift" from player's inventory
				set {pigeon.%player%} to true
				while player is alive:
					wait 5 seconds
					drop 1 light gray dye named "Bird Shift" at player's location
 on death of player:
	set {pigeon.%victim%} to false
 on join:
	loop {pigeons::*}:
		disguise loop-value as "Chicken"
	loop players:
		if {pigeon.%loop-player%} is true:
			disguise loop-player as "Chicken"
 on load:
	kill all bats
	clear {pigeons::*}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎