Roblox How To | Hold "E" to Pick Up Tool
In this tutorial I show you guys how to make a proximity prompt that lets you pick up tools when you Hold/Press E (or any other key) in Roblox Studio!
Script: (Notes on the side to help you understand the script)
local tool = script.Parent -- Tool
local prox = tool.Handle.ProximityPrompt -- Proximity Prompt
prox.Triggered:Connect(function(player) -- When Proxmity Prompt is fired
tool.Parent = player.Backpack -- Put the tool in the player's backpack
prox.Enabled = false -- Disabled the Proximity Prompt
end)
My Discord server: / discord
Make sure to like and subscribe if you enjoyed it or if this video helped :)
Chapters:
0:00 Intro
0:10 Getting a Tool
0:30 Proximity Prompt
1:19 Scripting the Proximity Prompt
2:39 Showcase
2:54 Outro
Music Used: (In order)
Kevin MacLeod: Hyperfun
• Kevin MacLeod: Hyperfun
Tags: #roblox #robloxstudio #howto, #onfirerobloxscripting #tutorial