---

function enter()
	if sys.Call.Value == false and KVs["Value"..folder.KV.Value.Value].Locked.Value == false then
		sys.LastKV.Value = folder.KV.Value.Value
		sys.Call.Value = true
		wait(1.5)
		---
		KVs["Value"..sys.LastKV.Value].Ring.Sound:Play()
		KVs["Value"..sys.LastKV.Value].OLED.Call.Enabled = true
		KVs["Value"..sys.LastKV.Value].ButtonNeon.Material = Enum.Material.Neon
		KVs["Value"..sys.LastKV.Value].Open.Script.Disabled = false
		---
		huh.Sound:Play()
		---
		wait(callwait)	
		---
		KVs["Value"..sys.LastKV.Value].Ring.Sound:Stop()
		KVs["Value"..sys.LastKV.Value].OLED.Call.Enabled = false
		KVs["Value"..sys.LastKV.Value].ButtonNeon.Material = Enum.Material.SmoothPlastic
		KVs["Value"..sys.LastKV.Value].Open.Script.Disabled = true
		---
		huh.Sound:Stop()
		folder.KV.Value.Value = ""
		sys.LastKV.Value = ""
		---
		sys.Call.Value = false
	elseif KVs["Value"..folder.KV.Value.Value].Locked.Value == true then
		off()
	end
end

function stopcall()
	if sys.Call.Value == true then
	---
	KVs["Value"..sys.LastKV.Value].Ring.Sound:Stop()
	KVs["Value"..sys.LastKV.Value].OLED.Call.Enabled = false
	KVs["Value"..sys.LastKV.Value].ButtonNeon.Material = Enum.Material.SmoothPlastic
	KVs["Value"..sys.LastKV.Value].Open.Script.Disabled = true
	---
end
end
function sbros()
	---
	huh.Sound:Stop()
	---
	sys.Call.Value = false
	sys.Code.Value = false
	sys.KVEnter.Value = false
	---
	folder.KV.Value.Value = ""
	sys.LastKV.Value = ""
	---
end

script.Parent["1"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..1
end)
script.Parent["2"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..2
end)
script.Parent["3"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..3
end)
script.Parent["4"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..4
end)
script.Parent["5"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..5
end)
script.Parent["6"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..6
end)
script.Parent["7"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..7
end)
script.Parent["8"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..8
end)
script.Parent["9"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..9
end)
script.Parent["0"].ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()
	folder.KV.Value.Value = folder.KV.Value.Value ..0
end)
script.Parent.C.ClickDetector.MouseClick:Connect(function()
	huh.ButtonSound:Play()