Jump to content

RG2N2

Member
  • Posts

    10
  • Joined

  • Last visited

Posts posted by RG2N2

  1. On 3/5/2021 at 11:46 AM, _omga said:

    Hey there,

    
    loop all items in victim's inventory:
    	drop loop-value at victim
    	set slot index of loop-value of victim to air

    Add this to the part before the title messages.

    Doesn't work. Why does this always happen with minehut forums but never happens with the skript forums. why

  2. On 3/1/2021 at 4:34 AM, creepermosnt said:

    my code:

    on step on stone,grass,dirt,smooth stone slab,sandstone slab,spruce planks,brown carpet,bedrock, and grass path:
        set title of player's scoreboard to "&3&lSpecial&b&lGen"
        set line 6 of player's scoreboard to "&3&lName: &b&l%player%"
        set line 5 of player's scoreboard to "&6&lBalance: %{balance of %player%}%"
        set line 4 of player's scoreboard to "&5&lCrystals: %{playercrystals}%"
        set line 3 of player's scoreboard to "&2&lPing: %player's ping%"
        set line 2 of player's scoreboard to "&B&lTPS: %tps%"
        set line 1 of player's scoreboard to "                         "

    Are you trying to make this scoreboard update every second? Or what.

  3. Code:

    on death:
        execute console command "smite %victim%"
        cancel event
        set player's gamemode to spectator
        send title "&4&lYou died!" with subtitle "5 seconds until respawn." to player for 1.5 seconds
        wait 1 second
        send title "&4&lYou died!" with subtitle "4 seconds until respawn." to player for 1.5 seconds
        wait 1 second
        send title "&4&lYou died!" with subtitle "3 seconds until respawn." to player for 1.5 seconds
        wait 1 second
        send title "&4&lYou died!" with subtitle "2 seconds until respawn." to player for 1.5 seconds
        wait 1 second
        send title "&4&lYou died!" with subtitle "1 seconds until respawn." to player for 1.5 seconds
        wait 1 second
        set player's gamemode to survival
        execute player command "spawn"
        send title "&a&lRespawned!" with subtitle "You have been sent back to spawn." to player for 2 seconds

    I tried drop all items in players inventory, nothing happens and nothing drops. How can I make all of there items drop?

×
×
  • Create New...