script.Parent.TextButton.MouseButton1Click:Connect(function() game.ReplicatedStorage.NameTag.UpperText.TextColor3 = Color3.fromRGB(125, 255, 105) print("Worked") end)
please help me if there is something wrong in my script. Let me know if I need to give you anymore info
create a BillBoard Gui then put it into replicated storage then create a text label and put it into the billboard and customize it
local BillboardGui = game.ReplicatedStorage.BillboardGui local TextLabel = BillboardGui.TextLabel script.Parent.MouseButton1Click:Connect(function() local Name = game.Players.LocalPlayer.Name local PlayerCharacter = workspace:FindFirstChild(Name) BillboardGui.Parent = PlayerCharacter.Head BillboardGui.Adornee = PlayerCharacter.Head BillboardGui.StudsOffset = Vector3.new(0,3,0) BillboardGui.MaxDistance = 45 end)
sorry for the wait