generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Making the script "clickable"

Previous Thread :: Next Thread 
SoulessTitan is not online. SoulessTitan
Joined: 20 Dec 2010
Total Posts: 38
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 is not online. A_Ferret
Joined: 15 Feb 2016
Total Posts: 8432
01 Sep 2017 01:38 PM
Is it a GUI, or part?


●▂▂●
Report Abuse
SoulessTitan is not online. SoulessTitan
Joined: 20 Dec 2010
Total Posts: 38
01 Sep 2017 01:43 PM
its a GUI
Report Abuse
N1ckvsxtn is online. N1ckvsxtn
Joined: 29 Sep 2015
Total Posts: 961
01 Sep 2017 01:47 PM
GuiButton.MouseButton1Click:connect(function()
(your script)
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image