SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Fenrier's Armor created by: | |
3 | Fenrier: Everything | |
4 | Xionic Madness: Inspiration | |
5 | If you're gonna steal this, then please I ask you. Please don't forum,free model, give | |
6 | away, or anything like that to this script. Thank you very much :) | |
7 | ]] | |
8 | - | Player = game:GetService("Players").DevSersponge |
8 | + | Player = game:GetService("Players").silver22352 |
9 | Character = Player.Character | |
10 | PlayerGui = Player.PlayerGui | |
11 | Backpack = Player.Backpack | |
12 | Torso = Character.Torso | |
13 | Head = Character.Head | |
14 | LeftArm = Character["Left Arm"] | |
15 | LeftLeg = Character["Left Leg"] | |
16 | RightArm = Character["Right Arm"] | |
17 | RightLeg = Character["Right Leg"] | |
18 | walking=false | |
19 | animating=false | |
20 | it=Instance.new | |
21 | vt=Vector3.new | |
22 | cf=CFrame.new | |
23 | euler=CFrame.fromEulerAnglesXYZ | |
24 | angles=CFrame.Angles | |
25 | script.Parent=Character | |
26 | ||
27 | if Character:findFirstChild("Cervical Armor",true) ~= nil then | |
28 | Character:findFirstChild("Cervical Armor",true).Parent = nil | |
29 | end | |
30 | ||
31 | if Player.userId ~= 103546661 then | |
32 | script.Parent = Character | |
33 | local h = it("Hint") | |
34 | h.Parent = workspace | |
35 | h.Text = "UR NOT FEN!" | |
36 | wait(1) | |
37 | h.Text = "U MUST DAI!!" | |
38 | wait(0.5) | |
39 | if Character:findFirstChild("ForceField") ~= nil then | |
40 | Character:findFirstChild("ForceField").Parent = nil | |
41 | end | |
42 | Character:BreakJoints() | |
43 | local m = it("Explosion") | |
44 | m.Parent = workspace | |
45 | m.Position = Torso.Position | |
46 | wait(3) | |
47 | h.Parent = nil | |
48 | script.Parent = nil | |
49 | wait(9001) | |
50 | while true do | |
51 | wait() | |
52 | end | |
53 | end | |
54 | ||
55 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
56 | local fp = it("Part") | |
57 | fp.formFactor = formfactor | |
58 | fp.Parent = parent | |
59 | fp.Reflectance = reflectance | |
60 | fp.Transparency = transparency | |
61 | fp.CanCollide = false | |
62 | fp.BrickColor = brickcolor | |
63 | fp.Name = name | |
64 | fp.Size = size | |
65 | fp.Position = Torso.Position | |
66 | fp.BottomSurface="Smooth" | |
67 | fp.TopSurface="Smooth" | |
68 | fp.Locked=true | |
69 | fp:BreakJoints() | |
70 | return fp | |
71 | end | |
72 | ||
73 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
74 | local mesh = it(Mesh) | |
75 | mesh.Parent = part | |
76 | if Mesh=="SpecialMesh" then | |
77 | mesh.MeshType = meshtype | |
78 | mesh.MeshId = meshid | |
79 | end | |
80 | mesh.Offset=offset | |
81 | mesh.Scale=scale | |
82 | return mesh | |
83 | end | |
84 | ||
85 | function weld(parent,part0,part1,cframe) | |
86 | local weld = it("Weld") | |
87 | weld.Parent = parent | |
88 | weld.Part0 = part0 | |
89 | weld.Part1 = part1 | |
90 | weld.C0 = cframe | |
91 | return weld | |
92 | end | |
93 | ||
94 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants | |
95 | return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
96 | end | |
97 | ||
98 | print("Tis be Fen's armor, not yours.") | |
99 | ||
100 | --EfPart = part(1,modelzorz,0,1,BrickColor.new("Derp"),"EffectPart",vt(1,1,1)) | |
101 | local modelzorz = it("Model") | |
102 | modelzorz.Name = "Cervical Armor" | |
103 | modelzorz.Parent = Character | |
104 | ||
105 | scarfp1=part(1,modelzorz,0,0,BrickColor.new("Navy blue"),"ScarfPart1",vt(1,1,1)) | |
106 | refpart=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"ReferencePart",vt(1,1,1)) | |
107 | scarfp2=part(1,modelzorz,0,0,BrickColor.new("Navy blue"),"ScarfPart2",vt(1,1,1)) | |
108 | scarfp2.Anchored=true | |
109 | scarfp3=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"ScarfPart3",vt(1,1,1)) | |
110 | scarfp3.Anchored=true | |
111 | modelzorz:BreakJoints() | |
112 | ||
113 | scarfm1=mesh("SpecialMesh",scarfp1,"Head","",vt(0,0,0),vt(1.5,0.7,1.5)) | |
114 | scarfm2=mesh("CylinderMesh",scarfp2,"","",vt(0,0,0),vt(0.5,2,0.5)) | |
115 | scarfm3=mesh("CylinderMesh",scarfp3,"","",vt(0,0,0),vt(0.5,1.2,0.5)) | |
116 | ||
117 | local weld1 = it("Weld") | |
118 | weld1.Parent = scarfp1 | |
119 | weld1.Part0 = scarfp1 | |
120 | weld1.Part1 = Torso | |
121 | weld1.C0 = euler(0,0,0) * cf(0,-1,0) | |
122 | local refweld = it("Weld") | |
123 | refweld.Parent = scarfp1 | |
124 | refweld.Part0 = scarfp1 | |
125 | refweld.Part1 = refpart | |
126 | refweld.C0 = euler(0,0,0) * cf(0.5,0,0.5) | |
127 | ||
128 | --[[hpart1=part(1,modelzorz,0,0,BrickColor.new("Navy blue"),"HeadPart1",vt(1,1,1)) | |
129 | hpart2=part(1,modelzorz,0,0,BrickColor.new("Navy blue"),"HeadPart2",vt(1,1,1)) | |
130 | hpart3=part(1,modelzorz,0,0,BrickColor.new("Really black"),"HeadPart3",vt(1,1,1)) | |
131 | hpart4=part(1,modelzorz,0.5,0.3,BrickColor.new("Camo"),"HeadPart4",vt(1,1,1)) | |
132 | hpart5=part(1,modelzorz,0,0,BrickColor.new("Really black"),"HeadPart5",vt(1,1,1)) | |
133 | hpart6=part(1,modelzorz,0.5,0.3,BrickColor.new("Camo"),"HeadPart6",vt(1,1,1)) | |
134 | hpart7=part(1,modelzorz,0,0,BrickColor.new("Really black"),"HeadPart7",vt(1,1,1)) | |
135 | hpart8=part(1,modelzorz,0.5,0.3,BrickColor.new("Camo"),"HeadPart8",vt(1,1,1)) | |
136 | hpart9=part(1,modelzorz,0,0,BrickColor.new("Really black"),"HeadPart9",vt(1,1,1)) | |
137 | hpart10=part(1,modelzorz,0.5,0.3,BrickColor.new("Camo"),"HeadPart10",vt(1,1,1)) | |
138 | hpart11=part(1,modelzorz,0,0,BrickColor.new("Navy blue"),"HeadPart11",vt(1,1,1)) | |
139 | hpart12=part(1,modelzorz,0,0,BrickColor.new("Navy blue"),"HeadPart12",vt(1,1,1)) | |
140 | hpart13=part(1,modelzorz,0,0,BrickColor.new("Navy blue"),"HeadPart13",vt(1,1,1)) | |
141 | ||
142 | hmesh1=mesh("BlockMesh",hpart1,"","",vt(0,0,0),vt(0.7,0.5,0.2)) | |
143 | hmesh2=mesh("BlockMesh",hpart2,"","",vt(0,0,0),vt(0.7,0.5,0.2)) | |
144 | hmesh3=mesh("BlockMesh",hpart3,"","",vt(0,0,0),vt(0.4,0.1,0.2)) | |
145 | hmesh4=mesh("BlockMesh",hpart4,"","",vt(0,0,0),vt(0.2,0.05,0.21)) | |
146 | hmesh5=mesh("BlockMesh",hpart5,"","",vt(0,0,0),vt(0.4,0.1,0.2)) | |
147 | hmesh6=mesh("BlockMesh",hpart6,"","",vt(0,0,0),vt(0.2,0.05,0.21)) | |
148 | hmesh7=mesh("BlockMesh",hpart7,"","",vt(0,0,0),vt(0.4,0.1,0.2)) | |
149 | hmesh8=mesh("BlockMesh",hpart8,"","",vt(0,0,0),vt(0.2,0.05,0.21)) | |
150 | hmesh9=mesh("BlockMesh",hpart9,"","",vt(0,0,0),vt(0.4,0.1,0.2)) | |
151 | hmesh10=mesh("BlockMesh",hpart10,"","",vt(0,0,0),vt(0.2,0.05,0.21)) | |
152 | hmesh11=mesh("BlockMesh",hpart11,"","",vt(0,0,0),vt(0.3,0.5,0.2)) | |
153 | hmesh12=mesh("BlockMesh",hpart12,"","",vt(0,0,0),vt(0.3,0.5,0.2)) | |
154 | hmesh13=mesh("BlockMesh",hpart13,"","",vt(0,0,0),vt(1,0.2,1)) | |
155 | ||
156 | local hweld1=weld(hpart1,hpart1,Head,euler(0,0.4,0) * cf(-0.3,-0.2,0.5)) | |
157 | local hweld2 = it("Weld") | |
158 | hweld2.Parent = hpart2 | |
159 | hweld2.Part0 = hpart2 | |
160 | hweld2.Part1 = Head | |
161 | hweld2.C0 = euler(0,-0.4,0) * cf(0.3,-0.2,0.5) | |
162 | local hweld3 = it("Weld") | |
163 | hweld3.Parent = hpart3 | |
164 | hweld3.Part0 = hpart3 | |
165 | hweld3.Part1 = hpart1 | |
166 | hweld3.C0 = euler(0,0,-0.1) * cf(0.15,-0.1,0.01) | |
167 | local hweld4 = it("Weld") | |
168 | hweld4.Parent = hpart4 | |
169 | hweld4.Part0 = hpart4 | |
170 | hweld4.Part1 = hpart3 | |
171 | hweld4.C0 = euler(0,0,0) * cf(0,0,0) | |
172 | local hweld5 = it("Weld") | |
173 | hweld5.Parent = hpart5 | |
174 | hweld5.Part0 = hpart5 | |
175 | hweld5.Part1 = hpart1 | |
176 | hweld5.C0 = euler(0,0,-0.1) * cf(0.15,0.1,0.01) | |
177 | local hweld6 = it("Weld") | |
178 | hweld6.Parent = hpart6 | |
179 | hweld6.Part0 = hpart6 | |
180 | hweld6.Part1 = hpart5 | |
181 | hweld6.C0 = euler(0,0,0) * cf(0,0,0) | |
182 | local hweld7 = it("Weld") | |
183 | hweld7.Parent = hpart7 | |
184 | hweld7.Part0 = hpart7 | |
185 | hweld7.Part1 = hpart2 | |
186 | hweld7.C0 = euler(0,0,0.1) * cf(-0.15,-0.1,0.01) | |
187 | local hweld8 = it("Weld") | |
188 | hweld8.Parent = hpart8 | |
189 | hweld8.Part0 = hpart8 | |
190 | hweld8.Part1 = hpart7 | |
191 | hweld8.C0 = euler(0,0,0) * cf(0,0,0) | |
192 | local hweld9 = it("Weld") | |
193 | hweld9.Parent = hpart9 | |
194 | hweld9.Part0 = hpart9 | |
195 | hweld9.Part1 = hpart2 | |
196 | hweld9.C0 = euler(0,0,0.1) * cf(-0.15,0.1,0.01) | |
197 | local hweld10 = it("Weld") | |
198 | hweld10.Parent = hpart10 | |
199 | hweld10.Part0 = hpart10 | |
200 | hweld10.Part1 = hpart9 | |
201 | hweld10.C0 = euler(0,0,0) * cf(0,0,0) | |
202 | local hweld11 = it("Weld") | |
203 | hweld11.Parent = hpart11 | |
204 | hweld11.Part0 = hpart11 | |
205 | hweld11.Part1 = hpart1 | |
206 | hweld11.C0 = euler(0,0,0) * cf(0.2,-0.2,0) | |
207 | local hweld12 = it("Weld") | |
208 | hweld12.Parent = hpart12 | |
209 | hweld12.Part0 = hpart12 | |
210 | hweld12.Part1 = hpart2 | |
211 | hweld12.C0 = euler(0,0,0) * cf(-0.2,-0.2,0) | |
212 | local hweld13 = it("Weld") | |
213 | hweld13.Parent = hpart13 | |
214 | hweld13.Part0 = hpart13 | |
215 | hweld13.Part1 = Head | |
216 | hweld13.C0 = euler(0,0,0) * cf(0,-0.7,0) ]] | |
217 | ||
218 | ||
219 | tpart1=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"TorsoPart1",vt(1,1,1)) | |
220 | tpart2=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart2",vt(1,1,1)) | |
221 | tpart3=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart3",vt(1,1,1)) | |
222 | tpart4=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart4",vt(1,1,1)) | |
223 | tpart5=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart5",vt(1,1,1)) | |
224 | tpart6=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart6",vt(1,1,1)) | |
225 | tpart7=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart7",vt(1,1,1)) | |
226 | tpart8=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart8",vt(1,1,1)) | |
227 | tpart9=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart9",vt(1,1,1)) | |
228 | tpart10=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart10",vt(1,1,1)) | |
229 | tpart11=part(1,modelzorz,0,0,BrickColor.new("Black"),"TorsoPart11",vt(1,1,1)) | |
230 | ||
231 | tmesh1=mesh("BlockMesh",tpart1,"","",vt(0,0,0),vt(2.01,1.67,1.01)) | |
232 | tmesh2=mesh("BlockMesh",tpart2,"","",vt(0,0,0),vt(2.1,0.4,1.1)) | |
233 | tmesh3=mesh("BlockMesh",tpart3,"","",vt(0,0,0),vt(0.7,0.5,1)) | |
234 | tmesh4=mesh("BlockMesh",tpart4,"","",vt(0,0,0),vt(0.7,0.5,1)) | |
235 | tmesh5=mesh("SpecialMesh",tpart5,"Wedge","",vt(0,0,0),vt(1,0.5,0.3)) | |
236 | tmesh6=mesh("SpecialMesh",tpart6,"Wedge","",vt(0,0,0),vt(1,0.5,0.3)) | |
237 | tmesh7=mesh("BlockMesh",tpart7,"","",vt(0,0,0),vt(0.6,0.5,1)) | |
238 | tmesh8=mesh("BlockMesh",tpart8,"","",vt(0,0,0),vt(0.6,0.5,1)) | |
239 | tmesh9=mesh("BlockMesh",tpart9,"","",vt(0,0,0),vt(1.9,1,1)) | |
240 | tmesh10=mesh("BlockMesh",tpart10,"","",vt(0,0,0),vt(1.6,0.7,1)) | |
241 | tmesh11=mesh("BlockMesh",tpart11,"","",vt(0,0,0),vt(2.1,0.4,1.1)) | |
242 | ||
243 | tweld1=weld(tpart1,tpart1,Torso,euler(0,0,0) * cf(0,0,0)) | |
244 | tweld2=weld(tpart2,tpart2,tpart1,euler(0,0,0) * cf(0,-0.8,0)) | |
245 | tweld3=weld(tpart3,tpart3,tpart2,euler(0,0,0) * cf(0.7,0.5,0.05)) | |
246 | tweld4=weld(tpart4,tpart4,tpart2,euler(0,0,0) * cf(-0.7,0.5,0.05)) | |
247 | tweld5=weld(tpart5,tpart5,tpart2,euler(1.57,-1.57,0) * cf(-0.75,0.9,0.05)) | |
248 | tweld6=weld(tpart6,tpart6,tpart2,euler(1.57,1.57,0) * cf(0.75,0.9,0.05)) | |
249 | tweld7=weld(tpart7,tpart7,tpart2,euler(0,0,0.7) * cf(-0.4,0.25,0.05)) | |
250 | tweld8=weld(tpart8,tpart8,tpart2,euler(0,0,0.7) * cf(0.4,0.25,0.05)) | |
251 | tweld9=weld(tpart9,tpart9,tpart2,euler(0,0,0) * cf(0,0.5,-0.05)) | |
252 | tweld10=weld(tpart10,tpart10,tpart1,euler(0,0,0) * cf(0,0.7,-0.05)) | |
253 | tweld11=weld(tpart11,tpart11,tpart1,euler(0,0,0) * cf(0,0.8,0)) | |
254 | ||
255 | inc=-1 | |
256 | for i=1,13 do | |
257 | inc=inc+0.15 | |
258 | prt=part(1,modelzorz,0,1,BrickColor.new("Really black"),"Part",vt(1,1,1)) | |
259 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(2.02,0.03,1.02)) | |
260 | wld=weld(prt,prt,tpart1,euler(0,0,0) * cf(0,inc,0)) | |
261 | end | |
262 | ||
263 | rapart1=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"RightArmPart1",vt(1,1,1)) | |
264 | rapart2=part(1,modelzorz,0,0,BrickColor.new("Black"),"RightArmPart2",vt(1,1,1)) | |
265 | rapart3=part(1,modelzorz,0,0,BrickColor.new("Black"),"RightArmPart3",vt(1,1,1)) | |
266 | rapart4=part(1,modelzorz,0,0,BrickColor.new("Black"),"RightArmPart4",vt(1,1,1)) | |
267 | rapart5=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"RightArmPart5",vt(1,1,1)) | |
268 | rapart6=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"RightArmPart6",vt(1,1,1)) | |
269 | --rapart7=part(1,modelzorz,0,0,BrickColor.new("Black"),"RightArmPart7",vt(1,1,1)) | |
270 | ||
271 | ramesh1=mesh("BlockMesh",rapart1,"","",vt(0,0,0),vt(1.01,1.67,1.01)) | |
272 | ramesh2=mesh("BlockMesh",rapart2,"","",vt(0,0,0),vt(0.7,1.3,0.3)) | |
273 | ramesh3=mesh("BlockMesh",rapart3,"","",vt(0,0,0),vt(1.1,0.7,0.3)) | |
274 | ramesh4=mesh("SpecialMesh",rapart4,"Head","",vt(0,0,0),vt(1.3,0.7,1.3)) | |
275 | ramesh5=mesh("SpecialMesh",rapart5,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(1.2,1.2,2)) | |
276 | ramesh6=mesh("SpecialMesh",rapart6,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(1.2,1.2,2)) | |
277 | --ramesh7=mesh("SpecialMesh",rapart7,"Wedge","",vt(0,0,0),vt(1,0.5,1.8)) | |
278 | ||
279 | raweld1=weld(rapart1,rapart1,RightArm,euler(0,0,0) * cf(0,0,0)) | |
280 | raweld2=weld(rapart2,rapart2,rapart1,euler(0,0,0) * cf(-0.2,0.3,0)) | |
281 | raweld3=weld(rapart3,rapart3,rapart1,euler(0,1.57,0) * cf(0,0.7,0)) | |
282 | raweld4=weld(rapart4,rapart4,rapart1,euler(0,0,0) * cf(-0.1,0.3,0)) | |
283 | raweld5=weld(rapart5,rapart5,rapart1,euler(1.57,0,-0.5) * cf(-0.2,-0.1,0)) | |
284 | raweld6=weld(rapart6,rapart6,rapart1,euler(1.57,0,-0.5) * cf(-0.2,-0.5,0)) | |
285 | --raweld7=weld(rapart7,rapart7,tpart1,euler(0,1.57,-0.5) * cf(-1.5,-1.3,0)) | |
286 | ||
287 | lapart1=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"LeftArmPart1",vt(1,1,1)) | |
288 | lapart2=part(1,modelzorz,0,0,BrickColor.new("Black"),"LeftArmPart2",vt(1,1,1)) | |
289 | lapart3=part(1,modelzorz,0,0,BrickColor.new("Black"),"LeftArmPart3",vt(1,1,1)) | |
290 | lapart4=part(1,modelzorz,0,0,BrickColor.new("Black"),"LeftArmPart4",vt(1,1,1)) | |
291 | lapart5=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"LeftArmPart5",vt(1,1,1)) | |
292 | lapart6=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"LeftArmPart6",vt(1,1,1)) | |
293 | --lapart7=part(1,modelzorz,0,0,BrickColor.new("Black"),"LeftArmPart7",vt(1,1,1)) | |
294 | ||
295 | lamesh1=mesh("BlockMesh",lapart1,"","",vt(0,0,0),vt(1.01,1.67,1.01)) | |
296 | lamesh2=mesh("BlockMesh",lapart2,"","",vt(0,0,0),vt(0.7,1.3,0.3)) | |
297 | lamesh3=mesh("BlockMesh",lapart3,"","",vt(0,0,0),vt(1.1,0.7,0.3)) | |
298 | lamesh4=mesh("SpecialMesh",lapart4,"Head","",vt(0,0,0),vt(1.3,0.7,1.3)) | |
299 | lamesh5=mesh("SpecialMesh",lapart5,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(1.2,1.2,2)) | |
300 | lamesh6=mesh("SpecialMesh",lapart6,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(1.2,1.2,2)) | |
301 | --lamesh7=mesh("SpecialMesh",lapart7,"Wedge","",vt(0,0,0),vt(1,0.5,1.8)) | |
302 | ||
303 | laweld1=weld(lapart1,lapart1,LeftArm,euler(0,0,0) * cf(0,0,0)) | |
304 | laweld2=weld(lapart2,lapart2,lapart1,euler(0,0,0) * cf(0.2,0.3,0)) | |
305 | laweld3=weld(lapart3,lapart3,lapart1,euler(0,1.57,0) * cf(0,0.7,0)) | |
306 | laweld4=weld(lapart4,lapart4,lapart1,euler(0,0,0) * cf(0.1,0.3,0)) | |
307 | laweld5=weld(lapart5,lapart5,lapart1,euler(1.57,0,0.5) * cf(0.2,-0.1,0)) | |
308 | laweld6=weld(lapart6,lapart6,lapart1,euler(1.57,0,0.5) * cf(0.2,-0.5,0)) | |
309 | --laweld7=weld(lapart7,lapart7,tpart1,euler(0,-1.57,0.5) * cf(1.5,-1.3,0)) | |
310 | ||
311 | llpart1=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"LeftLegPart1",vt(1,1,1)) | |
312 | llpart2=part(1,modelzorz,0,0,BrickColor.new("Black"),"LeftLegPart2",vt(1,1,1)) | |
313 | llpart3=part(1,modelzorz,0,0,BrickColor.new("Black"),"LeftLegPart3",vt(1,1,1)) | |
314 | llpart4=part(1,modelzorz,0,0,BrickColor.new("Black"),"LeftLegPart4",vt(1,1,1)) | |
315 | llpart5=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"LeftLegPart5",vt(1,1,1)) | |
316 | ||
317 | llmesh1=mesh("BlockMesh",llpart1,"","",vt(0,0,0),vt(1.01,1.67,1.01)) | |
318 | llmesh2=mesh("BlockMesh",llpart2,"","",vt(0,0,0),vt(1.01,0.5,1.01)) | |
319 | llmesh3=mesh("BlockMesh",llpart3,"","",vt(0,0,0),vt(0.5,0.6,1.01)) | |
320 | llmesh4=mesh("BlockMesh",llpart4,"","",vt(0,0,0),vt(0.99,1,1.01)) | |
321 | llmesh5=mesh("SpecialMesh",llpart5,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(1.2,1.2,2)) | |
322 | ||
323 | llweld1=weld(llpart1,llpart1,LeftLeg,euler(0,0,0) * cf(0,0,0)) | |
324 | llweld2=weld(llpart2,llpart2,llpart1,euler(0,0,0) * cf(0,0,0.05)) | |
325 | llweld3=weld(llpart3,llpart3,llpart1,euler(0,0,0) * cf(0,0.6,0.05)) | |
326 | llweld4=weld(llpart4,llpart4,llpart1,euler(0,0,0) * cf(0,0.3,-0.05)) | |
327 | llweld5=weld(llpart5,llpart5,llpart1,euler(1.57,0,0.5) * cf(0.3,-0.1,0)) | |
328 | ||
329 | rlpart1=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"RightLegPart1",vt(1,1,1)) | |
330 | rlpart2=part(1,modelzorz,0,0,BrickColor.new("Black"),"RightLegPart2",vt(1,1,1)) | |
331 | rlpart3=part(1,modelzorz,0,0,BrickColor.new("Black"),"RightLegPart3",vt(1,1,1)) | |
332 | rlpart4=part(1,modelzorz,0,0,BrickColor.new("Black"),"RightLegPart4",vt(1,1,1)) | |
333 | rlpart5=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"RightLegPart5",vt(1,1,1)) | |
334 | ||
335 | rlmesh1=mesh("BlockMesh",rlpart1,"","",vt(0,0,0),vt(1.01,1.67,1.01)) | |
336 | rlmesh2=mesh("BlockMesh",rlpart2,"","",vt(0,0,0),vt(1.01,0.5,1.01)) | |
337 | rlmesh3=mesh("BlockMesh",rlpart3,"","",vt(0,0,0),vt(0.5,0.6,1.01)) | |
338 | rlmesh4=mesh("BlockMesh",rlpart4,"","",vt(0,0,0),vt(0.99,1,1.01)) | |
339 | rlmesh5=mesh("SpecialMesh",rlpart5,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(1.2,1.2,2)) | |
340 | ||
341 | rlweld1=weld(rlpart1,rlpart1,RightLeg,euler(0,0,0) * cf(0,0,0)) | |
342 | rlweld2=weld(rlpart2,rlpart2,rlpart1,euler(0,0,0) * cf(0,0,0.05)) | |
343 | rlweld3=weld(rlpart3,rlpart3,rlpart1,euler(0,0,0) * cf(0,0.6,0.05)) | |
344 | rlweld4=weld(rlpart4,rlpart4,rlpart1,euler(0,0,0) * cf(0,0.3,-0.05)) | |
345 | rlweld5=weld(rlpart5,rlpart5,rlpart1,euler(1.57,0,-0.5) * cf(-0.3,-0.1,0)) | |
346 | ||
347 | ||
348 | testpart=part(1,modelzorz,0,1,BrickColor.new("Navy blue"),"Testy",vt(1,1,1)) | |
349 | testpart.Anchored=true | |
350 | ||
351 | bod = it("BodyPosition") | |
352 | bod.position = scarfp2.Position | |
353 | bod.Parent = scarfp2 | |
354 | bod.maxForce = vt(4e+080, 4e+080, 4e+080) | |
355 | ||
356 | print("NEIN.") | |
357 | coroutine.resume(coroutine.create(function() | |
358 | while true do | |
359 | walking=true | |
360 | if walking==true then | |
361 | bod.position = (cf(refpart.Position, testpart.Position)).p | |
362 | scarfp2.CFrame = cf(refpart.Position, testpart.Position) *cf(0,0,0) | |
363 | scarfp2.CFrame = scarfp2.CFrame + scarfp2.CFrame.lookVector * 0.5 | |
364 | scarfp2.CFrame = scarfp2.CFrame * cf(0,0,-0.5) * euler(1.57,0,0) | |
365 | mainCF=scarfp2.CFrame | |
366 | if animating==false then scarfp3.CFrame = mainCF * cf(0,0.9,-0.5) * euler(0.5,0,0) end | |
367 | coroutine.resume(coroutine.create(function() | |
368 | if animating==false then | |
369 | animating=true | |
370 | for i=0,1,0.1 do | |
371 | wait() | |
372 | scarfp3.CFrame = mainCF * cf(0,1,-0.5+0.6*i) * euler(0.15-0.3*i,0,0) | |
373 | end | |
374 | for i=0,1,0.1 do | |
375 | wait() | |
376 | scarfp3.CFrame = mainCF * cf(0,1,-0.5+0.6-0.6*i) * euler(0.15-0.3+0.3*i,0,0) | |
377 | end | |
378 | animating=false | |
379 | end | |
380 | end)) | |
381 | end | |
382 | wait(0) | |
383 | end | |
384 | end)) | |
385 | for i=0,1,0.1 do | |
386 | wait() | |
387 | Character.Humanoid.MaxHealth=300 | |
388 | Character.Humanoid.Health=300 | |
389 | end | |
390 | while true do | |
391 | wait() | |
392 | for i=0,1,0.1 do | |
393 | wait() | |
394 | testpart.CFrame=cf(refpart.Position-refpart.Velocity) *cf(0,-1,0) | |
395 | end | |
396 | --[[for i=0,1,0.1 do | |
397 | wait() | |
398 | testpart.CFrame=cf(refpart.Position-refpart.Velocity) *cf(0,-5+i*10,0) | |
399 | end]] | |
400 | end | |
401 | ||
402 | -- lego |