Run it
Copy the script and paste it into your executor.
getgenv().AutoDetectWeapon = true;
local char = game.Players.LocalPlayer.Character;
local lastWpn = nil;
local function getWpn()
for _, itm in pairs(char:GetChildren()) do
if itm:IsA("Tool") then
return itm.Name;
end;
end;
return nil;
end;
task.spawn(function()
while getgenv().AutoDetectWeapon do
local newWpn = getWpn();
if newWpn ~= lastWpn then
lastWpn = newWpn;
local notifText = lastWpn ;
(()
:():(, {
Title = ,
Text = .. notifText,
Duration =
});
);
;
lastWpn
wpnObj = char:(lastWpn);
wpnObj
(()
wpnObj:():(()
wpnObj:(, );
);
wpnObj:(, );
wpnObj:(, );
wpnObj:(, );
);
;
;
.();
;
);
Dummies vs Noobs