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: Weld freezing character

Previous Thread :: Next Thread 
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 08:53 PM
I have a weld that I want to use to weld a part to a character's torso. When I do this however, it freezes the character:

local weld = Instance.new("ManualWeld", brick)
weld.Part0 = brick
weld.Part1 = char.Torso
weld.C0 = brick.CFrame:inverse() * char.Torso.CFrame
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
11 Aug 2016 08:55 PM
parent the weld at the end
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 08:59 PM
local weld = Instance.new("ManualWeld")
weld.Part0 = brick
weld.Part1 = char.Torso
weld.C0 = brick.CFrame:inverse() * char.Torso.CFrame
weld.Parent = brick

Still doesn't work
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 09:07 PM
b
Report Abuse
Fangous is not online. Fangous
Joined: 03 Jul 2010
Total Posts: 4448
11 Aug 2016 09:09 PM
is the brick anchored?
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 09:12 PM
Nope
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 09:24 PM
b
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
11 Aug 2016 10:06 PM
Is the brick attaching itself via surface welds and such?
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 10:48 PM
No, I'm using a weld instance.
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
11 Aug 2016 11:06 PM
either is anchored or welded to something that is anchored or attached
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 11:09 PM
It's not either anchored nor attached to another part...
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 11:09 PM
All I want it to do is attach to a character's torso...
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
11 Aug 2016 11:09 PM
anchor both parts, weld, unanchor

also make sure that the other part has all surfaces to unjoinable or it might auto connect/join to any other objects it is touching automatically because of roblox surfaces
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 11:23 PM
Still doesn't work
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
11 Aug 2016 11:24 PM
try a Motor6D
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
11 Aug 2016 11:53 PM
Motor6D...?

https://www.youtube.com/watch?v=eBMWLUAgNMs

That's the vid that works kind of like I want mine to. I copied it EXACTLY and it's STILL not working...
Report Abuse
Probix is not online. Probix
Joined: 03 Nov 2012
Total Posts: 68
12 Aug 2016 01:11 AM
I have the same problem! I'm pretty sure it's some glitch.
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
12 Aug 2016 01:15 PM
Ok so since my code isn't working, can anyone give us some code that DOES work?
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
12 Aug 2016 01:26 PM
I changed the parent of the brick from the character to workspace and it let them move around, however when they jump, the brick freezes. Why does this happen?
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
12 Aug 2016 01:29 PM
Never mind, I had a body velocity in the brick fsr... Sorry :P
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
12 Aug 2016 01:30 PM
Thanks everyone for helping!
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