Advertisement
eea

Untitled

eea
Jul 28th, 2021
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. print("g")
  2.  
  3. local UserInputService = game:GetService("UserInputService")
  4.  
  5. Player = owner
  6.  
  7. Players = game:GetService("Players")
  8.  
  9. Char = owner.Character
  10.  
  11. Humanoid = Char.Humanoid
  12.  
  13. Head = Char.Head
  14.  
  15. Pos = Humanoid.TargetPoint
  16.  
  17. Look = (Pos - Head.Position).Unit
  18.  
  19. LPlayer = Players.LocalPlayer
  20.  
  21. print(LPlayer)
  22.  
  23. print(owner)
  24.  
  25. UserInputService.InputBegan:Connect(function(input,busy)
  26.  
  27. print("e")
  28.  
  29. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  30.  
  31. print("work pls")
  32.  
  33. local e = Instance.new("Part",workspace)
  34.  
  35. e.Size = Vector3.new(5,5,5)
  36.  
  37. e.Position = Player.Character.HumanoidRootPart.Position + Vector3.new(0,4,0)
  38.  
  39. e.Velocity = look*175
  40.  
  41. end
  42.  
  43. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement