Tunnells
(PlaySage)
#1
Hi i have been trying to use Proximity Prompt for a model Regen but it doesnt work heres the code
model = script.Parent.Parent.Parent.UFO
backup = model:clone()
enabled = true
function regenerate()
model:remove()
wait(3)
model = backup:clone()
model.Parent = game.Workspace
model:makeJoints()
script.Disabled = true
wait(5)
script.Disabled = false
end
function onHit(hit)
if (hit.Parent:FindFirstChild(“Humanoid”) ~= nil) and enabled then
regenerate()
end
end
script.Parent.Triggered:Connect(onHit)
Ze_tsu
(Ze_tsu)
#3
He’s referring to the new beta feature that came out yesterday:
angrybino
(angrybino)
#4
Is the beta feature in studio enabled? Can you also show where the script is located? Your code seems fine.
Tunnells
(PlaySage)
#5
Well i cant use it because it doesnt show in games 
angrybino
(angrybino)
#6
That’s the problem then. Here is what you should do:

Go to beta features and scroll down until you find Proximity Prompt Beta
, select it and then click save.

Tunnells
(PlaySage)
#7
No in ROBLOX client it doesnt work
angrybino
(angrybino)
#8
It’s Roblox Studio, not client.