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: GUI goes into every player

Previous Thread :: Next Thread 
15fluffblox is not online. 15fluffblox
Joined: 04 Jul 2010
Total Posts: 426
27 Oct 2016 12:20 AM
So i made this speaker thing that plays music when you click it. It pops open a fancy little gui to put an ID into, It worked perfectly- until i showed my friend. I noticed when he clicks it it puts the gui up all in my face. And vice versa. Idk how to fix it. Its probably something 'localplayer' related but i already tried :|
(also i didn't get any output)

game.Players.PlayerAdded:connect(function(player)
game.Workspace.Values.SelectingMusic.Value = true
script.Parent.MouseButton1Click:connect(function()
game.Workspace.Values.SelectingMusic.Value = true
local input = game.ReplicatedStorage.Input:Clone()
input.Parent = player.PlayerGui
end)
end)


Make it fluffy or i poke u c:
Report Abuse
15fluffblox is not online. 15fluffblox
Joined: 04 Jul 2010
Total Posts: 426
27 Oct 2016 12:35 AM
boop. i mean bump
Report Abuse
Udoxas is not online. Udoxas
Joined: 04 Dec 2010
Total Posts: 5212
27 Oct 2016 12:36 AM
Likely has to do with the fact that the SelectingMusic variable is in Workspace, so it's the same for every player.


Spaghettios will soon be a proud sponsor of ROBLOX
Report Abuse
15fluffblox is not online. 15fluffblox
Joined: 04 Jul 2010
Total Posts: 426
27 Oct 2016 01:01 AM
Welp im stupid. Thanks

Make it fluffy or i poke u c:
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