Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how to make the brick invisible?

wait(2)
workspace:WaitForChild("PartStorage")

while true do
    wait(1.5) -- How long in between drops
    local part = Instance.new("Part",workspace.PartStorage)
    part.BrickColor=script.Parent.Parent.Parent.DropColor.Value
    part.Material=script.Parent.Parent.Parent.MaterialValue.Value

    local mesh = game.ServerStorage.Mesh:clone() -- This clones the mesh,
    mesh.Parent = part   -- Into the part!

    local cash = Instance.new("IntValue",part)
    cash.Name = "Cash"
    cash.Value = 5 -- How much the drops are worth
    part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,1.4,0)
    part.FormFactor = "Custom"
    part.Size=Vector3.new(1, 1, 0.25) -- Size of the drops 
    part.TopSurface = 0
    part.BottomSurface = 0
    game.Debris:AddItem(part,20) -- How long until the drops expire
end

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

4 comments

0

Got the answer just added part.Transparency = 1 before end

4

Stupidest question I have ever seen on this site xD

0

@silverminer226 That's very rude. Please read this: https://scriptinghelpers.org/help/community-guidelines

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

1 answer

✓ Accepted answer

To make the part Invisible do this:

Part.Transparency = 1

~Greatneil80 here, enjoy

put that anywhere in the script to make the part invisible

2 comments

0

hii

0

heck

This discussion is preserved as it was. New answers, comments, and votes are closed.