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

My supply drop box doesn't drop... or appear..?

Asked by 4 years ago

So this is the script,

    parachute = script.Parent.Parent.Parachute
    box = script.Parent.Parent.SupplyDrop

    script.Parent.Touched:connect(function()
        script.Parent.CanCollide = false
        box.Box.Transparency = 0
        box.Lid.Transparency = 0
        box.Box.Anchored = false
        box.Lid.Anchored = false
        parachute.Part.Transparency = 0
        parachute.Part.Anchored = false 
        parachute.Part1.Transparency = 0
        parachute.Part1.Anchored = false
        parachute.Part2.Transparency = 0
        parachute.Part2.Anchored = false
        parachute.Part3.Transparency = 0 
        parachute.Part3.Anchored = false
        parachute.Part4.Transparency = 0
        parachute.Part4.Anchored = false
        parachute.Part5.Transparency = 0
        parachute.Part5.Anchored = false
        parachute.Part6.Transparency = 0
        parachute.Part6.Anchored = false
    end)

I want to have it so that, the supply drop falls. I welded all the parts from part to part 6 to box, maybe its interfering with the script..?

0
can you give more information because i don't see anything wrong... Nguyenlegiahung 1091 — 4y
0
Me neither, but it seems that for me, the supply drop box doesn't even appear or become unanchored. No errors, the script probably doesnt work. Andrey_Diamonds 4 — 4y
0
Did you touched the part or disabled it ? Nguyenlegiahung 1091 — 4y
0
Where do you even spawn in the supply drop? User#834 0 — 4y
View all comments (4 more)
0
A plane mesh touches the part, but I don't think it may have worked, the plane mesh has cancollide on and so does the part Andrey_Diamonds 4 — 4y
0
The supply drop doesn't really spawn in, its just below the part that triggers it, the script is supposed to unanchor and make the transparency 0 for all parts, but the parachute parts are welded to the supply drop box. Andrey_Diamonds 4 — 4y
0
Let me elaborate more, theres a part in the sky named "SupplyDropTrigger" and it has the script above, inside of it. Theres a plane mesh which moves, and its supposed to go touch SupplyDropTrigger, then once its touched, the parachute and supply drop box are supposed to become visible and unanchored, but the parts for parachute and supply drop box are welded to each other, so the parts dont just f Andrey_Diamonds 4 — 4y
0
fall, but despite it supposed to be going like this, the supply drop box and parachute dont unanchor, or become visible. Andrey_Diamonds 4 — 4y

Answer this question