Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Argument 3 missing or nil, why wouldn't that work? - CFrame

Asked by 3 years ago
Edited 3 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

local j = game.ReplicatedStorage.Poderes.Holy["Angelic Halo"].LocalScript.Charge.Script.Halo:Clone()
j.Parent = player.Character.Head
j.CFrame = player.Character.Head.CFrame * CFrame.new(Vector3.new(0,1.25,0)) * CFrame.Angles(Vector3.new(math.rad(-90),0,0)) -- This is line 95

Output:

20:10:00.382 - Argument 3 missing or nil
20:10:00.383 - Stack Begin
20:10:00.383 - Script 'Players.ruelinha.Backpack.Angelic Halo.LocalScript.Charge.Script', Line 95
20:10:00.384 - Stack End

Answer this question