Ability item help

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Fade

Member
Jan 10, 2021
1
0
1
34
So the skript i made, I believe everything works but I need to be able to do something like if time between projectile hit is < 15:
message "No pearl in the last 15 seconds." to player
or something like that, here's my skript.
on projectile hit:

projectile = ender pearl

set {_locs} to shooter's location

teleport shooter to event-location
on right click:
if player's tool is a {@TimeWarpItem} named
"{@TimeWarpItemName}" with lore "{@TimeWarpItemLore}":
wait 2 seconds

teleport shooter to {_locs}
message "&7You have teleported back to your original pearl location due to &4DiscordMafia's Time Warp" to shooter
 
Status
Not open for further replies.