First Person Hands with Clothing

Greetings Developers,
I am currently working on a first person gun. I would like to know how do I apply the player’s clothing to both the arms?

What it looks like now:

What I currently have in the arms model:
image

Any form of guidance would be highly appreciated.

2 Likes

I don’t know if this would work but you could add a humanoid and then add a shirt.

Adding a humanoid to the ViewModel, and then having a LocalScript which sets the arms colors to the players arm colors, and then if they have a shirt, clones it over.

local Player = game:GetService("Players").LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()

local ViewModel = viewmodel -- Just the directory. You set this.

if Character:FindFirstChildOfClass("Shirt") then
s = Character:FindFirstChildOfClass("Shirt"):Clone()
s.Parent = ViewModel
end

ViewModel.LeftArm.Color = Character["Body Colors"].LeftArmColor3
ViewModel.RightArm.Color = Character["Body Colors"].RightArmColor3

The skin colour part works, it also clones in the clothing whilst the humanoid is there, but the clothing is not displayed.

I forgot to mention, the arms in the viewmodel must be called “Right Arm” and “Left Arm” (spaces included)

This will just make the parts into arms, that clothing will be loaded onto.

It now works, except the humanoid kind of breaks the scripts.

1 Like

Using another way is not possible, you may have to re-write them.

In what way does it break the script?