mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-18 12:11:54 +00:00
New game file structure
Scratch making the framework/engine open source for now until i figure out a better file structure that will work with Rojo
This commit is contained in:
15
src/client/Player/init.client.lua
Normal file
15
src/client/Player/init.client.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
local CoreGuis = require(script:WaitForChild("CoreGuis"))
|
||||
local Mouse = require(script:WaitForChild("Mouse"))
|
||||
local CameraSettings = require(script:WaitForChild("Camera"))
|
||||
local Crosshair = require(script:WaitForChild("Crosshair"))
|
||||
|
||||
local Players = game:GetService("Players")
|
||||
local Player = Players.LocalPlayer
|
||||
|
||||
local Camera = CameraSettings.constructor(Player)
|
||||
local CrosshairObject = Crosshair.constructor(Player)
|
||||
|
||||
CoreGuis:off()
|
||||
Mouse:DisablePointer()
|
||||
Camera:LockFirstPerson()
|
||||
CrosshairObject:Spawn()
|
||||
Reference in New Issue
Block a user