Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Does This Overhead GUI Script Work Or Is It Old And Broken?

Asked by 5 years ago
Edited 5 years ago

I did not let scroll in my game so i dont know if this is working so please tell me if this works

local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui")

game.Players.PlayerAdded:Connect(function(player)

 player.CharacterAdded:Connect(function(character)

  if player:IsInGroup(2870505) then -- Set the number to your group ID !
   local clonedgui = billboardgui:Clone()
   clonedgui.TextLabel.Text = "Group Member"
   clonedgui.TextLabel.TextColor3 = Color3.fromRGB(36,154,136)
   clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head -- Yes, you can also just say character.Head     
  end  

  if player.Name == "ewanalonso" then -- Change to your name or someone else's!  
   if character.Head:FindFirstChild("BillboardGui") then
    -- If they already have a tag, either put code here to change the text or put nothing here to not add another
   else    
    local clonedgui = billboardgui:Clone()
    clonedgui.TextLabel.Text = "Game Creator"
    clonedgui.TextLabel.TextColor3 = Color3.fromRGB(63,255,136)
    clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head 
   end
  end

 end)
end)

Dont mind the group id thing i dont do it its just only for me if this doesnt work send another script for the overhead GUI

0
You should probably test it at least in Studio first? hipenguinflip 30 — 5y
0
i did ewanalonso 0 — 5y

Answer this question