not chosen_weapon.Parent == REPLICATED_STORAGE.Weapons.Selectable
and it worked, but it’s practically the same thing and it yields a warning…
I added these server-sided sanity checks because I don’t trust Roblox’s anti-cheat system.
What should I do? Thanks for reading.
player_chosen_weapons is a nil and not a dictionary
Its pretty obvious that it simply will never heppen
Never means that this operation is impossible to heppen Type checking - Luau
Sorry, forgot to mention player_chosen_weaponsis a dictionary in the script. chosen_weapon is the variable that, for some reason, is inferred as never, despite the fact that it can be confirmed to be a tool.