It's so simple yet I haven't been able to run it via cmdbar, here's my command:
Instance.new("TouchInterest")
I wanna make a script that deletes the TouchInterest in the bag when the bag is being dropped to prevent the person from being brought with the bag to the teleport destination, and then instances a new TouchInterest inside the handle, but I can't actually do the first step (creating a new TouchInterest)
You cannot use Instance.new
on a TouchIntrest. It automatically appears if you have a script with a .Touched
event.
TouchInterest is not createable. You can only make it inside by using this script...
script.Parent.Touched:Connect(function() local TI = script.Parent:WaitForChild("TouchInterest") if TI then print("TouchInterest is here :)") else print("TouchInterest is gone :(") error("No TouchInterest when firing 'Touched', a nil value") end end)
There's only can make it when the code have contains .Touched
code. There's no way to create them else they will auto-appear if you use .Touched
code.