interact with region skript needed

  • 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!

bewf

Member
Apr 19, 2024
30
0
6
24
I want a skript that can allow you to interact with a region, and if you have 50 levels, it takes the levels and gives you +1 permanant heart, i would like to cap it at an extra 10 hearts, and an item that can increase the heartcap by 1 name &cHeart Cap Increaser

how someone would interact with said region is up to you to decide but here is an image of the region/core id like to have interacted

Simplified version of above:

Region you can interact with or (check edit at bottom)
if player has 50 hearts, increase hearts by 1 and remove 50 levels
cap at 10 extra hearts
item named "&cHeart Cap Increaser" can increase the cap by 1
The way you interact with the region is up to you

SERVER VERSION: 1.20.4 paper
skript version: 2.8.4

id like it within the week (before next friday)


EDIT:
the interact method could be once you enter a region, it send a message to the player saying "heart sum sum initiating", and if the player stays in the region for 5 seconds it does all that above and sends a completion message, if the player leaves the region it should stop (if possible) and send a message saying "heart sum sum cancelled"
EDIT 2: REGION NAME IS "core"
EDIT 3: the heart cap increaser shouldn't be needed when entering the region, it should be a seperate item that can be used to increase the maximum amount of hearts you can get from 60 health, to +2 health (62), and so on depending on how many you use

thank you!
1714214845362.png
 
Last edited: