What I'm Trying To Do So I got this arm script working but I can't seem to cframe it to a 90 degree angle and In a position of the player holding the gun. Could you guys help me with this? Thanks.
Debounce = false
game.Workspace.ChildAdded:connect(function(Player)
Character respawn or load
local Humanoid = Player:FindFirstChild("Humanoid")
if Humanoid then
if not Debounce then
Debounce = true
local ArmStorage = game.Workspace:FindFirstChild("ArmStorage")
if not ArmStorage then
local Model = Instance.new("Model", game.Workspace)
Model.Name = "ArmStorage"
end
wait(1)
print("Player Character Has Loaded")
local FakeArmL = Player["Left Arm"]:Clone()
FakeArmL.Name = "FakeArmL"
FakeArmL.Parent = game.Workspace.ArmStorage
FakeArmL.CFrame = Player["Left Arm"].CFrame -- I tryed doing this but it did not work + Cframe.new(0,0,0)
local Weld1 = Instance.new("Weld", FakeArmL)
Weld1.Part1 = Player["Left Arm"]
Weld1.Part0 = FakeArmL
Player["Left Arm"].Transparency = 1
local FakeArmR = Player["Right Arm"]:Clone()
FakeArmR.Name = "FakeArmR"
FakeArmR.Parent = game.Workspace.ArmStorage
FakeArmR.CFrame = Player["Right Arm"].CFrame -- I tryed doing this but it did not work + Cframe.new(0,0,0)
local Weld2 = Instance.new("Weld", FakeArmR)
Weld2.Part1 = Player["Right Arm"]
Weld2.Part0 = FakeArmR
Player["Right Arm"].Transparency = 1
Debounce = false
end end end)

1 comment
Did some edits, forgot to put a few things in