HI! I would like know how to make a click detector wich can be actevated with an activeted tool in the hand of the player.
Can you help me please!
2 Likes
script.Parent.ClickDetector.MouseClick:Connect(function(player)
if not player.Backpack:FindFirstChild("ClassicSword")then
local item = game.ServerStorage.ClassicSword:Clone()
item.Parent = player.Backpack
end
end)
I know make that. You didn’t know I wanted.
I would like it possible to click on a click detector with an activated object in my hand.
1 Like
oh sorry but i don’t know try asking scripting munking they know
Sorry I am oblige to bump this thread because I can’t continue my game as long as nobody helped me.
Using google, sorry but the answer is no,:
you would have to script your own work around to the problem. If you are using click detectors for a door as an example you can use the new proximity prompt instead to do it.