Advertisement
Pukaciu

Untitled

Jul 31st, 2021
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. local UserInputService = game:GetService("UserInputService")
  2.  
  3. UserInputService.InputBegan:Connect(function(Key) -- Input detected!
  4. if Key.KeyCode == Enum.KeyCode.E -- Checking if input is 'E'
  5. then
  6. local part = Instance.new("Part", workspace)
  7. part.Position = Character["Left Arm"].Position
  8. print("Yes")
  9. end
  10. end)
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement