funnyfunns
(funnyfunns)
#1
So my Camera Manipulation is not being disabled after i make it so CurrentCamera.CameraType = fixded
local play = script.Parent.play
local playGUI = script.Parent.Parent
local song = game:GetService('SoundService').ReRun
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
play.Activated:Connect(function()
warn('Entering: 2006 Archives')
playGUI:Destroy()
song.Volume = 0.49
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
game:GetService('StarterPlayer').CharacterWalkSpeed = 16
game:GetService('StarterPlayer').CharacterJumpHeight = 7.2
game:GetService('StarterPlayer').CameraMaxZoomDistance = 128
game:GetService('StarterPlayer').CameraMinZoomDistance = 0.5
workspace.CurrentCamera.CameraType = Enum.CameraType.Fixed -- <----------- HERE
game:GetService('StarterGui').Camera:Destroy()
end)
-- 128 max -- 0.5 min camerazoom
Video: https://gyazo.com/005c439611f3ec1eac5eac05663f34c6
funnyfunns
(funnyfunns)
#2
I fixed it, just change it to Custom.
local play = script.Parent.play
local playGUI = script.Parent.Parent
local song = game:GetService('SoundService').ReRun
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
play.Activated:Connect(function()
warn('Entering: 2006 Archives')
playGUI:Destroy()
song.Volume = 0.49
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
game:GetService('StarterPlayer').CharacterWalkSpeed = 16
game:GetService('StarterPlayer').CharacterJumpHeight = 7.2
game:GetService('StarterPlayer').CameraMaxZoomDistance = 128
game:GetService('StarterPlayer').CameraMinZoomDistance = 0.5
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom -- <----------- HERE
game:GetService('StarterGui').Camera:Destroy()
end)
-- 128 max -- 0.5 min camerazoom