daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest May 16th, 2018 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game.Players.LocalPlayer
  2. local mouse = player:GetMouse()
  3. local Enabled = false
  4.  
  5. mouse.Button1Down:connect(function()
  6.     if mouse.Target ~= nil then
  7.         while Enabled == true do
  8.             wait()
  9.         local part = Instance.new("Part", game.Workspace)
  10.         part.Position = Vector3.new(mouse.Hit.X, mouse.Hit.Y, mouse.Hit.Z)
  11.         part.Anchored = false
  12.         end
  13.     end
  14. end)
  15.  
  16. mouse.KeyDown:connect(function(key)
  17.     if key == "q" then
  18.         if Enabled == false then
  19.             Enabled = true
  20.         else
  21.             Enabled = false
  22.         end
  23.     end
  24. 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