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: I need help with Intro GUI! ;-;

Previous Thread :: Next Thread 
OverlyAttachedDev is not online. OverlyAttachedDev
Joined: 07 Aug 2010
Total Posts: 1693
04 Jan 2015 09:02 PM
I need help with something;

I assume this is the right subforum to be posting in.

I'm making an Intro for a place and I'm having trouble pinpointing what I should be doing to prevent the Intro from loading again after respawn. Anyone know what I should be doing? ;-;

This is what my script looks like at the moment:
local rma = script.Parent

rma.MouseButton1Down:connect(function()
script.Parent.Visible = false
wait(1)
script.Parent.Parent.TextLabel.Visible = true
wait(5)
script.Parent.Parent.TextLabel.Visible = false
script.Parent.Parent.RSSlide.Visible = true
wait(5)
script.Parent.Parent.RSSlide.Visible = false
script.Parent.Parent.MCSlide.Visible = true
wait(5)
script.Parent.Parent.MCSlide.Visible = false
script.Parent.Parent.Parent.Parent.MainMenu.MenuDefault.Visible = true
script.Parent.Parent:Destroy()
end)
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
04 Jan 2015 09:09 PM
What i usually do is have a server script thats like

palyers.PlayerAdded:connect(function() --not proper syntax
game.ServerStorage.INTROGUI:Clone().Parent = Player.PlayerGui
end)

badda bing badda boom.
And do nothing special with the actual gui.

Report Abuse
OverlyAttachedDev is not online. OverlyAttachedDev
Joined: 07 Aug 2010
Total Posts: 1693
04 Jan 2015 09:11 PM
I'm going to try that, it looks like it should work.

Thank you.
Report Abuse
OverlyAttachedDev is not online. OverlyAttachedDev
Joined: 07 Aug 2010
Total Posts: 1693
04 Jan 2015 09:36 PM
I found a different (yet similar) way that makes more sense to me. I sincerely thank you for pointing me in this direction.

I went with this instead:

local players = game:GetService("Players")

function onPlayerAdded(player)
game.ServerStorage.Intro:Clone().Parent = player.PlayerGui
end

players.PlayerAdded:connect(onPlayerAdded)
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