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: Does this weld work?

Previous Thread :: Next Thread 
millymanks is not online. millymanks
Joined: 26 Jun 2014
Total Posts: 413
25 Jan 2015 07:30 PM
script.Parent.Touched:connect(function(hit)
local h=hit.Parent:findFirstChild("Humanoid")
local weld=Instance.new("Weld")
if h then
script.Parent.Anchored = false
weld.Parent = h.Parent
weld.Part0 = h.Parent.Head
weld.C = CFrame.new = CFrame.new(0,0,0)
weld.Part1 = script.Parent
weld.C1 = CFrame.new = CFrame.new(0,0,0)
end
end)
Report Abuse
millymanks is not online. millymanks
Joined: 26 Jun 2014
Total Posts: 413
25 Jan 2015 07:31 PM
this is my first weld script i wana know if theres any errors. Reply if you know how to fix it idgaf about your opinions.
Report Abuse
millymanks is not online. millymanks
Joined: 26 Jun 2014
Total Posts: 413
26 Jan 2015 08:35 AM
Bump.
Report Abuse
fierydragonkeeper is not online. fierydragonkeeper
Joined: 08 Oct 2012
Total Posts: 1192
26 Jan 2015 08:45 AM
Did you test it?
Report Abuse
millymanks is not online. millymanks
Joined: 26 Jun 2014
Total Posts: 413
26 Jan 2015 09:14 AM
no but my studio is glitchy and 1 error might crash it.
Report Abuse
bigbadbob234 is not online. bigbadbob234
Joined: 26 Mar 2009
Total Posts: 64
26 Jan 2015 10:04 AM

weld.Parent = h.Parent.Head -- doesn't matter a ton, but this is how it's normally done
weld.Part0 = h.Parent.Head
weld.Part1 = script.Parent
weld.C0 = CFrame.new = CFrame.new(0,0,0) -- C0, not C
weld.C1 = CFrame.new = CFrame.new(0,0,0)
Report Abuse
millymanks is not online. millymanks
Joined: 26 Jun 2014
Total Posts: 413
27 Jan 2015 04:24 PM
thx
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