|
| 14 May 2016 02:21 PM |
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) local block = Instance.new("Part",game.Workspace) local screen = Instance.new("SurfaceGui", block) block.Position = Vector3.new(0,10,0) block.Anchored = true block.Name = plr.Name.."--"..plr.userId local frame = Instance.new("TextLabel", screen) frame.Name = "MainFrame" frame.Text = "BFID" --screen.Adornee = block frame.BackgroundColor3 = Color3.new(0,1,0) char.Humanoid.HealthChanged:connect(function(hp) frame.BackgroundColor3 = Color3.new(1/hp,1/hp,1/hp) end) end) end)
HELP PELASEEEEEEEEEEEEEEEEEEEEEEEEEee
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 14 May 2016 02:30 PM |
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) local block = Instance.new("Part",game.Workspace) local screen = Instance.new("SurfaceGui", block) block.Position = Vector3.new(0,10,0) block.Anchored = true block.Name = plr.Name.."--"..plr.userId local frame = Instance.new("TextLabel", screen) frame.Name = "MainFrame" frame.Text = "BFID" --screen.Adornee = block frame.BackgroundColor3 = Color3.new(0,1,0) char.Humanoid.HealthChanged:connect(function(hp) frame.BackgroundColor3 = Color3.new(hp/255,hp/255,hp/255) end) end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 May 2016 02:36 PM |
| im sick of thissssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss |
|
|
| Report Abuse |
|
|
| |
|
Myaxp
|
  |
| Joined: 05 Jul 2010 |
| Total Posts: 248 |
|
|
| 14 May 2016 02:38 PM |
Check the output.
#code --// Myaxp |
|
|
| Report Abuse |
|
|
|
| 14 May 2016 02:39 PM |
12:38:45.379 - Place has to be opened with Edit button to access DataStores 12:38:45.379 - Workspace.dataStorage:41: attempt to call method 'PlayerRemoving' (a userdata value) 12:38:45.380 - Stack Begin 12:38:45.381 - Script 'Workspace.dataStorage', Line 41 12:38:45.381 - Stack End 12:38:45.382 - Workspace.dataStorage:21: attempt to index global 'DataStorage' (a nil value) 12:38:45.382 - Stack Begin 12:38:45.383 - Script 'Workspace.dataStorage', Line 21 12:38:45.383 - Stack End
datastore stuff is not part of it... |
|
|
| Report Abuse |
|
|
|
| 14 May 2016 02:44 PM |
| <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<_________>>>>>>>>>>>>>>>>>>>>>>> |
|
|
| Report Abuse |
|
|
Myaxp
|
  |
| Joined: 05 Jul 2010 |
| Total Posts: 248 |
|
|
| 14 May 2016 02:50 PM |
I know this sounds like a stupid question... But is your script actual enabled. Sometimes I turn it off to work on something else and completely forget it is even disabled.
#code --// Myaxp |
|
|
| Report Abuse |
|
|
|
| 14 May 2016 02:51 PM |
um OF COURSE!
just why are surfaceguis meanies! |
|
|
| Report Abuse |
|
|
| |
|
Myaxp
|
  |
| Joined: 05 Jul 2010 |
| Total Posts: 248 |
|
|
| 14 May 2016 02:54 PM |
Server or Local script?
#code --// Myaxp |
|
|
| Report Abuse |
|
|
|
| 14 May 2016 02:55 PM |
server... thats why I use playeradded |
|
|
| Report Abuse |
|
|
|
| 14 May 2016 02:56 PM |
| im going to rebuild the server script as a local script later |
|
|
| Report Abuse |
|
|
BanTech
|
  |
| Joined: 31 Dec 2015 |
| Total Posts: 886 |
|
|
| 14 May 2016 03:19 PM |
| does the block appear? if so, is the surfacegui present and just not showing, or is it not even a child of the block? |
|
|
| Report Abuse |
|
|
|
| 14 May 2016 03:20 PM |
| Is the surface gui on the face of the brick that you want it to be on? |
|
|
| Report Abuse |
|
|
| |
|