Jump to content

Give a player poison after eating a honey bottle


ZenYT

Recommended Posts

 

on consume:
	if event-item is honey bottle:
		apply poison to player for 3 seconds

There

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

3 hours ago, Lapzzo said:

This should be on skript discussion by the way

No it shouldn't since he is requesting the entire Skript instead of helping fix a premade Skript.

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

20 hours ago, Lapzzo said:
on consume:
	if event-item is honey bottle:
		cancel event
		apply poison to player for 3 seconds

That should work

That cancels the event and gives them poison. Doesn't remove the bottle from them. Instead, set the honey bottle to a regular bottle after cancel event

 

Owner of play.hiveminez.net

 

⊱------------------------------⊰

Joined Minehut on 1/28/2021 (Same day I got Minecraft)

[VIP] - 3/14/2021

[LEGEND] - 5/27/2021

⊱------------------------------⊰

Discord - NotKaizo#0001

In-game name - iKaizo_

If you need any help, feel free to contact me.

Link to comment
Share on other sites

9 hours ago, NotKaizo said:

That cancels the event and gives them poison. Doesn't remove the bottle from them. Instead, set the honey bottle to a regular bottle after cancel event

on consume:
	if event-item is honey bottle:
		cancel event
		apply poison to player for 3 seconds
		set player's held item to bottle

 

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.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...