firetouchinterest
Simulates a touch between two parts. Pass true or 0 to begin the contact and false or 1 to end it.
Signature
firetouchinterest(part1: BasePart, part2: BasePart, toggle: boolean | number): ()Parameters
part1BasePartThe part doing the touching.
part2BasePartThe part being touched.
toggleboolean | numbertrue / 0 starts contact, false / 1 ends it.
Returns
Nothing.
Note
Example
local root = game.Players.LocalPlayer.Character.HumanoidRootPart
local pad = workspace.Pad
firetouchinterest(root, pad, 0) -- touch begins
task.wait()
firetouchinterest(root, pad, 1) -- touch ends