generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Where to learn ROBLOX Lua?

Previous Thread :: Next Thread 
Joshua7851 is not online. Joshua7851
Joined: 18 Nov 2012
Total Posts: 210
14 Oct 2014 07:04 PM
I just wanna know how some of you know how to code, i am a complete beginner and i have been digging in the wiki, the best thing i can find is print("Hello World!") and i wanna know your suggestions.
Report Abuse
roleo1122 is not online. roleo1122
Joined: 28 Jan 2013
Total Posts: 971
14 Oct 2014 08:02 PM
RBLX wiki.
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
14 Oct 2014 08:04 PM
Start with a kill brick and understand how it works, Ill write one out, Have this as a regular script in a brick

function killFunction(partTouched)

if partTouched.Parent:FindFirstChild("Humanoid") then

partTouched.Parent.Humanoid.Health = 0

end

end

script.Parent.Touched:connect(killFunction)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image