How do I make the scripts go into the player's hand?

I’m trying to make a script that moves two different scripts into the hand of the player. When I run it the scripts don’t get moved and instead stay in the player(all of the scripts are in StarterCharacterScripts). How do I fix this?

game.Players.PlayerAdded:Connect(function(player)
	local character = player.Character
	local right = script.Parent.Parent:WaitForChild("Right")
	local left = script.Parent.Parent:WaitForChild("Left")

	right.Parent = character.RightHand
	left.Parent = character.LeftHand
end)

Does your game use R6 or R15? Since both have different names for hands

Well, you could put this script into the ServerScriptService:

game.Players.PlayerAdded:Connect(function(plr)
	
	plr.CharacterAdded:Connect(function(char)
		
		-- insert script into char
		
	end)
	
end)