R15 Character Not Tilting?

Seems to work fine with an R6 character, but nothing happens on an R15 character, even when constantly looping it. What could be the problem?

local localPlayer = game:GetService("Players").LocalPlayer
local Character = localPlayer.Character or localPlayer.CharacterAdded:wait()
local lowerTorso = Character:WaitForChild("LowerTorso")

game:GetService("RunService").RenderStepped:Connect(function()
    lowerTorso.Root.C1 = lowerTorso.Root.C1*CFrame.Angles(math.rad(-90),0,0)
end)
2 Likes

The code you give works fine on my end, could you explain how you are running it?

It is a localscript inside PlayerGui

https://i.gyazo.com/0be155e245b0c76de8a1f81b573644c0.mp4

Actually, I just added a wait() at the start of the script and it works fine. Why doesn’t it work without a wait()?

R15 rigs are constructed and deconstructed twice when your character spawns (i.e. all limbs are replaced with your avatar’s body parts and the right scaling and such). Perhaps ‘Character’ was pointing to the first rig that was spawned and therefore you are manipulating the old rig instead of the new one.

4 Likes