Hello im trying to make the player character move to the corner flag of a stadium to celebrate. But the MoveTo seems to cancel when player moves their character, How do I make the moveto uninterruptable? Thanks.
local Character = player.Character
local Humanoid = Character.Humanoid
Humanoid:MoveTo(workspace.AwayCelebrateCam.Position + Vector3.new(0,0,-8))
Humanoid.MoveToFinished:Wait()
local Controller = require(game.Players.LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule")):GetControls()
--Disable Controls
Controller:Disable()
--Enable Controls
Controller:Enable()
If your trying to do this on the server, fire this to the client thats moving by using RemoteEvent:FireClient(player)
Put this script in StarterPlayerScripts.