Hi! I am having a problem, I need to make the whole body of my local player visible (except head and torso) and change the camera position, any ideas how to do it?
What should I do with these two variables to change those values?
local cameraPosition
local fp_Mode_Visible
Here I attach the full local script:
local uis = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local isActive = false
local cameraPosition
local fp_Mode_Visible
uis.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.E and isActive == false then
player.CameraMode = Enum.CameraMode.Classic
isActive = true
print('Classic Mode')
elseif input.KeyCode == Enum.KeyCode.E and isActive == true then
player.CameraMode = Enum.CameraMode.LockFirstPerson
isActive = false
-- change camera position here
-- make all character visible except head and torso here
print('LockFirstPerson Mode')
end
end)