Advertisement
Pukaciu

Untitled

Jul 31st, 2021
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 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. end
  9. end)
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement