Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Did the removal of Loadlibrary cause my script not to work?

My part has two scripts and one makes the part visible by transparency after 3 seconds and the other script makes the part spin at a certain pace. I don't know if the removal of loadlibrary caused this to no longer work. can someone tell me if the loadlibrary caused it to not work?

First script

wait(3)
script.Parent.Transparency = 0

Second script

while true do
	script.Parent.CFrame = script.Parent.CFrame * CFrame.EulerAnglesXYZ(0,0.1,0)
	wait()
end

3 comments

0

this shouldntve been affected by loadlibrary. you are not using load library here.what exactly isnt workign?

0

The transparency doesn't work and I can't see anything working with the part

0

along with that, I don't know how it broke anyways it just didn't go to 0 after 3 seconds and no spinning

1 answer

No, it's just that you typed EulerAnglesXYZ without the from so this is how you fix it in the second script :

while true do
    script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
    wait()
end

3 comments

0

Maybe, but I don't know why the transparency doesn't work

0

r u trying to make it invisible because transparency 1 is invisible and transparency 0 is visible

0

I was trying to make it visible but after 3 seconds still invisible

This discussion is preserved as it was. New answers, comments, and votes are closed.