Orientation of a part not changing via script

Hello, I’m trying to make a beam move but the part is facing the wrong way, I tried to change the orientation through a script, but that wouldn’t effect the part at all, even with the numbers changed.

script.eletrik.OnServerEvent:Connect(function(plr)
	char = plr.Character
	beam = game.ReplicatedStorage.TOOLS.Beam
	beam.Parent = game.Workspace
	beam.Orientation = Vector3.new(0,-90,0)---doesn't seem to be affecting the beam even with the numbers changed
	beam.Anchored = true
	beam.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,4,-8)
	

end)
1 Like

4 posts were merged into an existing topic: Orientation changed via script not working

Hello, please don’t repost the same post as it is against the rules and it classified as spam.

Like @desinied said, if your post hasn’t been responded to, then you could wait. Reposting a post for no reason is against the Developer Forum rules, please read this thread for a better understanding of the Developer Forum rules;

Do not create duplicate threads.