Name Issue Problem

I already tried that and it didn’t work :confused:

Can you show the explorer, as well as the change you made in the script up until now?

Could you please explain how your attempts don’t work and provide new information rather than just posting “it doesn’t work”? These kinds of posts are not helpful. They don’t provide any new benchmarks for what’s going on, what changes have been made and if there’s any errors in the console.

Please be descriptive when responding to posts or creating threads. Thanks!

2 Likes

I’ll fix your code on real quick, make sure to change that part of source I changed:

tool.Activated:Connect(function()
	for _,Target in pairs(game.Players:GetPlayers()) do
		if Mouse.Target:IsDescendantOf(Target.Character) then
			Frame.Visible = true
			Frame.AccAge.Text = Target.AccountAge
			Frame.RoleInGroup.Text = Target:GetRoleInGroup(groupID)

			for i,v in pairs(Frame:GetChildren()) do
               if v.Name == "Name" and v:IsA("TextLabel") then
                  v.Text = Target.Name
               end
            end
			wait(3)
			
			Frame.Visible = false
		end
	end
end)

Edit: replied to wrong person again.

There is a red line under “if.”

lol

Forgot to add do at the end of for loop.

for i,v in pairs(Frame:GetChildren()) do --

Edit: I updated the source I sent above as well. Make sure so you edit the name of label to Name.

It didn’t work for some reason. Everything else is fine it is just the name. I tried it the simple way to and it doesn’t work. The weird thing is, there are errors.