local path = script.Parent.SaveObject.Value while true do if script.Parent.WreckTree.Value == "true" then print("comon") path:Destroy() end wait(0.1) end
If value is true it prints comon and destroys the path (saveobject = game.Workspace.Tree) and wont work and wont print, why not?
in true get rid of the speech marks, if its a bool value, your code will look like this
local path = script.Parent.SaveObject.Value while true do if script.Parent.WreckTree.Value == true then print("comon") path:Destroy() end wait(0.1) end