#Give item
1 messages · Page 1 of 1 (latest)
I want it when the player upgrades it up goes up ?
Ok so do that
And I want it to be a gui to upgrade it
I need help I can’t even get the skript to give the player the axe
give player <item>
on click is when you click on stuff in the game (like blocks or entities)
i think you are looking for on inventory click
Ya I put that I still get nothing it reloads with no errors and the skript does not do anything
I tried so much
Even a a I could not fix it
I working on it
eventoptions:
player: "%player%"
tool_name: "&6&l{@player}s Axe" tool_type: "Wooden axe" player_tool: "{@tool_type}" named }"{@tool_name}" dupe_axe: "&c&lAlready in your inventory!" menu_name: "&6&l{@player}s Axe Menu"
axe_tier: "1"
menu_cool_down: "1,800"
axe_cool_down_name: "&6&l{@player}`s Axe
&r[||||||||||||||||]"
on join:
wait 1 tick
if slot 0 of players inventory is not named {@tool_name}: give player {@tool_type} named {@tool_name} else: if slot 0 of players inventory is named {@tool_name}:
send {@dupe_axe} to player
on inventory click:
if slot 0 is clicked:
cancel event
There
?
Bud can’t ask for the code then never come back
why is the indentation in the screenshot so wonky
- wtf is eventoptions
- why are you using options for everything
- why are you using ` as '
- please format your code with ``` before and after
- why are you making up syntax (if slot 0 is clicked)
- why is tool type indented differently than the first two options
- why is player an option
Sorry I kinda new to this
x8ight suggests that you read https://sovdee.gitbook.io/skript-tutorials/
Did that already
So @odd ore how do i fix it
fix what
i listed 7 different issues
start by looking into those / asking questions about them specifically / answering my questions
one issue I would say is half of the lines use backticks instead of apostrophes