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: Welding a Part to a Player Causes Death

Previous Thread :: Next Thread 
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
21 Oct 2012 12:47 PM
I've been having this problem for over a month, this is the 3rd thread I've made about this - the others got 0 replies... In my game, I have a button that when you click it, it welds a part to your Right Arm. It works in solo mode but it kills my player in multiplayer mode. The only time it ever works in multiplayer mode is when I am on a skateboard.


pbb = game.Lighting.Extras.Ball:Clone()
pb = pbb.Torso
torso = me.Character.Torso
RA = me.Character:FindFirstChild("Right Arm")
pbb.Parent = RA
local r = Instance.new("Weld",RA)
r.Name = "BOO"
r.Part1 = pb
r.Part0 = RA
r.C0 = CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
wait(0.1)
torso:findFirstChild("Right Shoulder").CurrentAngle = 0.25
wait(0.025)
torso:findFirstChild("Right Shoulder").CurrentAngle = 0.5
wait(0.025)
torso:findFirstChild("Right Shoulder").CurrentAngle = 0.75
wait(0.025)
torso:findFirstChild("Right Shoulder").CurrentAngle = 1
wait(0.025)
torso:findFirstChild("Right Shoulder").CurrentAngle = 1.25
wait(0.025)
torso:findFirstChild("Right Shoulder").CurrentAngle = 1.5

wait(0.045)
Report Abuse
mustyoshi is not online. mustyoshi
Top 50 Poster
Joined: 27 Dec 2007
Total Posts: 41651
21 Oct 2012 12:59 PM
Only thing I can think of is you're somehow breaking the weld between the torso and the head, which kills the humanoid.

~Monica mustyoshi mustyoshi mustyoshi mustyoshi
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
21 Oct 2012 01:05 PM
But why does this only kill me in multiplayer mode and not solo mode?
Report Abuse
catgogo5 is online. catgogo5
Joined: 08 Aug 2010
Total Posts: 2661
21 Oct 2012 01:11 PM
i know how to get a weild that unweilds the torso and head but the player himself wont die it's my little secret if you find my script out you could be a headless zombie or headless horseman either way my script wont ever be revealed from me
Report Abuse
catgogo5 is online. catgogo5
Joined: 08 Aug 2010
Total Posts: 2661
21 Oct 2012 01:13 PM
my greatest question is how i made such a script that if you fall apart you dont die or if you die[0 health] you wont respawn that is my question :/
Report Abuse
catgogo5 is online. catgogo5
Joined: 08 Aug 2010
Total Posts: 2661
21 Oct 2012 01:16 PM
my answer to my question is you don't if you die you need to respawn but simply falling apart wont with my script as a matter of fact how can my script work like it does?
Report Abuse
mustyoshi is not online. mustyoshi
Top 50 Poster
Joined: 27 Dec 2007
Total Posts: 41651
21 Oct 2012 01:43 PM
Because solo mode != online...
ROBLOX is whack like that.

~Monica mustyoshi mustyoshi mustyoshi mustyoshi
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
21 Oct 2012 01:43 PM
What was the point of that response? It is in no way constructive...
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
21 Oct 2012 01:44 PM
blegh I hate this D:
thanks anyway yoshi!
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