I've used this before, and it used to work, I'm trying to remove the player's control of their character and this doesn't seem to work. I read about this in the roblox wiki a while back and it worked when I tried it then, did the method change or am I doing it wrong?
function removeControl()
local cs = game:GetService("ControllerService")
for i, v in pairs(cs:GetChildren())do
v.Parent = nil
end
end
removeControl()
This is in a LocalScript

2 comments
No it doesn't work in a server script and there's no output :P
Maybe ControllerService isn't accessible anymore.