ipod216
|
  |
| Joined: 21 May 2010 |
| Total Posts: 952 |
|
|
| 10 Jun 2012 01:07 PM |
Err I'm just thinking but will this work?
Instance.new("Part",game.Workspace) Game.Workspace.Part.Transparency = 0.5
I want to make a half visible Brick while im in-game on SB. Do you think this will work?
SB is Script Builder.
|
|
|
| Report Abuse |
|
|
|
| 10 Jun 2012 01:12 PM |
Part = Instance.new("Part", game.Workspace) Part.Transparency = 0.5
That's an easier method. But yes your script will work if there is no other part in Workspace named "Part". |
|
|
| Report Abuse |
|
|
ipod216
|
  |
| Joined: 21 May 2010 |
| Total Posts: 952 |
|
|
| 10 Jun 2012 01:16 PM |
I haven't been on roblox for like 2 Years, I'm a little rusty... Hmm I'll try this..
x = Instance.new("Part") x.Transparency = 0.5 x.Vector3.new = 5,5,5
You think that would be fine? Because I forget how to make it go to my character. Lol
|
|
|
| Report Abuse |
|
|
|
| 10 Jun 2012 01:21 PM |
x = Instance.new("Part",game.Workspace) --Sets a variable, Instance.new("Part") creates a part, game.Workspace sets parent x.Size = Vector3.new(0,0,0) --Sets size (x,y,z) x.Name = "Part" --Name, put in quotation marks x.Position = Vector3.new(0,0,0) --Position, same as Size x.Anchored = true --Anchored or not? Always a true or false value. x.Locked = true --Same as Anchored x.BrickColor = BrickColor.new(126) --BrickColor. Use numberic values or BrickColor.new("Really red") x.CanCollide = true --Same as Anchored x.Shape = Block --Block. Either Block, Ball or Cylinder x.Transparency = 0 --0 being none, 1 being invisible. All others inbetween. x.Reflectance = 0 --Same as Transparency x.TopSurface = 0 --Smooth --Top surface of brick. There are six sides, see brick for more. x.Material = 0 --Plastic. Materials have numberic values as well as "Plastic"
--MORE--
--Archivable, like Anchored, is a true or false value. --RotVelocity and Velocity are set as (x,y,z) values, just like Size and Position. --Elasticity and Friction are set between 0 and 1, like Transparency and Reflectance. --FormFactor is like Shape, see brick for values. --The only thing left is your Surface Inputs. Your Params will be between 0 and 1 and your SurfaceInputs will be of certain values. --You might want to change a parent so use x.Parent = game.Workspace
Here. I made this. Have this. :b |
|
|
| Report Abuse |
|
|
|
| 10 Jun 2012 01:22 PM |
Instance.new(Object to make, Object parent) Will make "Object to make", parented in "Object parent".
x = Instance.new("Part", game.Players.ipod216.Character)
Vector3 is a value type, I'm not sure if you were using position or size, so here:
x.Size = Vector3.new(5, 5, 5) |
|
|
| Report Abuse |
|
|
ipod216
|
  |
| Joined: 21 May 2010 |
| Total Posts: 952 |
|
|
| 10 Jun 2012 07:46 PM |
OH Sorry! I was actually referring to size, This is wut I meant to put
x.Vector3.new.Size = 5,5,5 |
|
|
| Report Abuse |
|
|