Donutlova
|
  |
| Joined: 08 May 2012 |
| Total Posts: 5340 |
|
|
| 07 Jun 2013 09:51 PM |
| Can someone tell about how does the locate humanoid, parantheses,nil, and all those Lua stuff work? and how to use it |
|
|
| Report Abuse |
|
|
| |
|
Pheu
|
  |
| Joined: 02 Jun 2013 |
| Total Posts: 473 |
|
| |
|
Piercegov
|
  |
| Joined: 14 Jul 2010 |
| Total Posts: 316 |
|
| |
|
Donutlova
|
  |
| Joined: 08 May 2012 |
| Total Posts: 5340 |
|
|
| 07 Jun 2013 10:00 PM |
| They kicked me out saying "get out no one wants you here" |
|
|
| Report Abuse |
|
|
Donutlova
|
  |
| Joined: 08 May 2012 |
| Total Posts: 5340 |
|
|
| 07 Jun 2013 10:03 PM |
| So how do you make a script |
|
|
| Report Abuse |
|
|
L4000
|
  |
| Joined: 14 Nov 2008 |
| Total Posts: 9417 |
|
| |
|
Donutlova
|
  |
| Joined: 08 May 2012 |
| Total Posts: 5340 |
|
| |
|
|
| 07 Jun 2013 10:05 PM |
Humanoid Location : local player = game.Players.LocalPlayer Humanoid = player.Character.Humanoid
Got my 999 rupees, all set. |
|
|
| Report Abuse |
|
|
Donutlova
|
  |
| Joined: 08 May 2012 |
| Total Posts: 5340 |
|
| |
|
Donutlova
|
  |
| Joined: 08 May 2012 |
| Total Posts: 5340 |
|
| |
|
Donutlova
|
  |
| Joined: 08 May 2012 |
| Total Posts: 5340 |
|
| |
|
| |
|
|
| 07 Jun 2013 11:32 PM |
K...
function Name(Name1) -- makes the script active when in certain place or time if -- if player has something or have a model in certain game folder then -- after if, only use if they have achieved IF local -- Thing use for certain script script.Parent -- what is before the script. Or put script.Parent.Parent.More if you have many models in behind the script MOST IMPORTANT ONES: END only put "end" on: function if __________________________________________________________________ Example:
local model1 = script.Parent -- what is behind the script
function onTouched(part) -- active when player touch brick if model1.Part1.Transparency = 0.3 then -- If the model1 inside it has Trans. of 0.3 model1.Part1.Transparency - 0 -- what the effect does when achieved inside IF end end
script.Parent:findFirstChild("Humanoid"):connect() -- makes it running
|
|
|
| Report Abuse |
|
|