Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lp = game:service'Players'.LocalPlayer;
- local mouse = lp:GetMouse();
- mouse.KeyDown:Connect(function(key)
- if key == "v" then
- v = true;
- end
- end)
- mouse.KeyUp:Connect(function(key)
- if key == "v" then
- v = false;
- end
- end)
- game:getService("RunService").Stepped:Connect(function()
- if v then
- if game:service'Players'.LocalPlayer.Character then
- for i,v in pairs(game:service'Players'.LocalPlayer.Character:GetChildren()) do
- if v:IsA'BasePart' then
- v.CanCollide = false;
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement