generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: SurfaceGui just doesn't want to show!!!!!!!!!!!!!!!!!!!!

Previous Thread :: Next Thread 
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
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
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
14 May 2016 02:26 PM
b
Report Abuse
TheCoderOfLua is not online. TheCoderOfLua
Joined: 12 Apr 2016
Total Posts: 1599
14 May 2016 02:28 PM
Im on it. Give me a sec
Report Abuse
TheCoderOfLua is not online. TheCoderOfLua
Joined: 12 Apr 2016
Total Posts: 1599
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
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
14 May 2016 02:34 PM
nope :(
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
14 May 2016 02:36 PM
im sick of thissssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
Report Abuse
TheCoderOfLua is not online. TheCoderOfLua
Joined: 12 Apr 2016
Total Posts: 1599
14 May 2016 02:37 PM
what happening
Report Abuse
Myaxp is not online. Myaxp
Joined: 05 Jul 2010
Total Posts: 248
14 May 2016 02:38 PM
Check the output.

#code --// Myaxp
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
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
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
14 May 2016 02:44 PM
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<_________>>>>>>>>>>>>>>>>>>>>>>>
Report Abuse
Myaxp is not online. 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
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
14 May 2016 02:51 PM
um OF COURSE!

just why are surfaceguis meanies!
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
14 May 2016 02:54 PM
save me pls
Report Abuse
Myaxp is not online. Myaxp
Joined: 05 Jul 2010
Total Posts: 248
14 May 2016 02:54 PM
Server or Local script?

#code --// Myaxp
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
14 May 2016 02:55 PM
server...
thats why I use playeradded
Report Abuse
SoapyDishy is not online. SoapyDishy
Joined: 31 Aug 2015
Total Posts: 2169
14 May 2016 02:56 PM
im going to rebuild the server script as a local script later
Report Abuse
BanTech is not online. 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
yourchoice1 is not online. yourchoice1
Joined: 21 Jun 2013
Total Posts: 91
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
scottmike0 is not online. scottmike0
Joined: 14 Sep 2008
Total Posts: 1073
14 May 2016 03:21 PM
why not in edit mode
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image