Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I flip a part over with CFrame.Angles?

I am trying to spawn in a cloned part from replicated storage, but it is spawning upside down.H How can I flip it?

	local RP = game:GetService("ReplicatedStorage")
	local character = player.Character or player.CharacterAdded:wait()
		local fire = RP.effects.shockyshockwave:Clone()
		fire.Parent = workspace
		fire.BrickColor = BrickColor.new("Neon orange")
		fire.Anchored = true
		fire.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(1,-1,1) * CFrame.Angles()
	

Any help would be appreciated. Thank you.

1 answer

✓ Accepted answer

you need to put numbers inside of CFrame.Angles() im not sure the exact rotation, but test it out. It requires 3 radians that represent the X,Y,Z rotation, but u can enter degrees by surrounding it with math.rad()

maybe CFrame.Angles(0, math.rad(90), 0)

This discussion is preserved as it was. New answers, comments, and votes are closed.