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

Infinite yield possible on 'Players.LiamQ926.Backpack:WaitForChild("Sword") help?

Asked by 2 years ago

Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.
01--Varables
02local Form1 = script:WaitForChild("FirstForm")
03local equipped = false
04local UIS = game:GetService("UserInputService")
05local tool = game.Players.LocalPlayer:WaitForChild("Backpack")
06local Sword = tool:WaitForChild("Sword")
07 
08--Animate
09Sword.Equipped:Connect(function()
10    equipped = true
11end)
12 
13Sword.Unequipped:Connect(function()
14    equipped = false
15end)
View all 26 lines...
1
Next time, please provide more explanation. We're not google, we're not akinator, we're not bots: we won't solve your problem easily without more information. T3_MasterGamer 2189 — 2y
0
I don't see any part of the code that puts the sword in the backpack. If another script is supposed to do that, please share that one as well. Otherwise, there is your problem. AronYstad 101 — 2y
0
The Sword is located in starter pack LiamQ926 7 — 2y

Answer this question