Got a new issue. I got this code that is supposed to go the person saying the message. Yet, he won’t go. No errors.
local officer = script.Parent
game.Players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(msg)
if msg == "cop stinks" then
officer.Humanoid:MoveTo(workspace[plr.Name].HumanoidRootPart.Position)
officer.Humanoid.MoveToFinished:Wait()
end
end)
end)