Argument 3 missing or nil, why wouldn't that work? - CFrame
Asked by
4 years ago Edited 4 years ago
I'm making a power that you use it and a halo appears on your head, and for that I had to use CFrame, but I keep having this error and I have no idea how to fix it. Other than that, everything works
1 | local j = game.ReplicatedStorage.Poderes.Holy [ "Angelic Halo" ] .LocalScript.Charge.Script.Halo:Clone() |
2 | j.Parent = player.Character.Head |
3 | j.CFrame = player.Character.Head.CFrame * CFrame.new(Vector 3. new( 0 , 1.25 , 0 )) * CFrame.Angles(Vector 3. new(math.rad(- 90 ), 0 , 0 )) |
Output:
1 | 20 : 10 : 00.382 - Argument 3 missing or nil |
2 | 20 : 10 : 00.383 - Stack Begin |
3 | 20 : 10 : 00.383 - Script 'Players.ruelinha.Backpack.Angelic Halo.LocalScript.Charge.Script' , Line 95 |
4 | 20 : 10 : 00.384 - Stack End |