Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = game.Players.Kanekiblue
- c = p.Character
- ToolName = "AttackName"
- local enabled = true
- if p.Backpack:FindFirstChild(ToolName) then p.Backpack[ToolName]:Destroy() end
- if p.StarterGear:FindFirstChild(ToolName) == nil then if p.StarterGear:FindFirstChild(ToolName) then p[ToolName]:Destroy() end script:clone().Parent = p.StarterGear end
- if c:FindFirstChild(ToolName) then c[ToolName]:Destroy() end
- x = Instance.new("Tool", c) x.Name = ToolName x.RequiresHandle = false
- function Attack()
- if enabled == true then
- enabled = false
- print("used")
- wait()
- enabled = true
- end
- end
- x.Activated:connect(Attack)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement