I haven’t worked on anything in near enough a year now, so I had a little fun with a small project today. It’s just an equippable knife that you can swing to kill humanoids without using the builtin ROBLOX inventory system. It works by pressing “Q” to equip/unequip. It is also filteringenabled & R6-R15 compatible.
Proud of the neat code too (well, there is a brick wall of variables, so what)
When you get to it, tell me how you replicate it. (I’m assuming you’re not using roblox’s humanoids and the game is multiplayer with FilteringEnabled on.)
Fun fact: Due to the shared data with the Ultimate Boxing live version and beta version, I had to make all the inventories FORWARDS compatible with non-existent items.
It’s not that easy to fight against lag though. You also have to choose between a server controlled player (send button presses to server) or a client controlled player.
If you don’t do it right, you’ll have lag worse than Mad Paintball II (it seems he does his own player replication which causes some funny and rage results.)
I’ve already created a few replication systems and they seem pretty lag less. Lag isn’t my current concern as I’m also using extrapolation just incase.
Yep, laptop and PC along with iPhone. All seem to have almost no lag other than lerping it too smooth but that can be adjusted. my current game, free run, uses a system I made in 2015 and when I had a PVP version up I had no complaints about lag with 40 players in a server.