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: How do I change the height of this?

Previous Thread :: Next Thread 
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
16 Oct 2012 04:18 PM
function spn(NewP)
Part = Instance.new("Part")
Part.Name = "Hat"
script.Mesh:clone().Parent = Part
w = Instance.new("Weld")
w.Parent = NewP.Character.Head
w.Part0 = w.Parent
w.Part1 = Part
end


How do I change how high the hat can go? Like in CFrame?
Report Abuse
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
16 Oct 2012 04:32 PM
Please... I know it must be an easy edit...
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
16 Oct 2012 04:44 PM
Weld's have two CFrame properties
C0 and C1
I'd stick to C0, so just mess about with that.
Report Abuse
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
16 Oct 2012 05:18 PM
No I mean using CFrame to move the weld up, which inturn would move the Part up.
Report Abuse
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
16 Oct 2012 05:31 PM
Bump
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
16 Oct 2012 05:33 PM
Change the Size then move it up with CFrame?
Report Abuse
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
16 Oct 2012 05:39 PM
Yes an example of moving up with CFrame is what I need.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
16 Oct 2012 05:41 PM
part.CFrame = part.CFrame + CFrame.new(0,1,0)

??
Report Abuse
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
16 Oct 2012 05:54 PM
@Death That didn't work. I need some way to move a weld up.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
16 Oct 2012 06:26 PM
Don't repost pl0x.

-------------------------
~thedestroyer115, http://www.roblox.com/String-Word-Randomizer-item?id=94754887~
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
17 Oct 2012 01:14 AM
Buddy, I explained.

Weld.C0 = Weld.C0*CFrame.new(0,1,0)
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