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
if v.Name == "head" then
not
if v.Name = "head" then
also the error must be from another script
You only use a single = sign when assigning a value. In your script, you should convert if v.Name = "head" then
to if v.Name == "head" then
.