Jump to content

I need a skript.


grover19711

Recommended Posts

Please help me, i need a script to dupe items and give each individual players one of their own items every 15 seconds. it also needs a command to dupe the items and a command to toggle the 20 second item thing, but it must be individual. E.X: if me and my friend both had our item thing turned on and i turned it off only mine would be off, same thing with dupe, if i did the command for duping only my items would be duped, 1,2,4,8,16....

i know this may be complicated, but please i really need this.

Link to comment
Share on other sites

This doesn't seem too complex. You would first active an event every 15 seconds (every 15 seconds) and give a player a random item. Then you would have a seperate command that toggles it. e.g:

every 15 seconds:
	if {toggledupe::%player's uuid%} is not set:
		add 1 of (random item out of all items) to inventory of all players

command /toggledupe:
	trigger:
		if {toggledupe::%player's uuid%} is set:
			set {toggledupe::%player's uuid%} to false
			send "&aYou will receive items."
		else:
			set {toggledupe::%player's uuid%} to true
			send "&cYou will no longer receive items."

 

Edited by Migqy
  • Like 1

Support  July 29, 2020 → November 3, 2020

► Helper November 3, 2020 → February 22, 2021

► Moderator February 22, 2021 → May 17, 2021

 I might not always respond to forum dms, however I am always contactable on discord (mig#0069)

Screen Shot 2020-03-20 at 5.23.33 pm.png

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...