Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to give a tool the "creator" tag?

Asked by 5 years ago

How to give any tool the creator tag, so when you hit someone that person is tagged.

0
What? hitonmymetatables 50 — 5y
0
??? iiConstable_Subwayx 130 — 5y

1 answer

Log in to vote
0
Answered by
Robowon1 323 Moderation Voter
5 years ago
Edited 5 years ago

In a local script inside tool:

local plr = game.Players.LocalPlayer
local tag = Instance.new("ObjectValue", script.Parent)
tag.Name = "creator"
tag.Value = plr
Ad

Answer this question