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 » Scripting Helpers
Home Search
 

Re: Jumping help

Previous Thread :: Next Thread 
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
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
DrNegatlve is not online. DrNegatlve
Joined: 30 Jan 2012
Total Posts: 22
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
DrNegatlve is not online. DrNegatlve
Joined: 30 Jan 2012
Total Posts: 22
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
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
16 Feb 2012 06:42 PM
Ok thank you, but whats the Gravaty for normal Humanoids, do i put it 0?
Report Abuse
tiger33333321 is not online. tiger33333321
Joined: 28 Mar 2010
Total Posts: 2115
16 Feb 2012 06:51 PM
normally it's 0

http://www.roblox.com/My/Groups.aspx?gid=80738
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
16 Feb 2012 07:03 PM
The script doesn't work
Report Abuse
Rukiryo is not online. 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 is not online. 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
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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