So I am building a nuclear reactor core and for my script called "TempIncrease", I am getting this error listed below: Workspace.TempIncrease:4: attempt to index local 'Temp' (a number value)
This is my script:
game.Workspace.Temp.Value = 0
repeat until "game.Workspace.Temp.Value = 2000"
local Temp = game.Workspace.Temp.Value
Temp.Value = Temp.Value + 7
wait(6.5)
Is there any way to help?
If there is thank you.

2 comments
the condition for repeat loops shouldn't be a string
the contents of a repeat loop should be between the repeat and until