game.Players.PlayerAdded:connect(function(plr) Screen = game.ServerStorage.ScreenGui:Clone() Screen.Parent = plr.PlayerGui plr.PlayerGui.ScreenGui.Frame.TextButton.MouseButton1Click:connect(function() a = plr.PlayerGui.ScreenGui.Frame.TextBox.Text for i, v in pairs(game.Workspace:GetChildren()) do print(a) if v.Name == a then print("Q") v.Transparency = 1 end end end) end)
It's a gui that you write in, let's say you write "Part" and press the go button, all the parts should go invisible. It works but only in studio and not the real game. Help?
You cannot get PlayerGui from a script, that is what a localscript is for my friend. Use the FireClient() function in the script to tell the client to do whatever to it's stupid little playergui.
https://wiki.roblox.com/index.php?title=Remote_Functions_%26_Events
look for Server to Client for more information.