|
I need a line of code or something that will allow me to edit the values inside PlayerGui Gui's |
|
|
playerpath>.PlayerGui
http://www.roblox.com/unnamed-item?id=385096183 Ready to waste a ton of money of VR tech for Sword Art Online : The Beginning |
|
DrSaintJoin Date: 2009-10-14 Post Count: 18429 |
You mean like gui.Visible or gui.Position?
|
|
|
any properties inside of a gui |
|
|
*the script must work for any player (it is a single player game) |
|
|
Actually I got a better idea
learn 2 script
http://www.roblox.com/unnamed-item?id=385096183 Ready to waste a ton of money of VR tech for Sword Art Online : The Beginning |
|
KryddanJoin Date: 2014-12-12 Post Count: 310 |
gui.Property = Value
done |
|
DrSaintJoin Date: 2009-10-14 Post Count: 18429 |
C9 speaks truth. This is simple stuff on the wiki.
|
|
|
I know how to script. I need to know how I can edit properties inside of player gui's. I only know how to do it with onTouched scripts, but that is not what I am trying to accomplish at the moment
here is what I know:
function onTouched(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") ~= nil then
local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
How do I do something like that another way? |
|
|
|
|
players = game.Players:GetChildren()
for i = 1, players do
players[i].PlayerGui.[ScreenGuiName].[FrameName].[Varible Your changing]
end |
|
|
|
I meant for i = 1, #players do |
|
|
So,
players = game.Players:GetChildren()
for i = 1, #players do
players[i].PlayerGui.[ScreenGuiName].[FrameName].[Varible Your changing]
end |
|