EmptyRooms_ Posted February 19, 2022 Share Posted February 19, 2022 options: servername: Something itemname: Grenade command /grenade <player>: permission: op permission message: &fUnknown command. Type "/help" for help. usage: &c/grenade <player> trigger: give arg-1 tnt named "{@itemname}" send "&aYou have &lSUCCESFULLY &aGiven %Arg-1% &ca {@itemname}"to player on drop: if player's held item is tnt named "{@itemname}": wait 10 seconds create explosion with force 4 at targeted block it says it has successfully reloaded this skript but when i drop a random item instead of the selected item it explodes after 10 seconds someone please fix this skript Link to comment Share on other sites More sharing options...
hotpocket Posted February 19, 2022 Share Posted February 19, 2022 You forgot to indent after checking if their held item is TNT. Link to comment Share on other sites More sharing options...
EmptyRooms_ Posted February 19, 2022 Author Share Posted February 19, 2022 show me the fixed skript 31 minutes ago, hotpocket said: You forgot to indent after checking if their held item is TNT. Link to comment Share on other sites More sharing options...
hotpocket Posted February 19, 2022 Share Posted February 19, 2022 I don't really know why you want it since literally all you have to do is indent 2 lines, but here: on drop: if player's held item is tnt named "{@itemname}": wait 10 seconds create explosion with force 4 at targeted block Link to comment Share on other sites More sharing options...
whoswish Posted February 19, 2022 Share Posted February 19, 2022 wrong channel Link to comment Share on other sites More sharing options...
Pixel_Pengu Posted February 19, 2022 Share Posted February 19, 2022 Hey! I've moved this post to the proper category. Feel free to continue the conversation here. Thanks! Pixel Pengu Minehut Moderator 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