local b=script.Parent.Sound local O=b.Tada local I=game:GetService("\083\116\097\114\116\101\114\071\117\105")I:SetCoreGuiEnabled(Enum.CoreGuiType.All,true)local T=script.Parent.MainFrame local C=false game.Workspace.Map.Pad.Touched:connect(function(b)wait(.3)if b.Parent.Name==game.Players.LocalPlayer.Name then if not C then C=true b.Parent.Humanoid.WalkSpeed=0 script.Parent.ImageLabel:TweenPosition(UDim2.new(.5,0,0,0),"\079\117\116","\081\117\105\110\116",1)script.Parent.ImageLabel2:TweenPosition(UDim2.new(0,0,0,0),"\079\117\116","\081\117\105\110\116",1)wait(.7)I:SetCoreGuiEnabled(Enum.CoreGuiType.All,false)spawn(function()wait(.3)T.Visible=true end)wait(1.5)script.Parent.ImageLabel:TweenPosition(UDim2.new(.5,1000,0,0),"\073\110","\081\117\105\110\116",1)script.Parent.ImageLabel2:TweenPosition(UDim2.new(0,-1000,0,0),"\073\110","\081\117\105\110\116",1)spawn(function()wait(.2)O:Play()end)wait(1)script.Parent.ImageLabel.Visible=false script.Parent.ImageLabel2.Visible=false end end end)


local Sound = script.Parent.Sound
local Tada = Sound.Tada
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
local Frame = script.Parent.MainFrame

local hit = false
game.Workspace.Map.Pad.Touched:connect(function(part)
	wait(.3)
	if part.Parent.Name == game.Players.LocalPlayer.Name then
		
		if not hit then
			hit = true
			part.Parent.Humanoid.WalkSpeed = 0
			script.Parent.ImageLabel:TweenPosition(UDim2.new(0.5, 0, 0, 0), "Out", "Quint", 1)
			script.Parent.ImageLabel2:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quint", 1)
			wait(0.7)
			StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
			spawn(function()
				wait(.3)
				Frame.Visible = true
			end)
			wait(1.5)
			script.Parent.ImageLabel:TweenPosition(UDim2.new(0.5, 1000, 0, 0), "In", "Quint", 1)
			script.Parent.ImageLabel2:TweenPosition(UDim2.new(0, -1000, 0, 0), "In", "Quint", 1)
			spawn(function()
				wait(.2)
				Tada:Play()
			end)
			wait(1)
			script.Parent.ImageLabel.Visible = false
			script.Parent.ImageLabel2.Visible = false
		end
	end
end)
