Changing Tools PickUp (touchTransmitter) function

This is only just a fast question to you people.

What I am trying to achieve is that when the player walks on the item, instead of picking it up as it is, I wanted it to do some stuff beforehand, but I do not know if you can change the touchTransmitter or not.

I have not tried anything to it yet because wanted to know if it’s not a waste of time to just blatantly try to get a solution

If i’m understanding correctly, you want it to animate before the player picks it up?

well it could, it can also add Value to player data, but what I wanted to know if you can just delete the TouchTransmitter and use own function of picking up to remove the Roblox One

You can do anything with a touched event like so:

part.Touched:Connect(function()
    -- do stuff
end)

If you want to disallow any further connections, you can disconnect the first one.

local connection
connection = part.Touched:Connect(function()
    connection:Disconnect()
    -- do stuff
end)
2 Likes

it seems your idea actually worked. Altho I had to remove the TouchTransmitter first, I can then just do my own Touched Function now. Thank you kindly