My welds don't do anything when I create them in a script but when I change their properties in the explorer while playing the game, they work perfectly. What do I need to do in order to make this work because I am very confused. It outputs no errors and the script runs perfectly creating both welds and assigning their properties.
function TestService:Spawn(Player, Weapon) if Weapon ~= Items.IDArray[Weapon] then game.ReplicatedStorage.SuccessMessage:FireClient(Player, "? Successfully found "..Weapon.." with ID "..Items.IDArray[Weapon].ID) -- Welding local WeaponSaid = game.ReplicatedStorage[Weapon] local Fake = WeaponSaid:Clone() Fake.Parent = game.Workspace[Player.Name] local WeldC0 = Instance.new("Weld", Fake.Model.Handle) local WeldC1 = Instance.new("Weld", game.Workspace[Player.Name]["Right Arm"]) WeldC0.Name = "FakeHandle" WeldC1.Name = "PlayerHandle" wait(0.5) Fake:SetPrimaryPartCFrame(CFrame.new(game.Workspace[Player.Name]["Right Arm"].Position)) WeldC0.Part0 = WeaponSaid.Model.Handle WeldC0.Part1 = game.Workspace[Player.Name]["Right Arm"] wait(0.5) Fake:SetPrimaryPartCFrame(CFrame.new(game.Workspace[Player.Name]["Right Arm"].Position)) WeldC1.Part0 = WeaponSaid.Model.Handle WeldC1.Part1 = game.Workspace[Player.Name]["Right Arm"] Fake:SetPrimaryPartCFrame(CFrame.new(game.Workspace[Player.Name]["Right Arm"].Position)) else game.ReplicatedStorage.ErrorMessage:FireClient(Player, "? Sorry, I couldn't find "..Weapon.." in my Array!") end end