Roblox Studio: How to create a custom proximity prompt in 55 seconds.

preview_player
Показать описание
Yes, I am back. And make sure to give me more suggestions on what tutorials I should make in a short time.
NOTE: I made a few mistakes when making this video. Updated script is in the pinned comment.
Рекомендации по теме
Комментарии
Автор

local PromptGui = script.Parent
local ActionText = PromptGui.ActionText
local Button = PromptGui.Button
local Progress = Button.Progress
local TS = game.TweenService
local CurrentTween
PromptGui.Enabled = false
function

PromptGui.Enabled = true
PromptGui.Adornee = ProximityPrompt.Parent
ActionText.Text = ProximityPrompt.ActionText
Button.Text =
end)

PromptGui.Enabled = false
PromptGui.Adornee = nil
end)

CurrentTween = TS:Create(Progress, TweenInfo.new(ProximityPrompt.HoldDuration), {Size = UDim2.new(1, 0, 1, 0)})
CurrentTween:Play()
end)

CurrentTween:Cancel()
Progress.Size = UDim2.new(0, 0, 1, 0)
end)
end

for i, v in do
if v:IsA("ProximityPrompt") then
SetupProximityPrompt(v)
end
end

if Child:IsA("ProximityPrompt") then

end
end)

Yingjie
Автор

I didn't understand how to do this for months.. And you teached me in just a minute. ABSOLUTE LEGEND!!!

levputsentela
Автор

thanks for making the script simple and easily adjustable

brurmonemt
Автор

it is nice to see you again :D
it is very helpful 😊

pingusweet
Автор

Omg wow thank you so much this tut helped me alot!

Wolfpolie
Автор

Will this work for multiple parts? Like what if I have a script that loops through a folder to check for multiple parts with the same proximity prompt to be triggered?

minecraftlolguy
Автор

How do you make one for a controller? Such as changing the keyboard display to controller display whenever you connect your controller into your roblox game? (As in E changing to the X button from an xbox controller)

typesarge
Автор

this is only for pc but what about phone and console players how do they know what to do?

zodopi
Автор

best tutorial are tutorials that get straight into it without extra things

BRUSDHDFhd
Автор

dude its still showing me the orginal and it worked how to remove the orginal prompt..

hhmkoxg
Автор

it worked but I couldnt make it disapear later, even deleting the billboard in-game

lunnarmoon
Автор

I've done everything right but it doesn't let me click on it when I test it any help?

itsisabella
Автор

thank you save my doors withthis tutorial

murilogamerzao_ofc
Автор

This worked but the door i used this on didn't

SodaChoc