Sub4Sub network gives free YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

How to make OVER-HEAD GUI Tags | Roblox Studio Tutorial

Follow
Itz_FloppyFish

In todays video I show you how to make overhead gui tags in Roblox Studio. These type of tags are often used to display players usernames or roles in a better looking way, In todays tutorial we went over 3 different ways on how you can use overhead gui tags.... Hence why the video is 30 minutes long!!!

System 1 being where every single player has a gui tag displaying their username, then on system 2 we focused on custom/user only tags for owners, developers or admins, then on system 3, we had custom roles but also username tags for all other players! So..... if you did want this type of feature in your game make sure to watch to the end of the video to find out how!

I really enjoy making these videos for you all so I hope you enjoy them just as much as I do!
Have a lovely rest of your day!

Scripts:

System 1 = Script gives everyone a tag, Script goes into ServerScriptService

local BillboardTextGui = game.ServerStorage:WaitForChild("BillboardGui")

game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local ClonedGui = BillboardTextGui:Clone()
ClonedGui.TextLabel.Text = player.Name
ClonedGui.TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) You are able to change the colour of the tag text here
ClonedGui.Parent = character:WaitForChild("Head")
end)
end)


System 2 = Specific tags, everyone else has no tags (Script goes into ServerScriptService)

local BillboardGui = game.ServerStorage:WaitForChild("BillboardGui")
local PlayerInfo = {
["Username1"] = {Tag = "Role", Color = Color3.fromRGB(0, 255, 255)}, Change Username 1 to whatever your players username is
["Username2"] = {Tag = "Role", Color = Color3.fromRGB(0, 0, 255)}, Change "Role" to whatever your role will be for that player
["Username3"] = {Tag = "Role", Color = Color3.fromRGB(255, 0, 0)}, You are able to adjust the colour of the role text here
}

game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local PlayerName = player.Name
local PlayerData =PlayerInfo[PlayerName]
if PlayerData then
local ClonedGui = BillboardGui:Clone()
ClonedGui.TextLabel.Text = PlayerData.Tag
ClonedGui.TextLabel.TextColor3 = PlayerData.Color
ClonedGui.Parent = game.Workspace:WaitForChild(PlayerName).Head
end
end)
end)


System 3 = Specific tags, everyone else HAS tags (Script goes into ServerScriptService)

local BillboardGui = game.ServerStorage:WaitForChild("BillboardGui")
local PlayerInfo = {
["Username1"] = {Tag = "Role", Color = Color3.fromRGB(0, 255, 255)}, Change Username 1 to whatever your players username is
["Username2"] = {Tag = "Role", Color = Color3.fromRGB(0, 0, 255)}, Change Role to whatever your role will be for that player
["Username3"] = {Tag = "Role", Color = Color3.fromRGB(255, 0, 0)}, You are able to adjust the colour of the role text here
You can add more players by continuing the format shown above
}

game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local PlayerName = player.Name
local PlayerData = PlayerInfo[PlayerName]

local ClonedGui = BillboardGui:Clone()

if PlayerData then
ClonedGui.TextLabel.Text = PlayerData.Tag
ClonedGui.TextLabel.TextColor3 = PlayerData.Color
else
ClonedGui.TextLabel.Text = player.Name
ClonedGui.TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) You are able to change the colour of the text which is given to everyone else
end

ClonedGui.Parent = game.Workspace:WaitForChild(PlayerName).Head
end)
end)

Made with love by Floppy



If you are a bit confused what to do, Feel free to create a ticket in my discord server and we can help you out!

NEW! Floppys Obby Game : https://www.roblox.com/games/14917960...

Floppys Simulator Game: https://www.roblox.com/games/13963457...

FloppyFish Merch Store: https://itzfloppyfish.creatorspring...

If you would like to support me even more, Super Thanks and becoming a Member is also another way to show your appreciation!

Floppys Discord Server:   / discord  
Floppys Roblox Game : https://www.roblox.com/games/11301003...

Roblox Studio Tutorial
Roblox Studio
Studio Tutorials

posted by smerkovich1p