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: Intro GUI Script

Previous Thread :: Next Thread 
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
30 May 2014 08:06 PM
Everything works but the sound. How would fix the sound?


local a = Instance.new("Sound", script.Parent)
a.Name = "Typewriter"
a.SoundId = "http://www.roblox.com/asset/?id=147982968"


game.Players.PlayerAdded:connect(function(plr)
plr:WaitForChild("PlayerGui")
wait(3)
game.ReplicatedStorage.W:Clone().Parent = plr.PlayerGui.Intro
a:Play()
wait(0.4)
game.ReplicatedStorage.A:Clone().Parent = plr.PlayerGui.Intro
a:Play()
wait(0.4)
game.ReplicatedStorage.R:Clone().Parent = plr.PlayerGui.Intro
a:Play()
wait(0.4)
game.ReplicatedStorage.G:Clone().Parent = plr.PlayerGui.Intro
a:Play()
wait(0.4)
game.ReplicatedStorage.M:Clone().Parent = plr.PlayerGui.Intro
a:Play()
wait(0.4)
game.ReplicatedStorage.E:Clone().Parent = plr.PlayerGui.Intro
a:Play()
wait(0.4)
game.ReplicatedStorage.S:Clone().Parent = plr.PlayerGui.Intro
a:Play()
wait(1)
game.ReplicatedStorage.PlayButton:Clone().Parent = plr.PlayerGui.Intro

end)
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
30 May 2014 08:59 PM
bump
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
30 May 2014 09:04 PM
Isnt that a free model?
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
30 May 2014 09:10 PM
No its not.... -_-
Report Abuse
Aesthetical is not online. Aesthetical
Joined: 01 Jan 2014
Total Posts: 2141
30 May 2014 09:11 PM
Why do you have to keep playing the sound over again? Is it a song, or a sound effect?

If it's the former , then you only need to play it once.
If it's the latter, then it's alright, I guess...

Also, where is the script located? Inside a brick? Is the brick near the player?
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
30 May 2014 09:13 PM
It's the latter. And it's in ServerScriptService.
Report Abuse
Aesthetical is not online. Aesthetical
Joined: 01 Jan 2014
Total Posts: 2141
30 May 2014 09:13 PM
Yeah, that's the problem. Sounds don't play in the ServerScriptService, it only plays in the Workspace.
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
30 May 2014 09:15 PM
So move the script to Workspace?
Report Abuse
Aesthetical is not online. Aesthetical
Joined: 01 Jan 2014
Total Posts: 2141
30 May 2014 09:19 PM
You just have to change the parent of the sound to the Workspace.

And now that I look at your script, it's pretty inefficient. Just directly change the transparency of the GUI directly via a local script. o_O
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
31 May 2014 04:33 AM
Well it works so I'm not going to try and break it...
Report Abuse
badfitz99 is not online. badfitz99
Joined: 01 May 2010
Total Posts: 5854
31 May 2014 04:35 AM
I would suggest making this again. It seems poorly optimized

Anything you can do, a Asian kid half your age can do better! 'I am the greatest script in the realm. You can only hope to be as powerful of a script as I am, processing the world, bit by bit.' - Oysi 2014
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
31 May 2014 04:38 AM
I don't see why I should try and fix this script when it already works..
Report Abuse
badfitz99 is not online. badfitz99
Joined: 01 May 2010
Total Posts: 5854
31 May 2014 04:41 AM
It's poorly made.

Anything you can do, a Asian kid half your age can do better! 'I am the greatest script in the realm. You can only hope to be as powerful of a script as I am, processing the world, bit by bit.' - Oysi 2014
Report Abuse
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
31 May 2014 04:42 AM
I'm not sure why that matters...
Report Abuse
badfitz99 is not online. badfitz99
Joined: 01 May 2010
Total Posts: 5854
31 May 2014 04:43 AM
longer code = more stuff that ROBLOX has to do.

Anything you can do, a Asian kid half your age can do better! 'I am the greatest script in the realm. You can only hope to be as powerful of a script as I am, processing the world, bit by bit.' - Oysi 2014
Report Abuse
Aesthetical is not online. Aesthetical
Joined: 01 Jan 2014
Total Posts: 2141
31 May 2014 10:12 AM
You're doing this in a regular script. You're supposed to change player Guis from a local script.

Use LocalPlayer to get the client's player from a local script.

game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Transparency = 1

or

game.Players.LocalPlayer.PlayerGui.ScreenGui.TextButton.Text = "Modifying properites"
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