How do I create a script that puts a model into the players right arm?

How can I create a script that puts a model (sword) into the players right arm without using a custom startercharacter? if someone could help that would be great

Well just make a connection for when the character is added in a server script or whatever script you when then put the model in that script

The code would look something like this in a server script:


local Model = script.Model -- replace with model name

game.Players.PlayerAdded:Connect(function(player)

  player.CharacterAdded:Connect(function(char)

   task.wait(0.1)
   local NewModel = Model:Clone()
   NewModel.Parent = char.RightHand   


  end)

end)


There may be some typos because I am not using the auto correct.

parent the tool to the players character then create a weld connected to the players arm and the tool