skript not working

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Welly817

New Member
Jul 24, 2023
9
0
1
on death:
if attacker is player:
cancel drops
give drops of victim to attacker
when i reload it everything is fine but i just dont get the drops
 
Hi, i think this should help you.
Code:
on death of a player:
    if victim is a player:
        if attacker is a player:
            give drops to attacker
            cancel drops
            wait 1 tick
            send "&aYou have obtained items from a player &e%victim%" to attacker
LMK if thats what you need, have a nice day :emoji_slight_smile:
 
Hi, i think this should help you.
Code:
on death of a player:
    if victim is a player:
        if attacker is a player:
            give drops to attacker
            cancel drops
            wait 1 tick
            send "&aYou have obtained items from a player &e%victim%" to attacker
LMK if thats what you need, have a nice day :emoji_slight_smile:
actually i need the code to just drop the items on the ground if your inventory is full and also add a on mine: event similiar to this

on mine:
set event-drops to {_item}
if player can hold 1 of {_item}:
cancel drops
give drops of event-block to player