I was playing a bunch of that old Assassin's Creed game the other weekend and it got me thinking—it's a darn shame our Roblox guys just smack their faces into walls when they jump. So, I sat down, poured a big cup of coffee, and tinkered around in Studio until I got this working.
I made this neat little script that lets your character grab onto roofs, fences, and ledges just like Ezio does. It actually works really well! You just jump at a wall and he hangs on.
It has the simple animations and a read me file to help you if the animation dosent work.
Here is all the cool stuff it does:
LEDGE GRAB SYSTEM - ANIMATION SETUP INSTRUCTIONS (this is in the download file as well)
Because of how Roblox handles animations, you MUST publish the included animations to your own account/group for them to work in your game.
STEP 1: PUBLISH THE ANIMATIONS
1. Open the Roblox Animation Editor plugin.
2. Click on the dummy named "idle animation" in the Workspace.
3. Load the "HangIdle" animation, click the three dots, and select "Publish to Roblox". Copy the new ID.
4. Repeat this for the "Shimmy animation" animation and copy that ID too.
STEP 2: UPDATE THE SCRIPT
1. Open the main LedgeGrab script.
2. Look at lines 15-16.
3. Replace my default IDs with your brand new IDs.
Example:
hangAnim.AnimationId = "rbxassetid://YOUR_HANG_ID_HERE"
shimmyAnim.AnimationId = "rbxassetid://YOUR_SHIMMY_ID_HERE"
That's it! The system is now 100% yours and ready to go.
I made this neat little script that lets your character grab onto roofs, fences, and ledges just like Ezio does. It actually works really well! You just jump at a wall and he hangs on.
It has the simple animations and a read me file to help you if the animation dosent work.
Here is all the cool stuff it does:
- Grabs Almost Anything: I stopped using those skinny laser beams that always miss the edge of the roof. I set it up with these invisible rolling balls (the script calls them Spherecasts) so your guy actually grabs the ledge every time without falling through the cracks.
- Slides Around: You can shimmy left and right along the wall.
- Goes Around Corners: If you shimmy to the edge of a building, he actually wraps right around the 90-degree corner instead of just getting stuck. It's pretty slick.
- No Weird Rubber-Banding: You know how sometimes Roblox physics freak out and fling you backward when you hit a wall? I fixed that. When you hit jump to let go, it pushes you off nice and smooth.
- Super Easy to Setup: I didn't leave a bunch of messy, confusing notes in the code. I kept it totally clean. Just drop the script in and let it do its thing.
LEDGE GRAB SYSTEM - ANIMATION SETUP INSTRUCTIONS (this is in the download file as well)
Because of how Roblox handles animations, you MUST publish the included animations to your own account/group for them to work in your game.
STEP 1: PUBLISH THE ANIMATIONS
1. Open the Roblox Animation Editor plugin.
2. Click on the dummy named "idle animation" in the Workspace.
3. Load the "HangIdle" animation, click the three dots, and select "Publish to Roblox". Copy the new ID.
4. Repeat this for the "Shimmy animation" animation and copy that ID too.
STEP 2: UPDATE THE SCRIPT
1. Open the main LedgeGrab script.
2. Look at lines 15-16.
3. Replace my default IDs with your brand new IDs.
Example:
hangAnim.AnimationId = "rbxassetid://YOUR_HANG_ID_HERE"
shimmyAnim.AnimationId = "rbxassetid://YOUR_SHIMMY_ID_HERE"
That's it! The system is now 100% yours and ready to go.
