isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 09:44 PM |
local Player = game.Players.LocalPlayer local mouse = Player:GetMouse() local nu = 10
mouse.Move:connect(function() if mouse.Target.ClassName == "Part" then if mouse.Target.Parent.ClassName == "Model" then local human = mouse.Target.Parent:FindFirstChild("Humanoid") if human ~= nil then print("WOW A HUMAN :D :D :D") local head = mouse.Target.Parent:FindFirstChild("Head") if head ~= nil then local findboard = game.Players.LocalPlayer.PlayerGui:FindFirstChild("NameGui") if findboard == nil then local billboardGui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui) billboardGui.Name = "NameGui" local checkforlabel = billboardGui:FindFirstChild("TextLabel") if checkforlabel == nil then local textlabel = Instance.new("TextLabel",billboardGui) textlabel.BackgroundTransparency = 1 textlabel.BorderSizePixel = 0 textlabel.Font = "SourceSansBold" textlabel.Size = UDim2.new(0.1, 0,0.04, 0) textlabel.FontSize = "Size12" textlabel.TextColor3 = Color3.new(213,213,0) textlabel.Visible = true nu = 10 while nu == 10 do local mouseY = mouse.Y local mouseX = mouse.X textlabel.Position = UDim2.new(0, mouseY, 0 , mouseX) wait(.05) if mouse.Target.Parent.Humanoid == nil then nu = 11 textlabel.Visible = false end end else end else end end end end end end)
The point is to wait until the mouse mouses over a player and then put a gui next to the mouse saying the player's name and if you mouse away from the player to delete the textlabel
what siggy. |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2015 09:44 PM |
tl;dr
Offers on rex+xmax+void+prankster++ | Add 6k posts to my count |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 09:45 PM |
@Hooded
Well i guess you don't get any robux!
what siggy |
|
|
| Report Abuse |
|
|
|
| 31 Jul 2015 09:46 PM |
i was doing that as a free bump+ to mark the post so i can send it to my friend who will fix it i dont feel like that for 50R$
Offers on rex+xmax+void+prankster++ | Add 6k posts to my count |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
| |
|
jpokemon
|
  |
| Joined: 25 May 2011 |
| Total Posts: 8978 |
|
| |
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 09:48 PM |
@jp what do you mean
what siggy |
|
|
| Report Abuse |
|
|
jpokemon
|
  |
| Joined: 25 May 2011 |
| Total Posts: 8978 |
|
|
| 31 Jul 2015 09:50 PM |
| Do you not know what the "output" is? |
|
|
| Report Abuse |
|
|
isc88
|
  |
| Joined: 30 May 2013 |
| Total Posts: 27545 |
|
|
| 31 Jul 2015 09:53 PM |
oh
just "WOW A HUMAN :D :D"
no errors it does successfully create the textlabel, only problem i have is it only changes the position once, and then it just stays there instead of moving with the mouse.
what siggy |
|
|
| Report Abuse |
|
|