So I tried the typical way for writing a for loop:
for(int x;x<=50;x++){ print("Hello") }
It wasn't till later on that I realized that I forgot that Roblox ran on Lua and not on Javascript...