Hello.
I’ve made a vending machine that drops bloxy cola everytime you use the ProximityPrompt.
But the thing is, that the bloxy cola spawns just once and there is no matter how many times you press the ProximityPrompt.
Here is a video:
Problem (2).wmv (2.1 MB)
As you can see in the video the bloxy cola can spawn just once.
This is the SIMPLE script
local clone = game.ReplicatedStorage.Stuff.BloxySodaSpawn:Clone()
function Ordered()
script.Parent.Buy_1:Play()
clone.Parent = game.Workspace["Bloxy Soda Clones"] --Copies it into Folder Bloxy Soda Clones
clone.Position = Vector3.new(12269.891, 15.873, 39.564)
clone.Orientation = Vector3.new(0, -29.17, 58.14)
end
script.Parent.Attachment.ProximityPrompt.Triggered:Connect(Ordered)
Any help would be appreciated.