Solved If attacker tool is Gold hoe give player (not attacker) effects

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

RaikaS

Active Member
Apr 6, 2018
53
1
0
20
Help. Im making a tool what gives Slowness, nausea and Blindess on attack

Code:
on damage:
if attacker's tool is gold hoe:
apply potion of slowness of tier 250 to player for 10 seconds
apply potion of blindness of tier 250 to player for 10 seconds
apply potion of nausea of tier 250 to player for 10 seconds
 
whats your problem? or error?
[doublepost=1523010492,1523010461][/doublepost]oh actually i think i know what you mean, set your player to victim
 
Error:
[10:33:25 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (sahko.sk, line 48: apply potion of slowness of tier 250 to victim for 10 seconds')
> [10:33:25 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (sahko.sk, line 49: apply potion of blindness of tier 250 to victim for 10 seconds')
>
[10:33:25 ERROR]: indentation error: expected 8 spaces, but found '____->' [-> = tab, _ = space, ? = other whitespace] (sahko.sk, line 50: apply potion of nausea of tier 250 to victim for 10 seconds')

whats your problem? or error?
[doublepost=1523010492,1523010461][/doublepost]oh actually i think i know what you mean, set your player to victim
 
Status
Not open for further replies.