you can do it via an event.
theres an event for entering a region:
https://docs.skunity.com/syntax/
#How would you give a player stregth when they are in a certain region?
1 messages · Page 1 of 1 (latest)
kk ty
Can anyone make the skript im not the best at it
acually nvm how would i fix this?
or how to i spezifiy a region
if "%region at player%" contains "koth":
apply strength 2 to the player
on region exit:
remove strength from the player```
any idea why this wont work?
apply <potion> of tier <tier> to player for <duration>
wait whats wrong with the skunity docs? ive been using it all the time
Skript hub is just better
on region enter:
if "%event-region%" contains "koth":
apply strength 2 to player
the issue is the "to the player", which should be "to player" (unless that doesnt matter)
and "region at player" should be "event-region" as the event is the player entering the region.
while region at player contains "Koth":
apply strength 2 to player for 1 second
wait 1 second```
smth like this
doesnt work
i just gotta find out how to make them keep the stregth once they pop
:/
'pop'?
function kotheffect(p:player):
if region at {_p} = ("Koth" parsed as region)
apply strength 2 to {_p} for 1 day
set metadata tag "KothStrength" of {_p} to true
else if metadata tag "KothStrength" of {_p} is true:
remove strength from potion effects of {_p}
set metadata tag "KothStrength" of {_p} to false
on region enter:
kotheffect(player)
on region exit:
wait 1 tick
kotheffect(player)```
very bad idea
should the server remove the koth anyone who was in it and logged out would have it
i mean just add a join event and a condition to check if the koth is on
Can u add that?
Do people not know the definition of no spoonfeeding?
Add it yourself using your resources
