drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 07:57 PM |
If the value of Read is 1 and humanoid ~- nil, then a script inside of this script(Jumping script) is to be put inside a player's characer, it doesn't work for some reason.
script.Parent.Touched:connect(function(hit) human = hit.Parent:FindFirstChild("Humanoid") rdy = script.Parent.Parent.Ready js = script.JumpingScript:Clone() if rdy.Value ~= 1 then return end if human == nil then return end human.Walkspeed = 0 js.Parent = hit.Parent rdy.Value = 2 end) |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2011 07:58 PM |
Script that gives a script:
s = Instance.new("Script", Workspace.drmiewlo)
~iHailey |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2011 07:58 PM |
| What does the error message in Output say? This'll help us get an impression of the problem (remember, don't post 1337 lines of script and say, "IT NOET WERK!!!!1!!1!11!111) |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 08:02 PM |
I hate how people ask what the output is, DO YOU REALLY THINK I'D BE ASKING IF THE OUTPUT SAID ANYTHING!?!?!
There is nothing in the output. |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 08:07 PM |
@Admiral, you're a scripting noob, you said so yourseld in another post(http://www.roblox.com/Forum/ShowPost.aspx?PostID=58408968)
So don't even TRY to tell me what to do. |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 08:08 PM |
| @Hailey, That inserts an empty script, I'm inserting a script that is not empty. |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
| |
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 08:18 PM |
| I'm guessing this is the part of day when no one is online? |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
| |
|
|
| 22 Nov 2011 10:21 PM |
I'm no expert, but can't you just have that script off somewhere where it doesn't do anything, and then copy it into the person when you need it to? Or... it kind'a looks like you've already done that. No clue, really. Well, maybe it's impossible to clone written scripts. Because that could be used for major trolling. Like those "anti-lag" scripts, which, as far as I can tell, just clone themselves as children of other blocks or models or whatnot. |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 10:36 PM |
| Seriously, don't even click on the scripting helpers section if your intention is to answer and you don't have a bloody clue abot scripting. |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2011 11:20 PM |
script.Parent.Touched:connect(function(hit) human = hit.Parent:FindFirstChild("Humanoid") rdy = script.Parent.Parent.Ready js = script.JumpingScript:clone() if rdy.Value == 1 then return end if human ~= nil then return end human.WalkSpeed = 0 js.Parent = hit.Parent rdy.Value = 2 end) |
|
|
| Report Abuse |
|
|
drmiewlo
|
  |
| Joined: 14 Mar 2012 |
| Total Posts: 1782 |
|
|
| 22 Nov 2011 11:48 PM |
Yah I caught Walkspeed should be WalkSpeed, just forgot to post it, Thanks anyways.
Signature: want meshes returned? http://www.roblox.com/Forum/ShowPost.aspx?PostID=58420981 |
|
|
| Report Abuse |
|
|