Furkan5E
(Furkan5E)
#1
I have a gui that shows if a player killed another.
I want it so instead of the usernames it will show the player’s displayname
the weapon has this value called creator which it tags a humaniod
function TagHumanoid(humanoid, player)
local Creator_Tag = Instant("ObjectValue")
Creator_Tag.Name = "creator"
Creator_Tag.Value = player
Services.Debris:AddItem(Creator_Tag, 2)
Creator_Tag.Parent = humanoid
end)
TagHumanoid(Humanoid,Creator)
D0RYU
(nici)
#2
Furkan5E
(Furkan5E)
#3
I tried player.DisplayName it didn’t work
D0RYU
(nici)
#4
how so?
it should give the player’s display name
Furkan5E
(Furkan5E)
#5
i did Creator_Tag.Value = player.DisplayName and it didn’t work, I will do some testing to see if there is an error
D0RYU
(nici)
#6
isn’t this supposed to be
Instance.new("ObjectValue")
if the tag is an object value then that won’t work
try making it a StringValue instead
1 Like
Furkan5E
(Furkan5E)
#7
wow, I didn’t know it was that simple
Thanks a lot
1 Like