client doesnt use parallelism anymore

This commit is contained in:
2024-04-23 01:02:39 -04:00
parent cb0d1d44dc
commit 54ba0101af
5 changed files with 17 additions and 17 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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
View File

@@ -0,0 +1,13 @@
--!optimize 2
--!native
--!strict
--[[
Module.Property = Property.constructor()
]]
local function Property<T>()
end
return Property