Suggestion (nofall)
Closed this issue · 2 comments
ImInTheICU commented
Change the no-fall method from a constant repetitive remote spam to a hookmetamethod.
Example:
local event = game:GetService("ReplicatedStorage").rbxts_include.node_modules:FindFirstChild("@rbxts").net.out._NetManaged.GroundHit
local namecall
namecall = hookmetamethod(game,"__namecall",function(self, ...)
local args = {...}
local method = getnamecallmethod():lower()
if not checkcaller() and self == event and method == "fireserver" then
table.clear(args)
return namecall(self, unpack(args))
end
return namecall(self, ...)
end)
7GrandDadPGN commented
technically I only need to do nofall on respawn, that will be accomplished in the rewrite, and no that's not how the nofall works.
ImInTheICU commented
Seems to work fine,
It's definitely better then spamming a remote.