More camera, might deprecate the custom camera

This commit is contained in:
2023-12-21 03:37:25 -05:00
parent b879e5ac85
commit 6c7a4ced45
10 changed files with 225 additions and 23 deletions

View File

@@ -6,11 +6,11 @@ local Crosshair = require(script:WaitForChild("Crosshair"))
local Players = game:GetService("Players")
local Storage = game:GetService("ReplicatedStorage")
local ClientStorage = Storage:WaitForChild("Client")
local ClientStorage = Storage:WaitForChild("Client")
local KeyBindsModule = require(ClientStorage:WaitForChild("KeyBinds"))
local Player = Players.LocalPlayer
local CurrentCamera
local CurrentCamera = nil
repeat
task.wait()
CurrentCamera = workspace.CurrentCamera
@@ -33,7 +33,7 @@ end
CoreGuis:off()
Mouse:DisablePointer()
Camera:LockFirstPerson()
Camera:FirstPerson()
CrosshairObject:Spawn()
CameraBinds()