I’ve made a cutom character spawn system but found out that shiftlock isnt working for any of custom character. I’ve tried changing camera subject and autorotate property of humanoid but this seems to not have any effect.
Here is scripts:
Server:
game.Players.PlayerAdded:Connect(function(plr)
local newchar = game.ReplicatedStorage.CustomChar:Clone()
newchar.Name = plr.Name
plr.Character = newchar
newchar.Parent = workspace
game.ReplicatedStorage.Start:FireClient(plr)
end)
Local
plr = game.Players.LocalPlayer
game.ReplicatedStorage.Start.OnClientEvent:Connect(function()
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
if plr.Character:FindFirstChild("Head") then
workspace.CurrentCamera.CameraSubject = plr.Character.Head
else
workspace.CurrentCamera.CameraSubject = plr.Character.HumanoidRootPart
end
end)
And to not be confused there is screenshot of explorer