I was just playing around with studio and tried this script with a button, but whenever I press it if the player's body isn't facing 0, 0, 0 it will just go crazy and the arms will break and legs. Heres the script:
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
local playerg = player.Character:GetChildren()
for i,v in pairs(playerg) do
if v.ClassName == "Part" then
v.Orientation = Vector3.new(0, 0, 0)
end
end
end)
