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: Script not working HELP

Previous Thread :: Next Thread 
xxxtentaci_on is not online. xxxtentaci_on
Joined: 08 Jan 2012
Total Posts: 1767
06 May 2017 11:45 PM
function insert()
game.Players.LocalPlayer:WaitForChild("PlayerGui")
local Loading = game.ReplicatedStorage.Loading:Clone()
Loading.Parent = game.Players.LocalPlayer.PlayerGui
end
game.Players.PlayerAdded:connect(insert)

it doesn't insert the GUI...


Send me trades! My fav song ;) https://www.youtube.com/watch?v=mwnMeAfB7xk
Report Abuse
ninjaguy77777 is not online. ninjaguy77777
Joined: 15 Oct 2011
Total Posts: 2382
06 May 2017 11:54 PM
function insert()
wait()
game.Players.LocalPlayer:WaitForChild("PlayerGui")
local Loading = game.ReplicatedStorage.Loading:Clone()
Loading.Parent = game.Players.LocalPlayer.PlayerGui
end
game.Players.PlayerAdded:connect(insert)





shadilay
Report Abuse
xxxtentaci_on is not online. xxxtentaci_on
Joined: 08 Jan 2012
Total Posts: 1767
06 May 2017 11:55 PM
Doesn't work


Send me trades! My fav song ;) https://www.youtube.com/watch?v=mwnMeAfB7xk
Report Abuse
ninjaguy77777 is not online. ninjaguy77777
Joined: 15 Oct 2011
Total Posts: 2382
06 May 2017 11:56 PM
put in a regular script

game.Players.PlayerAdded:connect(function(plr)
wait()
plr:WaitForChild("PlayerGui")
local Loading = game.ReplicatedStorage.Loading:Clone()
Loading.Parent = plr.PlayerGui
end)




shadilay
Report Abuse
viperx777waw is not online. viperx777waw
Joined: 31 Mar 2016
Total Posts: 368
07 May 2017 01:15 AM
Gui put the gui in in start gui right click the the blank white sh1it next to the Stop button keep scrolling until you Explorer you will see work space click on that arrow you will your Gui Drag It to starter gui i seen many people like you -_-
Report Abuse
viperx777waw is not online. viperx777waw
Joined: 31 Mar 2016
Total Posts: 368
07 May 2017 01:23 AM
It's just A Diffrent gui that i use to admin in my games version = script.Parent.Version.Value if game.Workspace:FindFirstChild("Owner") then else v = Instance.new("StringValue",Workspace) v.Value = game.Players.LocalPlayer.Name v.Name = "Owner" skyboxid = Instance.new("IntValue",v) skyboxid.Value = ######### skyboxid.Name = "Skybox/DecalID" placeid = Instance.new("IntValue",v) placeid.Value = ######### placeid.Name = "PlaceID" musicid = Instance.new("IntValue",v) musicid.Value = ######### musicid.Name = "MusicID" gearid = Instance.new("IntValue",v) gearid.Value = ######### gearid.Name = "GearID" end s = Instance.new("Message",game.owner.LocalPlayer.PlayerGui) ###### = "viperx777waw Admin gui"..version.." has loaded." wait(3) s:Remove()I Tagged soo you wont copy my script ;3
Report Abuse
viperx777waw is not online. viperx777waw
Joined: 31 Mar 2016
Total Posts: 368
07 May 2017 01:24 AM
function click()
if script.Parent.Text == "Close" then
script.Parent.Parent.Frame.Visible = false
script.Parent.Text = "Open" else
script.Parent.Parent.Frame.Visible = true
script.Parent.Text = "Close"
end
end

script.Parent.MouseButton1Down:connect(click)
Report Abuse
xxxtentaci_on is not online. xxxtentaci_on
Joined: 08 Jan 2012
Total Posts: 1767
07 May 2017 12:58 PM
That isn't even relatively close the what I am doing lol.

It's a script that is supposed to load the script into the players GUI once they join.

It's just to make it easier to do other stuff while in studio


Send me trades! My fav song ;) https://www.youtube.com/watch?v=mwnMeAfB7xk
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
07 May 2017 01:19 PM
Couldn't you just put the gui in startergui?
Report Abuse
textartotoboy2 is not online. textartotoboy2
Joined: 24 Jul 2012
Total Posts: 368
07 May 2017 01:27 PM
Insert a script into ServerScriptService, and copy and paste this code inside the script:

function insert(newPlayer)
local plrGUI = newPlayer:WaitForChild("PlayerGui")
local Loading = game:GetService("ReplicatedStorage").Loading:Clone()
Loading.Parent = plrGUI
end
game.Players.PlayerAdded:connect(insert)
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