i'm trying to make a bighead all script for admin in my game but i get this error when it runs
Expected 'then' when parsing if statement, got '='
here's my code
for i,v in pairs(workspace:GetChildren()) do
if v.Name = "head" then
v.Size = Vector3.new(10,10,10)
end
end
if anyone can help me that would be great

2 comments
The error makes no sense. I think that's from another script. The thing you are doing wrong here is that there aren't any heads in the workspace. You have to go into a character model and check if there is a head inside of that. Also it's not "head" it's "Head". It has a uppercase letter.
So basically just say for i,v in pairs(game.Workspace:GetChildren()) do if v.ClassName == "Model"