heres the problem i want to check if a player have triggered a proximity prompt in a local script, but when the proximity prompt have been triggered nothing prints in the script shown.
i have tried a lot of methods such as using a remote event but that also didnt work anyways heres the script
script.Parent.ProximityPrompt.Triggered:Connect(function()
print("Triggered From Client")
end)
3 Likes
astraIboy
(The Batman)
July 6, 2023, 2:36am
#2
Have you gotten any errors in the output?
1 Like
No nothing in the output unfortunately thats why i was confused
1 Like
astraIboy
(The Batman)
July 6, 2023, 2:37am
#4
Are you sure your actually activating the prompt correctly?
Do you have that RequiresLineOfSight option on?
1 Like
Nuhnero
(Waryck)
July 6, 2023, 2:37am
#5
well… this is prob studio’s bug or this is something interersting…
1 Like
i mean the script is there shown , i have a proximity prompt inside a part and a script inside the proximity prompt so im pretty sure its all perfect
astraIboy
(The Batman)
July 6, 2023, 2:37am
#7
Can you send a video of you prompting it with the console in clear view please
astraIboy
(The Batman)
July 6, 2023, 2:38am
#8
Can you at least maybe show the heirarchy of parts where the proximity prompt is located?
sorry for the long wait , the video took a long time uploading lol
heres the link proximity prompt issue - YouTube
1 Like
astraIboy
(The Batman)
July 6, 2023, 2:48am
#10
what is the interaction time on the proximity prompt
The duration of the proximity prompt is zero seconds
astraIboy
(The Batman)
July 6, 2023, 2:50am
#12
Fill in the player parameter and then trying printig the player that triggered the proximity prompt
it works in the server but nothing prints in the client
astraIboy
(The Batman)
July 6, 2023, 2:52am
#14
Yeah because you have it on a server script not in a local script
its feels exactly like the local script have been disabled or something, nothing prints
astraIboy
(The Batman)
July 6, 2023, 2:53am
#16
Where exactly do you have the local script if you dont mind me asking
i mean it works and prints in the server but when i copy the exact script in a local script it wont work and nohting prints
it is currently in the proximity prompt
1 Like
astraIboy
(The Batman)
July 6, 2023, 2:54am
#19
And where exactly is the proximity prompt
1 Like