I want to make the “Remove” script active when it hits the ground, so my place won’t be cluttered. Here is the script that tries to change the property.
function playSound()
local sounds = script.Sounds:GetChildren()
local randomsound = math.random(1, #sounds)
local sound = sounds[randomsound]
if sound ~= nil then
sound:Play()
end
end
script.Parent.Touched:Connect(function()
script.Parent.Remove.Disabled = false -- Here is the line of code that changes the property.
playSound()
end)