cade2000
|
  |
| Joined: 09 Aug 2009 |
| Total Posts: 887 |
|
|
| 02 Aug 2014 01:52 AM |
wait(5) datastore = game:GetService("DataStoreService"):GetDataStore("Player") --Change to break everything. script.Parent.FocusLost:connect(function(enter) if enter then script.Parent.Parent.ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userid="..script.Parent.Text
if datastore:GetAsync(script.Parent.Text.."HasPlayed") == 1 then script.Parent.Parent.hasplayed.Text = "Yes - Has Played" script.Parent.Parent.age.Text = datastore:GetAsync(script.Parent.Text.."Age").." - Age" script.Parent.Parent.name.Text = datastore:GetAsync(script.Parent.Text.."Name") else script.Parent.Parent.hasplayed.Text = "No - Has Played" script.Parent.Parent.age.Text = "? - Age" script.Parent.Parent.name.Text = "Name is unreachable, Player has not played the game." end else print("Not pressed") end end)
This script is inside of a text box and for some reason the focus lost event is being called. There is no output or errors. |
|
|
| Report Abuse |
|
cade2000
|
  |
| Joined: 09 Aug 2009 |
| Total Posts: 887 |
|
| |
cade2000
|
  |
| Joined: 09 Aug 2009 |
| Total Posts: 887 |
|
| |