SHARE
TWEET

egames

FilterYT Nov 16th, 2019 1,956 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local lp = game:service'Players'.LocalPlayer;
  2. local mouse = lp:GetMouse();
  3.  
  4. mouse.KeyDown:Connect(function(key)
  5.     if key == "v" then
  6.         v = true;
  7.     end
  8. end)
  9.  
  10. mouse.KeyUp:Connect(function(key)
  11.     if key == "v" then
  12.         v = false;
  13.     end
  14. end)
  15.  
  16. game:getService("RunService").Stepped:Connect(function()
  17.     if v then
  18.         if game:service'Players'.LocalPlayer.Character then
  19.             for i,v in pairs(game:service'Players'.LocalPlayer.Character:GetChildren()) do
  20.                 if v:IsA'BasePart' then
  21.                     v.CanCollide = false;
  22.                 end
  23.             end
  24.         end
  25.     end
  26. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top