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