Need help with Positioning model

  1. What do you want to achieve? I would like my gun model to show up in front of the torso

  2. What is the issue? My gun model is inside of the torso when I playtest. I am using a R6 avatar

  3. What solutions have you thought of so far? None, I don’t know any

Code:

game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		local Gun = game.ServerStorage["Gun Model Display"]:Clone()
		Gun.Parent = Character
		Gun.Union.CFrame = Character.Torso.CFrame
		Gun.Body.Part0 = Character.Torso
		Gun.Union.Orientation = Vector3.new(-30, 90, 0)
	end)
end)

Screenshot 2024-09-01 151704

Try Model:PivotTo(CFrame) if you didn’t know this already

How would I use it in this context

Use the model positioning (set model:pivotto(cframe)), and once it has been set, weld it.

Thank you! (keystrokes keystrokes keystrokes)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.