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

how to make the brick invisible?

Asked by
techan0 -12
7 years ago
01wait(2)
02workspace:WaitForChild("PartStorage")
03 
04while true do
05    wait(1.5) -- How long in between drops
06    local part = Instance.new("Part",workspace.PartStorage)
07    part.BrickColor=script.Parent.Parent.Parent.DropColor.Value
08    part.Material=script.Parent.Parent.Parent.MaterialValue.Value
09 
10    local mesh = game.ServerStorage.Mesh:clone() -- This clones the mesh,
11    mesh.Parent = part   -- Into the part!
12 
13    local cash = Instance.new("IntValue",part)
14    cash.Name = "Cash"
15    cash.Value = 5 -- How much the drops are worth
View all 22 lines...

ok so a brick comes out along with the item i wish just need to make the brick invisible please help!

0
Got the answer just added part.Transparency = 1 before end techan0 -12 — 7y
4
Stupidest question I have ever seen on this site xD silverminer226 4 — 7y
0
@silverminer226 That's very rude. Please read this: https://scriptinghelpers.org/help/community-guidelines TheeDeathCaster 2368 — 7y
0
Give the poor kiddie a break doesnt even know how to do it properly you its not in a variable or anything so do this instead game.Workspace.Part.Transparency = 1 simple unlike you coolants19 1 — 2y

1 answer

Log in to vote
10
Answered by 7 years ago

To make the part Invisible do this:

1Part.Transparency = 1

~Greatneil80 here, enjoy

put that anywhere in the script to make the part invisible

0
hii raid6n 2196 — 4y
0
heck greatneil80 2647 — 4y
Ad

Answer this question