#Melee weapon with server lag

1 messages · Page 1 of 1 (latest)

chrome frost
#

I have a fully working melee weapon, fairly simply made, but im just wondering how i would deal with server and player lag, like where on your screen you are hitting somebody, but on there screen they are a good couple feet infront of you. How can i make my script deal with this?

strange tinsel
#

you don't fingerguns

chrome frost
#

otherwise my weapon is doomed if people are allowed to have free will and walk LOL

strange tinsel
#

you can move where the lag happens, you can sometimes even hide it, but you cannot remove it outright fingerguns

fallen bloom
chrome frost
strange tinsel
strange tinsel
#

unless of course you're prepared to spend billions developing quantum internet

fallen bloom
chrome frost
tender echoBOT
#

studio** You are now Level 3! **studio

chrome frost
#

if you can even answer that

#

nikilis sigma coder

fallen bloom
#

it could maybe be slow code

#

cause even in mm2 the hitboxes can be a bit crazy still

chrome frost
#

oh yeah fs but not nearly as bad as what im doin lol, im just using raycast to detect hits

fallen bloom
#

its really based on how close u are to the physical server

chrome frost
#

i dont think it should cause that much problems

chrome frost
#

its very weird

fallen bloom
#

I havent really messed around with like melee detection so I cant really say for sure you'll have to ask someone better than me about this but raycast seems fine no?

chrome frost
#

i would think so but roblox not having it lol

fallen bloom
#

maybe try diff detection methods and see

#

like get partsboundinbox thats another way

#

you'll probs still get the issue

strange tinsel
fallen bloom
#

yea you cant really do too much tbh

#

but it shouldnt be THAT bad unless ur on a server thats really far away

chrome frost
#

shiz is goofy

chrome frost
#

idk if its just lucky no lag or wat but

#

we ball

fallen bloom
#

yea it was probs an issue with ur code then

chrome frost
#

honestly prolly lol

#

thanks 🙂