--Jitler is Pogi


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)
