This breaks and outputs Unable to cast value to Object Script 'ServerScriptService.ModuleScript', Line 31 - upvalue BULLET_create Script 'ServerScriptService.ModuleScript', Line 142 - field shoot
local ignoreAll = {game.Workspace:FindFirstChild("Debris")}
local ignore = {PLAYER.Character, ignoreAll}
local part, position, normal = workspace:FindPartOnRayWithIgnoreList(ray, ignore, false, true)
This works
local ignore = {PLAYER.Character, game.Workspace:FindFirstChild("Debris")}
local part, position, normal = workspace:FindPartOnRayWithIgnoreList(ray, ignore, false, true)
What's the difference and what does it mean by upvalue?
