Plz help
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)

2 comments
is capitalisation and everything else correct?
one thing to note: == are only useful in if statements, otherwise you'd just use =