Jump to content
Slippy

Free skripts!!! Reply what you need.

Recommended Posts

I need a skript that trains an AI to make a skript k thx


I'm an aspiring moderator with moderators who respect me. Hold on what are these photos, OH MY 

image.png.472c05d76576cd3993e6270f8c1c5d4f.png

image.png.ae3b837ad9f21909646ac6eb45f68159.png

image.png.78d638842fe8dd65094d8521dcdb51a4.png 

image.png.5bada289eee10f864be4518e8fe9faf6.png

 

image.png.ac67228d1eafed80be1ad4cc42337635.png

Share this post


Link to post
Share on other sites
On 8/2/2020 at 7:45 AM, St4ckY said:

Add me on Discord, I need skript for crates! Obj3cT_#6914



options:
	item: sea lantern #This is the item of the lootbox
	name: &b&lLoot Box #This is the name of the lootbox
	animation: true #Whether placing a lootbox should play an animation or not
	sound: true #Whether placing a lootbox should play a sound or not
	lore: &7Place for Rewards! #The lore of the lootbox

















on place of {@item}:
	if name of player's tool is "{@name}":
		if {@animation} is true:
			wait 2 ticks
			set block to red stained glass
			wait 2 ticks
			set block to orange stained glass
			wait 2 ticks
			set block to yellow stained glass
			wait 2 ticks
			set block to lime stained glass
			wait 2 ticks
			set block to blue stained glass
			wait 2 ticks
			set block to purple stained glass
			wait 2 ticks
			set block to black stained glass
			wait 2 ticks
			if {@sound} is true:
				play sound "entity.experience_orb.pickup" with volume 5 and pitch 16 at player 
		else if {@sound} is true:
			play sound "entity.experience_orb.pickup" with volume 5 and pitch 16 at player 
		set block to air
		set {_loot} to a random element out of {lootbox::*}
		give player {_loot}
		send action bar "&3&lYou Won:&b %{_loot}%" to player
			

command /lootbox [<text>] [<number=1>] [<player=%player%>]:
	permission: op
	trigger:
		if arg-1 is "give":
			give arg-2 of {@item} named "{@name}" with lore "{@lore}" to arg-3
		else if arg-1 is "add":
			if player's tool is not air:
				add player's tool to {lootbox::*}
				send "&3&lLootbox &6» &bItem successfully added!" to player
			else:
				send "&3&lLootbox &6» &bYou can't add air!" to player
		else if arg-1 is "remove":
			if {lootbox::*} contains player's tool:
				remove player's tool from {lootbox::*}
				send "&3&lLootbox &6» &bItem successfully added!" to player
			else:
				send "&3&lLootbox &6» &bYour item was not found in the lootbox!" to player
		else if arg-1 is "list":
			send "&3&lLootbox List:" to player
			loop {lootbox::*}:
				send "&9[%loop-index%] &b%loop-value%" to player
		else:
			send "&3&lUsage:" to player
			send " &b/lootbox give [<amount>] [<player>]" to player
			send " &b/lootbox add (Must be holding item)" to player
			send " &b/lootbox remove (Must be holding item)" to player
			send " &b/lootbox list" to player

Made by somebody else.


⭢ Founder Of SkySkript.xyz

image.png.c52cb127912aadef681b1e66bae5e458.png

 

Untitled (2).png

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now



×
×
  • Create New...