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: I put some welds into the player...

Previous Thread :: Next Thread 
Croclett is not online. Croclett
Joined: 08 Jun 2013
Total Posts: 185
10 Sep 2015 06:42 PM
in the torso to be exact
they were welds between the torso and the arms
was making a sword

now default walking animations are broken (legs don't move, etc)

and I still can't figure out why the LEGS animations are busted, the arms make sense since the welds were for the arms

unless I'm being stupid and am missing something
Report Abuse
Link5659 is not online. Link5659
Joined: 04 Jun 2012
Total Posts: 4525
10 Sep 2015 06:46 PM
remove the welds and put this into a script inside your sword ;3 be sure each part of the sword is anchored tho


function Weld(x,y)
local W = Instance.new("Weld")
W.Part0 = x
W.Part1 = y
local CJ = CFrame.new(x.Position)
local C0 = x.CFrame:inverse()*CJ
local C1 = y.CFrame:inverse()*CJ
W.C0 = C0
W.C1 = C1
W.Parent = x
end

function Get(A)
if A.className == "Part" then
Weld(script.Parent.Handle, A)
A.Anchored = false
else
local C = A:GetChildren()
for i=1, #C do
Get(C[i])
end
end
end

function Finale()
Get(script.Parent)
end

script.Parent.Equipped:connect(Finale)
script.Parent.Unequipped:connect(Finale)
Finale()
Report Abuse
Croclett is not online. Croclett
Joined: 08 Jun 2013
Total Posts: 185
10 Sep 2015 09:20 PM
no im not welding the sword im welding the arms into the default sword holding position for the game
Report Abuse
Croclett is not online. Croclett
Joined: 08 Jun 2013
Total Posts: 185
11 Sep 2015 02:52 PM
b
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