so I'm making like a Sukuna gauntlet game where you can play as any character and my problem is idk how to code it so you can get on top of buildings and stay -for example -Getting on top of a building and still being able to fight Yet when I code it so you stay up on the building,I'll end up having to copy the whole script so the player can sit and fight but this takes up more code than needed and I wanted to know a simpler way? also I'm using the engine with the camera from James
if no one has an idea I'll figure it out myself