-- Local player

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local waypointFolder = game.Workspace:WaitForChild("Waypoints")
