What i am trying to do is a ray gun but because of the roblox filter other players can't see the ray of a player
what is in my localscript
script.Parent.FireBullet:FireServer(beam)
what is in my script
script.Parent.FireBullet.OnServerEvent:Connect(function(beam) game:GetService("Debris"):AddItem(beam, 0.05) end)
Warning the script is in the tool
if i test my gun automatically when i press the button of my mouse to firing, the game make me disappear