When testing weapons, the beam does not work properly. Either it's going the wrong way, or it's stuck in the blocks. p.s.sorry for my english, i use translate
script.Parent.RemoteEvent.OnServerEvent:connect(function(plr,Pos) local ray = Ray.new(Stvol.Position , Pos) local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {TOOL, beam, Stvol, TOOL.Handle}, false, true) if hit then hit.BrickColor = BrickColor.new("White") end script.Shot:Play()