So... I can always do
Var1 = game.Workspace.Part.Transparency
It works perfectly. When I print it..It prints"1".Good. But when I try to change it by putting things like
Var1 = 5
It doesn't work. How do I change a property trough a variable?
So... I can always do
Var1 = game.Workspace.Part.Transparency
It works perfectly. When I print it..It prints"1".Good. But when I try to change it by putting things like
Var1 = 5
It doesn't work. How do I change a property trough a variable?
Var = 1
game.Workspace.Part.Transparency = Var
Is that what you wanted?
Yup, thanks for helping. I feel like a scrub
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I mean it prints 0