please don't be rude or passive aggressive, i'm new to roblox lua and i'm around the intermediate stage i would say, all i want is just a little bit of help fixing this
so my project has custom characters, two of them to be exact and they are team based, so with that i have to create a custom respawn system since the regular roblox respawn system doesn't function well with my models (it resets the player back to their avatar)
i keep having this glitch where the character stays dead after dying, never respawns. i've been trying multiple things like using loadcharacter after dying but that breaks the whole script, anyone have any ideas on how to fix this? also i want methods to improve my script over all, as well, if anyone is willing to provide that
i'm not asking for a new script btw just some help with the glitch that keeps happening and some ways to improve but really what i seriously need is the glitch to be fixed LOL.
(this is a script in the serverscriptservice)
** You are now Level 6! **