How can i not get an error if that doesnt exist?
if Tool.Shell.Shell then -- error code here
Tool.Shell.Shell:Emit(Tool.Shell.Shell:GetAttribute("EmitCount"))
end
I also tried
local shell = Tool:FindFirstChild("Shell"):FindFirstChild("Shell")
if shell ~= nil then -- error code here
shell:Emit(Tool.Shell.Shell:GetAttribute("EmitCount"))
end
but that gives the same error