I am trying to make a Part become completely transparent, over the course of 60 seconds. Wait 7 seconds, and then repeat continuously. Here's what I've Tried:
Insert NumberValue into Part (Value =0)
Inserted Script into part:
local transparency = script.Parent.Transparency
while true do
script.Parent.Transparency = transparency.Value
for i = 1,transparency.Value do
wait(1)
transparency.Value = transparency.Value + 0.01666666 --i/60
script.Parent.Transparency = transparency.Value
end
wait (7)
transparency.Value = 0
end
While testing the game, the part does not become more transparent.
Here's an error code that show up: Workspace.Part.Transparency Script:3: attempt to index local 'transparency' (a number value)
I'm new to scripting and would really appreciate some help/feedback. Thank you!

1 comment
transparency = 0 to 1 random number also look for output in the view tab this tells you if theres an error when you play youre game(99% of the time)