Still have questions? Join our Discord server and get real time help.
Log in to vote

Why is my cloned part not rotating correctly?

Asked by 10 days ago

I have it so that it clones the part that is saved in ReplicatedStorage and then places it on the player. Although everything works properly the garden is being placed sideways for whatever reason. When I rotate it by using GardenO.Rotation it's still being placed sideways. Any help?

game.Workspace.RosadaRemote:FindFirstChild("Garden").OnServerEvent:Connect(function(Player, Debounce)
 local deb = false
 local AlreadyTouched = false
 local Character = Player.Character or Player.CharacterAdded:Wait()
 Debounce = true
 local Garden = game:GetService("ReplicatedStorage"):FindFirstChild("Garden")
 local GardenO = Garden:Clone()
 GardenO.Name = "Garden"
 GardenO.Parent = game.Workspace
 GardenO.CFrame = Character.HumanoidRootPart.CFrame*,-5,0)
 GardenO.Rotation =, -120.32, -90)
 local BV ="BodyVelocity")
 BV.MaxForce =,math.huge,math.huge)
 BV.Velocity = Character.HumanoidRootPart.CFrame.lookVector*0
 BV.Parent = GardenO
Try math.rad(-90) at lines 11 NiniBlackJackQc 554 — 10d
No ^ MCAndRobloxUnited 1522 — 10d
GardenO.Rotation =,-120.32,math.rad(-90)? songboy50 28 — 10d
Vector3 doesn´t use radians. Rotation is just the current rotation as a Vector3, it doesn´t need radians. MCAndRobloxUnited 1522 — 10d

Answer this question