Sorry for the repost last time nobody responded and people usually look at the newest Questions
game.ReplicatedStorage.EventBeam.OnServerEvent:Connect(function(player1)
local beam = game.ReplicatedStorage.PowerParts.Beam:Clone()
beam.Parent = game.Workspace
local player = game.Workspace:FindFirstChild(player1.Name)
beam:SetPrimaryPartCFrame(CFrame.new(beam.PrimaryPart.Position == (player.UpperTorso.Position + (player.LowerTorso.CFrame.lookVector*10))))
game.Workspace.sounds.BeamFire:Play()
end)

4 comments
check line 5. also, check that powerparts is in replicatedstorage.
tell me if there's still an error
check that your capitalisation is correct
Still get it:[