Advertisement
antoniorigo4

Draw (no visualizer here guys)

Aug 13th, 2020 (edited)
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. local player = owner--use h/ not hl/
  2. local character = owner.Character
  3. local garbage = Instance.new("Model",character)
  4. local remote = Instance.new("RemoteEvent",character)
  5. remote.OnServerEvent:Connect(function(player,hit)
  6. wait(0.4)
  7. local pixel = Instance.new("Part",garbage)
  8. pixel.Size = Vector3.new(1,0.1,1)
  9. pixel.BrickColor = BrickColor.Black()
  10. pixel.Material = Enum.Material.SmoothPlastic
  11. pixel.Anchored = true
  12. pixel.CFrame = hit
  13. pixel.Orientation = Vector3.new(0,0,0)
  14. end)
  15.  
  16. NLS([[
  17. local player = game.Players.LocalPlayer
  18. local mouse = player:GetMouse()
  19. local character = player.Character
  20. local clicked = false
  21. mouse.Button1Down:connect(function()
  22. clicked = true
  23. end)
  24. mouse.Button1Up:connect(function()
  25. clicked = false
  26. end)
  27. local remote = character:WaitForChild("RemoteEvent")
  28. local runservice = game:GetService("RunService")
  29. runservice.Stepped:Connect(function()
  30. if clicked==true then
  31. remote:FireServer(mouse.Hit) end
  32. end)]],character)
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement