|
| 16 Feb 2012 02:49 PM |
Ok i know you shouldn't ask for scripts but idk how to do this AT ALL
How would i make it when you press the space bar, it doesn't jump, how do i remove jump from a game, or make it a new button. (i want remove)
I really need help, ill be greatfull to whoever helps me |
|
|
| Report Abuse |
|
|
|
| 16 Feb 2012 04:14 PM |
w = Workspace
function check() local parts = w:getChildren() for i = 1, #parts do if CheckAgain(parts[i]) then insert(parts[i]) end end end
function CheckAgain(model) local h = model:findFirstChild("Humanoid") if h ~= nil then return true end end
function insert(char) local limbs = char:getChildren() for i = 1, #limbs do q = limbs[i] if q.className == "Part" and look(q) then local I = Instance.new("BodyForce") I.Name = "TheForce" I.force = Vector3.new(0,1150,0) --change this number to change the gravity setting! I.Parent = q end end end
function look(brick) local b = brick:findFirstChild("TheForce") if b == nil then return true end end
while true do wait(1) check() end |
|
|
| Report Abuse |
|
|
|
| 16 Feb 2012 04:15 PM |
| Copy and paste all of that into a normal Script then it will work when you enter "Play" mode. |
|
|
| Report Abuse |
|
|
|
| 16 Feb 2012 06:42 PM |
| Ok thank you, but whats the Gravaty for normal Humanoids, do i put it 0? |
|
|
| Report Abuse |
|
|
|
| 16 Feb 2012 06:51 PM |
normally it's 0
http://www.roblox.com/My/Groups.aspx?gid=80738 |
|
|
| Report Abuse |
|
|
| |
|
Rukiryo
|
  |
| Joined: 04 Sep 2009 |
| Total Posts: 1490 |
|
|
| 16 Feb 2012 07:07 PM |
| You came here with no scripting knowledge. You asked for a script, when you werent even allkowed to, and now youre complaining about how the perfectly good script wont work. Kid, leave, now. |
|
|
| Report Abuse |
|
|
CrasyTrex
|
  |
| Joined: 13 Mar 2011 |
| Total Posts: 761 |
|
|
| 16 Feb 2012 07:19 PM |
game.Workspace.ChildAdded:connect(function(plr) if plr.Humanoid ~= nil then script.Script:clone().Parent = plr end end)
--script 1 end
--script #2 in the script 1
script.Parent.Humanoid.Jump.Changed:connect(function(change) if script.Parent.Humanoid.Jump = true then script.Parent.Humanoid.Jump = false end end) |
|
|
| Report Abuse |
|
|
|
| 16 Feb 2012 07:57 PM |
| IK a little bit about scripting! i just don't know or even begin to know how to do this script! also thank you |
|
|
| Report Abuse |
|
|