Why won't the proximity prompt appear properly?

  1. What do you want to achieve?
    I want the Proximity prompt to appear and then give the tool to the player. It only appears at the spawn… not when you’re next to the object?

  2. What is the issue?
    Screen Shot 2022-07-15 at 1.39.02 PM

  3. What solutions have you tried so far?
    I haven’t been able to find a similar post about this issue I’m having… I’ve disabled “RequiresLineofSight” and the proximity prompt is enabled.

Screen Shot 2022-07-15 at 1.40.47 PM

local prp = script.Parent
local pizza = game.ServerStorage["Cheese Pizza"]

prp.Triggered:Connect(function(player)
	pizza:Clone()
	pizza.Parent = player.Backpack
	game.StarterPlayer["Cheese Pizza"].Value = true
	prp.Enabled = false
	
	end)

Here’s the script within the “Dummy”: (if that may be related to the issue I’m having)
Screen Shot 2022-07-15 at 1.42.16 PM

local pizzatool = game.ServerStorage["Cheese Pizza"]
local pizza = game.Workspace.CheesePizza
local prp = script.Parent
local customer = prp.Parent

script.Parent.Triggered:Connect(function(player)
	if game.StarterPlayer["Cheese Pizza"].Value == true then
		player.leaderstats.Money.Value = player.leaderstats.Money.Value + 25
		game.StarterPlayer["Cheese Pizza"].Value = false
		pizzatool.Parent = game.ServerStorage
		wait(15)
		game.Workspace.CheesePizza.ProximityPrompt.Enabled = true
	end
	end)

Is there something wrong with my script(s)? The “Dummy” proximity prompt works fine & everything works… but the proximity prompt is just appearing very strange!

Thank you :slight_smile:

1 Like

The problem is likely because it’s in a model, I believe it needs to be inside a part/union.

2 Likes

Yes! That was the problem :slight_smile:

Thank you so much!

2 Likes