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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|