#Need Help with Problem

1 messages · Page 1 of 1 (latest)

fluid hemlock
#

When i start my game it always zooms in in first person, i tried to fix it for hours with and without scripts but it didnt help. can someone pls Help me?

runic lake
#

Search on yt?

fluid hemlock
#

i searched everywhere for the solution

runic lake
#

or just check starterplayer

fluid hemlock
#

i did

runic lake
#

and check
cameramode - set to classic
DevComputerCameraMode - Set to UserChoice.

DevTouchCameraMode - Set to UserChoice.

CameraMinZoomDistance - Set to 10 or higher.

CameraMaxZoomDistance - Set to 50 or higher.

#

And check for scripts that modify the camera

#

in StarterPlayerScripts or StarterCharacterScripts

fluid hemlock
#

i did i even deaktivated to search for the problem but it is still doing that

surreal viperBOT
#

studio** You are now Level 1! **studio

runic lake
#

hm?

fluid hemlock
#

i looked at evey script

#

still didnt find the problem

runic lake
#

If you see any of this lines in the code ```
local player = game.Players.LocalPlayer
player.CameraMode = Enum.CameraMode.LockFirstPerson

fluid hemlock
#

cant find it

#

can u help me ill even let u join the world:(

runic lake
#

i can't give you a script

#

and i can't join any world

fluid hemlock
#

can i copy paste the scripts here then?

runic lake
#

If you said that there's no code that does what i said

#

then no

fluid hemlock
#

what can it be then it wasnt like that 5hrs ago and i dindt change anything

runic lake
#

bc your game could have like 500+ scripts

#

ohh

fluid hemlock
#

it has 4

#

or 5

#

its new

runic lake
#

okk then

#

send

fluid hemlock
#

all from starterplayer?

runic lake
#

y

#

?

#

and character

fluid hemlock
#

ok first player

#

game:GetService("RunService").RenderStepped:connect(function()
if (game.Workspace.CurrentCamera.Focus.p-game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude <= .6 then -- 0.5 is the as far as it can zoom in
script.Parent.FirstPerson.Value = true
else
script.Parent.FirstPerson.Value = false
end
end)

#

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera

-- Set the camera mode to Classic to allow third-person view
Camera.CameraType = Enum.CameraType.Custom

wait(5)
while true do
wait(0.1) -- Adjusted wait time for better performance
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Main") then
local ControllerActivity = LocalPlayer.Character.Main:FindFirstChild("ControllerActivity")
local CursorLocked = script.Parent:FindFirstChild("CursorLocked")
local FirstPerson = script.Parent:FindFirstChild("FirstPerson")

    if ControllerActivity and CursorLocked and FirstPerson then
        -- Ensure the camera remains in third-person view by default
        if ControllerActivity.Value == "Inactive" and (CursorLocked.Value == true or FirstPerson.Value == true) then
            script.Parent.DefaultAutoRotate.Disabled = false
            FirstPerson.Value = false  -- Ensure FirstPerson is not set to true by default
        else
            script.Parent.DefaultAutoRotate.Disabled = true
        end
    end
end

end

#

local player = game.Players.LocalPlayer
local camera = game.Workspace.CurrentCamera

camera.CameraType = Enum.CameraType.Scriptable -- Verhindert Spielersteuerung der Kamera
camera.CFrame = CFrame.new(Vector3.new(0, 10, 0), Vector3.new(0, 0, 0)) -- Position & Blickrichtung

-- Option: Kamera-Steuerung nach einigen Sekunden aktivieren
task.wait(5) -- Warte 5 Sekunden
camera.CameraType = Enum.CameraType.Custom -- Spieler kann wieder steuern

runic lake
#

german?

fluid hemlock
#

yeaa

runic lake
#

ok

fluid hemlock
#

then there is only scriptloader and character sound

fluid hemlock
#

and player module

#

but those are not the problem i think

runic lake
#

just disable all the scripts in player

#

and say if it's working

fluid hemlock
#

if i disable all nothing works

runic lake
#

and it's still first?

fluid hemlock
#

if i disable all exept scriptloader yes

runic lake
#

and if all

fluid hemlock
#

but without it nothing works not the game or anything

surreal viperBOT
#

studio** You are now Level 2! **studio

fluid hemlock
#

i can show u the scriptloader

runic lake
#

1

#

Replace CoordinateFrame with CFrame lua game.Workspace.CurrentCamera.CFrame

#

Focus isn't reliable for zoom detection

#

so use CameraMinZoomDistance

fluid hemlock
runic lake
#

second script now

fluid hemlock
#

k

runic lake
#

but do you have any errors

#

with all these scripts?

fluid hemlock
#

no

runic lake
#

no?

#

ok

fluid hemlock
#

i didnt write them

runic lake
#

fr?

#

Chat?

fluid hemlock
#

from a modell or plugin idk which one

runic lake
#

ok....

fluid hemlock
#

if u want i can show u the problem

#

Who can help me with my problem

#

oh ur back

#

heyy? 😭