return function(i,F)local r=workspace:WaitForChild("\067\104\101\099\107\112\111\105\110\116\115")local G=((i:WaitForChild("\108\101\097\100\101\114\115\116\097\116\115")):WaitForChild("\083\116\097\103\101")).Value G-=1 local h=i.Character h:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")h:WaitForChild("\072\101\097\100")h:WaitForChild("\072\117\109\097\110\111\105\100")h:PivotTo(CFrame.new(r[G].Position+Vector3.new(0,6,0)))wait()h:PivotTo(CFrame.new(r[G].Position+Vector3.new(0,6,0)))end
--edit the below function to execute code when this response is chosen OR this prompt is shown
--player is the player speaking to the dialogue, and dialogueFolder is the object containing the dialogue data
return function(plr, dialogueFolder)
	local Checkpoints = workspace:WaitForChild("Checkpoints")
	local Stage = plr:WaitForChild("leaderstats"):WaitForChild("Stage").Value
	Stage -= 1
	local char = plr.Character
	char:WaitForChild("HumanoidRootPart")
	char:WaitForChild("Head")
	char:WaitForChild("Humanoid")
	char:PivotTo(CFrame.new(Checkpoints[Stage].Position + Vector3.new(0, 6, 0)))
	wait()
	char:PivotTo(CFrame.new(Checkpoints[Stage].Position + Vector3.new(0, 6, 0)))
end
