#idk why this dosnt work
1 messages · Page 1 of 1 (latest)
- Format your code in a code block
and likely 
- (for your 2nd message);

trigger:
create new gui with virtual chest named "&eTest Gui" with 1 row:
make gui slot 0 with feather named "&fSpeed Boost":
open last gui to player
on inventory click:
if event-item is feather named "&fSpeed Boost":
apply speed 1 to player for 999999 ticks
i dont really know what you mean by that im lowkey slow
What do you mean your code "doesnt work"? That could mean a few things. Do you have errors? Does it simply not execute? Are there bugs/unintended sideffects or edge cases?
If your code isnt fully working the way you expect it to, add broadcasts in it so you can see what conditions are passing/scopes are being run. Also you can send variables/expressions to double-check their valies
you didnt send code that has anything to do with giving the player a diamond
alright no there are no errors it just dosn't give me the speed or diamond
here is the one with the diamond:
trigger:
create new gui with virtual chest named "&eTest Gui" with 1 row:
make gui slot 0 with feather named "&fSpeed Boost":
open last gui to player
on inventory click:
if event-item is feather named "&fSpeed Boost":
give player 1 diamond ```
do you have warnings?
cause you should get an empty configuration section warning for the colon at the end of like 4
yeah
oh thats why?
so i dont think you intend for that to be a section
it still dosn't work
trigger:
create new gui with virtual chest named "&eTest Gui" with 1 row:
make gui slot 0 with feather named "&fSpeed Boost"
open last gui to player
on inventory click:
if event-item is feather named "&fSpeed Boost":
apply speed 1 to player for 999999 ticks

there is no error or warnings it just simply dosnt give me speed
alr
a bit late here but u can just put : after make gui slot ....... and write your code there, it will trigger when the slot is clicked