Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UserInputService = game:GetService("UserInputService")
- UserInputService.InputBegan:Connect(function(Key) -- Input detected!
- if Key.KeyCode == Enum.KeyCode.E -- Checking if input is 'E'
- then
- local part = Instance.new("Part", workspace)
- part.Position = Character["Left Arm"].Position
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement