Advertisement
guy123457

part

Jan 25th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. local input2 = game:GetService("UserInputService")
  2. local mouse2 = game.Players.LocalPlayer:GetMouse()
  3. input2.InputBegan:Connect(function(input)
  4. if input.UserInputType == Enum.UserInputType.Keyboard then
  5. if input.KeyCode == Enum.KeyCode.LeftControl then
  6. local part = Instance.new("Part",game.Workspace)
  7. part.Position = mouse2.Hit.Position
  8. wait(0.1)
  9. part.Anchored = true
  10. end
  11. end
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement