Why do Roblox hitboxes suck?

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025

ความคิดเห็น • 1.4K

  • @carlos-wy7vs
    @carlos-wy7vs 7 หลายเดือนก่อน +84

    noob, congrattation in 200k views

    • @A-75rldrooms
      @A-75rldrooms 6 หลายเดือนก่อน +2

      noob, congrattation in 200k views

    • @LeosGamingExperience
      @LeosGamingExperience 6 หลายเดือนก่อน +2

      noob, congrattation in 200k views

    • @terrariapro147
      @terrariapro147 6 หลายเดือนก่อน +3

      sweiv k002 ni noitattargnoc ,boon

    • @dirhi
      @dirhi 6 หลายเดือนก่อน +2

      noob, congrattation in 200k views

    • @Stratobloxxer
      @Stratobloxxer 5 หลายเดือนก่อน +2

      noob, congrattation in 200k views

  • @Bluerizo
    @Bluerizo ปีที่แล้ว +67

    For the amount of time and years i've played roblox, this has been something i definitely picked up on. This applies to A LOT of interactions like racing and fighting games

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +17

      In racing games it is the worst because you will always think you are ahead of them, even though you are not.
      Client prediction is used to mitigate this, but so far its not a thing in roblox.

    • @nateypateyu
      @nateypateyu ปีที่แล้ว +5

      @@CopperCogStudio especially in games like Car Crushers, latency is really bad

  • @falsestix
    @falsestix ปีที่แล้ว +87

    This is why developers recommended you to play in YOUR region server because of less ping latency

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +12

      yeah pretty much

    • @pires5727
      @pires5727 ปีที่แล้ว +18

      if they atleast added a brazil or south america server... it really sucks to pvp with 200+ ms

    • @arthurbarroso4152
      @arthurbarroso4152 ปีที่แล้ว +9

      ​@@pires5727 verdade parceiro, 400 ping ms é muito ruim caba

    • @amiroslinos7298
      @amiroslinos7298 ปีที่แล้ว

      I don't have

    • @nexus8824
      @nexus8824 ปีที่แล้ว +2

      but unless the devs implement a server browser, it's pretty much useless ngl.

  • @Kamletue
    @Kamletue ปีที่แล้ว +723

    Bruh my ping be 📈📈📈📈

    • @moab6217
      @moab6217 ปีที่แล้ว +41

      Bro i swear mines like typically 10k at most like 50k

    • @toustikcz640
      @toustikcz640 ปีที่แล้ว +15

      @@moab6217what 💀

    • @cheesesoldier7136
      @cheesesoldier7136 ปีที่แล้ว +62

      ​@@moab6217i witnesssed 120k once 💀 i still cant understand how some people call 200 ping almost unplayable

    • @astrokatzs
      @astrokatzs ปีที่แล้ว +10

      ​@@cheesesoldier7136because it kinda is
      But yeah 120k ping is crazy (i got 200k once)

    • @Selatapey
      @Selatapey ปีที่แล้ว +3

      I love my 1 month, 23 days, 4 hours and 55 minutes ping (that’s not a joke it used to happen)

  • @manexie
    @manexie ปีที่แล้ว +20

    Incredibly well made video, bad part is that i got no arguments now whenever i die

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +4

      lmao

    • @alguienxder3xd539
      @alguienxder3xd539 ปีที่แล้ว

      dont worry, just say lag until this guy does "why roblox performace sucks"

    • @manexie
      @manexie ปีที่แล้ว

      @@alguienxder3xd539 ty man

  • @ask343
    @ask343 ปีที่แล้ว +17

    I kinda figured out about latency on Roblox simply by playing it, but I remember once having two devices in the same room playing Roblox, and it was crazy to me how long it took for a player jumping on one device to show on another
    It really put things into perspective

    • @ToreAlt
      @ToreAlt ปีที่แล้ว +5

      its not about how close you are with each device, but how good of a connection you have with the server. even if both are in the same room, if the server is far away chances are it will take its time to send it back to the other device

    • @ask343
      @ask343 ปีที่แล้ว +3

      @@ToreAlt ye ik

  • @Scryptings
    @Scryptings ปีที่แล้ว +30

    Hey! Dev here, I've recently made something similar.
    A good way to approach is by either neglecting client-side registration or the other method which I'll explain
    So by neglecting client-side registration, while the hitbox may suck, you can increase the sizes of the hitbox to properly compensate for the latency
    If you dont want to stop using client regs, you can instead use sanity checks to check if the distance between the attacker and the victim is sane and well fair.
    While me personally i use the second method to not risk exploitation, you can implement your own!

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +3

      I just use lag compensation to rewind the hitboxes.

  • @tophat156
    @tophat156 ปีที่แล้ว +11

    Thats like saying
    "the person has bad internet so your position on screen is delayed"
    with an extra step

  • @CopperCogStudio
    @CopperCogStudio  ปีที่แล้ว +154

    I keep seeing a bunch of people who didn't even watch the video and comment:
    "Why doesn't my opponent get hit from far away?", They do you just can't see it because you are hitting them from your perspective, while in their perspective your position is delayed, just like yours is for them.
    "Ok but how do we fix the hitbox?", You can't really fix latency, Latency as mentioned is a physical limitation between the time it takes for packets to arrive between machines over the internet, there are some techniques out there done to mitigate latency.
    Client Prediction: Client prediction will basically simulate other player's physics on your client so it can predict where they are actually at on the server's world state and that way make it seem like all positions are instant.
    Also to clarify lag/latency is the time it takes for a message to be sent from your pc over to the server on the internet.
    Lag compensation: Lag compensation allows to cast hit registration from the server's world state, and rewind said hitboxes according to the latency of a player so it can predict what the player was seeing on their screen.
    Unfortunately, the methods above cannot be done with Roblox's default tools and require devs to learn complex frameworks such as chickynoid, so you can't really do anything for now.

    • @air_opl
      @air_opl ปีที่แล้ว

      this is surely not possible but, what if somehow a server or client could be improved in order to have packets deliver faster no matter your ping?

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +14

      @@air_opl . . .

    • @smileyfacedev
      @smileyfacedev ปีที่แล้ว +1

      @@air_opl What do you think ping is?

    • @PresidentAnvil
      @PresidentAnvil ปีที่แล้ว

      a better method of client prediction is taking the velocity of the character and comparing it to the client's world state to predict what the client sees.
      what im trying to say is you can have the client advise the server's prediction, and with a few checks, determine if what the client sent was legitimate or not.

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +2

      @@PresidentAnvil This is not how lag compensation works, I advise you to read an article on what it is.

  • @itsbonkingtime
    @itsbonkingtime ปีที่แล้ว +18

    No matter your ping, Whenever you step on a small object, Your character shoots up to the pearly gates

  • @quangnguyenthi1836
    @quangnguyenthi1836 ปีที่แล้ว +16

    Me: (Punches the air)
    A random player 10377483872738372 studs away: (OOOOOOOOF)

  • @Emm1lyn
    @Emm1lyn ปีที่แล้ว +9

    Well made video! Thanks for explaining this, and also for completely destroying the one and only argument I have whenever someone kills me "unfairly".

  • @Velainary
    @Velainary ปีที่แล้ว +18

    The problem is that roblox is just filled with children who don't understand this bs. So when you say "I have 200 ping dude, I can't hit you", the child on the other side says "get good kid, skill issue"

    • @Brandon-ct8vo
      @Brandon-ct8vo ปีที่แล้ว +2

      Just... don't take it personally, then? Most people don't really care about any complaints their opponent throws out anyways

    • @eduespro
      @eduespro ปีที่แล้ว +6

      ​@@Brandon-ct8voIt is hard to not care
      They write like brats
      And brats are Annoying

    • @Velainary
      @Velainary ปีที่แล้ว +7

      @@Brandon-ct8vo yeah, I guess you are right. I understand it's not that much of a big deal, just a small but frustrating knowing that it isn't your fault but nobody believes you.

  • @RadionWB
    @RadionWB ปีที่แล้ว +8

    Goated video + informative + 5/5 + helpful + interesting + well made + straight to the point + well edited + good presentation

  • @A_Toasterr
    @A_Toasterr ปีที่แล้ว +17

    Praying for the video that explains how to fix latency when it comes to hitboxes, i'm planning a game out rn and i would really like to have a game thats fair for both sides

    • @Idkwhattoputhere...306
      @Idkwhattoputhere...306 ปีที่แล้ว

      I Believe its seperate from how latency works with R6 and 15 models where the amount of lagg will decide how delayed your actions are to other peoples prespectives. But with a sword, it would lock its hitbox to the character thats being seen by other people which is why things like reaching happens and Why baiting is an actual viable strat in SF

    • @Paradoxuss
      @Paradoxuss ปีที่แล้ว +1

      There is no way to fix latency, what you could do is compensate for it
      Run the hitbox on either the client with server sided sanity checks or on the server while compensating for the player's ping by adjusting the hitbox size

    • @berendberend702
      @berendberend702 ปีที่แล้ว +3

      I don't think it is actually possible to make it 100% fair/accurate. If you process collisions on the server, there will be a difference between the clients perspective and the server. However, if you do it on the client, it can be abused by exploiters and there will be an even bigger difference for the other players.

    • @Paradoxuss
      @Paradoxuss ปีที่แล้ว +2

      One thing that should be mentioned tho, try to optimize your scripts as much as possible as to not make em resource intensive, that should help lowering the server's ping

  • @Raykiv
    @Raykiv ปีที่แล้ว +5

    THANK YOU. So many people complain about this without understanding how these things work. It feels so good to hear someone to talk about this. You earned a sub!

  • @DerkloztRayrk
    @DerkloztRayrk ปีที่แล้ว +7

    Thanks for covering this topic, man. I was in need of this kind of system to make the most accurate and fair hitboxes for my game.

  • @FlittaLink
    @FlittaLink 6 หลายเดือนก่อน +16

    Someone: “That hitbox…”
    Me: “That client desync 🍷🗿”

  • @Lkbk0509KK
    @Lkbk0509KK ปีที่แล้ว +6

    Finally someone said it, Its frustrating to see someone blame the hitboxes or even the character model boundaries

  • @partofyoutube1297
    @partofyoutube1297 ปีที่แล้ว +18

    Tycoon's collect buttons are never gona get fixed 💀💀😭

  • @professorg2590
    @professorg2590 ปีที่แล้ว +16

    Alternative title:
    Robloxian discovers that time is relative and the theory of relativity.

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +5

      ???

    • @professorg2590
      @professorg2590 ปีที่แล้ว

      @@CopperCogStudio Time is relative

    • @professorg2590
      @professorg2590 ปีที่แล้ว

      @@CopperCogStudio en.wikipedia.org/wiki/Relativity_of_simultaneity

    • @professorg2590
      @professorg2590 ปีที่แล้ว

      @@CopperCogStudio Google relativity of simultaneity.

    • @papelhat4265
      @papelhat4265 ปีที่แล้ว +13

      brother thinks hes albert einstein 😭

  • @smarterror13
    @smarterror13 5 หลายเดือนก่อน +8

    Another problem is that roblox has a huge problem with latency, mainly server locations (they are terrible), Although it doesn't matter that much because if you're not in the US it connects u to germany anyway

  • @memezforbeanz3109
    @memezforbeanz3109 ปีที่แล้ว +9

    In my own scripting ventures, I find it extremely difficult to program a faster fighting game (such as super smash brothers) due to latency. I utilize raycasting for nearly every single hitbox in my game, which feels great when you're the one attacking, but frustrating when getting hit. There is no easy solution, but as you mention at 6:09, there could be better solutions rather then solely relying on client side hitbox detection. I have not found anything smooth enough to solve this problem, so I'm very interested in seeing what this supposed "better way" is.

  • @Aslanq
    @Aslanq ปีที่แล้ว +5

    I appreciate how comprehendible your explanation was! Now I know why I stink at sword fighting :/

  • @JLlance
    @JLlance ปีที่แล้ว +12

    most hitboxes lag behind meaning if your moving forward, its dogshit, but if your moving backward, you have immense reach

  • @Epsilon-18
    @Epsilon-18 ปีที่แล้ว +13

    This is ultimately the reason why I stopped playing MM2

  • @SchraderSpark
    @SchraderSpark ปีที่แล้ว +2

    i always knew this was a thing, but i just didn't know how to explain it. and in this video it explains it but also showed me some areas i didn't even know about in this topic, being some ways that developers make hitboxes.

  • @EntireArgument
    @EntireArgument ปีที่แล้ว +4

    i personally have a generally good amount of experience making game combat mechanics, and i must say that you explained this VERY well. good job

  • @enderplant
    @enderplant ปีที่แล้ว +2

    Good video, I wasn’t expecting you to make a in-depth video about this

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +1

      Well I did, i figured out my channel already has grown roots so, not uploading would be a waste of a future carrier.

  • @Rinne_Kagurazaka
    @Rinne_Kagurazaka 11 หลายเดือนก่อน +6

    Honestly this was an eye opener since I mainly used raycasting or touched event. Never really realized spatial queries exist tbh

    • @CopperCogStudio
      @CopperCogStudio  11 หลายเดือนก่อน +2

      wake up because now shapecasting exists too.

    • @DarkestGames86
      @DarkestGames86 11 หลายเดือนก่อน +1

      Touched kinda sucks ass, region3s or spatial queries are better

    • @kiracorn-person
      @kiracorn-person 11 หลายเดือนก่อน

      @@DarkestGames86 just use part bounds in box for touched event

  • @Rawblocky
    @Rawblocky ปีที่แล้ว +21

    For those saying that this is a Roblox only problem, there are various instances that this can apply to different games
    One popular example is “peeker’s advantage”, which can be seen on Valorant, CS:GO, Rainbow 6, Fortnite, and any game, really, including Roblox.
    So, lets say we’re playing a game where guns immediately kill you, and we have two people: Camper and Peeker
    Camper is just camping a random part of the map, while Peeker is about to peek out and shoot Camper. Peeker has a higher chance of winning, since he would see Camper before Camper could see Peeker, giving Camper no time to react. This is because it takes a while for Peeker’s character to replicate to Camper’s PoV
    It’s kind of hard to explain, but I’m just saying that this doesn’t just apply to Roblox’s engine. The reason why you might not feel it is because games usually pair you to a server located close to you, while Roblox sometimes just puts you in a completely random server, throwing off your ping. Thats why when I join a game like Arsenal, if I don’t get put in a server I am near, I would go to the server browser and find a server closest to me to ensure the best possible ping. If you really want to feel this issue it in different games, just change your server to somewhere super far away, and you’ll feel it.

  • @breakfost
    @breakfost ปีที่แล้ว +11

    Me who already knows why but still watches it: hmm interesting.

  • @blockedjuser1272
    @blockedjuser1272 ปีที่แล้ว +8

    4:58 This is so annoying to deal with if you run away and spam your mele they will not get hit but you will. If they run a way you have to be in front of them and predict where they are going also they can hit you in this state.

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว

      They cant hit you either, it looks likey they can but they suffer from the same issues you do, this is why you see so many stupid videos nowdays such as "roblox hitboxes be like"

  • @saiyanwannabe6896
    @saiyanwannabe6896 ปีที่แล้ว +11

    i like at the end you went "there are better ways" and didnt explain or elaborate further

    • @aghitsaplane4262
      @aghitsaplane4262 ปีที่แล้ว +2

      >"there is a better ways"
      >Refuses to elaborate
      >Ends the video

  • @LD-dt1sk
    @LD-dt1sk ปีที่แล้ว +9

    Adding client sided hitboxes is like asking for your game to get hacked

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +8

      Well yes, but unfortunately roblox doesnt offers a different way to solve the problem atm, They did said they are working on server authoritative physics which hopefully brings an end to client sided hitboxes and movement practices.

    • @chibisayori20
      @chibisayori20 ปีที่แล้ว +1

      Imagine if Roblox servers we're hosted by developers of their own games, and Luau wasn't all sandboxed.
      Yeah, scary to think an exploiter could legit do more damage to you than simply messing around a roblox game, since they could dox your server, RCE vuln will be even more dangerous since they could execute system calls. In-fact that's how hosting servers outside of roblox works, and if you're not careful and you trust the client too much (and let's say you intend on hosting the servers yourself) and your server-side is not very secure, you basically risk getting your actual computer hacked.
      It's best try getting used to not trusting the client and experimenting with server-side stuff on Roblox where they provide free servers and a sandboxed Lua.

  • @Cloutiqe
    @Cloutiqe ปีที่แล้ว +11

    I wish more people would understand this

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +7

      same i hate npcs who just say "baaadhitbox"

  • @corvus7262
    @corvus7262 ปีที่แล้ว +6

    ngl learned a good chunk of information from this gonna abuse my local rome genre now

  • @Jappley
    @Jappley ปีที่แล้ว +4

    finally someone explained it good, im sick of people blaming the developers for making big hitboxes when they know nothing about how hitboxes work

  • @ObohDivine
    @ObohDivine 6 หลายเดือนก่อน +12

    Basically, hitboxes suck because clients (or players) have different latencies (time it takes to send data to the server) so actions are delayed.

  • @marschallblucher6197
    @marschallblucher6197 6 หลายเดือนก่อน +15

    What if the game checks if an attack hits on _both_ ends?
    Ex. In the original Dark souls back stabs were checked only on thr attacks end. So you often get "lag stabbed" or "teleport backstabbed".
    In dark souls 3. The gane now checks both player perspectives. (This includes other attacks aswell.)
    Sometimes an attack would land on one player's screen but not on the others. So it would play thr damage effect and stagger thr player (on some weapons) but not deal any damage. A decent middle ground.

    • @truestbluu
      @truestbluu 6 หลายเดือนก่อน +5

      But that means any desync would mess up the entire system unless the player isn't completely static.

    • @harryvpn1462
      @harryvpn1462 5 หลายเดือนก่อน

      Everything will whiff on your own screen

  • @Pork_mp4
    @Pork_mp4 ปีที่แล้ว +19

    Solution: Go outside and hit people with real weapons, there is no Latency in real life.

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +5

      FAX

    • @Misosoup456
      @Misosoup456 ปีที่แล้ว +1

      Technically there is, but it's VERY small

    • @voidomega4211
      @voidomega4211 ปีที่แล้ว +4

      Speed of light:
      Ima about to end this man’s whole career

    • @notcrispeeweevile
      @notcrispeeweevile ปีที่แล้ว +1

      @@amalgam4595 One could argue that the speed of light is a form of latency

    • @Snapshot8888
      @Snapshot8888 ปีที่แล้ว

      Community posted

  • @BluerayIsPog
    @BluerayIsPog 5 หลายเดือนก่อน +10

    Its honestly kinda dumb, but the way I sorta worked around this was to fire a magnitude calculation between hitbox and the hit object on the server whenever a hitboxTriggered remote event fired. If the magnitude on the server-side between the hitbox and hitpart is greater than the attacking hitboxes largest side + some leeway (to account for the ping for the remote event getting to the server), the server won't register the hit.
    Additionally, one major gameplay feature which also helps the latency problem in my case is overall movement speed. The faster players can move, the more this latency tends to become a problem. By limiting movement speed in general, it makes hitboxes become more accurate for all players, and it also makes the use of a dodge-roll mechanic more useful since its more likely to avoid getting hit due to the short burst of speed it gives.
    This solution is pretty jank and doesn't remedy the core problem, but its the easiest "fix" I can do to try preserve some level of balance for all players, and not just benefit everyone whos playing pure offensive

  • @buster7797
    @buster7797 ปีที่แล้ว +15

    My favorite part of the video is reading the comments and seeing you getting frustrated at people who did not understand the video at all.

    • @cent5399
      @cent5399 ปีที่แล้ว

      fr

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +4

      Fax

    • @notcrispeeweevile
      @notcrispeeweevile ปีที่แล้ว

      My favorite part was when I read the comments, and found the same thing. Then I noticed he also doesn't understand some of the comments.

  • @overr1562
    @overr1562 ปีที่แล้ว +4

    i have fun sometimes with the latency when driving cars. i would drive and swerve in front of others' cars ahead of them while they're driving, and they would get hit hard by me, while i appear untouched/unaffected

  • @ll-cy3dc
    @ll-cy3dc ปีที่แล้ว +2

    Latency is such a huge battle, I would very much be interested in that discussion!

  • @vortexas-animations
    @vortexas-animations ปีที่แล้ว +8

    One thing I like to do in some pvp roblox games that is more melee based? Spin. Not even just click because touching the blade by any means = Damage.

    • @wastoxic
      @wastoxic 6 หลายเดือนก่อน

      But it only works with linked sword and its variants im pretty sure

  • @Alveronic
    @Alveronic ปีที่แล้ว +7

    Excellent video, shame you dont have more subs and views

  • @SenkingFar
    @SenkingFar ปีที่แล้ว +5

    for a first video, this was great!

  • @Mendless
    @Mendless ปีที่แล้ว +11

    why this video getting recommended 4 months later 😭😭

  • @discussions.
    @discussions. ปีที่แล้ว +8

    Never knew the server was also behind that is interesting.

  • @tatancete000
    @tatancete000 ปีที่แล้ว +4

    in roblox i ve seen so many people saying me hacker and saying others hackers because they think they used a exploit for make the range of their weapon bigger but they don't fully understand the hitbox and the thing this video explains

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +2

      I mean yes those exploits do exist due to the nature of client sided hitbox, but 70% of the time its just latency.

  • @botondzoltannagy8849
    @botondzoltannagy8849 6 หลายเดือนก่อน +8

    When you try to hit them you have to be making out with them just to have a chance of hitting them.
    And then they hit you from another galaxy away

  • @Hivatel
    @Hivatel ปีที่แล้ว +4

    What I've been telling the kids who keep saying I'm exploiting since I started playing roblox:

  • @Steve_Bloks
    @Steve_Bloks 5 หลายเดือนก่อน +4

    the issue with doing the raycasting locally is that hackers can manipulate it to hit the person so you would also have to make a server sided check (maybe checking if that enemy is in a certain range around the attacker) to make sure that doesnt happen

    • @cezito6831
      @cezito6831 5 หลายเดือนก่อน

      proper server checks are just trivial math, idk why most devs be doing everything on the server just because "never trust the client ugh duh"

  • @nellyadj120
    @nellyadj120 ปีที่แล้ว +3

    Very informative, I’ve been looking to script a combat system for a while now and info like this is helpful

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +1

      Wait till you see my video today and i show you all a 100% exploit proof method.

  • @brassicac
    @brassicac ปีที่แล้ว +4

    this is why i usually play much more aggressive when im using melee weaponry

  • @Itsuu.
    @Itsuu. ปีที่แล้ว +10

    Kinda sad that someone had to tell those shitters why it works like that :3

  • @ethanthekirbyfan1013
    @ethanthekirbyfan1013 ปีที่แล้ว +6

    in the strongest battlegrounds, side dashing wont move your hitbox effectively, it just has 3 states, instead of being stuck to your body

    • @Lopal12
      @Lopal12 ปีที่แล้ว

      me who uses arrow keys and cant do that

    • @JK-9107
      @JK-9107 ปีที่แล้ว

      ​@@Lopal12why you using arrow keys

  • @mauskator
    @mauskator ปีที่แล้ว +4

    very well put together explanation on how latency affects gameplay
    I think a lot of players would get a lot from watching this video…

  • @adamuyyui5503
    @adamuyyui5503 ปีที่แล้ว +5

    we need more people like this putting survival of the fittest gameplay in the backround

  • @Thy_Guardian
    @Thy_Guardian ปีที่แล้ว +11

    I always told people that and they never believe me. That's why I can't play fighting games on roblox. Latency is in EVERY multiplayer games, it depends of the server and your internet.
    As you guessed roblox is the worst server ever, basicly the latency is so big on roblox it will put you atleast 1s in the past. So when you're moving, see yourself 1s in the past or so now you will understand how someone can hit you so far.
    The best example is playing a JOJO game or a game with a time stop ability, you will jump to avoid being on the ground, you see yourself in the air and think you're safe. Then the opponent start punching the ground where you jumped from and suddenly when the TS end, you get hit by all of his attacks, because for the server you were still on the ground.
    Conclusion: It'S ANNOYING ASF AND UNPLAYABLE

    • @basicallychris8751
      @basicallychris8751 ปีที่แล้ว

      skill issue 🤷

    • @spidelated
      @spidelated ปีที่แล้ว +1

      @@basicallychris8751nice rage bait

    • @k0lg040
      @k0lg040 ปีที่แล้ว

      Don't you mean you see yourself in the future but the other's see you in the past

    • @Thy_Guardian
      @Thy_Guardian ปีที่แล้ว

      @@k0lg040 Ye basicly. Well you shouldn't be in the future, it's the server that has delay and put your imput in the past

    • @MachineHandler
      @MachineHandler ปีที่แล้ว

      I honestly wish that rollback was added into Roblox. Because apparently that's not even possible with how Roblox's servers work.

  • @dubi1dupi
    @dubi1dupi ปีที่แล้ว +13

    Combat Warriors needs to take notes

    • @CompanyLethalizer
      @CompanyLethalizer ปีที่แล้ว

      and mortem metallum

    • @labandamilitar
      @labandamilitar ปีที่แล้ว

      and blood & iron

    • @yuwelcome
      @yuwelcome ปีที่แล้ว +1

      Its not their fault, it's roblox, they're literally using the best methods ffs people are dumb.

  • @pointlessdude
    @pointlessdude ปีที่แล้ว +2

    I always knew the reason was lag, but the way this video is formatted, along with the information on how hitboxes are coded was very good
    However, the part from 4:58 to 6:00 required me to rewatch it a couple of times to understand. I reccomend adding subtitles and/or using visual elements to highlight and emphasize what you are talking about. Overall, I like this video and I wish to see more like this in the future. Maybe you could explain how exploiting works, I'd like to see a video on that.

  • @nateypateyu
    @nateypateyu ปีที่แล้ว +3

    latency is an absolute pain to deal with
    especially for games like tag and racing games

  • @ps_lol
    @ps_lol ปีที่แล้ว +4

    although as a developer as 5 years, this really annoys me about touched function
    1. they sometimes doesn't work due lightspeed of velocity
    2. parts touched and bounce back but the touched function doesn't work already
    i wish they fixed it already

    • @dahorrorazguy7905
      @dahorrorazguy7905 ปีที่แล้ว +2

      Just use a different hitboxing method, touched events should only be used for simple things

    • @ps_lol
      @ps_lol ปีที่แล้ว +1

      @@dahorrorazguy7905 yea i know

  • @bananinhaamassada6919
    @bananinhaamassada6919 ปีที่แล้ว +5

    It would be awesome if Roblox were able to render the player's real-time ping information and provide it for game scripts. It would let the developers create their own movement predictions to reduce ghost hits, etc.

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว

      I recommend you checking out chickynoid, it already does a lot of what you mentioned.

  • @13physc
    @13physc ปีที่แล้ว +1

    This is amazing, I even learned a bit of scripting knowledge from it, please make more

  • @AyinFromLobotomyCorporation
    @AyinFromLobotomyCorporation 6 หลายเดือนก่อน +7

    okay so the conclusion i drew from this is that roblox's netcode is stinky. good to know

  • @tact310
    @tact310 ปีที่แล้ว +2

    I usually use the touched event method but they dont work out as i intended, such as touched firing way too man times upon touched (i added debounce but it still didnt fix it). But now with modules such as zone plus, it made it more easier for me to detect parts. Anyways great video!

  • @firemayro
    @firemayro ปีที่แล้ว +8

    i figured that player positions had a delay on others' screens

  • @thiner6649
    @thiner6649 5 หลายเดือนก่อน +8

    The unfair advantage every opponent has in roblox

    • @mousi9736
      @mousi9736 5 หลายเดือนก่อน +1

      Actually its more like both, it can be used against your opponent, but your opponent can do the same

    • @Thy_Guardian
      @Thy_Guardian 22 วันที่ผ่านมา +1

      You also get this advantage but you don't see it neither your opponent. When you get hit far away you're actually close to them, on their screen they really hit you. Same for you, when you hit someone really close, that guy on his screen was already running away and took a hit

  • @garblites
    @garblites ปีที่แล้ว +11

    what the hell i was just complaining about this stuff im being watchex

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +7

      The fog is comming, The fog is comming, The fog is comming.

  • @PresidentAnvil
    @PresidentAnvil ปีที่แล้ว +4

    amazing video, i always get triggered when someone speaks about hitboxes based off misinformation.

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +1

      I keep getting triggered by people also spreading missinformation on the comments.

  • @K-Sha1
    @K-Sha1 8 หลายเดือนก่อน +7

    Many comments not understanding that almost every one of these games have perfectly fine hitboxes. It's latency that is the problem. In instances where the game doesn't use client side hitboxes and has very fast movement you could almost say they're *too* good because they're too small to cover the extremely high volatility of movement and too small to reliably catch other players unless they linger within its radius for at least a second or two. Which.. isn't happening. The devs did a fine job designing hitboxes, but they did not do a fine job on the netcode. Which is honestly out of their hands to some extent because the limitations of Roblox itself prevent the most elegant solutions from happening.
    -this is also partially Roblox's fault for not having enough server locations around the world, thus increasing latency for players overall, because they just want to hoard cash instead of investing it into the betterment of the platform-

    • @stupidlysimple
      @stupidlysimple 6 หลายเดือนก่อน +1

      Account made 12 years ago?

  • @MaximumEffort_
    @MaximumEffort_ ปีที่แล้ว +2

    amazing explanation! now i can refer this video to people rather than explain it myself

  • @0ninja213
    @0ninja213 ปีที่แล้ว +5

    This is why server browsers are important on competitive games

  • @georgerobi_anims
    @georgerobi_anims ปีที่แล้ว +7

    so basically, Black Magic 2 hitboxes explained

    • @Pancakes_os
      @Pancakes_os ปีที่แล้ว +2

      No way someone remembers this game lol

    • @amethyst5783
      @amethyst5783 ปีที่แล้ว

      Finally found someone else who plays lmao

  • @driprockstarfreddy6441
    @driprockstarfreddy6441 ปีที่แล้ว +3

    Usually when someone dies to me and says "Bro these hitboxes suck" or "Bro thats mad sus, prob have range hacks" here is what i say to counter:
    "Its just ping difference."

  • @ackton
    @ackton ปีที่แล้ว +7

    Finally someone else who understands why MM2 knives suck

  • @CopperCogStudio
    @CopperCogStudio  ปีที่แล้ว +17

    Update: theres a new method for hitboxes with the release of shapecasting, go check it out for better methods than raycasting! devforum.roblox.com/c/updates/announcements/36
    Edit: Thanks to everyone who is coming due to this video blowing up, I knew if I stayed patient, it would eventually blow up.

    • @FidhGG
      @FidhGG ปีที่แล้ว

      yes

    • @MajesticUC
      @MajesticUC ปีที่แล้ว

      this is my favourite roblox feature

  • @lilsnoboi6063
    @lilsnoboi6063 ปีที่แล้ว +5

    finally, someone who understands my pain.

  • @realshaperio
    @realshaperio ปีที่แล้ว +4

    Massive respect for using Fluidity music ♥️♥️

  • @mubbi4188
    @mubbi4188 ปีที่แล้ว +1

    Extremely informative video bro, i truly appreciate it

  • @Austin-you-not
    @Austin-you-not 6 หลายเดือนก่อน +9

    Melee weapons: I kissed the man Literally but yet it didnt count a hit !!!
    Ranged: MF IM LITERALY STANDING BEHIND THE WALL HOW !!!

  • @PatienceMakesPerfect
    @PatienceMakesPerfect ปีที่แล้ว +1

    THANK YOU SO MUCH, You explained everything very well!✨

  • @debscribe
    @debscribe ปีที่แล้ว +5

    Thanks for the explanation.

  • @someonexdxd
    @someonexdxd ปีที่แล้ว +5

    Its kinda insane to me how people cant figure this out themselves it took me like 1 minute of thinking

    • @jynz_l
      @jynz_l ปีที่แล้ว

      All this was just lag

  • @ex_xlusive
    @ex_xlusive ปีที่แล้ว +6

    Everytime you say "lag" this what we be referring to

  • @koolaidinpepsi
    @koolaidinpepsi ปีที่แล้ว +2

    csgo hitboxes with the awp is just on a whole nother level im geeking

  • @crave9564
    @crave9564 ปีที่แล้ว +8

    i love how this video is getitng forwarded to people 5 months later

  • @Time_pug
    @Time_pug ปีที่แล้ว +6

    Discount Shounic lol.
    All jokes aside, for being a small content creator, you did a pretty good job at explaining it, though you could've improved the video script to make it easier for viewers to understand. Nice job dude!

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +5

      who the fuck is shounic

    • @Ceirati
      @Ceirati ปีที่แล้ว +1

      cat

    • @darkidarki1332
      @darkidarki1332 ปีที่แล้ว +2

      @@CopperCogStudio tf2 youtuber who breaks down how the game's code works, showcasing exploits, glitches, and generally weird stuff.

  • @TheTrueReal-ip8vo
    @TheTrueReal-ip8vo ปีที่แล้ว +7

    There’s a script on Roblox which fixes hit boxes for everyone, it just teleports everyone a little bit in front based on their ping and when they move and where, also it doesn’t really fix the issue cause… auk why.

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +8

      While that script sounds like a terrible idea, theres a concept in video games called client prediction that is similar to this.
      Since positions from the players arrive late to the client, The positions where you see the players standing at, is already late. Client prediction will grab these positions on your client and predict where they are probably at from the server's world state, this way you can see a result closer to their real position, and it no longer looks like they are hitting you from farther away because you can somewhat see their true position.
      Unfortunately, there's no current way to do this on Roblox atm.

  • @gamecubebro
    @gamecubebro ปีที่แล้ว

    I greatly appreciate the fact you went out of your way to explain the different type of hitboxes and functions in roblox studio too with visual examples as a lot of your information would've been hard to understand without a visual example

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว

      the only issue I see is that I was not really clear explaining the latency issues on this video, so I might release a part 2 with server sided hitboxes with lag compensation

    • @gamecubebro
      @gamecubebro ปีที่แล้ว

      @@CopperCogStudio Yeah that's fair, I already was capable of understanding myself cause I learnt a lot of Computer Science myself but also. At 6:08 you said there's a better way than client hitboxes but never elaborated, can you do that in the Part 2?

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +1

      @@gamecubebro yes, the reason why i didnt elaborated is because it is a topic that involves server authoritative movement and lag compensation which is stuff that is really complex and also unheard of on roblox.
      I have a video on my game where i showcase these things being applied:
      th-cam.com/video/KfpANVdP4k8/w-d-xo.html

    • @gamecubebro
      @gamecubebro ปีที่แล้ว

      @@CopperCogStudio Alright thanks man!

  • @jax3235
    @jax3235 ปีที่แล้ว +10

    Thanks for dumbing this down for people like me

  • @razen908
    @razen908 ปีที่แล้ว +1

    this really helped me comprehend why do my hitboxes suck in most roblox games, though its sad i cant really do much about my ping

  • @theyeschannel5593
    @theyeschannel5593 ปีที่แล้ว +5

    This is the #1 reason why I don't play most PvP games in roblox, the hitboxes on some games are rigged, most of them has ping advantages. For other countries with slower network speed will have a huge disadvantage that the others with fast internet speed from fast networks like a guy in USA playing in USA servers, Versus a guy from asia playing in USA servers. It's unfair, so PvE games are my pick on roblox and not others like arsenal or dahood, or any game that has bad pvp systems that are mostly ping based.

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว +5

      as I said there are ways to mask latency like client prediction so you can actually see the player's true positions on your worldstate.
      or server sided lag compensated hitbox, but those things are not possible yet on vanilla roblox so PVP games are kinda sucky for now.

    • @osamaqidwai7800
      @osamaqidwai7800 ปีที่แล้ว

      a multibillionaire company cant get better/closer servers for many people

  • @majorgalah
    @majorgalah ปีที่แล้ว +2

    to avoid this when its bad, i generally like to perform a distance check on the server

  • @TheKris.
    @TheKris. ปีที่แล้ว +3

    btw, you can check your ping in performance stats, you can toggle them on in settings, or CTRL+F7

  • @Herokaine
    @Herokaine ปีที่แล้ว +1

    I thought this was kinda obvious for ppl, so for simplicity your opponent's perspective is closer to you while YOUR perspective is your a little farther than them. But hey ty for explaining this

    • @CopperCogStudio
      @CopperCogStudio  ปีที่แล้ว

      like fr im tired of seeing NPC's say stuff like "bad hitbox".

  • @Zombie-gamin
    @Zombie-gamin ปีที่แล้ว +4

    This is make me rage badly
    In some game people just hit and kill me without touching me