|
| 03 Jan 2015 10:08 AM |
Please help me, sorry if im being slave to you but its impossible for me to script myself if i dont know how.
This question is just like how to walk in ROBLOX (yeah it feels like this for good scripters)
So i wanted to change jump height (higher jumping) i found some scripts of it and it didnt work or i dont know where to put them.
I found this and many more but this seems good one:
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) b = Instance.new("BodyForce") b.maxForce = Vector3.new(0,c:getMass()*100,0) b.Parent = c.Torso end) end)
I inserted a script and copy pasted that, it didnt work so i changed few numbers and still didnt work, i put the script in Workspace.
Help me, where should i put the script in? or is it a broken script? |
|
|
| Report Abuse |
|
|
Egzekiel
|
  |
| Joined: 10 Jan 2011 |
| Total Posts: 1079 |
|
|
| 03 Jan 2015 10:14 AM |
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) b = Instance.new("BodyForce") b.maxForce = Vector3.new(0,c:getMass()*100,0) b.velocity=c.Torso.CFrame.lookVector*"Your value here" b.Parent = c.Torso end) end) |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 10:18 AM |
| Where do i put that? Workspace? |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Jan 2015 10:48 AM |
| cmon i just need 1 more question, where do i put that? |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Jan 2015 11:21 AM |
| It's a local script put it in your characters backpack? |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Jan 2015 11:33 AM |
Sorry nothing worked heres what i did
copy paste this in localscript
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) b = Instance.new("BodyForce") b.maxForce = Vector3.new(0,c:getMass()*100,0) b.velocity=c.Torso.CFrame.lookVector*"50" b.Parent = c.Torso end) end)
and put them in starterpack, doesnt work putted them in workspace didnt work put them in starterplayer wont let me
what should i do? jumping height is the part of my game |
|
|
| Report Abuse |
|
|
| |
|
| |
|
kakbroek1
|
  |
| Joined: 16 Dec 2013 |
| Total Posts: 136 |
|
|
| 03 Jan 2015 11:49 AM |
| put it in serverscriptservice and if it the dont works you have a wrong script |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 12:11 PM |
Wow it didnt work.
Can someone send me the actual script to jump higher? |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 03 Jan 2015 12:15 PM |
| here ill made a model with jump increase from touch |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 03 Jan 2015 12:23 PM |
here :) http://www.roblox.com/jump-changer-item?id=200104034
all it does is place a script in you that fires when you jump, when it fires it changes your torso velocity |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 12:43 PM |
| Thanks, ill try it anyways. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 12:46 PM |
| Dangit, where do i put those scripts? |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 03 Jan 2015 01:15 PM |
| dude just use my model it does it for you... |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 01:43 PM |
It didnt work :c i tried it didnt do anything, is this because it cannot have speed change in game? i have this script too in game which changes speed:
local speed = 75 -- How fast they need to go. game.Players.PlayerAdded:connect(function(newPlayer) newPlayer.Changed:connect(function(prop) if prop == "Character" then if newPlayer.Character == nil or newPlayer.Character:findFirstChild("Humanoid") == nil then return end newPlayer.Character.Humanoid.WalkSpeed = speed end end) end)
Yes im making a speed run game so i need help, how to jump higher, im very sorry to say your model does nothing but thanks trying to help me. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 01:49 PM |
| dude you don't need a script that complicated just for players to gain speed when they enter. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 01:51 PM |
| OMG NVM THANK YOU VERY MUCH YOUR MODEL WORKED :D HOW COULD YOU MAKE THESE? :O |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 01:57 PM |
Wait a second, this happened to me
i had 75 speed and the model, i jumped too far, i want the character effect like in original speed run |
|
|
| Report Abuse |
|
|
goro7
|
  |
| Joined: 01 Jul 2009 |
| Total Posts: 735 |
|
|
| 03 Jan 2015 01:59 PM |
All you do is apply a reverse force that counteracts your players gravity. The gravity in ROBLOX is a force of 192.6. So, if you wanted to have no gravity at all, you would put this script in the player's model:
local mass = 0 local reverseForce = 196.2
for _,a in pairs(script.Parent:GetChildren()) do if a.ClassName == "Part" then mass = mass + a:GetMass() end
local force = Instance.new("BodyForce") force.force = Vector3.new(0,mass*reverseForce,0) force.Parent = script.Parent.Torso
Hope this helped you understand this a bit more! |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2015 02:03 PM |
Nvm case solved.
This thread is closed. |
|
|
| Report Abuse |
|
|