#Lag Compensation
1 messages · Page 1 of 1 (latest)
Send code
dm me
broo i wont send the code here
why won't you send the code here? You're trying to get people to fix it. That defeats the purpose 🤦♂️
idk i thought someone would try to steal the code
Bro nobodies gonna steal code 😭
alr
they can't even use it because say you have module scripts, they don't have the module scripts too so, they are going to get an error and it will break
your code is theft-safe 👍
yea i know but i was just a little afraid
** You are now Level 1! **
imma give the script tmrw
no one wants your half-baked not even working code bruh, if anyone wanted something like this they could google for it and find 10 different ones if they wanted to
thanks for letting me know
here it is
so the hitboxes arent spawning in the right position
ill show the client
local ShootCF = GetShootCF()
Remotes.Fire:FireServer(ShootCF, Spread, workspace:GetServerTimeNow())
what is problem
when im aiming at player and fire, the server is spawning the player hitbox in the wrong position so theres no hit
the lag compensation doesnt work properlu
no errors in the output just wrong positions
hell no when i needed this i didint know how to do this so i asked claude
** You are now Level 2! **
that would explain why you seem to have no idea what you're working with here
well i understand the script
but i think the client is giving a wrong time info
and thats whhy positions are wrong
in a nutshell dont bother, wait for server authority
ai cannot make rollback netcode, sorry
so what do i do now
unless you already understand how lag compensation works, trying to make your own isn't really worth it imo
just google for one and use that
alr
nobody here wants to steal your code we are perfectly capable