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
|
  |
| 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
|
  |
| Joined: 07 Jan 2016 |
| Total Posts: 3 |
|
| |
|
|
| 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 |
|
|