User:Tenal/Sandbox
Change Log w/ Tables
2/1/2012 | Web 121a
Category | Description |
---|---|
Game card | Show pane to users w/ no credit to show them what they can buy with credit. |
More Detailed Documentation
![]() | |
Description | Fired when another object comes in contact with this object. |
---|---|
Member of: | BasePart |
Parameters
- otherPart - The other object that this object came in contact with
Examples
local Brick = script.Parent
script.Parent.Touched:connect(function(CollisionBrick)
print(CollisionBrick.Name .. " has collided with " .. Brick.Name .. "!")
end)
Notes
- Lots of objects (such as projectiles in weapons) have scripts that remove the part as soon as it touches something. This means that it is possible for the otherPart argument's Parent to be nil. Scripts that use Touched should check for this, otherwise they will break if they try to use members of otherPart's Parent.
See Also
Homepage
![]() Learn your way around ROBLOX Frequently Asked Questions Learn how to do all sorts of things ![]() Learn how to use our level creation software ![]() How to move up in Robloxia ![]() Updates to the game, studio, and website |
![]() Add functionality to your game Lua is a simple scripting language used for coding games on ROBLOX. |
![]() Rules and parent oriented information ![]() The conditions of use of Roblox ![]() The rules of the Roblox community ![]() Who works at ROBLOX? ![]() Roblox's Privacy Policy |
Welcome to the Roblox Wiki
Roblox is a free user-generated gaming site that makes players the architects of their own 3D worlds. Players spend over 20 million hours playing games and building in their own personal virtual worlds. Roblox is ranked #1 in the US for total engagement time within the 8-14 year old segment, and is rapidly growing in popularity amongst players aged 15+. You are given a variety of objects, a scripting language and a website to host your games for other people to play. With your free account, you get a character and a place. You can customize your place and character however you want, and visit anyone else's place as well. This help center is here to help you learn how to play Roblox, how to build using the Roblox Studio, and how to script using the Lua language. The Roblox wiki encompasses 1,701 articles and 6,660 files, all created by Roblox's friendly wiki writers and editors. It has been edited 88,965 times. Want to be a part of our great wiki team? Join the wiki group on Roblox to give suggestions to the people who write the wiki. Who knows, if you are dedicated enough, you might actually get your own wiki account! |