I need help with the push effect

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

Juju

Member
Sep 13, 2020
4
0
1
24
minecraft version: 1.16
skript version: latest.

Im new to skript and i've been having trouble with the "push" effect. i wanted to make a repulse spell but it keeps putting errors, this is what i've been trying (in a function)

push %{_p}% direction from %location% to %location% at speed 3
 
function repulse(p: player):
push %{_p}% direction from %location% to %location% at speed 3
 
Status
Not open for further replies.