Ancheim Posted September 3, 2021 Share Posted September 3, 2021 hey I need a skript that stops an item with a specific name to not drop on player death Link to comment Share on other sites More sharing options...
_Pogers_ Posted September 3, 2021 Share Posted September 3, 2021 (edited) variables: {death.drop::%player%} = 0 on death: if victim is a player: if victim has 1 diamond sword named "Jeff": set {death.drop::%victim%} to 1 on respawn: if {death.drop::%victim%} = 1: give player 1 diamond sword named "Jeff" Edited September 3, 2021 by _Pogers_ Link to comment Share on other sites More sharing options...
Ancheim Posted September 6, 2021 Author Share Posted September 6, 2021 That didn't work, it said that you cannot use "victim" in line 14 Link to comment Share on other sites More sharing options...
emopediaMC Posted September 7, 2021 Share Posted September 7, 2021 11 hours ago, Ancheim said: That didn't work, it said that you cannot use "victim" in line 14 change victim on line 14 to player Developer Joined Minecraft in 2010 on PC Joined Minehut in August 2016 1 year Skript experience 2 months Java experience 5 months Javascript experience Link to comment Share on other sites More sharing options...
bybys Posted November 9, 2023 Share Posted November 9, 2023 godzilla Link to comment Share on other sites More sharing options...
DuckyProgrammer Posted November 9, 2023 Share Posted November 9, 2023 Please make sure that you aren't responding to posts that haven't been responded to in over a month. Thanks! No rank - 2017-2021 Minehut Tester - 2021-2023 Minehut Volunteer Moderator - 2023-Current Report a player/server: Report Player / Server Create a support ticket: Submit a request Did I help you? If so, feel free to give me a like! Link to comment Share on other sites More sharing options...
Recommended Posts