Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does this instantly go away without a fade?

Asked by 8 years ago
        for i = 0,1,.05 do
            game:GetService('RunService').RenderStepped:wait()
            bounce.Transparency = i
            print (bounce.Transparency)
            bounce.SelectionBox.Transparency = bounce.Transparency
            bounce.Size = bounce.Size + Vector3.new(.2,.2,.2)
        end

output: 0 0.050000000745058 0.10000000149012 0.15000000596046 0.20000000298023 0.25 0.30000001192093 0.34999999403954 0.40000000596046 0.44999998807907 0.5 0.55000001192093 0.60000002384186 0.64999997615814 0.69999998807907 0.75 0.80000001192093 0.85000002384186 0.89999997615814 0.94999998807907 'bounce' is a part with a selectionbox and a "Custom" FormFactor

0
I think its because it happens in a instant and it doesn't have time to render it qwrn12 85 — 8y
0
The problem isn't in this part of the script. 1waffle1 2908 — 8y
0
Indeed, cause the snippet you gave us works perfectly fine. MechaScripter 35 — 8y
View all comments (2 more)
0
well poo Senor_Chung 210 — 8y
1
It does have to be running locally, because RenderStepped is a local event. 1waffle1 2908 — 8y

Answer this question