^^
and heres the notes i took so you can get me some info that i dont already know :
wait(3) - tells the script to wait 3 seconds before the script
if for example pape is inside oco it means pape is a Child of oco because its inside it and oco is a Parent. the properties of a part is the part's CHILD
BrickColor = the color of the brick you dummy
game.Workspace.Part.BrickColor = BrickColor.new("Really red")
^lives ^part lives ^name of thing ^NEW color ^Color
game.Workspace.Part.Reflectance = 0.7
game.Workspace.Part.Material = "Brick"
game.Workspace.Part.Transparency = 0.6
Boolean value =
true or false value
game.Workspace.Part.Anchored = true
variable = something that stores data. data stored : -what channel is being watched example: channel = 3
part = game.Workspace.Baseplate
part.Transparency = 0.5
part.BrickColor = BrickColor.new("Really black")
^ the part stored the thing i wrote so when i write the variable name and the thing i want to change it does it without me writing that all over again!
variable name first and then an equal like this example:
myvariable =
Instance.new("") <--------- i need this to get something new in the game like a sphere or a part or etc..
part.Parent = <--- where you want it to go like workspace or lighting...
way more simple way is :
part = Instance.new("Part",game.Workspace)
for the variable :
part.Transparency = 1 <----- example
Vector3 is what we use in roblox to POSITION things vector3 means 3 position value X Y and Z
part = script.Parent
part.Position = Vector3.new(-197.5, 0.5, -205)
^ X Y Z
while true do = it will make it so that the part that you insert will insert more parts and more and it wont stop until you tell it to stop.
while true do
local part = Instance.new("Part",game.Workspace)
wait(1)
end
that script makesit so that each second a part spawns and it loops.
break = it stops the loop |