Sorry for the title, the thing kept saying that the title was not specific. I am very confused.
I will explain: This stupid scripting bug makes it so that your script DELETES ITSELF!!! EVEN if there is not code for the script deleting itself PRESENT!!!!!!
This is the error that pops up:
18:52:38.278 - Glitch is not a valid member of Script
18:52:38.279 - Stack Begin
18:52:38.279 - Script 'Workspace.Glitcher', Line 7 - function glitch
18:52:38.281 - Script 'Workspace.Glitcher', Line 42 - function glitch (x5)
18:52:38.281 - Script 'Workspace.Glitcher', Line 47
18:52:38.281 - Stack End
This is the script:
wait(0.1)
local parts = 0
function glitch (m)
for _,i in pairs (m:GetChildren()) do
if i:IsA("Part") and not i:FindFirstChild("Glitch") then
if math.random(1,3) == 1 and not i.Locked then
local sound = script.Glitch:Clone()
sound.Parent = i
sound:Play()
local ouch = script.GlitchScript:Clone()
ouch.Parent = i
ouch.Disabled = false
--[[
i.BrickColor = BrickColor.Random()
i.Size = Vector3.new(math.random(i.Size.X/2,i.Size.X*2),math.random(i.Size.Y/2,i.Size.Y*2),math.random(i.Size.Z/2,i.Size.Z*2))
if math.random(1,5) == 1 then
i.Anchored = false
end
if math.random(1,5) == 1 then
local materials = Enum.Material:GetEnumItems() -- Get a table of all the possible materials
local randomMaterial = materials[math.random(#materials)] -- Select a random value inside the table
i.Material = randomMaterial
end
if math.random(1,5) == 1 then
i.Transparency = math.random(1,100)/100
end
if math.random(1,5) == 1 then
i.Reflectance = math.random(1,100)/100
end
--]]
if parts <= 1 then
parts += 1
else
script:Destroy()
end
end
elseif i:IsA("Weld") then
if math.random(1,3) == 1 then
i:Destroy()
end
else
glitch(i)
end
end
end
while wait() do
glitch(script.Parent)
end
Can you please help me? Thank you. (If you want the full script look here: https://web.roblox.com/library/5576350053/Glitch-Script maybe another thing is the problem)

6 comments
wait += works 0_O
nvm it doesnt
yes it does neil, youre delusional
lol you dont know +=
ouch how am i so blind
lol np, happens to the best of us