|
| 01 Sep 2017 01:37 PM |
Hello everyone, i'm trying to make this script work with a click of a button, it does work but when i try to squeeze the click function in it doesn't work.
wait(1) function invisible(Exterior) for i,v in pairs(Exterior:GetChildren()) do wait() if v:IsA("Model") then invisible(v) elseif v:IsA("BasePart") then v.Transparency = 1 v.CanCollide = false end end end
invisible(game.Workspace.Exterior)
Thanks for everything! |
|
|
| Report Abuse |
|
|
A_Ferret
|
  |
| Joined: 15 Feb 2016 |
| Total Posts: 8432 |
|
| |
|
| |
|
N1ckvsxtn
|
  |
| Joined: 29 Sep 2015 |
| Total Posts: 961 |
|
|
| 01 Sep 2017 01:47 PM |
GuiButton.MouseButton1Click:connect(function() (your script) end) |
|
|
| Report Abuse |
|
|