SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | ||
3 | - | This script has been rejected from my archive |
3 | + | |
4 | - | Reason: Requested by TheDarkRevenant |
4 | + | |
5 | - | put it on pastebin.. now what? |
5 | + | |
6 | local m = game.Players.LocalPlayer | |
7 | - | ]] |
7 | + | |
8 | - | -- Note To Self: Dont Distribute/Redistribute Or Run when TheDarkRevenant is around! |
8 | + | |
9 | local larm = char["Left Arm"] | |
10 | local rarm = char["Right Arm"] | |
11 | local lleg = char["Left Leg"] | |
12 | local rleg = char["Right Leg"] | |
13 | local hed = char.Head | |
14 | local torso = char.Torso | |
15 | local cam = game.Workspace.CurrentCamera | |
16 | local root = char.HumanoidRootPart | |
17 | local deb = false | |
18 | local shot = 0 | |
19 | local l = game.Lighting | |
20 | local stanceToggle = "Landed" | |
21 | local animpose = "Idle" | |
22 | local lastanimpose = "Idle" | |
23 | local shirt = Instance.new("Shirt") | |
24 | local pants = Instance.new("Pants") | |
25 | ||
26 | for i,v in pairs(char:children()) do | |
27 | if v:IsA("Hat") then | |
28 | v:Destroy() | |
29 | end | |
30 | end | |
31 | ||
32 | game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char | |
33 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=91948959" | |
34 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=91947844" | |
35 | ||
36 | ROW = function(out, trans, s, wt, t, ang, plus) | |
37 | for i = 1, 360, 360/t do | |
38 | local c = Instance.new("Part", game.Workspace) | |
39 | c.FormFactor = 3 | |
40 | c.TopSurface = 0 | |
41 | c.BottomSurface = 0 | |
42 | c.Size = s | |
43 | c.Anchored = true | |
44 | c.CanCollide = wt | |
45 | c.Material=workspace.Base.Material | |
46 | c.Transparency = trans | |
47 | c.BrickColor = workspace.Base.BrickColor | |
48 | c.CFrame = CFrame.new(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
49 | c.Locked=true | |
50 | game.Debris:AddItem(c,4+math.random(1,10)/10) | |
51 | end | |
52 | end | |
53 | ||
54 | ||
55 | Part = function(x,y,z,color,tr,cc,an,parent) | |
56 | local p = Instance.new('Part',parent or Weapon) | |
57 | p.formFactor = 'Custom' | |
58 | p.Size = Vector3.new(x,y,z) | |
59 | p.BrickColor = BrickColor.new(color) | |
60 | p.CanCollide = cc | |
61 | p.Transparency = tr | |
62 | p.Anchored = an | |
63 | p.TopSurface,p.BottomSurface = 0,0 | |
64 | p.Locked=true | |
65 | p:BreakJoints() | |
66 | return p end | |
67 | ||
68 | ||
69 | Mesh = function(par,num,x,y,z) | |
70 | local msh = _ | |
71 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
72 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
73 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
74 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
75 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
76 | end msh.Scale = Vector3.new(x,y,z) | |
77 | return msh end | |
78 | ||
79 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
80 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
81 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
82 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
83 | v1,v2,v3=sz.x,sz.y,sz.z | |
84 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
85 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
86 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
87 | a.CFrame=cfr | |
88 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
89 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
90 | for i,v in pairs(workspace:children()) do | |
91 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
92 | if v:findFirstChild("Head") and v:findFirstChild("Torso") then | |
93 | if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= char.Name then | |
94 | local hit=v | |
95 | hit.Humanoid.Health=v.Humanoid.Health-dmg | |
96 | hit.Humanoid.PlatformStand=true | |
97 | hit.Torso.Velocity=Vector3.new(math.random(-100,100),100,math.random(-100,-100)) | |
98 | wait(.1) | |
99 | Spawn(function()wait(2)hit.Humanoid.PlatformStand=false end) | |
100 | end | |
101 | end | |
102 | end | |
103 | end | |
104 | Spawn(function() | |
105 | while wait() do | |
106 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
107 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
108 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
109 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
110 | a.Transparency=a.Transparency+0.05 | |
111 | a2.Transparency=a2.Transparency+0.05 | |
112 | a3.Transparency=a3.Transparency+0.05 | |
113 | end | |
114 | end) | |
115 | end | |
116 | ||
117 | local keyVectors = { | |
118 | w = Vector3.new(0, 0, 1); | |
119 | a = Vector3.new(1, 0, 0); | |
120 | s = Vector3.new(0, 0, -1); | |
121 | d = Vector3.new(-1, 0, 0); | |
122 | } | |
123 | local keysDown = {} | |
124 | local flySpeed = 30 | |
125 | local canFly = false | |
126 | --local flyToggled = false | |
127 | char.Humanoid.WalkSpeed = 5 | |
128 | ---------------------------------------------------- | |
129 | function lerp(a, b, t) -- Linear interpolation | |
130 | return a + (b - a)*t | |
131 | end | |
132 | ||
133 | function slerp(a, b, t) --Spherical interpolation | |
134 | dot = a:Dot(b) | |
135 | if dot > 0.99999 or dot < -0.99999 then | |
136 | return t <= 0.5 and a or b | |
137 | else | |
138 | r = math.acos(dot) | |
139 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
140 | end | |
141 | end | |
142 | ||
143 | function matrixInterpolate(a, b, t) | |
144 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
145 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
146 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
147 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
148 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
149 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
150 | local t = v1:Dot(v2) | |
151 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
152 | return CFrame.new() | |
153 | end | |
154 | return CFrame.new( | |
155 | v0.x, v0.y, v0.z, | |
156 | v1.x, v1.y, v1.z, | |
157 | v2.x, v2.y, v2.z, | |
158 | v3.x, v3.y, v3.z) | |
159 | end | |
160 | ---------------------------------------------------- | |
161 | function genWeld(a,b) | |
162 | local w = Instance.new("Weld",a) | |
163 | w.Part0 = a | |
164 | w.Part1 = b | |
165 | return w | |
166 | end | |
167 | function weld(a, b) | |
168 | local weld = Instance.new("Weld") | |
169 | weld.Name = "W" | |
170 | weld.Part0 = a | |
171 | weld.Part1 = b | |
172 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
173 | weld.Parent = a | |
174 | return weld; | |
175 | end | |
176 | ---------------------------------------------------- | |
177 | Debounces = { | |
178 | on = false; | |
179 | CanAttack = true; | |
180 | NoIdl = false; | |
181 | } | |
182 | ---------------------------------------------------- | |
183 | function Lerp(c1,c2,al) | |
184 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
185 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
186 | for i,v in pairs(com1) do | |
187 | com1[i] = v+(com2[i]-v)*al | |
188 | end | |
189 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
190 | end | |
191 | ----------- | |
192 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
193 | wld = Instance.new("Weld", wp1) | |
194 | wld.Part0 = wp0 | |
195 | wld.Part1 = wp1 | |
196 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
197 | end | |
198 | ----------- | |
199 | function HasntTouched(plrname) | |
200 | local ret = true | |
201 | for _, v in pairs(Touche) do | |
202 | if v == plrname then | |
203 | ret = false | |
204 | end | |
205 | end | |
206 | return ret | |
207 | end | |
208 | ---------------------------- | |
209 | newWeld(torso, larm, -1.5, 0.5, 0) | |
210 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
211 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
212 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
213 | newWeld(torso, hed, 0, 1.5, 0) | |
214 | newWeld(torso, lleg, -0.5, -1, 0) | |
215 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
216 | newWeld(torso, rleg, 0.5, -1, 0) | |
217 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
218 | newWeld(root, torso, 0, -1, 0) | |
219 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
220 | ----------------------------------------------------- | |
221 | --[[l.TimeOfDay = 24 | |
222 | l.Ambient = Color3.new(0.25,0.25,0.25) | |
223 | l.OutdoorAmbient = Color3.new(0.25,0.25,0.25) | |
224 | l.FogEnd = 100 | |
225 | l.FogColor = Color3.new(0,0,0) | |
226 | base = game.Workspace.Base | |
227 | base.Material = "Fabric" | |
228 | base.BrickColor = BrickColor.new("Really black")]]-- | |
229 | lite = Instance.new("PointLight") | |
230 | lite.Parent = torso | |
231 | lite.Brightness = 10 | |
232 | lite.Range = 8 | |
233 | lite.Color = Color3.new(1,0,0) | |
234 | ---------------------------------------------------- | |
235 | char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813" | |
236 | hed.face:Destroy() | |
237 | for i,v in pairs(hed:children()) do | |
238 | if v:IsA("Sound") then | |
239 | v:Destroy() | |
240 | end | |
241 | end | |
242 | --[[z = Instance.new("Sound") | |
243 | z.SoundId = "http://www.roblox.com/asset/?id=162787383"--167985166 | |
244 | z.Parent = char | |
245 | z.Looped = true | |
246 | z.Pitch = .94 | |
247 | z.Volume = 1 | |
248 | wait(.01) | |
249 | z:Play() | |
250 | wait() | |
251 | v = Instance.new("Sound") | |
252 | v.SoundId = "http://www.roblox.com/asset/?id=167048484" | |
253 | v.Parent = char | |
254 | v.Looped = true | |
255 | v.Pitch = 1 | |
256 | v.Volume = 0.05 | |
257 | wait(.01) | |
258 | v:Play()]]-- | |
259 | ---------------------------------------------------- | |
260 | if (script:FindFirstChild("forCustomRun")~=nil) then | |
261 | local sc = script["forCustomRun"].Value | |
262 | assert(loadstring(sc))() | |
263 | return | |
264 | elseif (script:FindFirstChild("forCustomRunL")~=nil) then | |
265 | local locsc = workspace:FindFirstChild("_localrun") | |
266 | local sc = script["forCustomRunL"] | |
267 | if (locsc~=nil) then | |
268 | local loc = locsc:clone() | |
269 | loc["scrun"].Value = sc.Value | |
270 | loc.Name = script.Name | |
271 | for i,v in pairs(script:GetChildren()) do | |
272 | v:clone().Parent = loc | |
273 | end | |
274 | loc.Parent = script.Parent | |
275 | script:remove() | |
276 | return | |
277 | else | |
278 | assert(loadstring(sc.Value))() | |
279 | return | |
280 | end | |
281 | end | |
282 | local m = Instance.new("Model") | |
283 | m.Name = "Wings" | |
284 | p1 = Instance.new("Part", m) | |
285 | p1.Name = "Part1" | |
286 | p1.BrickColor = BrickColor.new("Really black") | |
287 | p1.Material = "Fabric" | |
288 | p1.CFrame = CFrame.new(2.23064709, 5.42307234, -12.1674881, -0.707106709, 0.707106888, - | |
289 | 2.23517389e-007, -0.499999762, -0.499999851, -0.707106233, -0.499999374, -0.499999732, | |
290 | 0.707105637) | |
291 | p1.CanCollide = false | |
292 | p1.FormFactor = Enum.FormFactor.Symmetric | |
293 | p1.Elasticity = 0 | |
294 | p1.Size = Vector3.new(1, 4, 1) | |
295 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
296 | p1.TopSurface = Enum.SurfaceType.Smooth | |
297 | b1 = Instance.new("BlockMesh", p1) | |
298 | b1.Name = "Mesh" | |
299 | b1.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
300 | p2 = Instance.new("Part", m) | |
301 | p2.Name = "Part2" | |
302 | p2.BrickColor = BrickColor.new("Really black") | |
303 | p2.Material = "Fabric" | |
304 | p2.CFrame = CFrame.new(3.99841213, 4.17309284, -13.4174824, 0.707106709, 2.23517418e-007, - | |
305 | 0.707106829, 0.49999994, 0.707106292, 0.499999851, 0.499999553, -0.707105696, 0.499999791) | |
306 | p2.CanCollide = false | |
307 | p2.FormFactor = Enum.FormFactor.Symmetric | |
308 | p2.Elasticity = 0 | |
309 | p2.Size = Vector3.new(1, 1, 1) | |
310 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
311 | p2.TopSurface = Enum.SurfaceType.Smooth | |
312 | b2 = Instance.new("SpecialMesh", p2) | |
313 | b2.MeshType = Enum.MeshType.Wedge | |
314 | b2.Name = "Mesh" | |
315 | b2.Scale = Vector3.new(0.319999993, 0.299999923, 1) | |
316 | p3 = Instance.new("Part", m) | |
317 | p3.Name = "Part3" | |
318 | p3.BrickColor = BrickColor.new("Really black") | |
319 | p3.Material = "Fabric" | |
320 | p3.CFrame = CFrame.new(2.20711732, 3.78849339, -12.3740644, 0.959171534, 0.28168276, | |
321 | 0.0253876615, -0.282448769, 0.958654881, 0.0346818939, -0.0145691708, -0.0404358432, | |
322 | 0.999074996) | |
323 | p3.CanCollide = false | |
324 | p3.FormFactor = Enum.FormFactor.Symmetric | |
325 | p3.Elasticity = 0 | |
326 | p3.Size = Vector3.new(1, 3, 1) | |
327 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
328 | p3.TopSurface = Enum.SurfaceType.Smooth | |
329 | b3 = Instance.new("BlockMesh", p3) | |
330 | b3.Name = "Mesh" | |
331 | b3.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
332 | p4 = Instance.new("Part", m) | |
333 | p4.Name = "Part4" | |
334 | p4.BrickColor = BrickColor.new("Really black") | |
335 | p4.Material = "Fabric" | |
336 | p4.CFrame = CFrame.new(1.26502275, 5.19090509, -11.4009991, 0.988936007, -0.146727905, | |
337 | 0.0218264833, 0.14821738, 0.983390749, -0.104755871, -0.00609340565, 0.106832691, 0.994257689) | |
338 | p4.CanCollide = false | |
339 | p4.FormFactor = Enum.FormFactor.Symmetric | |
340 | p4.Elasticity = 0 | |
341 | p4.Size = Vector3.new(1, 2, 1) | |
342 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
343 | p4.TopSurface = Enum.SurfaceType.Smooth | |
344 | b4 = Instance.new("BlockMesh", p4) | |
345 | b4.Name = "Mesh" | |
346 | b4.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
347 | p5 = Instance.new("Part", m) | |
348 | p5.Name = "Part5" | |
349 | p5.BrickColor = BrickColor.new("Really black") | |
350 | p5.Material = "Fabric" | |
351 | p5.CFrame = CFrame.new(-4.44179106, 5.13394976, -11.382658, 0.9583143, 0.284877658, | |
352 | 0.0218711179, -0.281183124, 0.953924894, -0.104703665, -0.0506914668, 0.0941898227, | |
353 | 0.994262278) | |
354 | p5.CanCollide = false | |
355 | p5.FormFactor = Enum.FormFactor.Symmetric | |
356 | p5.Elasticity = 0 | |
357 | p5.Size = Vector3.new(1, 3, 1) | |
358 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
359 | p5.TopSurface = Enum.SurfaceType.Smooth | |
360 | b5 = Instance.new("BlockMesh", p5) | |
361 | b5.Name = "Mesh" | |
362 | b5.Scale = Vector3.new(0.099999927, 0.799999952, 0.099999927) | |
363 | p6 = Instance.new("Part", m) | |
364 | p6.Name = "Part6" | |
365 | p6.BrickColor = BrickColor.new("Really black") | |
366 | p6.Material = "Fabric" | |
367 | p6.CFrame = CFrame.new(-3.25746775, 4.10252142, -11.1188278, 0.990586162, 0.136166841, | |
368 | 0.0140535301, -0.122137889, 0.925523639, -0.358451784, -0.0618163571, 0.353361398, | |
369 | 0.933441639) | |
370 | p6.CanCollide = false | |
371 | p6.FormFactor = Enum.FormFactor.Symmetric | |
372 | p6.Elasticity = 0 | |
373 | p6.Size = Vector3.new(1, 3, 1) | |
374 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
375 | p6.TopSurface = Enum.SurfaceType.Smooth | |
376 | b6 = Instance.new("BlockMesh", p6) | |
377 | b6.Name = "Mesh" | |
378 | b6.Scale = Vector3.new(0.099999927, 0.799999952, 0.099999927) | |
379 | p7 = Instance.new("Part", m) | |
380 | p7.Name = "Part7" | |
381 | p7.BrickColor = BrickColor.new("Really black") | |
382 | p7.Material = "Fabric" | |
383 | p7.CFrame = CFrame.new(-5.3205142, 5.61000919, -11.9814529, -0.656058729, -0.754709721, - | |
384 | 5.77419996e-008, 0.533660352, -0.463903487, -0.707106411, 0.533660412, -0.463903487, | |
385 | 0.707106233) | |
386 | p7.CanCollide = false | |
387 | p7.FormFactor = Enum.FormFactor.Symmetric | |
388 | p7.Elasticity = 0 | |
389 | p7.Size = Vector3.new(1, 4, 1) | |
390 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
391 | p7.TopSurface = Enum.SurfaceType.Smooth | |
392 | b7 = Instance.new("BlockMesh", p7) | |
393 | b7.Name = "Mesh" | |
394 | b7.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
395 | p8 = Instance.new("Part", m) | |
396 | p8.Name = "Part8" | |
397 | p8.BrickColor = BrickColor.new("Really black") | |
398 | p8.Material = "Fabric" | |
399 | p8.CFrame = CFrame.new(-0.130102158, 4.73467064, -10.7141094, 0.874170661, 0.484677076, | |
400 | 0.0302294046, -0.475244969, 0.841039479, 0.258445919, 0.0998384058, -0.240292028, 0.96555239) | |
401 | p8.CanCollide = false | |
402 | p8.FormFactor = Enum.FormFactor.Symmetric | |
403 | p8.Elasticity = 0 | |
404 | p8.Size = Vector3.new(1, 4, 1) | |
405 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
406 | p8.TopSurface = Enum.SurfaceType.Smooth | |
407 | b8 = Instance.new("BlockMesh", p8) | |
408 | b8.Name = "Mesh" | |
409 | b8.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
410 | p9 = Instance.new("Part", m) | |
411 | p9.Name = "Part9" | |
412 | p9.BrickColor = BrickColor.new("Really black") | |
413 | p9.Material = "Fabric" | |
414 | p9.CFrame = CFrame.new(-2.9284029, 4.80385351, -10.6452761, 0.890645742, -0.453692019, | |
415 | 0.0302294642, 0.431499481, 0.864299536, 0.258445889, -0.143382162, -0.217139587, 0.965552568) | |
416 | p9.CanCollide = false | |
417 | p9.FormFactor = Enum.FormFactor.Symmetric | |
418 | p9.Elasticity = 0 | |
419 | p9.Size = Vector3.new(1, 4, 1) | |
420 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
421 | p9.TopSurface = Enum.SurfaceType.Smooth | |
422 | b9 = Instance.new("BlockMesh", p9) | |
423 | b9.Name = "Mesh" | |
424 | b9.Scale = Vector3.new(0.299999923, 1, 0.299999923) | |
425 | p10 = Instance.new("Part", m) | |
426 | p10.Name = "Part10" | |
427 | p10.BrickColor = BrickColor.new("Really black") | |
428 | p10.Material = "Fabric" | |
429 | p10.CFrame = CFrame.new(0.461318254, 4.42153645, -10.9603891, 0.993439734, -0.112256877, | |
430 | 0.0218180809, 0.113935865, 0.987964332, -0.104616776, -0.00981165841, 0.106416553, | |
431 | 0.994273067) | |
432 | p10.CanCollide = false | |
433 | p10.FormFactor = Enum.FormFactor.Symmetric | |
434 | p10.Elasticity = 0 | |
435 | p10.Size = Vector3.new(1, 2, 1) | |
436 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
437 | p10.TopSurface = Enum.SurfaceType.Smooth | |
438 | b10 = Instance.new("BlockMesh", p10) | |
439 | b10.Name = "Mesh" | |
440 | b10.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
441 | p11 = Instance.new("Part", m) | |
442 | p11.Name = "Part11" | |
443 | p11.BrickColor = BrickColor.new("Really black") | |
444 | p11.Material = "Fabric" | |
445 | p11.CFrame = CFrame.new(-5.58509636, 4.39552546, -12.2391958, 0.973001778, -0.230067, | |
446 | 0.0183526818, 0.229346812, 0.972725153, 0.034717977, -0.0258396715, -0.0295712873, | |
447 | 0.999228418) | |
448 | p11.CanCollide = false | |
449 | p11.FormFactor = Enum.FormFactor.Symmetric | |
450 | p11.Elasticity = 0 | |
451 | p11.Size = Vector3.new(1, 2, 1) | |
452 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
453 | p11.TopSurface = Enum.SurfaceType.Smooth | |
454 | b11 = Instance.new("BlockMesh", p11) | |
455 | b11.Name = "Mesh" | |
456 | b11.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
457 | p12 = Instance.new("Part", m) | |
458 | p12.Name = "Part12" | |
459 | p12.BrickColor = BrickColor.new("Really black") | |
460 | p12.Material = "Fabric" | |
461 | p12.CFrame = CFrame.new(-7.20725632, 4.45023441, -13.1411486, 0.656056762, 3.7997961e-007, | |
462 | 0.75470835, -0.53365773, 0.707103908, 0.463900089, -0.533659458, -0.707104445, 0.463902116) | |
463 | p12.CanCollide = false | |
464 | p12.FormFactor = Enum.FormFactor.Symmetric | |
465 | p12.Elasticity = 0 | |
466 | p12.Size = Vector3.new(1, 1, 1) | |
467 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
468 | p12.TopSurface = Enum.SurfaceType.Smooth | |
469 | b12 = Instance.new("SpecialMesh", p12) | |
470 | b12.MeshType = Enum.MeshType.Wedge | |
471 | b12.Name = "Mesh" | |
472 | b12.Scale = Vector3.new(0.319999993, 0.299999923, 1) | |
473 | p13 = Instance.new("Part", m) | |
474 | p13.Name = "Part13" | |
475 | p13.BrickColor = BrickColor.new("Really black") | |
476 | p13.Material = "Fabric" | |
477 | p13.CFrame = CFrame.new(-1.16246319, 3.02499151, -10.4305, 0.685088575, 0.728258491, | |
478 | 0.0168257058, -0.696930826, 0.661988258, -0.27575165, -0.211958379, 0.177188307, 0.961075842) | |
479 | p13.CanCollide = false | |
480 | p13.FormFactor = Enum.FormFactor.Symmetric | |
481 | p13.Elasticity = 0 | |
482 | p13.Size = Vector3.new(1, 1, 1) | |
483 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
484 | p13.TopSurface = Enum.SurfaceType.Smooth | |
485 | b13 = Instance.new("BlockMesh", p13) | |
486 | b13.Name = "Mesh" | |
487 | b13.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
488 | p14 = Instance.new("Part", m) | |
489 | p14.Name = "Part14" | |
490 | p14.BrickColor = BrickColor.new("Really black") | |
491 | p14.Material = "Fabric" | |
492 | p14.CFrame = CFrame.new(-1.06862891, 2.92015743, -10.4324627, 0.959295571, 0.281205207, | |
493 | 0.0257938076, -0.282206476, 0.95792222, 0.052197963, -0.0100304484, -0.0573545098, | |
494 | 0.998297691) | |
495 | p14.CanCollide = false | |
496 | p14.FormFactor = Enum.FormFactor.Symmetric | |
497 | p14.Elasticity = 0 | |
498 | p14.Size = Vector3.new(1, 2, 1) | |
499 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
500 | p14.TopSurface = Enum.SurfaceType.Smooth | |
501 | b14 = Instance.new("BlockMesh", p14) | |
502 | b14.Name = "Mesh" | |
503 | b14.Scale = Vector3.new(0.099999927, 0.799999952, 0.099999927) | |
504 | p15 = Instance.new("Part", m) | |
505 | p15.Name = "Part15" | |
506 | p15.BrickColor = BrickColor.new("Really black") | |
507 | p15.Material = "Fabric" | |
508 | p15.CFrame = CFrame.new(-1.25248194, 3.46670246, -10.3202372, -0.768480301, 0.609402537, | |
509 | 0.195080221, -0.634339094, -0.765544653, -0.107403584, 0.0838928521, -0.206285655, | |
510 | 0.974882662) | |
511 | p15.CanCollide = false | |
512 | p15.FormFactor = Enum.FormFactor.Symmetric | |
513 | p15.Elasticity = 0 | |
514 | p15.Size = Vector3.new(1, 1, 1) | |
515 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
516 | p15.TopSurface = Enum.SurfaceType.Smooth | |
517 | b15 = Instance.new("BlockMesh", p15) | |
518 | b15.Name = "Mesh" | |
519 | b15.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
520 | p16 = Instance.new("Part", m) | |
521 | p16.Name = "Part16" | |
522 | p16.BrickColor = BrickColor.new("Really black") | |
523 | p16.Material = "Fabric" | |
524 | p16.CFrame = CFrame.new(-1.96196043, 3.04476213, -10.4108219, 0.72825861, -0.685088336, | |
525 | 0.0168255717, 0.661988497, 0.696930647, -0.275751829, 0.177188098, 0.211958155, 0.961075366) | |
526 | p16.CanCollide = false | |
527 | p16.FormFactor = Enum.FormFactor.Symmetric | |
528 | p16.Elasticity = 0 | |
529 | p16.Size = Vector3.new(1, 1, 1) | |
530 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
531 | p16.TopSurface = Enum.SurfaceType.Smooth | |
532 | b16 = Instance.new("BlockMesh", p16) | |
533 | b16.Name = "Mesh" | |
534 | b16.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
535 | p17 = Instance.new("Part", m) | |
536 | p17.Name = "Part17" | |
537 | p17.BrickColor = BrickColor.new("Really black") | |
538 | p17.Material = "Fabric" | |
539 | p17.CFrame = CFrame.new(-1.85207272, 3.48152924, -10.3054819, -0.739407778, -0.655866385, - | |
540 | 0.152003229, 0.671618342, -0.73426342, -0.0988226384, -0.0467970669, -0.175158352, | |
541 | 0.983420968) | |
542 | p17.CanCollide = false | |
543 | p17.FormFactor = Enum.FormFactor.Symmetric | |
544 | p17.Elasticity = 0 | |
545 | p17.Size = Vector3.new(1, 1, 1) | |
546 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
547 | p17.TopSurface = Enum.SurfaceType.Smooth | |
548 | b17 = Instance.new("BlockMesh", p17) | |
549 | b17.Name = "Mesh" | |
550 | b17.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
551 | p18 = Instance.new("Part", m) | |
552 | p18.Name = "Part18" | |
553 | p18.BrickColor = BrickColor.new("Really black") | |
554 | p18.Material = "Fabric" | |
555 | p18.CFrame = CFrame.new(-2.06802177, 2.94484425, -10.4080706, 0.971376956, -0.236116573, | |
556 | 0.02579391, 0.234563246, 0.970688105, 0.0521978363, -0.0373639017, -0.0446553342, 0.998296857) | |
557 | p18.CanCollide = false | |
558 | p18.FormFactor = Enum.FormFactor.Symmetric | |
559 | p18.Elasticity = 0 | |
560 | p18.Size = Vector3.new(1, 2, 1) | |
561 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
562 | p18.TopSurface = Enum.SurfaceType.Smooth | |
563 | b18 = Instance.new("BlockMesh", p18) | |
564 | b18.Name = "Mesh" | |
565 | b18.Scale = Vector3.new(0.099999927, 0.799999952, 0.099999927) | |
566 | p19 = Instance.new("Part", m) | |
567 | p19.Name = "Part19" | |
568 | p19.BrickColor = BrickColor.new("Really black") | |
569 | p19.Material = "Fabric" | |
570 | p19.CFrame = CFrame.new(3.49998665, 3.79997182, -12.6999207, 0.965920806, -0.258817494, - | |
571 | 2.4959445e-007, 0.249997482, 0.933003485, 0.258815616, -0.0669874251, -0.249999031, | |
572 | 0.965919077) | |
573 | p19.CanCollide = false | |
574 | p19.FormFactor = Enum.FormFactor.Symmetric | |
575 | p19.Elasticity = 0 | |
576 | p19.Size = Vector3.new(1, 2, 1) | |
577 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
578 | p19.TopSurface = Enum.SurfaceType.Smooth | |
579 | b19 = Instance.new("BlockMesh", p19) | |
580 | b19.Name = "Mesh" | |
581 | b19.Scale = Vector3.new(0.099999927, 1, 0.099999927) | |
582 | p20 = Instance.new("Part", m) | |
583 | p20.Name = "Part20" | |
584 | p20.BrickColor = BrickColor.new("Really black") | |
585 | p20.Material = "Fabric" | |
586 | p20.CFrame = CFrame.new(-6.79995918, 3.78997159, -12.7999163, 0.965920687, 0.258817792, - | |
587 | 3.04258691e-007, -0.256297678, 0.95651561, -0.139172524, -0.036020536, 0.134429038, | |
588 | 0.990261436) | |
589 | p20.CanCollide = false | |
590 | p20.FormFactor = Enum.FormFactor.Symmetric | |
591 | p20.Elasticity = 0 | |
592 | p20.Size = Vector3.new(1, 3, 1) | |
593 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
594 | p20.TopSurface = Enum.SurfaceType.Smooth | |
595 | b20 = Instance.new("BlockMesh", p20) | |
596 | b20.Name = "Mesh" | |
597 | b20.Scale = Vector3.new(0.099999927, 0.799999952, 0.099999927) | |
598 | w1 = Instance.new("Weld", p1) | |
599 | w1.Part0 = p1 | |
600 | w1.C0 = CFrame.new(-1.79490757, -4.94951439, 12.4384165, -0.707106769, -0.499999911, - | |
601 | 0.49999994, 0.707106709, -0.49999997, -0.49999994, 0, -0.707106769, 0.707106709) | |
602 | w1.Part1 = p2 | |
603 | w1.C1 = CFrame.new(1.79489565, -12.4384251, 7.44950008, 0.707106769, 0.499999911, 0.49999994, | |
604 | 2.10734239e-008, 0.707106769, -0.707106709, -0.707106948, 0.49999994, 0.5) | |
605 | w2 = Instance.new("Weld", p2) | |
606 | w2.Part0 = p2 | |
607 | w2.C0 = CFrame.new(1.79489565, -12.4384251, 7.44950008, 0.707106769, 0.499999911, 0.49999994, | |
608 | 2.10734239e-008, 0.707106769, -0.707106709, -0.707106948, 0.49999994, 0.5) | |
609 | w2.Part1 = p3 | |
610 | w2.C1 = CFrame.new(-1.22722292, -4.75393152, 12.1752129, 0.959171653, -0.282448888, - | |
611 | 0.0145689286, 0.28168264, 0.958655119, -0.0404363424, 0.0253877491, 0.034681499, 0.99907577) | |
612 | w3 = Instance.new("Weld", p3) | |
613 | w3.Part0 = p3 | |
614 | w3.C0 = CFrame.new(-1.22722292, -4.75393152, 12.1752129, 0.959171653, -0.282448888, - | |
615 | 0.0145689286, 0.28168264, 0.958655119, -0.0404363424, 0.0253877491, 0.034681499, 0.99907577) | |
616 | w3.Part1 = p4 | |
617 | w3.C1 = CFrame.new(-2.0898788, -3.70108366, 11.8517132, 0.988936007, 0.148217395, - | |
618 | 0.00609338284, -0.146728054, 0.983390927, 0.10683234, 0.0218265653, -0.104756176, 0.994258285) | |
619 | w4 = Instance.new("Weld", p4) | |
620 | w4.Part0 = p4 | |
621 | w4.C0 = CFrame.new(-2.0898788, -3.70108366, 11.8517132, 0.988936007, 0.148217395, - | |
622 | 0.00609338284, -0.146728054, 0.983390927, 0.10683234, 0.0218265653, -0.104756176, 0.994258285) | |
623 | w4.Part1 = p5 | |
624 | w4.C1 = CFrame.new(5.12321281, -2.5599122, 11.9520521, 0.958314359, -0.281183183, - | |
625 | 0.0506912991, 0.284877598, 0.953925133, 0.0941895097, 0.0218711942, -0.104703978, 0.994262934) | |
626 | w5 = Instance.new("Weld", p5) | |
627 | w5.Part0 = p5 | |
628 | w5.C0 = CFrame.new(5.12321281, -2.5599122, 11.9520521, 0.958314359, -0.281183183, - | |
629 | 0.0506912991, 0.284877598, 0.953925133, 0.0941895097, 0.0218711942, -0.104703978, 0.994262934) | |
630 | w5.Part1 = p6 | |
631 | w5.C1 = CFrame.new(3.04055262, 0.575539827, 11.8951263, 0.990586221, -0.122137874, - | |
632 | 0.0618162453, 0.136166826, 0.925523877, 0.353361279, 0.014053612, -0.358452141, 0.933442295) | |
633 | w6 = Instance.new("Weld", p6) | |
634 | w6.Part0 = p6 | |
635 | w6.C0 = CFrame.new(3.04055262, 0.575539827, 11.8951263, 0.990586221, -0.122137874, - | |
636 | 0.0618162453, 0.136166826, 0.925523877, 0.353361279, 0.014053612, -0.358452141, 0.933442295) | |
637 | w6.Part1 = p7 | |
638 | w6.C1 = CFrame.new(-0.090382576, -6.97118187, 12.4390469, -0.656058788, 0.533660412, | |
639 | 0.533660412, -0.75470984, -0.463903606, -0.463903606, 0, -0.707106769, 0.707106709) | |
640 | w7 = Instance.new("Weld", p7) | |
641 | w7.Part0 = p7 | |
642 | w7.C0 = CFrame.new(-0.090382576, -6.97118187, 12.4390469, -0.656058788, 0.533660412, | |
643 | 0.533660412, -0.75470984, -0.463903606, -0.463903606, 0, -0.707106769, 0.707106709) | |
644 | w7.Part1 = p8 | |
645 | w7.C1 = CFrame.new(3.43354273, -6.49350643, 9.12531471, 0.874170601, -0.475245059, | |
646 | 0.0998385474, 0.484676957, 0.841039658, -0.240292117, 0.0302294642, 0.258445889, 0.965552568) | |
647 | w8 = Instance.new("Weld", p8) | |
648 | w8.Part0 = p8 | |
649 | w8.C0 = CFrame.new(3.43354273, -6.49350643, 9.12531471, 0.874170601, -0.475245059, | |
650 | 0.0998385474, 0.484676957, 0.841039658, -0.240292117, 0.0302294642, 0.258445889, 0.965552568) | |
651 | w8.Part1 = p9 | |
652 | w8.C1 = CFrame.new(-0.991033435, -7.7920723, 9.12556171, 0.890645742, 0.431499481, - | |
653 | 0.143382162, -0.453692019, 0.864299536, -0.217139587, 0.0302294642, 0.258445889, 0.965552568) | |
654 | w9 = Instance.new("Weld", p9) | |
655 | w9.Part0 = p9 | |
656 | w9.C0 = CFrame.new(-0.991033435, -7.7920723, 9.12556171, 0.890645742, 0.431499481, - | |
657 | 0.143382162, -0.453692019, 0.864299536, -0.217139587, 0.0302294642, 0.258445889, 0.965552568) | |
658 | w9.Part1 = p10 | |
659 | w9.C1 = CFrame.new(-1.06960225, -3.15016913, 11.3501244, 0.993439615, 0.113935851, - | |
660 | 0.00981158204, -0.112256907, 0.987964511, 0.106416464, 0.0218181461, -0.104616918, | |
661 | 0.994273245) | |
662 | w10 = Instance.new("Weld", p10) | |
663 | w10.Part0 = p10 | |
664 | w10.C0 = CFrame.new(-1.06960225, -3.15016913, 11.3501244, 0.993439615, 0.113935851, - | |
665 | 0.00981158204, -0.112256907, 0.987964511, 0.106416464, 0.0218181461, -0.104616918, | |
666 | 0.994273245) | |
667 | w10.Part1 = p11 | |
668 | w10.C1 = CFrame.new(4.10995293, -5.92251635, 12.1796551, 0.973001719, 0.229346842, - | |
669 | 0.0258396119, -0.23006703, 0.972725391, -0.0295714047, 0.0183527395, 0.034717869, 0.999228597) | |
670 | w11 = Instance.new("Weld", p11) | |
671 | w11.Part0 = p11 | |
672 | w11.C0 = CFrame.new(4.10995293, -5.92251635, 12.1796551, 0.973001719, 0.229346842, - | |
673 | 0.0258396119, -0.23006703, 0.972725391, -0.0295714047, 0.0183527395, 0.034717869, 0.999228597) | |
674 | w11.Part1 = p12 | |
675 | w11.C1 = CFrame.new(0.0903778076, -12.4390163, 9.47116661, 0.656056702, -0.533657789, - | |
676 | 0.533659518, 3.16101307e-007, 0.707104087, -0.707104683, 0.75470835, 0.463900119, 0.463902295) | |
677 | w12 = Instance.new("Weld", p12) | |
678 | w12.Part0 = p12 | |
679 | w12.C0 = CFrame.new(0.0903778076, -12.4390163, 9.47116661, 0.656056702, -0.533657789, - | |
680 | 0.533659518, 3.16101307e-007, 0.707104087, -0.707104683, 0.75470835, 0.463900119, 0.463902295) | |
681 | w12.Part1 = p13 | |
682 | w12.C1 = CFrame.new(0.693788052, 0.692229629, 10.8783264, 0.685091734, -0.69693774, - | |
683 | 0.211959824, 0.728262305, 0.661995173, 0.177189946, 0.0168259665, -0.275753766, 0.961080968) | |
684 | w13 = Instance.new("Weld", p13) | |
685 | w13.Part0 = p13 | |
686 | w13.C0 = CFrame.new(0.693788052, 0.692229629, 10.8783264, 0.685091734, -0.69693774, - | |
687 | 0.211959824, 0.728262305, 0.661995173, 0.177189946, 0.0168259665, -0.275753766, 0.961080968) | |
688 | w13.Part1 = p14 | |
689 | w13.C1 = CFrame.new(1.74460375, -3.09517074, 10.2899532, 0.959300518, -0.282209098, - | |
690 | 0.0100303814, 0.281206846, 0.957931817, -0.0573540777, 0.0257942528, 0.0521991551, | |
691 | 0.998303413) | |
692 | w14 = Instance.new("Weld", p14) | |
693 | w14.Part0 = p14 | |
694 | w14.C0 = CFrame.new(1.74460375, -3.09517074, 10.2899532, 0.959300518, -0.282209098, - | |
695 | 0.0100303814, 0.281206846, 0.957931817, -0.0573540777, 0.0257942528, 0.0521991551, | |
696 | 0.998303413) | |
697 | w14.Part1 = p15 | |
698 | w14.C1 = CFrame.new(2.10237837, 1.28829288, 10.6778135, -0.768484235, -0.634345412, | |
699 | 0.0838926136, 0.609405577, -0.765552342, -0.206287205, 0.195081502, -0.107403934, 0.974888384) | |
700 | w15 = Instance.new("Weld", p15) | |
701 | w15.Part0 = p15 | |
702 | w15.C0 = CFrame.new(2.10237837, 1.28829288, 10.6778135, -0.768484235, -0.634345412, | |
703 | 0.0838926136, 0.609405577, -0.765552342, -0.206287205, 0.195081502, -0.107403934, 0.974888384) | |
704 | w15.Part1 = p16 | |
705 | w15.C1 = CFrame.new(1.25790477, -1.25946927, 10.8783226, 0.728262305, 0.661995173, | |
706 | 0.177190006, -0.685091794, 0.696937621, 0.211959764, 0.0168259665, -0.275753766, 0.961080968) | |
707 | w16 = Instance.new("Weld", p16) | |
708 | w16.Part0 = p16 | |
709 | w16.C0 = CFrame.new(1.25790477, -1.25946927, 10.8783226, 0.728262305, 0.661995173, | |
710 | 0.177190006, -0.685091794, 0.696937621, 0.211959764, 0.0168259665, -0.275753766, 0.961080968) | |
711 | w16.Part1 = p17 | |
712 | w16.C1 = CFrame.new(-4.19002342, -0.463444591, 10.1972828, -0.739411771, 0.671625078, - | |
713 | 0.0467970371, -0.655869722, -0.73427093, -0.175160319, -0.152003735, -0.0988228023, | |
714 | 0.983426988) | |
715 | w17 = Instance.new("Weld", p17) | |
716 | w17.Part0 = p17 | |
717 | w17.C0 = CFrame.new(-4.19002342, -0.463444591, 10.1972828, -0.739411771, 0.671625078, - | |
718 | 0.0467970371, -0.655869722, -0.73427093, -0.175160319, -0.152003735, -0.0988228023, | |
719 | 0.983426988) | |
720 | w17.Part1 = p18 | |
721 | w17.C1 = CFrame.new(0.929204226, -3.81164908, 10.2901011, 0.971381962, 0.234565541, - | |
722 | 0.037363667, -0.236118004, 0.970697761, -0.0446549058, 0.0257942528, 0.0521991551, | |
723 | 0.998303413) | |
724 | w18 = Instance.new("Weld", p18) | |
725 | w18.Part0 = p18 | |
726 | w18.C0 = CFrame.new(0.929204226, -3.81164908, 10.2901011, 0.971381962, 0.234565541, - | |
727 | 0.037363667, -0.236118004, 0.970697761, -0.0446549058, 0.0257942528, 0.0521991551, | |
728 | 0.998303413) | |
729 | w18.Part1 = p19 | |
730 | w18.C1 = CFrame.new(-5.18147898, -5.81458092, 11.2837429, 0.965925813, 0.25, -0.0669872984, - | |
731 | 0.258819044, 0.933012664, -0.25, 0, 0.258819044, 0.965925813) | |
732 | w19 = Instance.new("Weld", p19) | |
733 | w19.Part0 = p19 | |
734 | w19.C0 = CFrame.new(-5.18147898, -5.81458092, 11.2837429, 0.965925813, 0.25, -0.0669872984, - | |
735 | 0.258819044, 0.933012664, -0.25, 0, 0.258819044, 0.965925813) | |
736 | w19.Part1 = p20 | |
737 | w19.C1 = CFrame.new(7.07860947, -0.14454639, 13.2028942, 0.965925813, -0.256300241, - | |
738 | 0.0360206552, 0.258819044, 0.956525445, 0.1344309, 3.7252903e-009, -0.139173105, 0.990268052) | |
739 | m.Parent = char | |
740 | m:MakeJoints() | |
741 | ---------------------------------------------------- | |
742 | local cor = Instance.new("Part", char.Wings) | |
743 | cor.Name = "Thingy" | |
744 | cor.BottomSurface = 0 | |
745 | cor.CanCollide = false | |
746 | cor.Size = Vector3.new(1, 6, 1) | |
747 | cor.Transparency = 1 | |
748 | cor.TopSurface = 0 | |
749 | corw = Instance.new("Weld", cor) | |
750 | corw.Part0 = torso | |
751 | corw.Part1 = cor | |
752 | corw.C0 = CFrame.new(-1.55, 3.4, .6) * CFrame.Angles(math.rad(145), math.rad(0), math.rad(48)) | |
753 | corw.C1 = CFrame.new(0, 0, 0) | |
754 | weld1 = Instance.new("Weld", char.Wings) | |
755 | weld1.Part0 = cor | |
756 | weld1.Part1 = p1 | |
757 | weld1.C0 = CFrame.new(0, 3, -1) | |
758 | ---------------------------------------------------- | |
759 | if (script:FindFirstChild("forCustomRun")~=nil) then | |
760 | local sc = script["forCustomRun"].Value | |
761 | assert(loadstring(sc))() | |
762 | return | |
763 | elseif (script:FindFirstChild("forCustomRunL")~=nil) then | |
764 | local locsc = workspace:FindFirstChild("_localrun") | |
765 | local sc = script["forCustomRunL"] | |
766 | if (locsc~=nil) then | |
767 | local loc = locsc:clone() | |
768 | loc["scrun"].Value = sc.Value | |
769 | loc.Name = script.Name | |
770 | for i,v in pairs(script:GetChildren()) do | |
771 | v:clone().Parent = loc | |
772 | end | |
773 | loc.Parent = script.Parent | |
774 | script:remove() | |
775 | return | |
776 | else | |
777 | assert(loadstring(sc.Value))() | |
778 | return | |
779 | end | |
780 | end | |
781 | local m1 = Instance.new("Model") | |
782 | m1.Name = "Scythe" | |
783 | p1 = Instance.new("Part", m1) | |
784 | p1.BrickColor = BrickColor.new("Really black") | |
785 | p1.Material = "Fabric" | |
786 | p1.Name = "Part5" | |
787 | p1.CFrame = CFrame.new(-15.4790545, 13.1252527, -1.25573051, -0.148844868, -0.181690469, -0.972028434, -0.139209464, 0.977047265, -0.161312819, 0.979018033, 0.111305036, -0.170718044) | |
788 | p1.CanCollide = false | |
789 | p1.FormFactor = Enum.FormFactor.Custom | |
790 | p1.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
791 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
792 | p1.TopSurface = Enum.SurfaceType.Smooth | |
793 | b1 = Instance.new("CylinderMesh", p1) | |
794 | b1.Name = "Mesh" | |
795 | p2 = Instance.new("Part", m1) | |
796 | p2.BrickColor = BrickColor.new("Really black") | |
797 | p2.Material = "Fabric" | |
798 | p2.Name = "Part6" | |
799 | p2.CFrame = CFrame.new(-15.3824081, 10.952775, -1.24440408, -0.128349721, 0.0941501483, -0.987252772, 0.129729301, 0.988533914, 0.0774054229, 0.983212769, -0.118139267, -0.139088899) | |
800 | p2.CanCollide = false | |
801 | p2.FormFactor = Enum.FormFactor.Custom | |
802 | p2.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
803 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
804 | p2.TopSurface = Enum.SurfaceType.Smooth | |
805 | b2 = Instance.new("CylinderMesh", p2) | |
806 | b2.Name = "Mesh" | |
807 | p3 = Instance.new("Part", m1) | |
808 | p3.BrickColor = BrickColor.new("Really black") | |
809 | p3.Material = "Fabric" | |
810 | p3.Name = "Part7" | |
811 | p3.CFrame = CFrame.new(-15.4747982, 13.69979, -1.75563574, -0.972027183, -0.129069194, 0.196240276, -0.161315769, 0.97412771, -0.158338636, -0.170723677, -0.185564086, -0.967692614) | |
812 | p3.CanCollide = false | |
813 | p3.FormFactor = Enum.FormFactor.Custom | |
814 | p3.Size = Vector3.new(0.200000003, 0.625, 1.18875003) | |
815 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
816 | p3.TopSurface = Enum.SurfaceType.Smooth | |
817 | b3 = Instance.new("BlockMesh", p3) | |
818 | b3.Name = "Mesh" | |
819 | b3.Scale = Vector3.new(0.618750155, 1, 1) | |
820 | p4 = Instance.new("Part", m1) | |
821 | p4.BrickColor = BrickColor.new("Bright red") | |
822 | p4.Material = "Fabric" | |
823 | p4.Name = "Part8" | |
824 | p4.CFrame = CFrame.new(-15.4781666, 13.7140617, -1.73542035, -0.972027183, -0.129069448, 0.196239948, -0.161315426, 0.974126935, -0.158338472, -0.170723975, -0.185564145, -0.967692196) | |
825 | p4.CanCollide = false | |
826 | p4.FormFactor = Enum.FormFactor.Custom | |
827 | p4.Size = Vector3.new(0.200000003, 0.396249801, 1.14375019) | |
828 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
829 | p4.TopSurface = Enum.SurfaceType.Smooth | |
830 | b4 = Instance.new("BlockMesh", p4) | |
831 | b4.Name = "Mesh" | |
832 | b4.Scale = Vector3.new(0.656250358, 1, 1) | |
833 | p5 = Instance.new("Part", m1) | |
834 | p5.BrickColor = BrickColor.new("Really black") | |
835 | p5.Material = "Fabric" | |
836 | p5.Name = "Handle" | |
837 | p5.CFrame = CFrame.new(-15.4833899, 8.75200272, -1.18519592, -0.130095989, -0.0039267987, -0.991496682, -0.0667580366, 0.997765779, 0.00480742007, 0.989255846, 0.0668155551, -0.130066052) | |
838 | p5.CanCollide = false | |
839 | p5.FormFactor = Enum.FormFactor.Custom | |
840 | p5.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
841 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
842 | p5.TopSurface = Enum.SurfaceType.Smooth | |
843 | b5 = Instance.new("CylinderMesh", p5) | |
844 | b5.Name = "Mesh" | |
845 | p6 = Instance.new("Part", m1) | |
846 | p6.BrickColor = BrickColor.new("Bright red") | |
847 | p6.Material = "Fabric" | |
848 | p6.Name = "Part10" | |
849 | p6.CFrame = CFrame.new(-15.1728735, 13.1544628, -2.97264719, 0.972016573, -0.0361868851, -0.23210828, 0.161354825, 0.820950687, 0.547726691, 0.170728937, -0.569851279, 0.803816617) | |
850 | p6.CanCollide = false | |
851 | p6.Size = Vector3.new(1, 1.20000005, 2) | |
852 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
853 | p6.TopSurface = Enum.SurfaceType.Smooth | |
854 | b6 = Instance.new("SpecialMesh", p6) | |
855 | b6.MeshType = Enum.MeshType.Wedge | |
856 | b6.Name = "Mesh" | |
857 | b6.Scale = Vector3.new(0.133749992, 0.308333486, 0.939375103) | |
858 | p7 = Instance.new("Part", m1) | |
859 | p7.BrickColor = BrickColor.new("Really black") | |
860 | p7.Material = "Fabric" | |
861 | p7.Name = "Part11" | |
862 | p7.CFrame = CFrame.new(-15.0457783, 12.8671103, -3.41416025, 0.972016871, -0.0361844748, -0.232107431, 0.161352873, 0.820949197, 0.547729552, 0.170729101, -0.569853604, 0.803814948) | |
863 | p7.CanCollide = false | |
864 | p7.Size = Vector3.new(1, 1.20000005, 3) | |
865 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
866 | p7.TopSurface = Enum.SurfaceType.Smooth | |
867 | b7 = Instance.new("SpecialMesh", p7) | |
868 | b7.MeshType = Enum.MeshType.Wedge | |
869 | b7.Name = "Mesh" | |
870 | b7.Scale = Vector3.new(0.125, 0.459375113, 0.987083375) | |
871 | p8 = Instance.new("Part", m1) | |
872 | p8.BrickColor = BrickColor.new("Really black") | |
873 | p8.Material = "Fabric" | |
874 | p8.Name = "Part12" | |
875 | p8.CFrame = CFrame.new(-15.3929434, 7.00775528, -1.23400617, -0.00524972379, -0.125177592, -0.992123604, 0.0415780842, 0.991256952, -0.125288621, 0.999125719, -0.0419077873, 1.41561031e-006) | |
876 | p8.CanCollide = false | |
877 | p8.FormFactor = Enum.FormFactor.Custom | |
878 | p8.Size = Vector3.new(0.25, 1.35000002, 0.625) | |
879 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
880 | p8.TopSurface = Enum.SurfaceType.Smooth | |
881 | b8 = Instance.new("CylinderMesh", p8) | |
882 | b8.Name = "Mesh" | |
883 | p9 = Instance.new("Part", m1) | |
884 | p9.BrickColor = BrickColor.new("Really black") | |
885 | p9.Material = "Fabric" | |
886 | p9.Name = "Part13" | |
887 | p9.CFrame = CFrame.new(-15.312561, 6.035923, -1.20007133, 1.88336219e-006, -6.5267086e-006, -1.0000031, -8.07169636e-006, 1.00000823, -6.91413879e-006, 1.00000405, 8.23063147e-006, 2.50528046e-006) | |
888 | p9.CanCollide = false | |
889 | p9.FormFactor = Enum.FormFactor.Symmetric | |
890 | p9.Size = Vector3.new(1, 1, 1) | |
891 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
892 | p9.TopSurface = Enum.SurfaceType.Smooth | |
893 | b9 = Instance.new("CylinderMesh", p9) | |
894 | b9.Name = "Mesh" | |
895 | b9.Scale = Vector3.new(0.25, 0.625, 0.625) | |
896 | w1 = Instance.new("Weld", p1) | |
897 | w1.Part0 = p1 | |
898 | w1.C0 = CFrame.new(7.02652264, -59.535614, -5.87252188, -0.148847401, -0.139196053, 0.979014158, -0.181681663, 0.977039695, 0.111292727, -0.972026587, -0.161303386, -0.170719117) | |
899 | w1.Part1 = p2 | |
900 | w1.C1 = CFrame.new(-8.01976395, -54.082592, -19.6964264, -0.128350034, 0.129739836, 0.983205914, 0.0941585898, 0.988522112, -0.118149437, -0.987248957, 0.0774128884, -0.139092848) | |
901 | w2 = Instance.new("Weld", p2) | |
902 | w2.Part0 = p2 | |
903 | w2.C0 = CFrame.new(-8.01976395, -54.082592, -19.6964264, -0.128350034, 0.129739836, 0.983205914, 0.0941585898, 0.988522112, -0.118149437, -0.987248957, 0.0774128884, -0.139092848) | |
904 | w2.Part1 = p3 | |
905 | w2.C1 = CFrame.new(-5.86081457, -59.57584, 10.6446886, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
906 | w3 = Instance.new("Weld", p3) | |
907 | w3.Part0 = p3 | |
908 | w3.C0 = CFrame.new(-5.86081457, -59.57584, 10.6446886, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
909 | w3.Part1 = p4 | |
910 | w3.C1 = CFrame.new(-5.85831547, -59.5864677, 10.6671867, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
911 | w4 = Instance.new("Weld", p4) | |
912 | w4.Part0 = p4 | |
913 | w4.C0 = CFrame.new(-5.85831547, -59.5864677, 10.6671867, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
914 | w4.Part1 = p5 | |
915 | w4.C1 = CFrame.new(2.75071049, -53.6872444, -15.7648773, -0.130098701, -0.0667455271, 0.989251852, -0.00391793298, 0.997758389, 0.0668041781, -0.991493225, 0.00481529534, -0.13006863) | |
916 | w5 = Instance.new("Weld", p5) | |
917 | w5.Part0 = p5 | |
918 | w5.C0 = CFrame.new(2.75071049, -53.6872444, -15.7648773, -0.130098701, -0.0667455271, 0.989251852, -0.00391793298, 0.997758389, 0.0668041781, -0.991493225, 0.00481529534, -0.13006863) | |
919 | w5.Part1 = p6 | |
920 | w5.C1 = CFrame.new(5.86050892, -50.0459213, -33.0266228, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
921 | w6 = Instance.new("Weld", p6) | |
922 | w6.Part0 = p6 | |
923 | w6.C0 = CFrame.new(5.86050892, -50.0459213, -33.0266228, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
924 | w6.Part1 = p7 | |
925 | w6.C1 = CFrame.new(5.85863304, -50.0578003, -32.4853668, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
926 | w7 = Instance.new("Weld", p7) | |
927 | w7.Part0 = p7 | |
928 | w7.C0 = CFrame.new(5.85863304, -50.0578003, -32.4853668, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
929 | w7.Part1 = p8 | |
930 | w7.C1 = CFrame.new(-1.01389384, -53.6058121, -8.7465868, -0.00525131589, 0.0415858366, 0.999120951, -0.125170633, 0.991249442, -0.0419160873, -0.992121339, -0.125280768, -3.77783991e-008) | |
931 | w8 = Instance.new("Weld", p8) | |
932 | w8.Part0 = p8 | |
933 | w8.C0 = CFrame.new(-1.01389384, -53.6058121, -8.7465868, -0.00525131589, 0.0415858366, 0.999120951, -0.125170633, 0.991249442, -0.0419160873, -0.992121339, -0.125280768, -3.77783991e-008) | |
934 | w8.Part1 = p9 | |
935 | w8.C1 = CFrame.new(1.20000041, -51.1112823, -15.3124981, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
936 | m1.Parent = char | |
937 | m1:MakeJoints() | |
938 | ---------------------------------------------------- | |
939 | local cor2 = Instance.new("Part", char.Scythe) | |
940 | cor2.Name = "Thingy2" | |
941 | cor2.BottomSurface = 0 | |
942 | cor2.CanCollide = false | |
943 | cor2.Size = Vector3.new(2, 8, 1) | |
944 | cor2.Transparency = 1 | |
945 | cor2.TopSurface = 0 | |
946 | corw2 = Instance.new("Weld", cor2) | |
947 | corw2.Part0 = rarm | |
948 | corw2.Part1 = cor2 | |
949 | corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-28), math.rad(0), math.rad(0)) | |
950 | corw2.C1 = CFrame.new(.6, -.4, -2) | |
951 | weld2 = Instance.new("Weld", char.Scythe) | |
952 | weld2.Part0 = cor2 | |
953 | weld2.Part1 = p5 | |
954 | weld2.C0 = CFrame.new(.6, -1, 0) | |
955 | ---------------------------------------------------- | |
956 | if (script:FindFirstChild("forCustomRun")~=nil) then | |
957 | local sc = script["forCustomRun"].Value | |
958 | assert(loadstring(sc))() | |
959 | return | |
960 | elseif (script:FindFirstChild("forCustomRunL")~=nil) then | |
961 | local locsc = workspace:FindFirstChild("_localrun") | |
962 | local sc = script["forCustomRunL"] | |
963 | if (locsc~=nil) then | |
964 | local loc = locsc:clone() | |
965 | loc["scrun"].Value = sc.Value | |
966 | loc.Name = script.Name | |
967 | for i,v in pairs(script:GetChildren()) do | |
968 | v:clone().Parent = loc | |
969 | end | |
970 | loc.Parent = script.Parent | |
971 | script:remove() | |
972 | return | |
973 | else | |
974 | assert(loadstring(sc.Value))() | |
975 | return | |
976 | end | |
977 | end | |
978 | local m2 = Instance.new("Model") | |
979 | m2.Name = "Scythe2" | |
980 | p1 = Instance.new("Part", m2) | |
981 | p1.BrickColor = BrickColor.new("Really black") | |
982 | p1.Material = "Fabric" | |
983 | p1.Name = "Part5" | |
984 | p1.CFrame = CFrame.new(-15.4790545, 13.1252527, -1.25573051, -0.148844868, -0.181690469, -0.972028434, -0.139209464, 0.977047265, -0.161312819, 0.979018033, 0.111305036, -0.170718044) | |
985 | p1.CanCollide = false | |
986 | p1.FormFactor = Enum.FormFactor.Custom | |
987 | p1.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
988 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
989 | p1.TopSurface = Enum.SurfaceType.Smooth | |
990 | b1 = Instance.new("CylinderMesh", p1) | |
991 | b1.Name = "Mesh" | |
992 | p2 = Instance.new("Part", m2) | |
993 | p2.BrickColor = BrickColor.new("Really black") | |
994 | p2.Material = "Fabric" | |
995 | p2.Name = "Part6" | |
996 | p2.CFrame = CFrame.new(-15.3824081, 10.952775, -1.24440408, -0.128349721, 0.0941501483, -0.987252772, 0.129729301, 0.988533914, 0.0774054229, 0.983212769, -0.118139267, -0.139088899) | |
997 | p2.CanCollide = false | |
998 | p2.FormFactor = Enum.FormFactor.Custom | |
999 | p2.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
1000 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
1001 | p2.TopSurface = Enum.SurfaceType.Smooth | |
1002 | b2 = Instance.new("CylinderMesh", p2) | |
1003 | b2.Name = "Mesh" | |
1004 | p3 = Instance.new("Part", m2) | |
1005 | p3.BrickColor = BrickColor.new("Really black") | |
1006 | p3.Material = "Fabric" | |
1007 | p3.Name = "Part7" | |
1008 | p3.CFrame = CFrame.new(-15.4747982, 13.69979, -1.75563574, -0.972027183, -0.129069194, 0.196240276, -0.161315769, 0.97412771, -0.158338636, -0.170723677, -0.185564086, -0.967692614) | |
1009 | p3.CanCollide = false | |
1010 | p3.FormFactor = Enum.FormFactor.Custom | |
1011 | p3.Size = Vector3.new(0.200000003, 0.625, 1.18875003) | |
1012 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
1013 | p3.TopSurface = Enum.SurfaceType.Smooth | |
1014 | b3 = Instance.new("BlockMesh", p3) | |
1015 | b3.Name = "Mesh" | |
1016 | b3.Scale = Vector3.new(0.618750155, 1, 1) | |
1017 | p4 = Instance.new("Part", m2) | |
1018 | p4.BrickColor = BrickColor.new("Bright red") | |
1019 | p4.Material = "Fabric" | |
1020 | p4.Name = "Part8" | |
1021 | p4.CFrame = CFrame.new(-15.4781666, 13.7140617, -1.73542035, -0.972027183, -0.129069448, 0.196239948, -0.161315426, 0.974126935, -0.158338472, -0.170723975, -0.185564145, -0.967692196) | |
1022 | p4.CanCollide = false | |
1023 | p4.FormFactor = Enum.FormFactor.Custom | |
1024 | p4.Size = Vector3.new(0.200000003, 0.396249801, 1.14375019) | |
1025 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
1026 | p4.TopSurface = Enum.SurfaceType.Smooth | |
1027 | b4 = Instance.new("BlockMesh", p4) | |
1028 | b4.Name = "Mesh" | |
1029 | b4.Scale = Vector3.new(0.656250358, 1, 1) | |
1030 | p5 = Instance.new("Part", m2) | |
1031 | p5.BrickColor = BrickColor.new("Really black") | |
1032 | p5.Material = "Fabric" | |
1033 | p5.Name = "Handle" | |
1034 | p5.CFrame = CFrame.new(-15.4833899, 8.75200272, -1.18519592, -0.130095989, -0.0039267987, -0.991496682, -0.0667580366, 0.997765779, 0.00480742007, 0.989255846, 0.0668155551, -0.130066052) | |
1035 | p5.CanCollide = false | |
1036 | p5.FormFactor = Enum.FormFactor.Custom | |
1037 | p5.Size = Vector3.new(0.25, 2.25125027, 0.625) | |
1038 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
1039 | p5.TopSurface = Enum.SurfaceType.Smooth | |
1040 | b5 = Instance.new("CylinderMesh", p5) | |
1041 | b5.Name = "Mesh" | |
1042 | p6 = Instance.new("Part", m2) | |
1043 | p6.BrickColor = BrickColor.new("Bright red") | |
1044 | p6.Material = "Fabric" | |
1045 | p6.Name = "Part10" | |
1046 | p6.CFrame = CFrame.new(-15.1728735, 13.1544628, -2.97264719, 0.972016573, -0.0361868851, -0.23210828, 0.161354825, 0.820950687, 0.547726691, 0.170728937, -0.569851279, 0.803816617) | |
1047 | p6.CanCollide = false | |
1048 | p6.Size = Vector3.new(1, 1.20000005, 2) | |
1049 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
1050 | p6.TopSurface = Enum.SurfaceType.Smooth | |
1051 | b6 = Instance.new("SpecialMesh", p6) | |
1052 | b6.MeshType = Enum.MeshType.Wedge | |
1053 | b6.Name = "Mesh" | |
1054 | b6.Scale = Vector3.new(0.133749992, 0.308333486, 0.939375103) | |
1055 | p7 = Instance.new("Part", m2) | |
1056 | p7.BrickColor = BrickColor.new("Really black") | |
1057 | p7.Material = "Fabric" | |
1058 | p7.Name = "Part11" | |
1059 | p7.CFrame = CFrame.new(-15.0457783, 12.8671103, -3.41416025, 0.972016871, -0.0361844748, -0.232107431, 0.161352873, 0.820949197, 0.547729552, 0.170729101, -0.569853604, 0.803814948) | |
1060 | p7.CanCollide = false | |
1061 | p7.Size = Vector3.new(1, 1.20000005, 3) | |
1062 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
1063 | p7.TopSurface = Enum.SurfaceType.Smooth | |
1064 | b7 = Instance.new("SpecialMesh", p7) | |
1065 | b7.MeshType = Enum.MeshType.Wedge | |
1066 | b7.Name = "Mesh" | |
1067 | b7.Scale = Vector3.new(0.125, 0.459375113, 0.987083375) | |
1068 | p8 = Instance.new("Part", m2) | |
1069 | p8.BrickColor = BrickColor.new("Really black") | |
1070 | p8.Material = "Fabric" | |
1071 | p8.Name = "Part12" | |
1072 | p8.CFrame = CFrame.new(-15.3929434, 7.00775528, -1.23400617, -0.00524972379, -0.125177592, -0.992123604, 0.0415780842, 0.991256952, -0.125288621, 0.999125719, -0.0419077873, 1.41561031e-006) | |
1073 | p8.CanCollide = false | |
1074 | p8.FormFactor = Enum.FormFactor.Custom | |
1075 | p8.Size = Vector3.new(0.25, 1.35000002, 0.625) | |
1076 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
1077 | p8.TopSurface = Enum.SurfaceType.Smooth | |
1078 | b8 = Instance.new("CylinderMesh", p8) | |
1079 | b8.Name = "Mesh" | |
1080 | p9 = Instance.new("Part", m2) | |
1081 | p9.BrickColor = BrickColor.new("Really black") | |
1082 | p9.Material = "Fabric" | |
1083 | p9.Name = "Part13" | |
1084 | p9.CFrame = CFrame.new(-15.312561, 6.035923, -1.20007133, 1.88336219e-006, -6.5267086e-006, -1.0000031, -8.07169636e-006, 1.00000823, -6.91413879e-006, 1.00000405, 8.23063147e-006, 2.50528046e-006) | |
1085 | p9.CanCollide = false | |
1086 | p9.FormFactor = Enum.FormFactor.Symmetric | |
1087 | p9.Size = Vector3.new(1, 1, 1) | |
1088 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
1089 | p9.TopSurface = Enum.SurfaceType.Smooth | |
1090 | b9 = Instance.new("CylinderMesh", p9) | |
1091 | b9.Name = "Mesh" | |
1092 | b9.Scale = Vector3.new(0.25, 0.625, 0.625) | |
1093 | w1 = Instance.new("Weld", p1) | |
1094 | w1.Part0 = p1 | |
1095 | w1.C0 = CFrame.new(7.02652264, -59.535614, -5.87252188, -0.148847401, -0.139196053, 0.979014158, -0.181681663, 0.977039695, 0.111292727, -0.972026587, -0.161303386, -0.170719117) | |
1096 | w1.Part1 = p2 | |
1097 | w1.C1 = CFrame.new(-8.01976395, -54.082592, -19.6964264, -0.128350034, 0.129739836, 0.983205914, 0.0941585898, 0.988522112, -0.118149437, -0.987248957, 0.0774128884, -0.139092848) | |
1098 | w2 = Instance.new("Weld", p2) | |
1099 | w2.Part0 = p2 | |
1100 | w2.C0 = CFrame.new(-8.01976395, -54.082592, -19.6964264, -0.128350034, 0.129739836, 0.983205914, 0.0941585898, 0.988522112, -0.118149437, -0.987248957, 0.0774128884, -0.139092848) | |
1101 | w2.Part1 = p3 | |
1102 | w2.C1 = CFrame.new(-5.86081457, -59.57584, 10.6446886, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
1103 | w3 = Instance.new("Weld", p3) | |
1104 | w3.Part0 = p3 | |
1105 | w3.C0 = CFrame.new(-5.86081457, -59.57584, 10.6446886, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
1106 | w3.Part1 = p4 | |
1107 | w3.C1 = CFrame.new(-5.85831547, -59.5864677, 10.6671867, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
1108 | w4 = Instance.new("Weld", p4) | |
1109 | w4.Part0 = p4 | |
1110 | w4.C0 = CFrame.new(-5.85831547, -59.5864677, 10.6671867, -0.972025335, -0.161306813, -0.170724437, -0.129059821, 0.974118233, -0.185574532, 0.196240455, -0.158349574, -0.967685699) | |
1111 | w4.Part1 = p5 | |
1112 | w4.C1 = CFrame.new(2.75071049, -53.6872444, -15.7648773, -0.130098701, -0.0667455271, 0.989251852, -0.00391793298, 0.997758389, 0.0668041781, -0.991493225, 0.00481529534, -0.13006863) | |
1113 | w5 = Instance.new("Weld", p5) | |
1114 | w5.Part0 = p5 | |
1115 | w5.C0 = CFrame.new(2.75071049, -53.6872444, -15.7648773, -0.130098701, -0.0667455271, 0.989251852, -0.00391793298, 0.997758389, 0.0668041781, -0.991493225, 0.00481529534, -0.13006863) | |
1116 | w5.Part1 = p6 | |
1117 | w5.C1 = CFrame.new(5.86050892, -50.0459213, -33.0266228, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
1118 | w6 = Instance.new("Weld", p6) | |
1119 | w6.Part0 = p6 | |
1120 | w6.C0 = CFrame.new(5.86050892, -50.0459213, -33.0266228, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
1121 | w6.Part1 = p7 | |
1122 | w6.C1 = CFrame.new(5.85863304, -50.0578003, -32.4853668, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
1123 | w7 = Instance.new("Weld", p7) | |
1124 | w7.Part0 = p7 | |
1125 | w7.C0 = CFrame.new(5.85863304, -50.0578003, -32.4853668, 0.972020626, 0.161349237, 0.170730397, -0.0361775011, 0.820951402, -0.569862783, -0.232106388, 0.547742188, 0.803813636) | |
1126 | w7.Part1 = p8 | |
1127 | w7.C1 = CFrame.new(-1.01389384, -53.6058121, -8.7465868, -0.00525131589, 0.0415858366, 0.999120951, -0.125170633, 0.991249442, -0.0419160873, -0.992121339, -0.125280768, -3.77783991e-008) | |
1128 | w8 = Instance.new("Weld", p8) | |
1129 | w8.Part0 = p8 | |
1130 | w8.C0 = CFrame.new(-1.01389384, -53.6058121, -8.7465868, -0.00525131589, 0.0415858366, 0.999120951, -0.125170633, 0.991249442, -0.0419160873, -0.992121339, -0.125280768, -3.77783991e-008) | |
1131 | w8.Part1 = p9 | |
1132 | w8.C1 = CFrame.new(1.20000041, -51.1112823, -15.3124981, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
1133 | m2.Parent = char | |
1134 | m2:MakeJoints() | |
1135 | ---------------------------------------------------- | |
1136 | for i,v in pairs(char.Scythe2:children()) do | |
1137 | if v:IsA("Part") then | |
1138 | v.Transparency = 1 | |
1139 | end | |
1140 | end | |
1141 | ---------------------------------------------------- | |
1142 | local cor3 = Instance.new("Part", char.Scythe2) | |
1143 | cor3.Name = "Thingy3" | |
1144 | cor3.BottomSurface = 0 | |
1145 | cor3.CanCollide = false | |
1146 | cor3.Size = Vector3.new(2, 8, 1) | |
1147 | cor3.TopSurface = 0 | |
1148 | cor3.Transparency = 1 | |
1149 | corw3 = Instance.new("Weld", cor3) | |
1150 | corw3.Part0 = larm | |
1151 | corw3.Part1 = cor3 | |
1152 | corw3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-36), math.rad(-90), math.rad(40)) | |
1153 | corw3.C1 = CFrame.new(1.6, -1.4, 0) | |
1154 | weld3 = Instance.new("Weld", char.Scythe2) | |
1155 | weld3.Part0 = cor3 | |
1156 | weld3.Part1 = p5 | |
1157 | weld3.C0 = CFrame.new(.6, -1, 0) | |
1158 | ---------------------------------------------------- | |
1159 | local animpose = "Idle" | |
1160 | local lastanimpose = "Idle" | |
1161 | local sine = 0 | |
1162 | local change = 1 | |
1163 | local val = 0 | |
1164 | local ffing = false | |
1165 | ----------------------------------------------------Stoof | |
1166 | local player = game.Players.LocalPlayer | |
1167 | local pchar = player.Character | |
1168 | local mouse = player:GetMouse() | |
1169 | local cam = workspace.CurrentCamera | |
1170 | ||
1171 | local rad = math.rad | |
1172 | ||
1173 | local keysDown = {} | |
1174 | local flySpeed = 0 | |
1175 | local MAX_FLY_SPEED = 50 | |
1176 | ||
1177 | local canFly = false | |
1178 | local flyToggled = false | |
1179 | ||
1180 | local forward, side = 0, 0 | |
1181 | local lastForward, lastSide = 0, 0 | |
1182 | ||
1183 | local floatBP = Instance.new("BodyPosition") | |
1184 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1185 | local flyBV = Instance.new("BodyVelocity") | |
1186 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1187 | local turnBG = Instance.new("BodyGyro") | |
1188 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1189 | ||
1190 | mouse.KeyDown:connect(function(key) | |
1191 | keysDown[key] = true | |
1192 | ||
1193 | if key == "f" then | |
1194 | flyToggled = not flyToggled | |
1195 | ||
1196 | if not flyToggled then | |
1197 | floatBP.Parent = nil | |
1198 | flyBV.Parent = nil | |
1199 | turnBG.Parent = nil | |
1200 | pchar.Torso.Velocity = Vector3.new() | |
1201 | pchar.Humanoid.PlatformStand = false | |
1202 | end | |
1203 | end | |
1204 | ||
1205 | end) | |
1206 | mouse.KeyUp:connect(function(key) | |
1207 | keysDown[key] = nil | |
1208 | end) | |
1209 | ||
1210 | local function updateFly() | |
1211 | ||
1212 | if not flyToggled then return end | |
1213 | ||
1214 | lastForward = forward | |
1215 | lastSide = side | |
1216 | ||
1217 | forward = 0 | |
1218 | side = 0 | |
1219 | ||
1220 | if keysDown.w then | |
1221 | forward = forward + 1 | |
1222 | end | |
1223 | if keysDown.s then | |
1224 | forward = forward - 1 | |
1225 | end | |
1226 | if keysDown.a then | |
1227 | side = side - 1 | |
1228 | end | |
1229 | if keysDown.d then | |
1230 | side = side + 1 | |
1231 | end | |
1232 | ||
1233 | canFly = (forward ~= 0 or side ~= 0) | |
1234 | ||
1235 | if canFly then | |
1236 | turnBG.Parent = pchar.Torso | |
1237 | floatBP.Parent = nil | |
1238 | flyBV.Parent = pchar.Torso | |
1239 | ||
1240 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1241 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1242 | else | |
1243 | floatBP.position = pchar.Torso.Position | |
1244 | floatBP.Parent = pchar.Torso | |
1245 | ||
1246 | flySpeed = flySpeed - 1 | |
1247 | if flySpeed < 0 then flySpeed = 0 end | |
1248 | end | |
1249 | ||
1250 | local camCF = cam.CoordinateFrame | |
1251 | local in_forward = canFly and forward or lastForward | |
1252 | local in_side = canFly and side or lastSide | |
1253 | ||
1254 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1255 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1256 | ||
1257 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1258 | 0) | |
1259 | end | |
1260 | ||
1261 | game:service'RunService'.RenderStepped:connect(function() | |
1262 | if flyToggled then | |
1263 | pchar.Humanoid.PlatformStand = true | |
1264 | end | |
1265 | updateFly() | |
1266 | end) | |
1267 | ---------------------------------------------------- | |
1268 | mouse.KeyDown:connect(function(key) | |
1269 | if key == "q" then | |
1270 | if Debounces.CanAttack == true then | |
1271 | Debounces.CanAttack = false | |
1272 | Debounces.NoIdl = true | |
1273 | Debounces.on = true | |
1274 | for i = 1, 20 do | |
1275 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(68),math.rad(0),math.rad(50+1*math.cos(sine/14))), 0.3) | |
1276 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(68),math.rad(0),math.rad(-54-1*math.cos(sine/14))), 0.3) | |
1277 | if Debounces.on == false then break end | |
1278 | wait() | |
1279 | end | |
1280 | wait() | |
1281 | for i = 1, 20 do | |
1282 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(.8,0.5,-1.2)*CFrame.Angles(math.rad(78),math.rad(0),math.rad(-40+1*math.cos(sine/14))), 0.3) | |
1283 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-.8,0.5,-1.2)*CFrame.Angles(math.rad(78),math.rad(0),math.rad(40-1*math.cos(sine/14))), 0.3) | |
1284 | if Debounces.on == false then break end | |
1285 | wait() | |
1286 | end | |
1287 | Debounces.NoIdl = false | |
1288 | Debounces.on = false | |
1289 | wait() | |
1290 | if Debounces.CanAttack == false then | |
1291 | Debounces.CanAttack = true | |
1292 | end | |
1293 | end | |
1294 | end | |
1295 | end) | |
1296 | ---------------------------------------------------- | |
1297 | mouse.KeyDown:connect(function(key) | |
1298 | if key == "r" then | |
1299 | if Debounces.CanAttack == true then | |
1300 | Debounces.CanAttack = false | |
1301 | explo=false | |
1302 | Debounces.NoIdl = true | |
1303 | Debounces.on = true | |
1304 | for i = 1,20 do | |
1305 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),0) | |
1306 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 10, 0)*CFrame.Angles(math.rad(30), math.rad(0), 0), 0.3) | |
1307 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-40)), 0.3) | |
1308 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(40)), 0.3) | |
1309 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.6) | |
1310 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.6) | |
1311 | if Debounces.on == false then break end | |
1312 | wait() | |
1313 | end | |
1314 | wait() | |
1315 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random(30,60)), 0, math.rad(math.random(-30,30))), 0) | |
1316 | explosion('Royal purple','Black',torso.CFrame,Vector3.new(50,50,50),30,math.random(15,30)) | |
1317 | b = Instance.new("Sound") | |
1318 | b.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1319 | b.Parent = char | |
1320 | b.Looped = false | |
1321 | b:Play() | |
1322 | n = Instance.new("Sound") | |
1323 | n.SoundId = "http://www.roblox.com/asset/?id=168514932" | |
1324 | n.Parent = char | |
1325 | n.Pitch = 0.94 | |
1326 | n.Looped = false | |
1327 | n:Play() | |
1328 | for i = 1,20 do | |
1329 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),0) | |
1330 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(-40), math.rad(0), 0), 1) | |
1331 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-40)), 1) | |
1332 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(40)), 1) | |
1333 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(-20)), 1) | |
1334 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 1) | |
1335 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(2.4, -1.2, -2.2) * CFrame.Angles(math.rad(-68), math.rad(-120), math.rad(45)), 1) | |
1336 | cor3.Weld.C0 = Lerp(cor3.Weld.C0, CFrame.new(0, -1.2, -2.2) * CFrame.Angles(math.rad(-88), math.rad(-60), math.rad(45)), 1) | |
1337 | if Debounces.on == false then break end | |
1338 | wait() | |
1339 | end | |
1340 | Debounces.NoIdl = false | |
1341 | Debounces.on = false | |
1342 | wait() | |
1343 | if Debounces.CanAttack == false then | |
1344 | Debounces.CanAttack = true | |
1345 | b:Destroy() | |
1346 | end | |
1347 | end | |
1348 | end | |
1349 | end) | |
1350 | ||
1351 | ---------------------------------------------------- | |
1352 | mouse.KeyDown:connect(function(key) | |
1353 | if key == "g" then | |
1354 | if Debounces.CanAttack == true then | |
1355 | Debounces.CanAttack = false | |
1356 | x = Instance.new("Sound") | |
1357 | x.SoundId = "http://www.roblox.com/asset/?id=138199573" | |
1358 | x.Parent = game.Workspace | |
1359 | x.Looped = false | |
1360 | x.Pitch = .7 | |
1361 | x.Volume = 1 | |
1362 | wait(.01) | |
1363 | x:Play() | |
1364 | wait(6) | |
1365 | x:Destroy() | |
1366 | if Debounces.CanAttack == false then | |
1367 | Debounces.CanAttack = true | |
1368 | end | |
1369 | end | |
1370 | end | |
1371 | end) | |
1372 | ---------------------------------------------------- | |
1373 | mouse.KeyDown:connect(function(key) | |
1374 | if key == "t" then | |
1375 | if Debounces.CanAttack == true then | |
1376 | Debounces.CanAttack = false | |
1377 | Debounces.NoIdl = true | |
1378 | Debounces.on = true | |
1379 | for i = 1, 20 do | |
1380 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),0) | |
1381 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0)*CFrame.Angles(math.rad(30), math.rad(0), 0), 0.1) | |
1382 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-40)), 0.1) | |
1383 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(40)), 0.1) | |
1384 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1385 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1386 | if Debounces.on == false then break end | |
1387 | wait() | |
1388 | end | |
1389 | wait(1) | |
1390 | for i = 1, 20 do | |
1391 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(-100)), 0.2) | |
1392 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(100)), 0.2) | |
1393 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-20)), 0.2) | |
1394 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(20)), 0.2) | |
1395 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(35), math.rad(0), 0), 0.2) | |
1396 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
1397 | if Debounces.on == false then break end | |
1398 | for i,v in pairs(char.Scythe2:children()) do | |
1399 | if v:IsA("Part") then | |
1400 | v.Transparency = 0 | |
1401 | cor3.Transparency = 1 | |
1402 | end | |
1403 | end | |
1404 | wait() | |
1405 | end | |
1406 | Debounces.NoIdl = false | |
1407 | Debounces.on = false | |
1408 | wait() | |
1409 | if Debounces.CanAttack == false then | |
1410 | Debounces.CanAttack = true | |
1411 | end | |
1412 | end | |
1413 | end | |
1414 | end) | |
1415 | ---------------------------------------------------- | |
1416 | mouse.KeyDown:connect(function(key) | |
1417 | if key == "y" then | |
1418 | if Debounces.CanAttack == true then | |
1419 | Debounces.CanAttack = false | |
1420 | Debounces.NoIdl = true | |
1421 | Debounces.on = true | |
1422 | for i = 1, 20 do | |
1423 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(-100)), 0.2) | |
1424 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(100)), 0.2) | |
1425 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-20)), 0.2) | |
1426 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(20)), 0.2) | |
1427 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(35), math.rad(0), 0), 0.2) | |
1428 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
1429 | wait() | |
1430 | end | |
1431 | wait(1) | |
1432 | for i = 1, 20 do | |
1433 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),0) | |
1434 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0)*CFrame.Angles(math.rad(30), math.rad(0), 0), 0.1) | |
1435 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-40)), 0.1) | |
1436 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,-.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(40)), 0.1) | |
1437 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1438 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1) | |
1439 | if Debounces.on == false then break end | |
1440 | for i,v in pairs(char.Scythe2:children()) do | |
1441 | if v:IsA("Part") then | |
1442 | v.Transparency = 1 | |
1443 | cor3.Transparency = 1 | |
1444 | end | |
1445 | end | |
1446 | wait() | |
1447 | end | |
1448 | Debounces.NoIdl = false | |
1449 | Debounces.on = false | |
1450 | wait() | |
1451 | if Debounces.CanAttack == false then | |
1452 | Debounces.CanAttack = true | |
1453 | end | |
1454 | end | |
1455 | end | |
1456 | end) | |
1457 | ---------------------------------------------------- | |
1458 | mouse.KeyDown:connect(function(key) | |
1459 | if key == "x" then | |
1460 | char.Humanoid.MaxHealth = math.huge | |
1461 | lite.Brightness = 0 | |
1462 | --[[ b = Instance.new("Sound") | |
1463 | b.SoundId = "http://www.roblox.com/asset/?id=147709499" | |
1464 | b.Parent = char.Head | |
1465 | b.Looped = true | |
1466 | b.Pitch = 1 | |
1467 | b.Volume = 1 | |
1468 | wait(.1) | |
1469 | b:Play()]] | |
1470 | for i = 1, 20 do | |
1471 | wait() | |
1472 | char.Reaper.Handle.Transparency = char.Reaper.Handle.Transparency + 0.05 | |
1473 | rarm.Transparency = rarm.Transparency + 0.05 | |
1474 | larm.Transparency = larm.Transparency + 0.05 | |
1475 | rleg.Transparency = rleg.Transparency + 0.05 | |
1476 | lleg.Transparency = lleg.Transparency + 0.05 | |
1477 | torso.Transparency = torso.Transparency + 0.05 | |
1478 | hed.Transparency = hed.Transparency + 0.05 | |
1479 | for i,v in pairs(char.Scythe:children()) do | |
1480 | if v:IsA("Part") then | |
1481 | v.Transparency = v.Transparency + 0.05 | |
1482 | end | |
1483 | end | |
1484 | for i,v in pairs(char.Scythe2:children()) do | |
1485 | if v:IsA("Part") then | |
1486 | v.Transparency = v.Transparency + 0.05 | |
1487 | end | |
1488 | end | |
1489 | for i,v in pairs(char.Wings:children()) do | |
1490 | if v:IsA("Part") then | |
1491 | v.Transparency = v.Transparency + 0.05 | |
1492 | end | |
1493 | end | |
1494 | end | |
1495 | --char.Parent = game.Workspace.Camera | |
1496 | char.Humanoid.WalkSpeed = 40 | |
1497 | --z:Stop() | |
1498 | --v:Stop() | |
1499 | end | |
1500 | end) | |
1501 | ---------------------------------------------------- | |
1502 | mouse.KeyUp:connect(function(key) | |
1503 | if key == "x" then | |
1504 | char.Humanoid.MaxHealth = 50000 | |
1505 | --[[ b = Instance.new("Sound") | |
1506 | b.SoundId = "http://www.roblox.com/asset/?id=155348816" | |
1507 | b.Parent = game.Workspace.TheDarkRevenant.Head | |
1508 | b.Looped = false | |
1509 | b.Pitch = 1 | |
1510 | b.Volume = 1 | |
1511 | wait(.1) | |
1512 | b:Play()]] | |
1513 | char.Humanoid.WalkSpeed = 5 | |
1514 | for i = 1, 10 do | |
1515 | wait() | |
1516 | char.Reaper.Handle.Transparency = char.Reaper.Handle.Transparency - 0.1 | |
1517 | rarm.Transparency = rarm.Transparency - 0.1 | |
1518 | larm.Transparency = larm.Transparency - 0.1 | |
1519 | rleg.Transparency = rleg.Transparency - 0.1 | |
1520 | lleg.Transparency = lleg.Transparency - 0.1 | |
1521 | torso.Transparency = torso.Transparency - 0.1 | |
1522 | for i,v in pairs(char.Scythe:children()) do | |
1523 | if v:IsA("Part") then | |
1524 | v.Transparency = v.Transparency - 0.1 | |
1525 | end | |
1526 | end | |
1527 | for i,v in pairs(char.Scythe2:children()) do | |
1528 | if v:IsA("Part") then | |
1529 | v.Transparency = v.Transparency - 0.1 | |
1530 | end | |
1531 | end | |
1532 | for i,v in pairs(char.Wings:children()) do | |
1533 | if v:IsA("Part") then | |
1534 | v.Transparency = v.Transparency - 0.1 | |
1535 | end | |
1536 | end | |
1537 | end | |
1538 | --b:Stop() | |
1539 | --char.Parent = game.Workspace | |
1540 | lite.Brightness = 10 | |
1541 | end | |
1542 | end) | |
1543 | ---------------------------------------------------- | |
1544 | local PressingMouse=false | |
1545 | mouse.Button1Up:connect(function() | |
1546 | PressingMouse=false | |
1547 | end) | |
1548 | ---------------------------------------------------- | |
1549 | mouse.Button1Down:connect(function() | |
1550 | PressingMouse=true | |
1551 | if Debounces.CanAttack == true then | |
1552 | Debounces.CanAttack = false | |
1553 | Debounces.NoIdl = true | |
1554 | Debounces.on = true | |
1555 | for i = 1, 20 do | |
1556 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-4),math.rad(38),0) | |
1557 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.2*math.cos(sine/14), 0)*CFrame.Angles(math.rad(0), math.rad(-44), 0), 0.05) | |
1558 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20+1*math.cos(sine/14))), 0.3) | |
1559 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20-1*math.cos(sine/14))), 0.3) | |
1560 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-8)), 0.6) | |
1561 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(8)), 0.6) | |
1562 | if Debounces.on == false then break end | |
1563 | wait() | |
1564 | end | |
1565 | local targ=false | |
1566 | if mouse.Target and mouse.Target.Parent:FindFirstChild("Humanoid") then | |
1567 | targ = mouse.Target.Parent | |
1568 | end | |
1569 | if targ and targ:FindFirstChild("Torso") then | |
1570 | ||
1571 | --pulling the player towards you: | |
1572 | local TargetT = targ:FindFirstChild("Torso") | |
1573 | local TargetH = targ:FindFirstChild("Humanoid") | |
1574 | local weld = weld(char["Torso"],TargetT) | |
1575 | local start = weld.C0 | |
1576 | for i = 1, 25 do wait() | |
1577 | weld.C0 = matrixInterpolate(start,CFrame.new(-2.2,.4,-2)*CFrame.Angles(0,math.rad(60),0),i/25) | |
1578 | end | |
1579 | local Grabbing = true | |
1580 | local hum = targ:FindFirstChild("Humanoid") | |
1581 | hum.Changed:connect(function() | |
1582 | if Grabbing then | |
1583 | wait() | |
1584 | hum.PlatformStand = true | |
1585 | hum.Jump=false --yolo | |
1586 | end | |
1587 | end) | |
1588 | ||
1589 | --grabing anim | |
1590 | for i = 1, 20 do | |
1591 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(4),math.rad(44),0) | |
1592 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.2*math.cos(sine/14), 0)*CFrame.Angles(math.rad(0), math.rad(-44), 0), 0.05) | |
1593 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.6)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-10+1*math.cos(sine/14))), 0.3) | |
1594 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-20-1*math.cos(sine/14))), 0.3) | |
1595 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-8)), 0.6) | |
1596 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(8)), 0.6) | |
1597 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(.6, -.6, -1.8)*CFrame.Angles(math.rad(10), math.rad(-16), math.rad(80)), 0.3) | |
1598 | if Debounces.on == false then break end | |
1599 | wait() | |
1600 | end | |
1601 | ------------ | |
1602 | repeat wait() | |
1603 | until not PressingMouse | |
1604 | --throwing player: | |
1605 | local a = 0 | |
1606 | local ang=0 | |
1607 | for i = 1,25 do wait() | |
1608 | a = a+1/25 | |
1609 | ang = ang+a | |
1610 | ||
1611 | end | |
1612 | ||
1613 | Grabbing=false | |
1614 | weld:Destroy() | |
1615 | Debounces.Slashing = false | |
1616 | Debounces.NoIdl = false | |
1617 | wait() | |
1618 | if Debounces.CanAttack == false then | |
1619 | Debounces.CanAttack = true | |
1620 | end | |
1621 | else | |
1622 | Debounces.NoIdl = false | |
1623 | wait() | |
1624 | if Debounces.CanAttack == false then | |
1625 | Debounces.CanAttack = true | |
1626 | end | |
1627 | end | |
1628 | end | |
1629 | end) | |
1630 | ---------------------------------------------------- | |
1631 | mouse.KeyDown:connect(function(key) | |
1632 | if key == "e" then | |
1633 | for i,v in pairs(game.Players:getPlayers()) do | |
1634 | if v.Name~=char.Name then | |
1635 | for j,k in pairs(v.Character:GetChildren()) do | |
1636 | if k:IsA("BasePart") and k.Transparency <= 1 then | |
1637 | bawx=Instance.new("SelectionBox",cam) | |
1638 | bawx.Color = BrickColor.new("Bright red") | |
1639 | bawx.Transparency = .5 | |
1640 | bawx.Adornee = k | |
1641 | end | |
1642 | end | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | end) | |
1647 | ---------------------------------------------------- | |
1648 | mouse.KeyUp:connect(function(key) | |
1649 | if key == "e" then | |
1650 | for i, v in pairs(cam:children()) do | |
1651 | if v:IsA("SelectionBox") then | |
1652 | v:Destroy() | |
1653 | end | |
1654 | end | |
1655 | end | |
1656 | end) | |
1657 | ---------------------------------------------------- | |
1658 | --[[mouse.KeyDown:connect(function(key) | |
1659 | if key == "c" then | |
1660 | if Debounces.CanAttack == true then | |
1661 | Debounces.CanAttack = false | |
1662 | ||
1663 | l.TimeOfDay = 24 | |
1664 | l.Ambient = Color3.new(0.2, 0.2, 0.2) | |
1665 | l.OutdoorAmbient = Color3.new(0.2, 0.2, 0.2) | |
1666 | else do | |
1667 | l.TimeOfDay = 12 | |
1668 | l.Ambient = Color3.new(0, 0, 0) | |
1669 | l.OutdoorAmbient = Color3.new(0, 0, 0) | |
1670 | end | |
1671 | end | |
1672 | end | |
1673 | end)]]-- | |
1674 | ---------------------------------------------------- | |
1675 | mouse.KeyDown:connect(function(key) | |
1676 | if key == "z" then | |
1677 | stanceToggle = "Landed" | |
1678 | elseif key == "c" then | |
1679 | stanceToggle = "Floating" | |
1680 | elseif key == "v" then | |
1681 | stanceToggle = "Sitting" | |
1682 | end | |
1683 | end) | |
1684 | ---------------------------------------------------- | |
1685 | game:GetService("RunService").RenderStepped:connect(function() | |
1686 | --[[if char.Humanoid.Jump == true then | |
1687 | jumpn = true | |
1688 | else | |
1689 | jumpn = false | |
1690 | end]] | |
1691 | char.Humanoid.FreeFalling:connect(function(f) | |
1692 | if f then | |
1693 | ffing = true | |
1694 | else | |
1695 | ffing = false | |
1696 | end | |
1697 | end) | |
1698 | sine = sine + change | |
1699 | if jumpn == true then | |
1700 | animpose = "Jumping" | |
1701 | elseif ffing == true then | |
1702 | animpose = "Freefalling" | |
1703 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
1704 | animpose = "Idle" | |
1705 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
1706 | animpose = "Walking" | |
1707 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
1708 | animpose = "Running" | |
1709 | end | |
1710 | if animpose ~= lastanimpose then | |
1711 | sine = 0 | |
1712 | if Debounces.NoIdl == false then | |
1713 | if stanceToggle == "Floating" then | |
1714 | change = 1 | |
1715 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-10)), 0.6) | |
1716 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
1717 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-8)), 0.6) | |
1718 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(8)), 0.6) | |
1719 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -2.2, -1.8)*CFrame.Angles(math.rad(-28), math.rad(0), math.rad(0)), 0.6) | |
1720 | cor3.Weld.C0 = Lerp(cor3.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-36), math.rad(-90), math.rad(40)), 0.6) | |
1721 | end | |
1722 | elseif stanceToggle == "Landed" then | |
1723 | change = 1 | |
1724 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
1725 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
1726 | elseif stanceToggle == "Sitting" then | |
1727 | change = 1 | |
1728 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
1729 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
1730 | wait() | |
1731 | end | |
1732 | else | |
1733 | end | |
1734 | lastanimpose = animpose | |
1735 | if Debounces.NoIdl == false then | |
1736 | if animpose == "Idle" then | |
1737 | if stanceToggle == "Floating" then | |
1738 | change = 0.5 | |
1739 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.14*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.05) | |
1740 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30+1*math.cos(sine/14))), 0.3) | |
1741 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.05*math.cos(sine/14),0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-10-1.5*math.cos(sine/14))), 0.3) | |
1742 | hed.Weld.C0 = CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-20+2*math.cos(sine/14)),math.rad(0),0) | |
1743 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-8-1.5*math.cos(sine/14))), 0.3) | |
1744 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(8+1.5*math.cos(sine/14))), 0.3) | |
1745 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -2.2, -1.8) * CFrame.Angles(math.rad(-28), math.rad(0), math.rad(0)), 0.3) | |
1746 | elseif stanceToggle == "Landed" then | |
1747 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.05*math.cos(sine/14),0)*CFrame.Angles(math.rad(16),math.rad(12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
1748 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.05*math.cos(sine/14),.2)*CFrame.Angles(math.rad(20),math.rad(22),math.rad(-16-2*math.cos(sine/14))), 0.2) | |
1749 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10+2*math.cos(sine/14)),math.rad(36),0) | |
1750 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-36), math.rad(0)), 0.2) | |
1751 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.7, -1, -0.3) * CFrame.Angles(math.rad(30), math.rad(30), math.rad(-30)), 0.2) | |
1752 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1753 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(1.6, -1.4, -1.4) * CFrame.Angles(math.rad(-60), math.rad(-60), math.rad(0)), 0.6) | |
1754 | cor3.Weld.C0 = Lerp(cor3.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-36), math.rad(-90), math.rad(40)), 0.6) | |
1755 | elseif stanceToggle == "Sitting" then | |
1756 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(85-1*math.cos(sine/14)),math.rad(0),math.rad(12)), 0.2) | |
1757 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-25-1*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2) | |
1758 | hed.Weld.C0 = CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-24+2*math.cos(sine/14)),math.rad(0),0) | |
1759 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-26+1*math.cos(sine/14)), math.rad(0), math.rad(0)), 0.2) | |
1760 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.2, -.5) * CFrame.Angles(math.rad(-40-1*math.cos(sine/14)), 0, math.rad(0)), 0.2) | |
1761 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -1) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, math.rad(0)), 0.2) | |
1762 | end | |
1763 | elseif animpose == "Walking" then | |
1764 | if stanceToggle == "Landed" then | |
1765 | change = 0.5 | |
1766 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(math.sin(sine/8)/2.8, math.rad(14), math.rad(-10-2*math.cos(sine/14))), 1) | |
1767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.sin(sine/8)/2.8, math.rad(-14), math.rad(10)), 1) | |
1768 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8), 0, 0) | |
1769 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(-math.sin(sine/8)/2.4, 0, 0), 1) | |
1770 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.sin(sine/8)/2.4, 0, 0), 1) | |
1771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
1772 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(1.6, -1.4, -1.4) * CFrame.Angles(math.rad(-60), math.rad(-60), math.rad(0)), 0.6) | |
1773 | elseif stanceToggle == "Sitting" then stanceToggle = "Landed" | |
1774 | elseif stanceToggle == "Floating" then | |
1775 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), 0, 0), 0.6) | |
1776 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90), 0, math.rad(30+2*math.cos(sine/14))), 0.4) | |
1777 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(15+10*math.cos(sine/16)), 0, 0), 0.4) | |
1778 | hed.Weld.C0 = CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-18+2*math.cos(sine/20)),math.rad(0),0) | |
1779 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(13+4*math.cos(sine/16)), 0, 0), 0.4) | |
1780 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(15+10*math.cos(sine/16)), 0, 0), 0.4) | |
1781 | cor2.Weld.C0 = Lerp(cor2.Weld.C0, CFrame.new(0, -2.2, -1.8) * CFrame.Angles(math.rad(-28), math.rad(0), math.rad(0)), 0.6) | |
1782 | end | |
1783 | end | |
1784 | end | |
1785 | end) | |
1786 | ||
1787 | while wait() do | |
1788 | wait(5) | |
1789 | ypcall(function()me=workspace.TheDarkRevenant | |
1790 | local bk=me["B&W"].Handle.Mesh bk.VertexColor=Vector3.new(0,0,0) | |
1791 | pl=Instance.new("PointLight",bk.Parent)pl.Brightness=0 pl.Color=Color3.new(0,0,0) | |
1792 | for i=1,100 do | |
1793 | wait() | |
1794 | bk.VertexColor=bk.VertexColor+Vector3.new(.01,.01,.01) | |
1795 | pl.Brightness=pl.Brightness+0.01 | |
1796 | end | |
1797 | for i=1,100 do | |
1798 | wait() | |
1799 | bk.VertexColor=bk.VertexColor-Vector3.new(.01,.01,.01) | |
1800 | pl.Brightness=pl.Brightness-0.01 | |
1801 | end | |
1802 | pl:Remove() | |
1803 | end) | |
1804 | end | |
1805 | ||
1806 | Spawn(function() | |
1807 | while wait() do | |
1808 | ||
1809 | updateFly() | |
1810 | ||
1811 | end | |
1812 | end) | |
1813 | ||
1814 | char.Humanoid.MaxHealth = 50000 | |
1815 | wait(2.4) | |
1816 | char.Humanoid.Health = 50000 | |
1817 | --[[snds = {"166118364", "166118419", "166118501", "166118551", "167060296", "167060276", "131300621"} | |
1818 | coroutine.wrap(function() while wait(math.random(10,30)) do | |
1819 | sawnd=Instance.new("Sound") | |
1820 | sawnd.Parent = game.Workspace | |
1821 | sawnd.Volume=.6 | |
1822 | sawnd.Looped=false | |
1823 | sawnd.Pitch=1 | |
1824 | sawnd.SoundId="http://www.roblox.com/asset/?id="..snds[math.random(1,#snds)] | |
1825 | sawnd:Play() | |
1826 | game:service'Debris':AddItem(sawnd,2.2) | |
1827 | end | |
1828 | end)()]] | |
1829 | ||
1830 | ||
1831 | ||
1832 | --Left wing: Part8, Part1, Part2 | |
1833 | --Right wing: Part9, Part 7, Part 12 | |
1834 | ||
1835 | --[[ | |
1836 | z = Instance.new("Sound") | |
1837 | z.SoundId = "http://www.roblox.com/asset/?id=183357153" | |
1838 | z.Parent = game.Workspace.TheKorbloxCore | |
1839 | z.Looped = true | |
1840 | z.Pitch = 1 | |
1841 | z.Volume = 1 | |
1842 | wait(.01) | |
1843 | z:Play() | |
1844 | ]]-- |