mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-18 03:21:54 +00:00
Floors module
This commit is contained in:
@@ -30,12 +30,14 @@ end
|
||||
function Spine:Enable()
|
||||
Spine.Running = true
|
||||
|
||||
while Spine.Running do
|
||||
local IsFirstPerson = Player.CameraMode == Enum.CameraMode.LockFirstPerson
|
||||
self.Remote:FireServer(self.CurrentCamera.CFrame, IsFirstPerson)
|
||||
task.spawn(function()
|
||||
while Spine.Running do
|
||||
local IsFirstPerson = Player.CameraMode == Enum.CameraMode.LockFirstPerson
|
||||
self.Remote:FireServer(self.CurrentCamera.CFrame, IsFirstPerson)
|
||||
|
||||
Delta:time()
|
||||
end
|
||||
Delta:time()
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
function Spine:Disable()
|
||||
|
||||
Reference in New Issue
Block a user