freeze character movement, view close up, and freeze camera.. freeze camera not working in play mode.. also cant figure out how to make it face the front of the character
local ting = 0
function onTouched(hit)
if ting == 0 then
ting = 1
check = hit.Parent:FindFirstChild("Humanoid")
if check ~= nil then
local user = game.Players:GetPlayerFromCharacter(hit.Parent)
repeat wait() until workspace.Camera
user.CameraMaxZoomDistance = 7
user.CameraMinZoomDistance = 7
wait(0.5)
game.Workspace.CurrentCamera.CameraType = "Scriptable"
user.DevComputerMovementMode = "Scriptable"
user.DevTouchMovementMode = "Scriptable"
end
ting = 0
end
end
script.Parent.Touched:connect(onTouched)

5 comments
Why are you using the DevComputerMovementMode? I believe that only works on Client.
it will freeze the character's movement
DevComputerMovementMode, only works on client I think.
no its working in play mode and i found a way to make the camera freeze put "game.Workspace.CurrentCamera.CameraType = 6" into a local script then have it cloned to the player
Some things that only work on the client will still work in Play Solo because of the nature of Play Solo. However if you want the character to freeze why not anchor the Torso?