• Post category:Assassin

Roblox Script Assassin Clone Item Gui

--game:GetService("ReplicatedStorage").ClientAssets.Event.Events.RequestAccess:FireServer("Royal Dagger")

local function getkeys(table)
local keyset={}
local n=0

for k,v in pairs(table) do
n=n+1
keyset[n]=k
end
return keyset
end

local mod =require(game:GetService("ReplicatedStorage").ClientAssets.Modules.Items)
local tabKnife =getkeys(mod.GetAllKnives())
local tabPets =getkeys(mod.GetAllPets())

table.sort(tabKnife, function(a, b)
return a:lower() < b:lower()
end)

table.sort(tabPets, function(a, b)
return a:lower() < b:lower()
end)

--// UI \--
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/IreXion-UI-Library/main/IreXion%20UI%20Library"))()


local Gui = Library:AddGui({
Title = {"Item", "Menu"},
ThemeColor = Color3.fromRGB(160, 71, 71),
ToggleKey = Enum.KeyCode.RightShift,
})

local Tab = Gui:AddTab("Giving")
local give = Tab:AddCategory("Items")


local knifedd = give:AddDropdown("Knives", {
unpack( tabKnife )}, function(name)
game:GetService("ReplicatedStorage").ClientAssets.Event.Events.RequestItem:FireServer(name, "Knives")
end)

local petsdd = give:AddDropdown("Pets", {
unpack( tabPets )}, function(name)
game:GetService("ReplicatedStorage").ClientAssets.Event.Events.RequestItem:FireServer(name, "Pet")
end)