How would I make something like this?
I just want to know how to make the slow motion and how to tween the death screen.
Anything helps!
How would I make something like this?
I just want to know how to make the slow motion and how to tween the death screen.
Anything helps!
This is pretty straight forward.
On death → Trigger player ragdoll (with either your own ragdoll implementation, or someone elses), disable BreakJointsOnDeath on the players Humanoid, set the workspace gravity to 30 or less to simulate slowmotion, and just tween the ui like every other ui.
Also watch out if your game is multiplayer, you have to do this on the client, so the 30 gravity doesn’t mess up anything for the other players
Sorry, I’m late but when I do the gravity thing its not working it is in a local script
Can you show the code? It should be working if its in a local script.
Workspace.Gravity
can only be changed from the server.
i love spreading misinformation on the internet. edit: @KingIntroAndMoreSub what you are experiencing is most likely that the server gets network ownership of the players character upon death, resulting in the changed gravity on the client not affecting the player. proof, for this you would either have to: set the network ownership of the character to the player upon death (this will result in them being able to fly around after death if you don’t auto respawn (example games like deepwoken, ghoul re, gpo)), or figure out your own respawn logic so you don’t have to actually kill the player, only imitate that it died and then respawn them a few seconds later. (note that this also allows them to fly around, since the player always got network ownership of the character until the moment they die). i recommend the first option
Ragdoll script + lower workspace.Gravity
+ round shadow UI with decreasing transparency animation + wasted image/text + wasted sound + a ColorCorrectionEffect with saturation set to -1
All that needs to occur when the Humanoid.Died
event is triggered, for that specific humanoid, on its client side(local script code). The only thing that could happen on the server-side is the ragdoll, but without the low gravity(keep the low gravity on the client).
Also you need to change the wasted sound and perhaps the text to something different than “wasted” to avoid copyright issues. I myself had made a GTA inspired death screen in the past, and it got copyrighted after a few years of upload by Take-Two Interactive. Ideally, don’t even reference the word “GTA” anywhere.