Hi guys I'm scripting my own wand from HP :) I'm stuck on Obliviate spell that should disable all the scripts in Player's wand. I think its good but well it doesn't work (Output says nothing, no error)
for i,v in pairs(wand:GetChildren()) do if v:IsA("Script") then v.Disabled = true wait(7) v.Disabled = false end end
The script is disabling itself also @line 3
So add another conditional statement such as...
if v:IsA("Script") and v.Name ~= (Script You Don't Want Disabled's Name) then