#I have no idea what I am doing please help 😭

1 messages · Page 1 of 1 (latest)

narrow jetty
#

on death of player: set {_uptoken} to %number of tag values of minecraft tag "nether_star" in the victim's inventory% remove %value of {_uptoken}% nether stars from victim's inventory give attacker %value of {_uptoken}% nether stars named "<#5EB7FF>&lU<#5BBDFA>&lp<#59C3F6>&lg<#56C9F1>&lr<#53CFED>&la<#50D5E8>&ld<#4EDBE4>&le<#4BE1DF>&l <#48E7DA>&lT<#45EDD6>&lo<#43F3D1>&lk<#40F9CD>&le<#3DFFC8>&ln"

night flameBOT
#

TobyMinceraft suggests that you read this embed

Percent signs (%)
When should percent signs be used in Skript?

In Skript, the purpose of surrounding an expression in % signs is letting Skript know you want it to be parsed as an expression and insert its value into the string or variable you've put it in.

Incorrect Usage
give dirt to %player%
send "Hey there player" to %arg-1%
kill %{_entity}%```
Here, the % signs are not inside strings or variable names and should therefore be removed.
Correct Usage
broadcast "%player% has joined"
send "%{_variable::*}%" to player
set {variable::%uuid of player%} to 10```
Here, the % signs are being use properly, as a means to put expressions inside strings and variable names.
half ember
#
  1. Honestly, you don't even need the percent symbols there
  2. {_variable} of ItemHere
  3. You may need to use two ## in the name of your nether star
narrow jetty
#

Like this?
on death of player: set {_uptoken} to number of nether stars in the victim's inventory remove value of {_uptoken} nether stars from victim's inventory give attacker value of {_uptoken} nether stars named "<#5EB7FF>&lU<#5BBDFA>&lp<#59C3F6>&lg<#56C9F1>&lr<#53CFED>&la<#50D5E8>&ld<#4EDBE4>&le<#4BE1DF>&l <#48E7DA>&lT<#45EDD6>&lo<#43F3D1>&lk<#40F9CD>&le<#3DFFC8>&ln"
I don't really get which parts the things you suggested here are for. Sorry I'm really new do skript. Also this doesn't work is says, "'Can not remove value of {_uptoken} nether stars' because it is neither an item nor an inventory" and says a similar thing for the last line as well

ancient edge
#

Honestly, I would get the Nether star item to a variable so you can reference it.

Otherwise, I believe you can do remove {_uptoken} of Nether star from victims inventory, and give attacker {_uptoken} of [Item]

Correct me if I'm wrong though