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

can someone help me with my questing system? [closed]

Asked by 6 years ago
Edited 6 years ago

this is what i have so far

local Quest = script.Parent.main
local Questparts = Quest:GetChildren()

workspace.TouchPart.Touched:Connect(function(hit)
    local hum = hit.Parent:FindFirstChild("Humanoid")
    if hum then
        for i,v in pairs(Questparts) do
     if v.Quantity.Value == "Stone" then
        v.Quantity.Text = "0"
            end
        end
    end
end)
1
this website is to ask questions for scripting not to ask someone to help you make your game for free nzsalty16 81 — 6y
0
ur missing `then` on line 8 TheeDeathCaster 2368 — 6y

Closed as Too Broad by User#24403 and TheeDeathCaster

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?