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

Mentioning the Y axle in a script?

Asked by 8 years ago

Sorry I can't access studio so I cannot get the script. What happens is that the bricks will change size every 0.1 seconds. Could somebody help me? I do not know how to mention the Y axle in a script.

1 answer

Log in to vote
1
Answered by 8 years ago

For this example let say we already have a Part inside of Workspace.

for i = 0,10,1 do
    local Part = game.Workspace.Part--Making a Variable to access the Part quicker.
    Part.Size = Part.Size + Vector3.new(0,1,0)--Adding One Studs to the Part each time it loops. Feel free to edit the script to your liking!
    wait(0.1)
end
Ad

Answer this question