So, I've created a cutscene where players walk in, but I don't want them to DIRECTLY control the character, since I'm just using Humanoid:MoveTo()
to walk them to the place I want them to go. But I've looked on many websites, and I can't seem to find a solution to this problem.
If anyone knows a solution to this, I would be happy to hear it.
Thanks!
Hey PickUpTheBeat1,
ControlScript
, which is located under PlayerScripts
, which is under the Player. Then, you enable it when you want them to be able to control the character.local plrs = game:GetService("Players"); local plr = plrs.LocalPlayer; function turn_it_off(plr) local plr_srps = plr:WaitForChild("PlayerScripts"); local control = plr_srps:WaitForChild("ControlScript"); control.Disabled = true; end; plrs.PlayerAdded:Connect(turn_it_off); for _, player in next, plrs:GetPlayers() do turn_it_off(player); end
~~ KingLoneCat