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 » Scripters
Home Search
 

Re: Can't jump with Custom Character.

Previous Thread :: Next Thread 
Egzekiel is not online. Egzekiel
Joined: 10 Jan 2011
Total Posts: 1079
02 Oct 2015 01:59 PM
Yo guys, i'm currently making a custom sonic character, the model is good, the joints are good, but i can't jump when i control it, it's like it's in FreeFalling in permanence.
Any ways to be able to jump ?

If you want to check by yourself, go here:
http://www.roblox.com/games/217016722/Egzekiels-Place-Number-10
Report Abuse
CaptainGector is not online. CaptainGector
Joined: 02 May 2014
Total Posts: 487
02 Oct 2015 02:04 PM
Get tix from us is all well and good, by how about posting the code that allows the control from another player?
Report Abuse
Subcommittee is not online. Subcommittee
Joined: 28 Dec 2010
Total Posts: 9347
02 Oct 2015 02:08 PM
how 2 be sanic

DermonDarble is rekt
Report Abuse
Egzekiel is not online. Egzekiel
Joined: 10 Jan 2011
Total Posts: 1079
02 Oct 2015 02:08 PM
Getting Tix? LOL that joke.
I don't need people to visit this place to get tix but for them to actually see.
Also, i don't really think it's a problem with the character switching script, but if you want to see it, here (Yes it's a free model, too lazy to make one):

local fakeChar = game.ServerStorage.CustomCharacter -- The character to load
local respawnTime = 2.5 -- How many seconds the player remains dead before they respawn

game.Players.CharacterAutoLoads = false -- Disable default character loading

function playerAdded(player)
if player.Character and player.Character.Parent then -- Destroy an already-existing character
player.Character:Destroy()
end

while player.Parent do -- Repeat until they leave the game
loadChar(player) -- Method waits until they die
wait(respawnTime)
end
end

function loadChar(player)
local char = fakeChar:clone()
char.Name = player.Name
local anim=script.Animate
anim.Parent=char
--anim.Disabled=false

local humanoid
for i, child in pairs(char:GetChildren()) do -- Find the humanoid
if child.ClassName == "Humanoid" then
humanoid = child
break
end
end

if not humanoid then -- If no humanoid was found, make one
humanoid = Instance.new("Humanoid", char)
end

player.Character = char
char.Parent = game.Workspace
humanoid.Died:wait() -- Wait until they die
end

game.Players.PlayerAdded:connect(playerAdded)

for i, player in pairs(game.Players:GetPlayers()) do -- Play Solo support
if player.Character then
player.Character:Destroy()
end

playerAdded(player)
end
Report Abuse
IllegallyBlind is not online. IllegallyBlind
Joined: 07 Nov 2010
Total Posts: 1691
02 Oct 2015 02:13 PM
with a custom character, either:

make jump true on the humanoid (im pretty sure that makes it jump)
or use bodyforce


i make u math.sqrt()
Report Abuse
laneclot is not online. laneclot
Joined: 29 May 2011
Total Posts: 1
26 Aug 2017 10:14 AM
I changed the hip height to a value that is just barely touching the floor. If its tool low then the character isn't going anywhere.
Report Abuse
dragonzlayer80 is not online. dragonzlayer80
Joined: 03 May 2013
Total Posts: 1460
02 Dec 2017 01:08 PM
Is the HumanoidRootPart unanchored?


#code print ('folow ur dreams. fast. ~sanic)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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