mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-13 22:31:55 +00:00
client doesnt use parallelism anymore
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
"StarterPlayerScripts": {
|
"StarterPlayerScripts": {
|
||||||
"$className": "StarterPlayerScripts",
|
"$className": "StarterPlayerScripts",
|
||||||
"rapid/client": {
|
"rapid/client": {
|
||||||
"$className": "Actor",
|
"$className": "Folder",
|
||||||
"Player": {
|
"Player": {
|
||||||
"$path": "src/client"
|
"$path": "src/client"
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -114,7 +114,7 @@ function CharacterModule:CharacterKeyBinds()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
--Flashlight
|
--Flashlight
|
||||||
ClientBindMap:AddInputBegan(CharacterModule.KeyBinds.Flashlight, function(KeyPressed: Enum.KeyCode)
|
ClientBindMap:AddInputBegan(CharacterModule.KeyBinds.Flashlight, function(KeyPressed)
|
||||||
Actions:ToggleFlashlight(KeyPressed)
|
Actions:ToggleFlashlight(KeyPressed)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
@@ -122,7 +122,7 @@ end
|
|||||||
function CharacterModule:Crosshair()
|
function CharacterModule:Crosshair()
|
||||||
local RootVelocity = ClientStorage:WaitForChild("RootVelocity") :: BindableEvent
|
local RootVelocity = ClientStorage:WaitForChild("RootVelocity") :: BindableEvent
|
||||||
|
|
||||||
local RootVelocityStep = RS.Heartbeat:ConnectParallel(function(_dt)
|
local RootVelocityStep = RS.Heartbeat:Connect(function(_dt)
|
||||||
RootVelocity:Fire(self.HRPSettings:Velocity())
|
RootVelocity:Fire(self.HRPSettings:Velocity())
|
||||||
end)
|
end)
|
||||||
return RootVelocityStep
|
return RootVelocityStep
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
--!optimize 2
|
|
||||||
--!native
|
|
||||||
--!strict
|
|
||||||
|
|
||||||
--[[
|
|
||||||
Module.Property = MakeProperty.constructor()
|
|
||||||
]]
|
|
||||||
|
|
||||||
local function MakeProperty<T>()
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
return MakeProperty
|
|
||||||
13
src/shared/Property.lua
Normal file
13
src/shared/Property.lua
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
--!optimize 2
|
||||||
|
--!native
|
||||||
|
--!strict
|
||||||
|
|
||||||
|
--[[
|
||||||
|
Module.Property = Property.constructor()
|
||||||
|
]]
|
||||||
|
|
||||||
|
local function Property<T>()
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
return Property
|
||||||
Reference in New Issue
Block a user