local function U()return TutorialPanels.Visible end local function c()local U=ShoeParticle:Clone()local c=(math.random()-.5)/10 U.Position=UDim2.fromScale(.5+c,.9)U.Parent=GameplayUi;(TweenService:Create(U,TweenInfo.new(.75),{Position=UDim2.fromScale(U.Position.X.Scale,.85);Rotation=math.random(-50,50);Size=UDim2.fromScale(1,.065);ImageTransparency=1},function()U:Destroy()end)):Play()end local function t()cooldown=true clickButton.Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\053\051\048\049\053\055\051\056\056\055"c()controller:TrackPlayer()end

local function isInTutorial()
	return TutorialPanels.Visible
end

local function makeShoeParticle()
	local particle = ShoeParticle:Clone()
	local randomX = (math.random() - .5)/10
	particle.Position = UDim2.fromScale(.5 + randomX, .9)
	particle.Parent = GameplayUi
	TweenService:Create(particle, TweenInfo.new(.75), {
		Position = UDim2.fromScale(particle.Position.X.Scale, .85),
		Rotation = math.random(-50, 50),
		Size = UDim2.fromScale(1, .065),
		ImageTransparency = 1,
	}, function()
		particle:Destroy()
	end):Play()
end

local function registerMovement()
	cooldown = true
	clickButton.Image = "rbxassetid://5301573887"
	makeShoeParticle()
	-- Have the player move to the next waypoint and tell the waypoint tracker to be
	-- active in checking if they've reached the waypoint. 
	controller:TrackPlayer()
end
