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

Im trying to make a sell box to sell parts when you put them in it but nothing happens. Why?

Asked by
node304 -5
4 years ago

So What im trying to do is get a part and when you put it in a box it sells but every time I try it sensors humanoid. Heres the script.

script.Parent.Touched:connect(function(hit)
    if hit.Parent:FindFirstChild("EquippedBy") then --This is to check if the hit object is the part
        print("It worked")
    end
end)
0
There is no "EquippedBuy." Fifkee 2017 — 4y

Answer this question