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 don't get it...

Previous Thread :: Next Thread 
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
17 Aug 2016 03:21 PM
"Music is not a valid member of Player Gui"

It's right there in Player Gui.
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
17 Aug 2016 03:21 PM
PlayerGui:WaitForChild('Music')


Report Abuse
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
17 Aug 2016 03:24 PM
No it's an onTouched function and when I touch it the "not a valid member" situation appears in the output
Report Abuse
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
17 Aug 2016 04:44 PM
BUMP...
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
17 Aug 2016 04:47 PM
gui:WaitForChild("Music"):Play()
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
17 Aug 2016 04:50 PM
if you have FE on then the server cannot access playerguis
Report Abuse
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
17 Aug 2016 04:54 PM
I don't have it on...
Report Abuse
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
17 Aug 2016 05:13 PM
BUMP... [2x]
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
17 Aug 2016 05:15 PM
ontouched on a gui? is that even possible?

use mousebutton1click


i like ducks bro. deal wit it.
Report Abuse
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
17 Aug 2016 05:20 PM
script.Parent.Touched:connect(function(hit)

It takes hit's parent (which is the character obviously) and it gets player from character (as defined in the script), and it affects the music in the Player Gui. BUT WHY THE HECK DOES THE OUTPUT SAY THAT IT'S NOT A VALID MEMBER!?
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
17 Aug 2016 05:22 PM
uh post the script please


and does it run in studio but not ig?


i like ducks bro. deal wit it.
Report Abuse
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
17 Aug 2016 05:23 PM
It comes out as hashtags.

...I can't.
Report Abuse
superpants2020 is not online. superpants2020
Joined: 10 Feb 2013
Total Posts: 804
17 Aug 2016 05:25 PM
k atleast answer myquestion


i like ducks bro. deal wit it.
Report Abuse
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
18 Aug 2016 01:00 PM
Okay, I have no idea what IG is...
Report Abuse
killerbot29003 is online. killerbot29003
Joined: 04 Oct 2014
Total Posts: 3054
18 Aug 2016 01:02 PM
use hastebin and post code there



This siggy is copyrighted ©
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
18 Aug 2016 01:02 PM
oml

part.Touched:connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
local music = player.PlayerGui:WaitForChild('Music')
music:Play()
end
end)


Report Abuse
Fireoria is online. Fireoria
Joined: 02 Nov 2014
Total Posts: 8142
18 Aug 2016 01:11 PM
YOU SAVED ME!
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