0mrlight0
|
  |
| Joined: 22 Sep 2012 |
| Total Posts: 85 |
|
|
| 06 Jul 2016 02:46 PM |
i've put this tool in starterpack and when it is equipped it is meant to show a gui... why on earth won't this work. wait(0.5) -- VARIABLE LIST local HC = script.Parent local Folder = game.StarterGui.HQControls local Background = Folder.Background local MainMenu = Folder.MainMenu local MMExterior = MainMenu.MMExterior local MMLights = MainMenu.MMLights
HC.Equipped:connect(function() Background.Visible = true MMExterior.Visible = true end)
HC.Equipped:connect(function() Background.Visible = false MMExterior.Visible = false MMLights.Visible = false end)
|
|
|
| Report Abuse |
|
|
|
| 06 Jul 2016 02:51 PM |
"local Folder = game.StarterGui.HQControls" Okay then.
-=[ RAP: 345,693 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|
0mrlight0
|
  |
| Joined: 22 Sep 2012 |
| Total Posts: 85 |
|
|
| 06 Jul 2016 02:53 PM |
What? Thats the name of the ScreenGui, that i changed
|
|
|
| Report Abuse |
|
|
|
| 06 Jul 2016 02:54 PM |
local Folder = game:GetService("Players").LocalPlayer.Backpack:WaitForChild("HQControls")
-- Script must be a LocalScript
-=[ RAP: 345,710 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|
0mrlight0
|
  |
| Joined: 22 Sep 2012 |
| Total Posts: 85 |
|
|
| 06 Jul 2016 02:58 PM |
Script is local, that still didn't work.
|
|
|
| Report Abuse |
|
|
Skellobit
|
  |
| Joined: 13 Apr 2016 |
| Total Posts: 12758 |
|
|
| 06 Jul 2016 02:59 PM |
change Backpack to PlayerGui
Formerly ToxicDominator - add 17,509 posts | :(){:|:&};: |
|
|
| Report Abuse |
|
|
0mrlight0
|
  |
| Joined: 22 Sep 2012 |
| Total Posts: 85 |
|
|
| 06 Jul 2016 03:00 PM |
omg, that worked. How come? sorry im a new scripter.
|
|
|
| Report Abuse |
|
|
Skellobit
|
  |
| Joined: 13 Apr 2016 |
| Total Posts: 12758 |
|
|
| 06 Jul 2016 03:10 PM |
because GUIs aren't cloned into Backpack from StarterGui, durst made a silly mistake
Formerly ToxicDominator - add 17,509 posts | :(){:|:&};: |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2016 03:11 PM |
Oh yeah, my mistake. Ahaha. xd
-=[ RAP: 345,845 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|