Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {efekt.%player%} = 1
- on skript load:
- register new shaped recipe for cookie named "&6CraftTusk" using wheat, wheat, wheat, wheat, sugar, wheat, wheat, wheat, wheat
- on eat cookie:
- if name of player's tool is "&6CraftTusk":
- set {czas} to difference between {czasek.%player%} and now
- if {czas} is less than 5 minutes:
- send "&5CraftTusk mozesz jesc co 5 minut!"
- else:
- set {efekt.%player%} to a random integer 1 and 3
- if {efekt.%player%} is 1:
- apply slowness to player for 2 minutes
- set {czasek.%player%} to now
- if {efekt.%player%} is 2:
- apply strength to player for 2 minutes
- set {czasek.%player%} to now
- if {efekt.%player%} is 3:
- apply speed to player for 2 minutes
- set {czasek.%player%} to now
Advertisement
Add Comment
Please, Sign In to add comment