I don’t know if this is the wrong category please let me know if it is.
What happened?
So I was adding ACS to my Roblox game, and while testing it in studio I ran across something strange. Once I equip and ACS gun it will go into first person but even after unequiping the player Is still stuck in first person. Is this supposed to happen? Is there any way I can change it? please let me know!
2 Likes
Did you enabled StarterPlayer > CameraMode = LockFirstPerson?
If no then go inside ACS_Client and it should be this:
function Unset()
if ArmaClient then
Evt.Desequipar:FireServer(ArmaClient,Settings)
end
UnloadClientMods()
if Folder then
Folder:Destroy()
end
Equipped = false
Aiming = false
uis.MouseIconEnabled = true
Player.CameraMode = Enum.CameraMode.Classic
Safe = false
Bipod = false
LanternaAtiva = false
IRmode = false
LaserAtivo = false
CancelReload = false
Reloading = false
slideback = false
OverHeat = false
Mouse.Icon = DCMI
game:GetService('UserInputService').MouseDeltaSensitivity = 1
Camera.CameraType = Enum.CameraType.Custom
AimPartMode = 1
stance = 0
tweenFoV(70,15)
Evt.SVLaser:FireServer(Vector3.new(0,0,0),2,nil,ArmaClient,IRmode)
for _,c in pairs(Connections) do
c:Disconnect()
end
Connections = {}
Walking = false
a = false
d = false
end
If “Player.CameraMode = Enum.CameraMode.Classic” isn’t there, then add it. Hopefully it fixes your problem.
1 Like
Oof thanks for the help, but it didnt work the code looks alot different than the one you’ve shown.
Here’s the code I see:
function Unset()
if ArmaClient then
Evt.Desequipar:FireServer(ArmaClient,Settings)
end
UnloadClientMods()
if Folder then
Folder:Destroy()
end
Equipped = false
Aiming = false
Safe = false
Bipod = false
LanternaAtiva = false
IRmode = false
LaserAtivo = false
--Silencer = false
CancelReload = false
Reloading = false
slideback = false
OverHeat = false
uis.MouseIconEnabled = true
game:GetService('UserInputService').MouseDeltaSensitivity = 1
Camera.CameraType = Enum.CameraType.Custom
Player.CameraMode = Enum.CameraMode.Classic
AimPartMode = 1
stance = 0
tweenFoV(70,15)
TS:Create(StatusClone.Efeitos.Aim,TweenInfo.new(.3),{ImageTransparency = 1}):Play()
Evt.SVLaser:FireServer(Vector3.new(0,0,0),2,nil,ArmaClient,IRmode)
if Gui then
Gui.Visible = false
end
1 Like
It’s because i were using my own modified version. But if it resolved your problem don’t forget to mark it as Resolved.
It enables LockFirstPerson camera for client inside the Setup() function.
1 Like