My script did nothing at all no errors pop up. Can someone help with this code? I am trying to rotate characters limbs and legs
wait (4)
local character = game.Players.LocalPlayer.Character
local Jointsselection = character.Torso
local larm= Jointsselection["Left Shoulder"]
local rarm= Jointsselection["Right Shoulder"]
local lleg= Jointsselection["Left Hip"]
local rleg= Jointsselection["Right Hip"]
local hed= Jointsselection["Neck"]
function oof()
lleg.Transform = lleg.Transform * CFrame.Angles(0,0,math.rad(-90))
rleg.Transform = rleg.Transform * CFrame.Angles(0,0,math.rad(90))
larm.Transform = lleg.Transform * CFrame.Angles(0,0,math.rad(-90))
rarm.Transform = rleg.Transform * CFrame.Angles(0,0,math.rad(90))
end
function normal()
lleg.Transform = lleg.Transform * CFrame.Angles(0,0,0)
rleg.Transform = rleg.Transform * CFrame.Angles(0,0,0)
larm.Transform = lleg.Transform * CFrame.Angles(0,0,0)
rarm.Transform = rleg.Transform * CFrame.Angles(0,0,0)
end
while true do
oof()
wait (1)
normal()
wait (1)
end
