--//Controller//--

JarBody.Touched:Connect(function(Hit)
	local Humanoid = Hit.Parent:FindFirstChild("Humanoid")
	
	if Humanoid then
		if not Configuration.OnCD then
			Configuration.OnCD = true
			
			if JarBody.Transparency >= 1 then
				Jar:Destroy()

			else
				JarBody.Transparency = JarBody.Transparency + 0.1
				
			end
			
			task.wait(Configuration.CDTime)
			
			Configuration.OnCD = false

		end
	end
end)
