LocalSimulationTouched (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>SoulStealer9875
Telamon will remove this shortly.
>MrNicNac
No edit summary
Line 1: Line 1:
{{Deprecated}}
{{Deprecated}}


{|
{{Event|name = LocalSimulationTouched
|<onlyinclude>{{Event|name = LocalSimulationTouched
|arguments = [[Instance]] ''part''
|arguments = [[Instance]] ''part''
|description = Fired when another part comes in contact with another object. This event only sends data to the '''client''' notifying it that two parts have collided, whereas [[Touched]] sends data to the server.
|description = Fired when another part comes in contact with another object. This event only sends data to the '''client''' notifying it that two parts have collided, whereas [[Touched]] sends data to the server.
|object = BasePart
|object = BasePart
|}}</onlyinclude>
|}}
|}
 
{{clear floats}}
 
{{Example|<pre>
{{Example|<pre>
game.Workspace.Part.LocalSimulationTouched:connect(function(p)
game.Workspace.Part.LocalSimulationTouched:connect(function(p)

Revision as of 15:50, 7 April 2012

Deprecated:This item is deprecated. Do not use it for new work.
LocalSimulationTouched ( Instance part )
Description Fired when another part comes in contact with another object. This event only sends data to the client notifying it that two parts have collided, whereas Touched sends data to the server.
Member of: BasePart


Example
game.Workspace.Part.LocalSimulationTouched:connect(function(p)
  print(p)
end)