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

I need help with meshes and cframe?

Asked by 8 years ago
Edited 8 years ago

I am trying to make it so the second mesh is overlaping the mesh inside the middle mesh

01p=Instance.new('Part', game.Workspace.Terrain)
02p.Anchored=true
03p.Locked=true
04p.CFrame=CFrame.new(0,5,0)
05p.BrickColor=BrickColor.new("Really black")
06p.Material = Enum.Material.SmoothPlastic
07p.Size=Vector3.new(1.8, 1.8, 1.8)
08p.Transparency = 0.000
09p.CanCollide = false
10p2=Instance.new('Part', game.Workspace)
11p2.Anchored=true p2.Locked=true
12p2.BrickColor=BrickColor.new("Really black")
13p2.Material = Enum.Material.SmoothPlastic
14p2.Size=Vector3.new(1.9,1.9,1.9)
15p2.Transparency = 0.700
View all 25 lines...

There is one mesh which is 0.7 transparent which is the outline of the middle mesh, but I cant get them to stay together..

It is a nonlocal script, not a local script..

I am trying to make it like a outlined block, I dont like using selectionboxes..

Try running the code, you'll see what I mean.

0
For heaven's sake man. Use a code block. User#11440 120 — 8y
0
There, I used a codeblock BadLuke1 2 — 8y

Answer this question