Pcoi94
(Pcoi94)
May 20, 2023, 3:11pm
#1
script.Parent.ClickDetector.MouseClick:Connect(function(player)
print('dfsfdsfds')
game:GetService("MarketplaceService"):PromptBundlePurchase(player, 13496841999)
end)
Nothing is printing, I don’t know why but it’s the same for proximity prompt,any help?
What kind off script is it? and where is it located at?
lV0rd
(Tin)
May 20, 2023, 3:19pm
#4
script.Parent.ClickDetector.Activated:Connect(function(player)
print('dfsfdsfds')
game:GetService("MarketplaceService"):PromptBundlePurchase(player, 13496841999)
end)
Pcoi94
(Pcoi94)
May 20, 2023, 3:22pm
#5
4PackAbs:
Activated
Not working either, but events don’t work one the place.
lV0rd
(Tin)
May 20, 2023, 3:23pm
#6
Is there any prints? charlilit
Pcoi94
(Pcoi94)
May 20, 2023, 3:23pm
#7
no, that why I said that event don’t work in the place, but could it be a bug in studio and not in roblox?
lV0rd
(Tin)
May 20, 2023, 3:23pm
#8
try in game and not on studio charlit
Pcoi94
(Pcoi94)
May 20, 2023, 3:30pm
#9
Not working in roblox either, what is roblox doing?
Kolbxyz
(Kolb)
May 20, 2023, 4:16pm
#10
I suggest you using proximity prompt instead (Proximity Prompts | Roblox Creator Documentation ) It’s a better solution since mobile players are able to see the prompt (whereas it’s not possible with ClickDetector).
Furthermore, it’s a more recent feature.
ProximityPrompt.TriggerEnded:Connect(function(player)
What is the max activation distance? Also this script worked perfectly fine with my roblox studio
changeno
(changeno)
May 20, 2023, 4:35pm
#12
If it’s possible, could you send a copy of your place? I want to check this further since it worked perfectly when I pasted your script into a new place.
Pcoi94
(Pcoi94)
May 20, 2023, 4:55pm
#13
Proximity prompt also don’t work, I don’t know why but event don’t work on the place
Pcoi94
(Pcoi94)
May 20, 2023, 4:56pm
#14
100, but event don’t work in the place
There is no “Activated” event on a ClickDetector. Does the print(‘dfsfdsfds’) print? It might just be MarketplaceService erroring if that’s the case.
Pcoi94
(Pcoi94)
May 20, 2023, 5:01pm
#16
I know that there are no activated event on a clickdetector, But using .Triggered for proximityPrompt or MouseClick for ClickDetector, nothing working, the event don’t trigger.
Pcoi94
(Pcoi94)
May 20, 2023, 5:02pm
#17
Also, I’ve tested for multiple script and nothing work. It’s not just MarketPlaceService
Honestly, just try sending a copy of the place at this point because I have no idea what is going on.
Kolbxyz
(Kolb)
May 20, 2023, 5:10pm
#19
Does it work on other experiences on the platform or just your game(s)?
Pcoi94
(Pcoi94)
May 20, 2023, 5:12pm
#20
The script work in others games, but on this place this is not.