|
| 12 Mar 2016 02:12 PM |
| How do we modify text of an existing gui by hitting a brick? |
|
|
| Report Abuse |
|
|
|
| 12 Mar 2016 02:14 PM |
part.Touched:connect(function(part) local player=game.Players:GetPlayerFromCharacter(part.Parent) if player then player.PlayerGui.ExistingGui.TextLabel.Text="it works!" end end
--change line 1 and line 4 for fit your needs |
|
|
| Report Abuse |
|
|
|
| 12 Mar 2016 02:29 PM |
Thx you! ps: you forgot to put the ) afther the end.
player.PlayerGui.ExistingGui.TextLabel.Text="it works!" end end) |
|
|
| Report Abuse |
|
|