Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you disable TouchInterests appearing constantly while testing? [I SOLVED IT.]

I'm making a game and the tools have a very irritating problem, they generate a touchinterest everytime i playtest the game, I tried removing them via script but it still doesn't remove them, and the output doesn't provide any errors.

Any help?

script.Parent.ChildAdded:Connect(function(child)
	if child.Name == "TouchInterest" then
		child:Destroy()
	end
end)

2 comments

0

What does your tool includes without Handle part

0

It doesn't really include anything but the handle because the clickdetector and the pick up script are in the handle itself

1 answer

The TouchInterest does not cause any problems. It gets in the tool so that it can be picked up by players. It also attaches the tool with your hand. There is no way to prevent the TouchInterest from appearing. And it does not cause any problems.

3 comments

0

well the normal way to pick up the tool is by clickdetectors

0

Not really. You have to touch the tool to pick it up.

0

I'm not saying in roblox studio itself, the manual way to pick up tools in my game is by clicking, not touching, and i'm trying to find a solution to remove the touch interests. I know there's no way to prevent the touch interest from appearing, but atleast tell me how to remove it once it spawns.

This discussion is preserved as it was. New answers, comments, and votes are closed.