Jump to content

i need a fortune skript for my box server


M4sterHunt

Recommended Posts

on block break:
	clear drops
	if player's tool is enchanted with fortune 1:
		set {_drops::*} to drops of block
		loop 2 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 2:
		set {_drops::*} to drops of block
		loop 3 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 3:
		set {_drops::*} to drops of block
		loop 4 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 4:
		set {_drops::*} to drops of block
		loop 5 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 5:
		set {_drops::*} to drops of block
		loop 6 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 6:
		set {_drops::*} to drops of block
		loop 7 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 7:
		set {_drops::*} to drops of block
		loop 8 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 8:
		set {_drops::*} to drops of block
		loop 9 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 9:
		set {_drops::*} to drops of block
		loop 10 times:
			give player {_drops::*}
	else if player's tool is enchanted with fortune 10:
		set {_drops::*} to drops of block
		loop 11 times:
			give player {_drops::*}

if player has a tool enchanted with fortune 10, he gets 11 times what that block would normally drop. Example: He mines 1 obby with fortune 6, he gets 1 obby because he mined it and then 6 more because he has fortune 6 on his pickaxe.

                                                                        Skærmbillede 2024-02-11 151140.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...