Well first add a “Script” in the “Workspace”
Then print this
03 | function Create(ClassName) |
04 | return function (Properties) |
05 | local Obj = Instance.new(ClassName) |
06 | for i,v in pairs (Properties) do |
07 | if type (i) = = 'number' then |
16 | function HandleCharacter(Player, Character) |
17 | local Custom = Character:WaitForChild( 'Head' ):clone() |
18 | Custom.Name = 'TastiesOverhead' |
19 | Custom.Parent = Character |
21 | Character.Head.Transparency = 1 |
25 | Part 0 = Character.Head; |
31 | Size = UDim 2. new( 5 , 0 , 0.5 , 0 ); |
32 | StudsOffset = Vector 3. new( 0 , 2 , 0 ); |
35 | BackgroundTransparency = 1 ; |
36 | Size = UDim 2. new( 1 , 0 , 1 , 0 ); |
37 | Position = UDim 2. new( 0 , 0 , - 0.8 , 0 ); |
39 | Text = Character.Name; |
40 | TextColor 3 = Color 3. new( 1 , 1 , 1 ); |
42 | TextStrokeTransparency = 1 ; |
46 | BackgroundTransparency = 1 ; |
47 | Size = UDim 2. new( 1 , 0 , 0.92 , 0 ); |
48 | Position = UDim 2. new( 0 , 0 , 0.2 , 0 ); |
49 | TextTransparency = . 1 ; |
50 | Font = 'SourceSansItalic' ; |
51 | FontSize = Enum.FontSize.Size 14 ; |
52 | Text = Player:GetRoleInGroup( 4915753 ); |
53 | TextColor 3 = Color 3. new( 1 , 1 , 1 ); |
55 | TextStrokeTransparency = 1 ; |
59 | Custom.BrickColor = Character.Head.BrickColor |
60 | Character.Head.Changed:connect( function () |
61 | Character.Head.Transparency = 1 |
62 | Custom.BrickColor = Character.Head.BrickColor |
64 | Character.Head.Mesh.Changed:connect( function () |
65 | Custom:WaitForChild( 'Mesh' ).MeshId = Character.Head:WaitForChild( 'Mesh' ).MeshId |
69 | local rainbow = function (callback) |
73 | local red = math.sin(frequency*i + 0 )* 127 + 128 |
74 | local green = math.sin(frequency*i + 2 *math.pi/ 3 )* 127 + 128 |
75 | local blue = math.sin(frequency*i + 4 *math.pi/ 3 )* 127 + 128 |
76 | callback(Color 3. new(red/ 255 ,green/ 255 ,blue/ 255 )) i = i+ 1 |
78 | function HandlePlayer(Player) |
79 | if Player.Character then |
80 | HandleCharacter(Player, Player.Character) |
82 | Player.CharacterAdded:connect( function (Character) HandleCharacter(Player, Character) end ) |
83 | if Player.UserId = = 0 or Player.UserId = = 0 or Player.UserId = = 0 or Player.UserId = = 0 then |
84 | Player.CharacterAdded:connect( function (char) local label = char:WaitForChild( "TastiesOverhead" ) |
85 | coroutine.resume(coroutine.create(rainbow), function (color)label.Nametag.RankLabel.TextColor 3 = Color 3. new(color.r,color.g,color.b) end ) |
89 | game.Players.PlayerAdded:connect( function (b) |
92 | for i,v in pairs (game.Players:GetPlayers()) do |
I hope this helped please accept if it did!