I forgot to mention I was going to add it into this code Its probably going to be hard so any help will be appreciated...
local cooldown = false
local button = script.Parent
local plr = game:GetService('Players').LocalPlayer
local tool = game.ReplicatedStorage.ACS_Engine.HOOD["Micro UZI"]
button.Activated:Connect(function()
if cooldown == false then
cooldown = true
script.Parent.Parent.Visible = false
plr.Backpack:FindFirstChildWhichIsA('Tool'):Destroy()
local clone = tool
clone.Parent = plr.Backpack
wait(0.5)
script.Parent.Parent.Parent.ClassH.Visible = true
wait(3)
script.Parent.Parent.Parent.ClassH.Visible = false
cooldown = false
end
end)
I am going to replace
plr.Backpack:FindFirstChildWhichIsA('Tool'):Destroy()
1 comment
Thanks for the answer I will see if it works:)