#the proximity promt doesn't enable
20 messages · Page 1 of 1 (latest)
so i need to make that when the value is 1 an event fires that enables the promt?
ur script runs 1 time
and ur value = 0
do
collect:GetPropertyChangedSignal('Value'):Connect(function()
--print(...........)
--proxPrompt.Enabled = true
end)
where is comment put this
nvm
wym
like
i fixed ur problem(maybe💀)
when i collected 3 batteries the promt enables?
u said 1
collect:GetPropertyChangedSignal('Value'):Connect(function()--creates a function when collect.Value is changed
if collect.Value == 3 then--check if value = 3
print('Success')--printing
ProximityPrompt.Enabled = true--enabling prompt
end
end)
this one is correct
it works, thanks man 👍