Crythox
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 1188 |
|
|
| 20 Jan 2015 07:08 PM |
local weld = Instance.new("Weld",clone) weld.Part0 = clone weld.Part1 = p.Character.Torso
This works. it clones the flag and welds it to the player's torso. It appears right on the torso. I want to know how to modify it to appear more on the player's back. I forgot how to do this :/ |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 20 Jan 2015 07:10 PM |
Offset it with the C0 property(:
local weld = Instance.new("Weld",clone) weld.Part0 = clone weld.Part1 = p.Character.Torso weld.C0 = CFrame.new(0,0,-4) * CFrame.Angles(math.rad(45),0,0) --Not sure if these are accurate but mess around with them. |
|
|
| Report Abuse |
|
|
Lecturous
|
  |
| Joined: 17 Aug 2013 |
| Total Posts: 1096 |
|
| |
|
Crythox
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 1188 |
|
|
| 20 Jan 2015 07:12 PM |
Ahhh goulsteam! Thank you! I knew about C0 but i forgot if it was like
weld.Part1.C0
or
weld.C0
:P
Thanks :3 |
|
|
| Report Abuse |
|
|
Crythox
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 1188 |
|
|
| 20 Jan 2015 08:13 PM |
Had a power surge and it erased the working code I had. Now when i tried doing it again it didn't position it on the back. I totally forgot the strategy I had. Help??
weld.C0 = CFrame.new(0,0,-8) |
|
|
| Report Abuse |
|
|
Crythox
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 1188 |
|
| |
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 20 Jan 2015 08:22 PM |
| Look at my code again and redo what you did lol |
|
|
| Report Abuse |
|
|
Crythox
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 1188 |
|
|
| 20 Jan 2015 08:23 PM |
It went kerplunk in my mind. All I remember was this line:
CFrame.new(0,0,-8)
Culd you remember for me Dx
That's the CFrame it needs to be set to. |
|
|
| Report Abuse |
|
|
Crythox
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 1188 |
|
|
| 20 Jan 2015 08:44 PM |
Come onnnnnnn I totally forgot how to do it. For those who don't know: I'm trying to fix the C0 property to weld on the player's back using CFrame(0,0,-8) That worked. But I'm not sure how to get it to work again. Here's the line that doesn't work
weld.C0 = CFrame.new(0,0,-8) |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 20 Jan 2015 09:24 PM |
| Scroll up.. it's still on the thread lol |
|
|
| Report Abuse |
|
|