So, this script is supposed to move a players swordscript, in the linkedsword tool, and it does just that. The problem is there's still ties. Can someone help me out with a solution?
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) local var = 0 repeat wait() -- 2/30th of a frame. local ifs = char.Humanoid if ifs == 0 then plr.Backpack.LinkedSword.SwordScript:Destroy() end until var == 10 end) end)
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) repeat wait() until char.Humanoid char.Humanoid.Died:connect(function(OMG) plr:LoadCharacter(true) end) end) end) --[Copyright @ToTo129]--
Force respawn ties rarely occur. :3 Homemade by ToTo129
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:conncet(function(char) repeat wait() until char.Humanoid char.Humanoid.Died:connect(function(OMG) pr.LoadCharacter(true) end) end) end)
Hope this helped.