Game Guides > Game FAQ >  

How do you create a script on roblox

How do you create a script on roblox
u gotta do different things for different scripts but in my script builder u'd have to put a script/ befor the script...

u would do "script/game" to make a script that changes somethings properties like the reflectance or transparency of a brick....

i would have to say "script/game.Workspace.Base.Reflectance = 8" to get the base to be shiny. I would say workspace bcuz that's what all bricks are inside of so after workspace i say the brick i want to change (the base) to tell what i want to change then reflectance because that's one of the properties of the base and then the ammount of shininess i want it to be... if u wanted to make the base invisible u would say transparency not reflectance... to make it walk through i would say CanCollide = false in stead of the reflectance = 8

to chang the size is... "Size = Vector3.new(10, 10, 10)" if u want to make it bigger then make the #s larger....... if u wanna change something with a mesh, or something that is not square, then say BRICK NAME.Mesh.Scale = Vector3.new(10, 10, 10) and don't leave out the game.Workspace

That's pretty simple stuff but its a start. If u want more coplicated ones then make a new question and be specific.