How to make the character cant move with CFrame

how to make the character cant move with CFrame ??

Enemy.CFrame = CFrame.new(0,0,0)??

short answer, you can’t.
well you can but it involves looping every second, if you’re in for that l a g
anyway i suggest you use body gyro OR anchoring, your choice

can i anchor the humanoidrootpart

yes…but its not an part of character, try moving the humanoidrootpart in-game, it just moves your camerasubject, its not a part of the whole character, use torso or upper torso instead

if you want an animation to play and the character stuck in one position, use body gyro, if you just wanna do like a timestop thingy, i suggest you use anchor

how to use bodygyro and api or something

i want to do timestop and mini beatdown make 2 character cant move

please read the article, in short turn that sweet D uppppppp

how about timestop and beatdown?

use anchor for the “time stopped” effect, beatdown needs animation which means…body gyro

Bro, spelling error’s…


Do you want to disable the player’s control’s? For that just do this in a local script:

local Player = game:GetService("Player").LocalPlayer
local Controls = require(Player.PlayerScripts.PlayerModule):GetControls()
Controls:Disable()

And to enable them again, use Controls:Enable()

3 Likes