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

script.Parent.Touched:Connect editing a property of a Frame. Why Doesn't This Work?

Asked by 5 years ago

Why doesn't this work?

script.Parent.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("LeftFoot") then
        local s = game:GetService("StarterGui")
        s.ouch.redstuff.Visible = true
    end
end)

Answer this question