AuroJosh
|
  |
| Joined: 04 Oct 2015 |
| Total Posts: 484 |
|
|
| 29 Nov 2015 01:57 PM |
local event = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent")
event.OnServerEvent:connect(function(player, ...) --- "..." means any number of parameters local tuple = {...} -- this stores the parameters in a table called tuple, don't ask about the name it's a math term if tuple[1] == "PurpleCreation" then for i,v in pairs(game.Players:GetChildren()) do if v.Name == player.Name then if v:findFirstChild("PlayerGui") then if v.PlayerGui:findFirstChild("MainFramework") then local KingdomName = Instance.new("StringValue", game.Workspace) KingdomName.Name = "TeamName" KingdomName.Value = v.PlayerGui.MainFramework.Framework.CreateFrame.Named.Text end end end end end end)
It's not changing the KingdomName.Value. FE is on that's why I am running it through a RemoteEvent.
#code print("Who is this you speak of?".."Dis is AuroJosh!") |
|
|
| Report Abuse |
|
AuroJosh
|
  |
| Joined: 04 Oct 2015 |
| Total Posts: 484 |
|
|
| 29 Nov 2015 02:21 PM |
Really need help with this!
#code print("Who is this you speak of?".."Dis is AuroJosh!") |
|
|
| Report Abuse |
|