foreverloop()
wait(1)
Script.Parent.CanCollide = false
Script.Parent.Transparency = 0.5
wait(1)
Script.Parent.CanCollide = true
Script.Parent.Transparency = 0
end
<eof> is fine it means the engine is running correctly. and if you want to check your script, right click and go down and click "Check Script" and It will auto go to the Error. if it wont let you then you dont have a Error
There is no method named foreverloop(). A computer has no idea what this means, code must obey certain rules. The code below should work. Keep in mind while is accepted by lua as a loop that continues until the conditions between it and "do" are met, if you put true in the middle it will repeat forever unless something inside of it commands it to break.
while true do wait(1) script.Parent.CanCollide = false script.Parent.Transparency = 0.5 wait(1) script.Parent.CanCollide = true script.Parent.Transparency = 0 end
PS: Don't capitalize Script when referring to the script the code is in.
Try this.
i = s while i=s do wait(1) Script.Parent.CanCollide = false Script.Parent.Transparency = 0.5 wait(1) Script.Parent.CanCollide = true Script.Parent.Transparency = 0 end