Playback starts YouTube’s embedded player (privacy-enhanced mode).
Roblox Tutorial - Press Key to Interact (Proximity Prompt)
ChannelEppobotDescription from the creator
In this video, I will show you how to use the new ProximityPrompt feature, which allows you to easily make objects that interact with a press of a key or button. For example: "Press E to open a door" or "Press F to use". I'll show you a simple example and all the important things you need to know to get started! Proximity Prompt is super cool indeed! :)
My Door Model: roblox.com/library/5897110730/
More info: devforum.roblox.com/t/proximity-prompt-studio-b…
-----------------------------------------------------------------------------------------------------------------------------------
SCRIPT:
local ProximityPrompt = script.Parent
local Door = script.Parent.Parent
ProximityPrompt.Triggered:Connect(function()
if ProximityPrompt.ActionText == "Open" then
Door.Transparency = .5
Door.CanCollide = false
ProximityPrompt.ActionText = "Close"
else
Door.Transparency = 0
Door.CanCollide = true
ProximityPrompt.ActionText = "Open"
end
end)
-----------------------------------------------------------------------------------------------------------------------------------
Make sure to Like, Subscribe and turn Post Notifications ON 🔔 Thanks! 🦋
▸ Twitter: twitter.com/eppobotdev
▸ Roblox: roblox.com/users/26716940/profile
#RobloxStudio #Roblox #Tutorial
My Door Model: roblox.com/library/5897110730/
More info: devforum.roblox.com/t/proximity-prompt-studio-b…
-----------------------------------------------------------------------------------------------------------------------------------
SCRIPT:
local ProximityPrompt = script.Parent
local Door = script.Parent.Parent
ProximityPrompt.Triggered:Connect(function()
if ProximityPrompt.ActionText == "Open" then
Door.Transparency = .5
Door.CanCollide = false
ProximityPrompt.ActionText = "Close"
else
Door.Transparency = 0
Door.CanCollide = true
ProximityPrompt.ActionText = "Open"
end
end)
-----------------------------------------------------------------------------------------------------------------------------------
Make sure to Like, Subscribe and turn Post Notifications ON 🔔 Thanks! 🦋
▸ Twitter: twitter.com/eppobotdev
▸ Roblox: roblox.com/users/26716940/profile
#RobloxStudio #Roblox #Tutorial
About this tutorial
Eppobot published this 3:24 video tutorial on October 30, 2020. It has been watched 64,562 times on YouTube.
Tags
Share
This tutorial in other languages
- FRRoblox Tutorial - Appuyez sur Interagir (Proximité rapide)
- ESRoblox Tutorial - Pulse la tecla para interactuar (proximidad Preguntar)
- PTRoblox Tutorial - Pressione a tecla para Interact (Proximity Prompt)
- ITRoblox Tutorial - Premere il tasto per Interact (Proximity Prompt)
- DERoblox Tutorial - Taste drücken, um Interact (Proximity Prompt)
- NLRoblox Tutorial - Druk op de toets om Interact (Proximity Prompt)
- RURoblox Учебник - Нажмите клавишу для взаимодействия (Proximity Prompt)
- PLRoblox Tutorial - Naciśnij przycisk do interakcji (Proximity Prompt)
- JAROBLOXチュートリアル - 対話するために押してキー(近接プロンプト)
- ARRoblox دروس - اضغط على مفتاح التفاعل (القرب موجه)
- HIRoblox ट्यूटोरियल - प्रेस कुंजी बातचीत करने के लिए (निकटता शीघ्र)
- IDRoblox Tutorial - Tekan Kunci Berinteraksi (Proximity Prompt)