Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

?changing C0 for motor6Ds does not work as I would like.

How can I fix this?!? ** https://ctrlv.tv/XK73**

I think changing these numbers could solve my problem: https://ctrlv.cz/fcsB

my script:

--local script in player gui
plr = game.Players.LocalPlayer;
repeat wait () until plr.Character
char = plr.Character
m = plr: GetMouse ()
game ["Run Service"]. RenderStepped: connect (function ()
local c = game.Workspace.CurrentCamera

char.Torso ["Right Shoulder"]. C0 = CFrame.new (Vector3.new (1, -0.6, -1) + plr.Character.Torso.CFrame: toObjectSpace (workspace.CurrentCamera.CFrame) .p) * CFrame .Angles (-math.asin ((m.Origin.p - m.Hit.p) .unit.y), 1.55,0)
char.Torso ["Left Shoulder"]. C0 = CFrame.new (Vector3.new (-1, -0.6, -1) + plr.Character.Torso.CFrame: toObjectSpace (workspace.CurrentCamera.CFrame) .p) * CFrame.Angles (-math.asin ((m.Origin.p - m.Hit.p) .unit.y), - 1.55,0)

local cam = workspace.CurrentCamera
end)

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.