number1 = script.Parent.Name; --The name is 0
number2 = 1;
number3 = 10;
number4 = 40;
number5 = 250;
function onTouched(hit) --Function 1
number1 = script.Parent.Name
print(number1+number2)
script.Parent.Name = (number1+number2)
wait(0.2)
print"ahh"
end
script.Parent.Touched:connect(onTouched)
function math() --Function 2
if script.Parent.Name == 50 then
script.Parent.TopSurface = "Studs"
end
Got two issues, the tutorial tells me to do "if 1==1 then" and that will work, how come the 2nd function won't work? Two things, How do I put a pause between when Function 1 can operate, because it will just occur whenever, the "wait(0.2)" doesn't delay when it acts. And, how do I make Function 2 work?
