local workspace = game.Workspace
local script = script.Parent.Script
function deleteScript()
if script.Parent == workspace.ScriptToDEVTEAM then
wait(1)
script.Parent = game.Lighting
end
end
FIXED !! [changed to the following]
wait(3)
script:Destroy()
This was super easy !

1 comment
Going off of what Sporkyz said, "script" is a variable already defined in every script which refers to the script that the code was written in. Meaning you can completely get rid of line two.