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
 

Idk

Previous Thread :: Next Thread 
itsjustatlas is online. itsjustatlas
Joined: 21 May 2016
Total Posts: 864
17 Oct 2017 09:12 PM
local Numbers={"",[[2]],[[3]],[[5]],[[6]],[[[7]],[[8]],[[9]],[[[10]]]}
local x=true
local gui=game.StarterGui.ScreenGui
for i = 1, #Numbers do
if not gui:FindFirstChild("Frame"..Numbers[i]) then
x=false
end
end
if x then
workspace.BP.CanCollide = true
workspace.End5Trampolineeee:Destroy()
workspace.gunman:Destroy()
workspace.mayayan:Destroy()
workspace.itsjustatlas:Destroy()
workspace.end10:Destroy()
workspace.endmarioooe:Destroy()
workspace.Doc:Destroy()
workspace.ROCKSS:Destroy()
workspace.End1:Destroy()
workspace.end4:Destroy()
workspace.End6:Destroy()
workspace.sign.CanCollide = true
workspace.sign.Transparency = 0
workspace.signposte.CanCollide = true
workspace.signposte.Transparency = 0
workspace.sign.SurfaceGui.TextLabel.TextTransparency = 0
end

i'm trying to detect if frames are visible, then do this, but it ain't working
my frame names are Frame, Frame2, Frame3, Frame5, bla bla bla until Frame10.
Help? Ignore the brackets in the script around the numbers


MY SIGGY IS BIBBY I TOTALLY DIDN'T STEAL FROM SOMEONE
Report Abuse
Thedagz is not online. Thedagz
Joined: 10 Mar 2012
Total Posts: 798
17 Oct 2017 09:15 PM
its because your trying to get the gui using startergui, but you should be using playergui instead



Need Help With scripting or Hire Scripters? Go here! via Discord : discord DOT gg/rfnudw6
Report Abuse
BloodLitch101 is not online. BloodLitch101
Joined: 13 Jul 2011
Total Posts: 941
17 Oct 2017 09:15 PM
do this

for _, Object in pairs(workspace:GetDescendants()) do
Object:Destroy()
end

print('fixed scipt')


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