I have tried to google it, but cant find it.
It is probably a really easy answer to this question…
(tbh i feel a bit stupid to even ask it)
Is it a script or a setting that i can use so all players can pick up the same item.
For example: i have a door that players need to find cards to enter the door. but all players need to be able to pick up the card. not just the first that finds it…
I hope u understand and ty for your time
You can put your tool model in the workspace and put a proximity prompt on it
then add this script :
local Prompt = script.Parent:FindFirstChildOfClass("ProximityPrompt")
local Tool = "Card"
Prompt.Triggered:Connect(function(player)
if not player.Backpack:FindFirstChild(Tool) and not player.Character:FindFirstChild(Tool) then
local tool = game.ServerStorage:FindFirstChild(Tool):Clone()
tool.Parent = player.Backpack
else
print("You already have this tool!")
end
end)
and put your tool in ServerStorage
then it will work like that
and if u have the tool it will print this :
i think i did it all right. but it made the tool dissapere
does anyone know how to do it?
but didn’t @AbdAllahTHEDRAGON already answer your question!
no. it didnt work. when i tried it the tool dissapered
I think that’s because you forgot to clone it, if the card is in at least 1 player’s backpack
ohh… so i have 1 in workspace too?
sorry im really new at this… the noobest noob tbh
you could share a screenshot or code so that others can help
also
donot be afraid to post your problems
this forum exist for helping developers no matter their expertise
thank you so much i will try some new things
i have this… so… what do i move where? i have tried a few things, but im doing it wrong haha…
This is how i understand it:
Handle, touchinterest and weld in workspace (plus the extra script and i changed the name to fit my tool)
card L1 in serverstorage?
Put the tool in ServerStorage, then clone the tool’s handle and move the clone to Workspace.
thank you so much! that works
I am also looking for a solution similar to this…
How about if each player only able to pick up the item for one time only? Any Idea?