--		end

	end
end)
keyset.Event:wait()
script.Parent.Key.Transparency=0
_G.Tween(script.Parent.Key,{CFrame=script.Parent.KeyC.CFrame},1,"Sine","In"):Play()
wait(1.2)
script.Parent.Key.ClickDetector.MaxActivationDistance=10
script.Parent.KeyBase.ClickDetector.MaxActivationDistance=0
script.Parent.Key.ClickDetector.MouseClick:Wait()
_G.Tween(script.Parent.Key,{CFrame=script.Parent.KeyO.CFrame},0.3,"Quad"):Play()
_G.Tween(script.Parent.KeyHole,{CFrame=script.Parent.KeyHoleO.CFrame},0.3,"Quad"):Play()
script.Parent.KeyBase.Key:Play()
wait(0.5)
local Value = Instance.new("CFrameValue")
Value.Value=script.Parent.CoverC.CFrame
Value.Changed:connect(function()
	script.Parent.Cover:SetPrimaryPartCFrame(Value.Value)
end)
_G.Tween(Value,{Value=script.Parent.CoverO.CFrame},0.8,"Bounce","Out"):Play()
wait(1)
script.Parent.Indicator.Color=Color3.new(0,1,0)
script.Parent.Button.ClickDetector.MouseClick:Wait()
script.Parent.Indicator.Color=Color3.new(1,0,0)
script.Parent.Button.Sound:Play()
_G.Tween(script.Parent.Button.Mesh,{Offset=Vector3.new(0.15,0,0)},0.2,"Quad","InOut",true):Play()
_G.Tween(Value,{Value=script.Parent.CoverC.CFrame},2,"Quad"):Play()
workspace.UPCCoreSystemUNYv4yvw3789n5yw7ay.ReactorStartup.Disabled=false
wait(2.5)
script.Parent.Key.ClickDetector.MaxActivationDistance=0
_G.Tween(script.Parent.Key,{CFrame=script.Parent.KeyC.CFrame},0.3,"Quad"):Play()
_G.Tween(script.Parent.KeyHole,{CFrame=script.Parent.KeyHoleC.CFrame},0.3,"Quad"):Play()
script.Parent.KeyBase.Key:Play()
wait(0.5)
_G.Tween(script.Parent.Key,{CFrame=script.Parent.KeyC.CFrame*CFrame.new(0,0.5,0)},1,"Sine"):Play()
wait(1)
script.Parent.Key.Transparency=1

