local A=true local function r(r)if not A then return end if r.Name=="\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116"then local t=game.Players:FindFirstChild(r.Parent.Name)if t then A=false staticCorrupt.Transparency=0 imageLableCorrupt.ImageTransparency=0 wait(4)staticCorrupt.Transparency=1 imageLableCorrupt.ImageTransparency=1 trigger.CanTouch=false wait(10)trigger.CanTouch=true A=true end end end trigger.Touched:Connect(r)
--not sure
--local function PlaySound()
--	game.SoundSerivce.SealOrb:Play()
--end
--

local triggerEnabled = true

local function touched(otherPart)
	if not triggerEnabled then
		return
	end
	if otherPart.Name == "HumanoidRootPart" then
		local player = game.Players:FindFirstChild(otherPart.Parent.Name)
		if player then
			triggerEnabled = false
			staticCorrupt.Transparency = 0
			imageLableCorrupt.ImageTransparency = 0

			--	PlaySound("")
			wait(4) --How long the Corrupt screen is visable

			staticCorrupt.Transparency = 1
			imageLableCorrupt.ImageTransparency = 1

			trigger.CanTouch = false
			wait(10) ---How long before the trigger can be touched agian
			trigger.CanTouch = true
			triggerEnabled = true
		end
	end
end

trigger.Touched:Connect(touched)
