#Rig still running even though I don't want them to run after doing a task

1 messages · Page 1 of 1 (latest)

sharp knot
#

So whenever a rig run into the base when you buy it and reached the base after anchoring it it still run
Code-
for num,platform in pairs(container:GetChildren()) do
if platform.Occupied.Value == false then
local point = v.Point
local hum = soldier:FindFirstChild("Humanoid")
soldier.Parent = platform
coins.Value -= price
repeat hum:MoveTo(point.Position) until hum.MoveToFinished:Wait() or script.Parent == platform
soldier.PrimaryPart.Anchored = true
price *= 2
soldier.PrimaryPart.CFrame = platform.CFrame + Vector3.new(0,3.5,0)
platform.Occupied.Value = true

                    local copy = Instance.new("IntValue",plrfolder)
                    copy.Name = soldier.Name
                    copy.Value = num
                    prox.Enabled = false
                    buyevent:FireClient(plr,soldier.Sell)
                    stealEvent:FireClient(plr,soldier.Steal)
                    prox:Destroy()
                    break
                end
            end
vagrant field
#

Stop the animation.

sharp knot
#

how do i stop it tho?