|
| 10 Nov 2015 03:43 PM |
dis no work y? if game.Workspace.DII.Disabled == true then -- i have this placed in StarterGUI -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = script.Parent -- Create TextLabel local textLabel = Instance.new("TextLabel") textLabel.Parent = screenGui textLabel.Position = UDim2.new(0, 25, 0, 50) textLabel.Size = UDim2.new(0, 150, 0, 50) textLabel.BackgroundColor3 = BrickColor.White().Color textLabel.Text = "You got a job!" end
just incase i have this one local Deleter = game.Workspace.Sc.Deleter -- deleter is the script Sc is the part local Upg = game.Workspace.Upgg -- a script name local Gen = game.Workspace.Gener -- a script name local DII = game.Workspace.DII
Upg.Disabled = true Gen.Disabled = true function onClicked(playerWhoClicked) DII.Disabled = true Upg.Disabled = false Gen.Disabled = false end script.Parent.ClickDetector.MouseClick:connect(onClicked) |
|
|
| Report Abuse |
|
|
| 10 Nov 2015 03:52 PM |
| whats it supposed to do is it doing anything at all and are there any errors in the output |
|
|
| Report Abuse |
|
DeGames
|
  |
| Joined: 08 Sep 2012 |
| Total Posts: 1028 |
|
|
| 10 Nov 2015 04:25 PM |
local screenGui = Instance.new("ScreenGui") screenGui.Parent = script.Parent
/\/\ I don't think making the screeGui's parent the script's parent will automatically put it in the player gui. It's just putting in the script's parent. If the script was in starter pack, the parent is Backpack.
|
|
|
| Report Abuse |
|