Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- local tool2 = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
- local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- local tool4 = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
- local tool5 = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
- tool1.BinType = "Hammer"
- tool3.BinType = "Grab"
- tool2.Name = "Copy"
- tool4.Name = "ShowPath"
- tool5.Name = "RenamePartToBTOOLSPart"
- local tool2_mesh_part = Instance.new("MeshPart", game.Players.LocalPlayer.Backpack.ShowPath)
- tool2_mesh_part.MeshId = 'rbxassetid://92656610'
- tool2_mesh_part.TextureID = 'rbxassetid://92658105'
- tool2_mesh_part.Name = "Handle"
- local tool4_mesh_part = Instance.new("MeshPart", game.Players.LocalPlayer.Backpack.ShowPath)
- tool4_mesh_part.MeshId = 'rbxassetid://92656610'
- tool4_mesh_part.TextureID = 'rbxassetid://92658105'
- tool4_mesh_part.Name = "Handle"
- local tool5_mesh_part = Instance.new("MeshPart", game.Players.LocalPlayer.Backpack.RenamePartToBTOOLSPart)
- tool5_mesh_part.MeshId = 'rbxassetid://92656610'
- tool5_mesh_part.TextureID = 'rbxassetid://92658105'
- tool5_mesh_part.Name = "Handle"
- local checking_pos = false
- local renaming_part = false
- local copying = false
- tool4.Equipped:Connect(function ()
- checking_pos = true
- end)
- tool4.Unequipped:Connect(function ()
- checking_pos = false
- end)
- tool5.Equipped:Connect(function ()
- renaming_part = true
- end)
- tool5.Unequipped:Connect(function ()
- renaming_part = false
- end)
- tool2.Equipped:Connect(function ()
- copying = true
- end)
- tool2.Unequipped:Connect(function ()
- copying = false
- end)
- mouse.Button1Up:Connect(function ()
- if checking_pos then
- print("\n")
- print("CFrame: "..tostring(mouse.Target.CFrame))
- print("Position: "..tostring(mouse.Target.CFrame.Position))
- print("Path: "..tostring(mouse.Target:GetFullName()))
- print("\n")
- elseif renaming_part then
- mouse.Target.Name = "BTOOLSPart"
- elseif copying then
- mouse.Target:Copy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement