#are there any reason why this not working
26 messages · Page 1 of 1 (latest)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
function triggered(plr)
print("a")
ReplicatedStorage.UI.TIP_UI:FireClient(plr)
end
script.Parent.Model.Jar.ProximityPrompt.Triggered:Connect(triggered)
that print is never returned
so the last line is not working ig
ive never used proximityprompts before so i dont have lot knowledge but i also checked the documantatioons and found notching
any errors?
no errors
i also tried to handle every proximityprompt with one script using proximityPromtService.ProximityTriggered:Connect
but still no connections to function
ProximityPromptService.PromptTriggered:Connect(triggered)
i dont know how but i actually fixed it
i used to have a gui to help me debuging game by teleporting me to the place
like a button to teleport
after removing it its just fixed
Where is the script located
And did you parent the proximity-prompt to a visible instance?
Like parts, meshes or models
yeah it was
Do you still need it to be fixed
its was in the same model with proximityprompt
no but i still wonder why it wasnt working
You can see the proximity prompt's UI right?
yeah
But triggering it doesn't work