Grappling Hook

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

LimeGlass

VIP
Supporter ++
Regular Diner
Addon Developer
Jan 24, 2017
633
442
73
26
location of "LimeGlass" parsed as player
Grappling Hook

Adds a grappling hook to the server. All you need is a fishing rod named "grappling hook". You can edit anything in the script too. It's fairly simple to understand aside from the vector math calculations.

68747470733a2f2f6d65646961322e67697068792e636f6d2f6d656469612f33316e3134375a724c484f64654b5733476b2f67697068792e6769663f6369643d373930623736313132396634333331393535316666616564396135653937626662316166363563653264376465666532267269643d67697068792e6769662663743d67


Features:

- Typical grappling hook mechanics
- Rebound physics, meaning if you have the grapple attached to a block and you start falling, you will bungee back up while the rod is connected.
- Any block can be grappled from, meaning you can hit it against a wall without the hook falling.
- Fancy vector calculations to ensure the fishing hook looks like it's sticking to a block.
- Epic 360 MLG 420 montage quality script.

Damage disable:
- There is a chunk of code that disables fall damage only when using the grapple, because it's more fun when you don't have to worry about fall damage, but if you don't like that for your players, you can remove the damage of player event at the top of the script and any reference to the {fall::*} variables.

Requirements:
- Skript 2.2-dev28 or newer (2.6.2 tested)
- SkQuery (Any version for your server)
- Khoryl 1.0.4+
- Skellett 2.0.5+