Jump to content

Fix this skript i made


Recommended Posts

My attempt to make a skript which gives you a paper that gives you money when you right click it and its obtained by breaking purple wool.. HELP.

on break of purple wool:
drop 1 paper named "&7Clicking Paper" with lore "Right-click to redeem your click!" at loop-block's position
on rightclick with paper:
    if name of tool of player is "&7Clicking Paper" with lore "Right-click to redeem your click!":
    /economy give player 1

Link to comment
Share on other sites

  • 3 weeks later...
On 6/8/2023 at 10:10 AM, JoshG said:

Hey hey! It looks like you're trying to create a script for a Minecraft plugin that gives players money when they right-click a paper obtained by breaking purple wool. However, scripting for Minecraft plugins requires a specific syntax and structure. Here's an example of how you could achieve this using the Skript plugin:
 

on break of purple wool:
    drop 1 paper named "&7Clicking Paper" with lore "Right-click to redeem your click!" at event-block

on right click with paper:
    if name of tool of player is "&7Clicking Paper" with lore "Right-click to redeem your click!":
        give 1 economy money to player
        send "&aYou have redeemed your click and received 1 money!" to player
        delete clicked item

Make sure you have the Skript plugin installed and properly set up on your Minecraft server. You may need to adjust the syntax slightly to match the specific requirements of your server's version and installed plugins.

Remember to test and debug your script thoroughly to ensure it works as intended!

u used chatgpt for this lol

Link to comment
Share on other sites

  • 1 month later...

on break of purple wool:
  drop 1 paper named "&7Clicking Paper" with lore "Right-click to redeem your click!" at loop-block's position

on rightclick holding paper:
    if name of tool of player is "&7Clicking Paper" with lore "Right-click to redeem your click!":
      execute console command "/economy give player 1"

Link to comment
Share on other sites

On 6/24/2023 at 5:07 PM, sulfur said:
on break of purple wool:
    drop 1 paper named "&7Clicking Paper" with lore "Right-click to redeem your click!" at event-block

on right click with paper:
    if name of tool of player is "&7Clicking Paper" with lore "Right-click to redeem your click!":
        give 1 economy money to player
        send "&aYou have redeemed your click and received 1 money!" to player
        delete clicked item

ahh didnt know this was here srry

Link to comment
Share on other sites

  • 2 weeks later...
on break of purple wool:
	drop 1 paper named "&7Clicking Paper" with lore "Right-click to redeem your click!" at location of event-block

on rightclick with paper:
	name of event-item is "&7Clicking Paper"
	lore of event-item is "Right-click to redeem your click!"
	add 1 to player's balance
	remove event-item from player

use this

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...