So I'm making this Brick Battle type game, and i've used the new Superball model Roblox made. Although there's a glitch with the tool that removes the characters Humanoid if they take damage, then gets hit with the Superball. So to fix this I made a script that inserts a new Humanoid into the character if there isn't one in it already. It works fine, but when the new Humanoid gets added, the player can't jump or reset. Resetting just kills you and doesn't respawn you.
I just want to know if I can fix this with the script I've made, or if I'll have to use the old version of the Superball (Or re-write parts of the new one.) Here's the script for putting in a new Humanoid:
while true do wait(.7) if script.Parent:FindFirstChild("Humanoid") == nil then Instance.new("Humanoid",script.Parent) end end