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: Basic Robot Suit?

Previous Thread :: Next Thread 
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
07 May 2016 12:30 PM
Hey guys!

I made a basic model, just a part a little bigger then a torso, and a bubble (a basic part, no mesh) for the head. How should I weld this model to the player on touch?

Thanks!


Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
07 May 2016 12:33 PM
Bump


Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
07 May 2016 12:40 PM
Bumpity bumper cars!

Pretty sure it has to do something with weld, but the suit is a model


Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
07 May 2016 12:42 PM
weld the model together and then weld one part of the model to the torso
Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
07 May 2016 12:54 PM
Need more help, made this script, but it's very glichy. I'm doing it wrong q.q

armor = script.Parent
torso_ = armor.Torso_
head_ = armor.Head_

for _, armorparts in pairs (armor:GetChildren()) do
armorparts.Touched:connect(function(hit)
humanoid = hit.Parent:findFirstChild('Humanoid')
if humanoid then
head = hit.Parent.Head
torso = hit.Parent.Torso
armorparts.CFrame = torso.CFrame * CFrame.new(0,0,0)
weld = Instance.new('Weld')
weld.Part0 = torso
weld.C0 = head.CFrame:inverse()
weld.Part1 = armorparts
weld.C1 = armorparts.CFrame:inverse()
weld.Parent = armorparts
armorparts.Anchored = false

weld2 = Instance.new('Weld')
weld.Part0 = head_
weld.C0 = torso.CFrame:inverse()
weld.Part1 = armorparts
weld.C1 = armorparts.CFrame:inverse()
weld.Parent = armorparts
armorparts.Anchored = false
end
end)
end


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