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: y dis simple script no work?

Previous Thread :: Next Thread 
DevTechn0 is not online. DevTechn0
Joined: 17 May 2015
Total Posts: 1625
22 Jan 2016 04:18 PM
player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function()
game.StarterGui.Music.Musicscript.MUSIC1:Play()
end)



Report Abuse
scitech175 is not online. scitech175
Joined: 25 Aug 2010
Total Posts: 149
22 Jan 2016 04:23 PM
bump


Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
22 Jan 2016 04:25 PM
you're trying to play something in the StarterGui, you need to use the PlayerGui
Report Abuse
DevTechn0 is not online. DevTechn0
Joined: 17 May 2015
Total Posts: 1625
22 Jan 2016 04:29 PM
player = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function()
game.PlayerGui.Music.Musicscript.MUSIC1:Play()
end)


it still dosnt work


Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
22 Jan 2016 04:33 PM
player.PlayerGui, not game.PlayerGui
Report Abuse
DevTechn0 is not online. DevTechn0
Joined: 17 May 2015
Total Posts: 1625
22 Jan 2016 04:36 PM
i fixed it, i just threw MUSIC1 into workspace lmao


Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
22 Jan 2016 04:38 PM
that means that if your game is fe = false then whoever clicks the button will make the song play for everyone in the server
Report Abuse
iMung is not online. iMung
Joined: 11 Jul 2013
Total Posts: 328
22 Jan 2016 04:39 PM
Its not working most likely because your saying game.StarterGui, and game.Players.LocalPlayer. Use game.Players.LocalPlayer only when its a localscript.
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
22 Jan 2016 04:50 PM
^^^
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