Jump to content

skript [solved]


Frydex

Recommended Posts

I would like a script that would drop an item on the death of a mob. (Like a zombie)
I already have the base skript (Thanks to Minehut tutorials) but I need to be able to make it so it's a percentage that
the item will drop. For example there would be a 5% chance you get a diamond from a zombie. If you need the base skript it's the attached file. If you're wondering no I cannot pay as I do not have a paypal. and if you don't want to help then don't ¯\_(ツ)_/¯

dropskript.txt

Edited by Frydex
Link to comment
Share on other sites

2 minutes ago, Frydex said:

I would like a script that would drop an item on the death of a mob. (Like a zombie)
I already have the base skript (Thanks to Minehut tutorials) but I need to be able to make it so it's a percentage that
the item will drop. For example there would be a 5% chance you get a diamond from a zombie. If you need the base skript it's the attached file

dropskript.txt 221 B · 14 downloads

 

on death:
	if victim is zombie:
		clear the drops
		chance of 5%:
			set {_drop} to diamond named "&9Test"
			drop {_drop} at victim's location

 

  • Like 1

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

  • Frydex changed the title to skript [solved]

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...