Combat system like in Roblox Rivals

I was wondering what thoughts people had on the combat system as seen in ROBLOX Rivals. (Guns, bows, knives, etc.)

I have done a lot of research and found there are probably two ways to go about this(the scripting part of it.)

  1. CFrame math (involving calculus for projectile motion, physics. etc.., bit more complicated. and requires a higher understanding beyond basics
  2. BodyVelocity and other forces (not to sure how effective this is to simulate the same effect.)

Any advice / suggestions would be appreciated for anyone who knows about systems like this, as I have not had much success with either method but would be willing to learn with the right guide.

I am aware there is ROBLOX Templates for FPS packs and others in the toolbox however I am aiming to get a complete understanding & code a gun system from scratch.

1 Like

A lot of guns use Raycasting to see if the bullet hit something. However, the server does the check, so there are no hackers bypassing the system.

You SHOULDN’T use bodyVelocity or other forces, you’ll waste a lot of memory and there will be a lot of lag spikes in the game. There is a video I watched about just what you are looking for, but it is a DevLog though, not a tutorial:

1 Like

RIVALS has, hands down, one of the worst combat systems in all of roblox, only beaten out by Hypershot.

Ignoring the fact that RIVALS just gives mobile and console players cheats (triggerbot), the guns in general just don’t feel good to use, because big surprise, people who make golf games have no idea how to make an actually good shooter.

Everything’s unbalanced, its just blatantly p2w and nothing feels good to use at all. Nothing has any oomf to it, every action lacks feedback and the visuals are so over the top it makes it hard to focus sometimes.

Also, RIVALS hit registration is outright horrible.

Don’t replicate RIVALS. Make a better gun system.

Yeah. Every time I played RIVALS with my friend, I would always hit a headshot, but the server wouldn’t register it as one. Really sucks, because my mobile friends always pwn me :sob: