After an Animation is done it’ll reset your camera position back
When I try playing on a mobile emulator on ROBLOX Studio, It won’t change back to the original character position.
I’ve tried CameraTypes and CameraSubject
--[{Sorry For The Messy Code.}]
local Info2 = TweenInfo.new(0.4)
local player = game.Players.LocalPlayer
local WhiteBorder = game.Players.LocalPlayer.PlayerGui:WaitForChild("WhiteBorder")
local TweenRight = game:GetService("TweenService"):Create(WhiteBorder.Right,Info2,{Size=UDim2.new(0.5, 0, 1, 0)})
local TweenLeft = game:GetService("TweenService"):Create(WhiteBorder.Left,Info2,{Size=UDim2.new(0.5, 0, 1, 0)})
local TweenRightOpen = game:GetService("TweenService"):Create(WhiteBorder.Right,Info2,{Size=UDim2.new(0, 0, 1, 0)})
local TweenLeftOpen = game:GetService("TweenService"):Create(WhiteBorder.Left,Info2,{Size=UDim2.new(0, 0, 1, 0)})
local Coltennz = game.Workspace.Coltennz
local CameraInChar = game.ReplicatedStorage:WaitForChild("CameraInChar1")
local Humanoid = Coltennz.Humanoid
local Animation = script.Animation
local AnimationLoad = Humanoid:LoadAnimation(Animation)
local camera = workspace.CurrentCamera
script.Parent.MouseButton1Down:Connect(function()
CameraInChar = true
AnimationLoad:Play()
wait(3)
TweenRight:Play()
TweenLeft:Play()
game.Workspace.CurrentCamera.CameraType = "Custom"
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
CameraInChar = false
wait(4.1)
TweenLeftOpen:Play()
TweenRightOpen:Play()
end)