--the guts of the code (DO NOT TOUCH)

local function Chat(message: string, color)
	game:GetService("Chat"):Chat(NPC.Head, message, CC)
end
local function Jump()
	NPC.Humanoid.Jump = true
end
local function Move(pos: Vector3, spawn_thread)
	spawn_thread = spawn_thread or false
	NPC.Humanoid:MoveTo(pos)
	if not spawn_thread then NPC.Humanoid.MoveToFinished:Wait() end
end
local walkpoint = script.Parent.Parent.WalkPoints
local PlayersService = game:GetService("Players");
PlayersService.PlayerAdded:Connect(function(Player)
	Player.Chatted:Connect(function(Message)
		if string.find(string.lower(Message), string.lower(playerchat)) then
			wait(waittime)
			
			
			