Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --this btool works in many games with a remote that simply deletes something, try this in build games, car games, and minecraft games
- local Tool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
- local Equipped = false
- Tool.RequiresHandle = false
- Tool.TextureId = 'http://roblox.com/asset/?id=1387605654'
- local Field = Instance.new("SelectionBox",game.Workspace)
- local Mouse = game.Players.LocalPlayer:GetMouse()
- Field.LineThickness = 0.1
- Tool.Equipped:connect(function()
- Equipped = true
- Mouse.Icon = 'rbxasset://textures/HammerCursor.png'
- while Equipped == true do
- if Mouse.Target ~= nil then
- Field.Adornee = Mouse.Target
- else
- Field.Adornee = nil
- end
- wait()
- end
- end)
- Tool.Unequipped:connect(function()
- Equipped = false
- Field.Adornee = nil
- Mouse.Icon = ''
- end)
- Tool.Activated:connect(function()
- if Mouse.Target ~= nil then
- local ob = Mouse.Target
- for i,v in pairs(game:GetService("ReplicatedStorage"):GetDescendants()) do
- if v:IsA("RemoteEvent") then
- v:FireServer(ob)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement