User:Tenal/Sandbox

Revision as of 02:16, 27 April 2023 by Realjame (talk | contribs) (Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  Touched ( BasePart otherPart )
Description Fired when another object comes in contact with this object.
Member of: BasePart
Further details

Parameters

  • otherPart - The other object that this object came in contact with

Examples

Example
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

 ROBLOX General
Learn your way around ROBLOX
 FAQ
Frequently Asked Questions
 Tutorials
Learn how to do all sorts of things
 Studio
Learn how to use our level creation software
 Badges, Ranks and Money
How to move up in Robloxia
 Product Change Log
Updates to the game, studio, and website
 Lua: Scripting Language
Add functionality to your game

Lua is a simple scripting language used for coding games on ROBLOX.

Resources
 Policies and Parents
Rules and parent oriented information
 Terms and Conditions
The conditions of use of Roblox
 Community Guidelines
The rules of the Roblox community
 ROBLOX Staff
Who works at ROBLOX?
 Privacy Policy
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,697 articles and 1,217 files, all created by Roblox's friendly wiki writers and editors. It has been edited 43,343 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!