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

How can I place the cloned arm into the workspace?

Im a beginner scripter so i might not understand everything. i want to make the fake arm is visible when fully zoomed/firstperson. this is in a script btw should i put it in a local script?

game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function(character)
		
		local rightArm = character:WaitForChild("Right Arm")
		local rightArmClone = rightArm:Clone()
		local model = Instance.new("Model", character)
			
		rightArmClone.Parent = model
		rightArmClone.FormFactor = "Custom"
		rightArmClone.Size = Vector3.new(0.99, 1.99, 0.99)
			
		local weld = Instance.new("Weld")
		weld.Parent = rightArm
		weld.Part0 = rightArm
		weld.Part1 = rightArmClone
	end)
end)

1 comment

0

This should probably be in a server script. Are there any other questions? What is currently happening? If you want to move the cloned arm into workspace , set its parent (line8) to workspace instead of model.

1 answer

do this:

rightArmClone.Parent = game.Workspace

1 comment

0

No, not really since he already parented the model to the character he doesn't have to parent the cloned arm to workspace since he parented it to the model.

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