BlahBlahxD2 Posted July 25, 2021 Share Posted July 25, 2021 so I am trying my very best to make the left click shop but here is what I got... on leftclick with dirt: open chest with 3 rows named "&3&lDirty Shop" to player format slot 10 of player with dirt named "&9Another dirt clicker" with lore "&4&lAdds $1 to each click" to close on inventory click: if name of current inventory of player is "&3&lDirty Shop": if name of event-item is "&9Another dirt clicker": add 1 to {moneyperclick::%player%} remove 50 from {money::%player%} What I am trying to do is to remove money from player's uuid. give the moneyperclick to player and make it so if you click it. it will do the stuff. idk what is happening. I know it is trying to see the player's inventory. but can it see from a gui through? I am using: Skript, SkQuery, SkRayFall, Skellett Link to comment Share on other sites More sharing options...
NotKaizo Posted July 25, 2021 Share Posted July 25, 2021 I don't know how to use SkQuery so I can't really help. But if you are using TuSke, I can help. Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
BlahBlahxD2 Posted July 25, 2021 Author Share Posted July 25, 2021 idk how to use TuSke through I like skQuery only because it is more simple for me and I like it. Link to comment Share on other sites More sharing options...
BlahBlahxD2 Posted July 25, 2021 Author Share Posted July 25, 2021 NotKaizo you don't need to look at the gui part. you can just look at the on inventory click part. but one flaw with my gui skript is that there is a run that runs a thing... Link to comment Share on other sites More sharing options...
BlahBlahxD2 Posted July 25, 2021 Author Share Posted July 25, 2021 wait I have a idea. I use the run part to make a variable true to start a every 2 ticks that checks if it's true. after that it will be disabled. that means I don't need the inventory click part! the only bad part is it will make my skript long... Link to comment Share on other sites More sharing options...
BlahBlahxD2 Posted July 25, 2021 Author Share Posted July 25, 2021 It worked!!!!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now