TNightmareHA

BTools Script (For Fun)

Mar 11th, 2022
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.13 KB | None | 0 0
  1. --this btool works in many games with a remote that simply deletes something, try this in build games, car games, and minecraft games
  2. local Tool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  3. local Equipped = false
  4.  
  5. Tool.RequiresHandle = false
  6. Tool.TextureId = 'http://roblox.com/asset/?id=1387605654'
  7. local Field = Instance.new("SelectionBox",game.Workspace)
  8. local Mouse = game.Players.LocalPlayer:GetMouse()
  9. Field.LineThickness = 0.1
  10.  
  11. Tool.Equipped:connect(function()
  12.    Equipped = true
  13.    Mouse.Icon = 'rbxasset://textures/HammerCursor.png'
  14.    while Equipped == true do
  15.        if Mouse.Target ~= nil then
  16.            Field.Adornee = Mouse.Target
  17.        else
  18.            Field.Adornee = nil
  19.        end
  20.        wait()
  21.    end
  22. end)
  23.  
  24.  
  25. Tool.Unequipped:connect(function()
  26.    Equipped = false
  27.    Field.Adornee = nil
  28.    Mouse.Icon = ''
  29. end)
  30.  
  31. Tool.Activated:connect(function()
  32.    if Mouse.Target ~= nil then
  33.        local ob = Mouse.Target
  34.        for i,v in pairs(game:GetService("ReplicatedStorage"):GetDescendants()) do
  35.            if v:IsA("RemoteEvent") then
  36.        v:FireServer(ob)
  37.            end
  38.    end
  39.    end
  40. end)
Advertisement
Add Comment
Please, Sign In to add comment