So lets say I change my camera, when I want it to return, I set it to game.Players.Localplayer.Humanoid and it does not work. What would I put so the camera returns?
game.ReplicatedFirst:RemoveDefaultLoadingScreen()
script.Parent.Play.Visible = true
local Blur = game.Workspace.Camera.Blur.Size
local FirstNumber = 0
local SecondNumber = 10
local final = "Loading Extra Assets: "..tostring(FirstNumber).."/"..tostring(SecondNumber)
local object = script.Parent
object.Position = UDim2.new(0,0,0,0)
wait(1.5)
script.Parent.Play.MouseButton1Down:Connect(function()
wait()
game.StarterPlayer.StarterPlayerScripts.Camera:Destroy()
game.Workspace.Camera.CameraSubject = game.Players.LocalPlayer.Humanoid
end)
wait(15)
object.Parent:Destroy()
Why are you destroying a camera script? Also you didn’t post any errors for this script, because this errors. So either you didn’t connect or press the button correctly.
So I added that into the script (After game.Workspace.Camera.CameraSubject = ) and all worked fine! So it deleted the blur, removes the GUI, but just does not make your camera go to your avatar,