Advertisement
_Thanh_Thy_Cute_

HEROES Infinite FE INVISIBLE TOOL

Jul 25th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local event = game:GetService("ReplicatedStorage").ClientWeaponInteraction.TransparencyPart
  3.  
  4. function tools()
  5. local backpack = plr:WaitForChild("Backpack")
  6. local tool = Instance.new("Tool")
  7. tool.RequiresHandle = false
  8. tool.Parent = backpack
  9. tool.Name = "Invisible"
  10. tool.Equipped:Connect(function(mouse)
  11. mouse.Button1Down:Connect(function()
  12. if mouse.Target and mouse.Target.Parent then
  13. event:FireServer(mouse.Target,1)
  14. end
  15. end)
  16. end)
  17.  
  18. local tool1 = Instance.new("Tool")
  19. tool1.RequiresHandle = false
  20. tool1.Parent = backpack
  21. tool1.Name = "Visible"
  22. tool1.Equipped:Connect(function(mouse)
  23. mouse.Button1Down:Connect(function()
  24. if mouse.Target and mouse.Target.Parent then
  25. event:FireServer(mouse.Target,0)
  26. end
  27. end)
  28. end)
  29. end
  30.  
  31. tools()
  32.  
  33. plr.CharacterAdded:Connect(function()
  34. plr.Character:WaitForChild("HumanoidRootPart")
  35. tools()
  36. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement