Hi im kinda new to scripting so ive tried to find ways to do this and I cant get it to work. I want to have the right arm pointing in a certain direction and then it welding. This is for a sword weapon. Ive got this rn:
1 | player = game.Players.LocalPlayer |
2 | playergui = player.PlayerGui |
3 | char = player.Character or player.CharacterAdded:wait() |
4 |
5 | function onEquiped() |
6 | -- Part where you would change the cframe |
7 | end |
8 |
9 | script.Parent.Equipped:Connect(onEquiped) |