Advertisement
Jythemaster

Fe Invisible tools

Jun 7th, 2021
2,771
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. a=game.Players:FindFirstChild("OddPotion",true)
  2. local Players = game:GetService("Players")
  3. local localPlayer = Players.LocalPlayer
  4. local backpack = localPlayer:WaitForChild("Backpack")
  5.  
  6. local tool = Instance.new("Tool")
  7. tool.RequiresHandle = false
  8. tool.Parent = backpack
  9. tool.Name = "Invisible Object"
  10. tool.Equipped:Connect(function(mouse)
  11. mouse.Button1Down:Connect(function()
  12. if mouse.Target and mouse.Target.Parent then
  13. a.TransEvent:FireServer(mouse.Target,1)
  14. end
  15. end)
  16. end)
  17. a=game.Players:FindFirstChild("OddPotion",true)
  18. local Players = game:GetService("Players")
  19. local localPlayer = Players.LocalPlayer
  20. local backpack = localPlayer:WaitForChild("Backpack")
  21.  
  22. local tool = Instance.new("Tool")
  23. tool.RequiresHandle = false
  24. tool.Parent = backpack
  25. tool.Name = "Visible Object"
  26. tool.Equipped:Connect(function(mouse)
  27. mouse.Button1Down:Connect(function()
  28. if mouse.Target and mouse.Target.Parent then
  29. a.TransEvent:FireServer(mouse.Target,0)
  30. end
  31. end)
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement