Aliasy
firetouchtransmitter
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Wywoluje Real touch interest event dla dwoch BasePart instances. Pierwsze dwa argumenty musza byc Instance object i obie wartosci musza przejsc IsA(“BasePart”). Argument state jest wymagany i musi byc number albo boolean. Gdy state jest number, tylko 1 staje sie true, a kazdy inny number staje sie false. Gdy state jest boolean, jego wartosc boolean jest przekazywana dalej. Jesli ktorykolwiek part nie ma touch data, albo pierwszy part nie ma overlap reference, function wraca bez wywolania czegokolwiek. Function nic nie zwraca. Dokladne znaczenie begin/end boolean przekazywanego do helper to: Nicht aus der Codebasis verifizierbar.
firetouchinterest(partA: Instance, partB: Instance, state: number | boolean)
firetouchtransmitterlocal players = game:GetService("Players")
local character = players.LocalPlayer.Character or players.LocalPlayer.CharacterAdded:Wait()
local rootPart = character:WaitForChild("HumanoidRootPart")
local targetPart = workspace.TouchTarget
firetouchinterest(rootPart, targetPart, true)