Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how would i rotate the whole model using cframe.angles?

Asked by 4 years ago
Edited 4 years ago

so when i’m using cframe.angles to rotate my model it only rotates the main part but not the whole model. i really don’t get it. i’m am confused can someone help me thank u

local rp = game.ReplicatedStorage
local dark = rp:WaitForChild("Right Hand")


game.Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:connect(function(character)
        character:WaitForChild("RightHand").Transparency = 0

        local ClonedRH = dark:Clone()
        ClonedRH.Parent = character

        ClonedRH:SetPrimaryPartCFrame(character:WaitForChild("RightHand").CFrame)
        local Weld = Instance.new("Weld")
        Weld.Part0 = ClonedRH.Main
        Weld.Part1 = character:WaitForChild("RightHand")
        Weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),math.rad(90),math.rad(20))
        Weld.Parent = character:WaitForChild("RightHand")
    end)
end)    
0
`Model:SetPrimaryPartCFrame(CFrame.Angles(x, y, z))` U_srname 152 — 4y
0
where though Fxding_cam 60 — 4y
0
like edit the script Fxding_cam 60 — 4y

Answer this question