Urgent Raycast hitbox issues (Help my game is dying in live)

image

And this is the module

Ironically, it works fine on vip servers and stupid glitch only happens on public servers
I need to fix it as soon as possible

1 Like

ā€œAttempt to index number with ā€˜Singleā€™ā€, if i am not mistaken, generally means that the code is trying to treat a number like a table, like:

local num = 5
print(num.Single)

The code looks correct so it’s weird that it’s erroring like that, but what you can do is on lines 222-224 in the module replace the RaycastHitbox.SignalType.Single with just the number 2, that should serve the same purpose, should help for now

Are you sure your code isn’t changing RaycastHitbox.SignalType table anywhere?

I made another experience for testing and tested it with a public server with same condition, but I didn’t find an issue like that. So there’s nothing more I can do. :frowning:

something is reassigning .signaltype to a number
try searching with ctrl shift f for .SignalType = or .SignalType=

you could also just replace it with the number 2

1 Like

For now, I decided to do that ( just replace it with the number 2). Thank you to everyone who helped.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.