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 » Scripting Helpers
Home Search
 

Re: K so heres the sich

Previous Thread :: Next Thread 
AlacrityS is not online. AlacrityS
Joined: 16 Jun 2012
Total Posts: 23590
09 Jul 2014 07:41 PM
I want to create an intro for my game

So i created a Starter Gui called "Intro"

Then the frame i created i named "Intro2"

When i delete the intro2

it doesnt go away from my screen

while true do

local intro = game.StarterGui.Intro.Intro2
wait(3)
intro:Destroy()

end



Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$774 / 90,000
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
09 Jul 2014 07:42 PM
You need to edit the GUI in the player's PlayerGui, not the StarterGui

-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Report Abuse
AlacrityS is not online. AlacrityS
Joined: 16 Jun 2012
Total Posts: 23590
09 Jul 2014 07:45 PM
so like

local intro = game.StarterGui.Intro

for i,v in pairs (game.Players:GetChildren()) do
intro:Destroy()

end


Instead?

Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$774 / 90,000
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
09 Jul 2014 07:46 PM
No.

for i,v in pairs(game.Players:GetPlayers()) do
v.PlayerGui.PathToGui
end

-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Report Abuse
AlacrityS is not online. AlacrityS
Joined: 16 Jun 2012
Total Posts: 23590
09 Jul 2014 07:50 PM
Is there a wiki u can give me

Or can u teach me how to access the gui in the player?

Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$774 / 90,000
Report Abuse
AnonyAnonymous is not online. AnonyAnonymous
Joined: 23 Jun 2013
Total Posts: 6332
09 Jul 2014 07:51 PM
Player.PlayerGui
Report Abuse
PricyLogan is not online. PricyLogan
Joined: 26 Nov 2011
Total Posts: 2581
09 Jul 2014 07:59 PM
Put this in the StarterGUI as a localscript:


local intro = script.Parent.Intro.Intro2
wait(3)
intro:Destroy()
Report Abuse
AlacrityS is not online. AlacrityS
Joined: 16 Jun 2012
Total Posts: 23590
09 Jul 2014 08:00 PM
function Click()

for i,v in pairs(game.Players:GetPlayers()) do
v.Player.PlayerGui.Intro:Destroy()
end

script.Parent.MouseButton1Down:connect(Click)

Like that?

Right now i want it to be able so when u click

It destroys the intro and u can play

Because right now its a "Click to play" Intro

With a pic in the background

And if i destroy "Intro" <-- Thats the name of the screen gui

Then it should destroy?

Btw this script is inside a button that is inside a screen gui

Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$774 / 90,000
Report Abuse
AlacrityS is not online. AlacrityS
Joined: 16 Jun 2012
Total Posts: 23590
09 Jul 2014 08:09 PM
hm

Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$774 / 90,000
Report Abuse
AlacrityS is not online. AlacrityS
Joined: 16 Jun 2012
Total Posts: 23590
09 Jul 2014 08:11 PM
Fixed it

Had to delete "Player"

Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$774 / 90,000F
Report Abuse
AlacrityS is not online. AlacrityS
Joined: 16 Jun 2012
Total Posts: 23590
09 Jul 2014 08:14 PM
Question is now, Will it delete the intro on everyone elses screen too...

I hope not xD

Swimmin' in the ocean. Causin' a commotion. ~//Was InternalFrost\\~ R$774 / 90,000
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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