how i can do it? me is making viewmodel aslo i dont know lua :C
here is script
01 | local player = game.Players.LocalPlayer |
02 |
03 | local char = script.Parent |
04 |
05 | local cam = workspace.Camera |
06 |
07 | local run = game:GetService( "RunService" ) |
08 |
09 | local arms = game.ReplicatedFirst.Arms:Clone() |
10 |
11 | run.RenderStepped:Connect( function () |
12 |
13 | arms:SetPrimaryPartCFrame(cam.CFrame * CFrame.new( 0 ,- 1.5 , 0 )) |
14 |
15 | end ) |
16 |
17 | arms.Parent = cam |