Hello scripters that are better than me, I am trying to make a script where if the temperature value reaches a certain amount, coresize value increases until it reaches 20. The coresize value should increase the size of a part. Here is what I tried:
temperature = 200
coresize = 4
if true then
wait(3)
temperature = temperature +5
end
if temperature >= 210 then
coresize = coresize + 1
script.Parent.Size.X = coresize
script.Parent.Size.Y = coresize
script.Parent.Size.Z = coresize
repeat until coresize == 20
end
Any help is much appreciated =)

1 comment
Hello FlamingGamez. I want to thank you for your contribution. I have tested the script, and with a few modifications, it worked! I decided to removed the script.Parent.Size part and replace it with a Vector3 script. Once again, thanks!