Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to make this script have no ties?

Asked by 11 years ago

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?

01game.Players.PlayerAdded:connect(function(plr)
02plr.CharacterAdded:connect(function(char)
03local var = 0
04repeat wait() -- 2/30th of a frame.
05local ifs = char.Humanoid
06if ifs == 0 then
07plr.Backpack.LinkedSword.SwordScript:Destroy()
08end
09 
10 
11until var == 10
12 
13 
14end)
15 
16end)
0
My English is bad but I'm sure I can help if you define tie or what you mean by it in your sentence. Kozero 120 — 11y

2 answers

Log in to vote
0
Answered by 11 years ago
1game.Players.PlayerAdded:connect(function(plr)
2 plr.CharacterAdded:connect(function(char)
3  repeat wait() until char.Humanoid
4  char.Humanoid.Died:connect(function(OMG)
5   plr:LoadCharacter(true)
6  end)
7 end)
8end)
9--[Copyright @ToTo129]--

Force respawn ties rarely occur. :3 Homemade by ToTo129

Ad
Log in to vote
0
Answered by 11 years ago
1game.Players.PlayerAdded:connect(function(plr)
2plr.CharacterAdded:conncet(function(char)
3repeat wait() until char.Humanoid
4char.Humanoid.Died:connect(function(OMG)
5pr.LoadCharacter(true)
6      end)
7   end)
8end)

Hope this helped.

Answer this question