How to make a survival bossfight

ive been working on a mario style game and i want to make a boss but i dont want you to kill the boss i just want the player to have to survive for a certain amount of time

  1. how would i make it so that the attack changes over time
  2. how would i make it so that the player cant leave the arena once they enter
  3. i would probally use a door that opens after a certain amount of time so how would i do that
  4. i currently have a few ideas for attacks i want an attack that makes a lava spinner pop up ive already coded the spinner but how would i make it pop up? how would i make rocks fall from the roof? and i also want a ground pound attack

(i already made the boss model and i dont think im going to animate the boss)

1 Like

Doesn’t it feel like you asking for someone to script it? Consider trying to script it by yourself or hire someone to do that. If the scripter(s) will get stuck with a problem, share it on dev forum. You are basically asking for something from nothing. I could help but my answer would be to simple (too universal). Use my advices to make a post more attractive for getting help.

1 Like

i was kinda just asking how i would do that not for someone else to script it

1 Like

It’s ok. It is not possible to entinery show how to do it. The best what you can get is a hints (not 100% sure here). I will think later how I can help you.

1 Like

ok i will make smaller posts about this instead of putting it all in this post

The size is not that big problem. The actual problem is: Too universal questions - nobody knows how to begin helping you because there is no starting point (like for example piece of code). This is like asking someone to clean a toilet in a certain city without specifying which toilet exactly. The only way to clean the right toilet is to clean every single toilet. And in this case the only way to help you is to provide too many solutions where the most of these are not what you would want to be.

ok sry ill try to specify

Don’t worry I don’t expect you to be a perfect robot doing everything always right.

2 Likes
  1. Depends on what you mean by change over time? Do you want to have it change based on if the boss has lower health? Do you want it to change randomly? You will need to have if-statements for that.

  2. Also depends on where you want the boss to be located at and the arena. If the arena is in a pit, then you could have a rock parented to workspace from ServerStorage or ReplicatedStorage once the fight begins. (You will need to figure out when the fight starts and have that read by the server)

  3. You’ll have to script a door and a button. Preferably have both assets grouped and then script its interaction.

  4. You could use CFrame to either lerp or move to a position. With the rocks falling from the roof, you can clone some rocks and then position them above the arena using CFrame. For the ground pound, you will need to figure that one.

2 Likes