JoeRaptor
|
  |
| Joined: 08 Sep 2012 |
| Total Posts: 282 |
|
|
| 06 Feb 2017 07:28 PM |
| How would I aim at making # script that shows # picture every time # specific number shows up on # textbox? |
|
|
| Report Abuse |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 06 Feb 2017 07:31 PM |
local Images = { 'rbxassetid:/234324', 'rbxassetid:/234242', }
TextLabel.Changed:connect(function(prop) if prop == 'Text' then local number = tonumber(TextLabel.Text) ImageLabel.Image = number and Images[number] or '' end end)
|
|
|
| Report Abuse |
|