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 » Scripters
Home Search
 

Re: How do I make a brick move around and when it hits me I die?

Previous Thread :: Next Thread 
CSWInc is not online. CSWInc
Joined: 07 Jan 2016
Total Posts: 3
02 Oct 2016 07:12 AM
Hi. I started playing Roblox about a year ago. I'm pretty new to scripting and stuff. I'm making a game on Roblox Studio. I have this character in the game. He is a red cube. I'd like to know how I can make the red cube move around and when he hits the character, he/she dies. Just like a zombie but without the head, arms, and legs because he is just a red cube. Thank you!
Report Abuse
CSWInc is not online. CSWInc
Joined: 07 Jan 2016
Total Posts: 3
02 Oct 2016 07:14 AM
Oh, and for some reason my script is named "Ladder ####### Not sure why.
Report Abuse
CSWInc is not online. CSWInc
Joined: 07 Jan 2016
Total Posts: 3
02 Oct 2016 07:15 AM
It's named Ladder Script
Report Abuse
minecraftjien is not online. minecraftjien
Joined: 06 Jan 2013
Total Posts: 22
02 Oct 2016 08:09 AM
First, insert a Humanoid inside the brick. Also put a script inside the brick.
Now, inside the script paste this :
script.Parent.Humandoid:MoveTo(Vector3.New(put in the coordinates of where you want it))
script.Parent.Touched:connect(function()
hit.Parent.WaitForChild("Humanoid")
hit.Parent.Humanoid.Health = 0
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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