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

Why won't this work?

Asked by 10 years ago

F = game.Workspace.hypersonicpie.Head.Size

for NumberCount = 1, 60 do if F > 1 then F = F + 1 wait(1) else print("Yolo")
break end end

What it's trying to do is change the size of the fire and increase it by 1 every second. I feel like I'm doing right but it's just not working ;c. Please help D:.

1 answer

Log in to vote
0
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
10 years ago

Size is a Vector3, 1 is a number, you can't add the two. Replace "1" with Vector3.new(1,1,1)

0
I have a question, which 1? hypersonicpie 0 — 10y
0
You can't compare Vector3s with numbers. Relational operators won't work, so check if its size.X is greater than 1 and increase its size by Vector3.new(1,1,1) 1waffle1 2908 — 10y
Ad

Answer this question