SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Since you damned fmers are so enraptured by this script | |
3 | i might aswell release THIS! | |
4 | DSSJ3 baby | |
5 | ]] | |
6 | ||
7 | --[[ | |
8 | User: TheDarkRevenant | |
9 | Script: DSSJ3 | |
10 | Pass: QNAh3g8U | |
11 | ||
12 | ]] | |
13 | ||
14 | local p = game.Players.LocalPlayer | |
15 | local char = p.Character | |
16 | local mouse = p:GetMouse() | |
17 | local larm = char["Left Arm"] | |
18 | local rarm = char["Right Arm"] | |
19 | local lleg = char["Left Leg"] | |
20 | local rleg = char["Right Leg"] | |
21 | local hed = char.Head | |
22 | local torso = char.Torso | |
23 | local hum = char.Humanoid | |
24 | local cam = game.Workspace.CurrentCamera | |
25 | local root = char.HumanoidRootPart | |
26 | local deb = false | |
27 | local shot = 0 | |
28 | local debris=game:service"Debris" | |
29 | local l = game:GetService("Lighting") | |
30 | local rs = game:GetService("RunService").RenderStepped | |
31 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
32 | math.randomseed(os.time()) | |
33 | for i,v in pairs(char:children()) do | |
34 | if v:IsA("Hat") then | |
35 | v:Destroy() | |
36 | end | |
37 | end | |
38 | for i,v in pairs (hed:GetChildren()) do | |
39 | if v:IsA("Sound") then | |
40 | v:Destroy() | |
41 | end | |
42 | end | |
43 | ---------------------------------------------------- | |
44 | Debounces = { | |
45 | CanAttack = true; | |
46 | NoIdl = false; | |
47 | Slashing = false; | |
48 | Slashed = false; | |
49 | RPunch = false; | |
50 | RPunched = false; | |
51 | LPunch = false; | |
52 | LPunched = false; | |
53 | } | |
54 | local Touche = {char.Name, } | |
55 | ---------------------------------------------------- | |
56 | hed.face.Texture = "rbxassetid://416805592" | |
57 | char["Body Colors"].HeadColor = BrickColor.new("Institutional white") | |
58 | char["Body Colors"].TorsoColor = BrickColor.new("Institutional white") | |
59 | char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white") | |
60 | char["Body Colors"].RightArmColor = BrickColor.new("Institutional white") | |
61 | ---------------------------------------------------- | |
62 | ypcall(function() | |
63 | char.Shirt:Destroy() | |
64 | char.Pants:Destroy() | |
65 | shirt = Instance.new("Shirt", char) | |
66 | shirt.Name = "Shirt" | |
67 | pants = Instance.new("Pants", char) | |
68 | pants.Name = "Pants" | |
69 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=334781689" |
69 | + | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=334755544" |
70 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=405698688" |
70 | + | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=315964941" |
71 | end) | |
72 | ---------------------------------------------------- | |
73 | function lerp(a, b, t) -- Linear interpolation | |
74 | return a + (b - a)*t | |
75 | end | |
76 | ||
77 | function slerp(a, b, t) --Spherical interpolation | |
78 | dot = a:Dot(b) | |
79 | if dot > 0.99999 or dot < -0.99999 then | |
80 | return t <= 0.5 and a or b | |
81 | else | |
82 | r = math.acos(dot) | |
83 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
84 | end | |
85 | end | |
86 | ||
87 | function matrixInterpolate(a, b, t) | |
88 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
89 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
90 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
91 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
92 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
93 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
94 | local t = v1:Dot(v2) | |
95 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
96 | return CFrame.new() | |
97 | end | |
98 | return CFrame.new( | |
99 | v0.x, v0.y, v0.z, | |
100 | v1.x, v1.y, v1.z, | |
101 | v2.x, v2.y, v2.z, | |
102 | v3.x, v3.y, v3.z) | |
103 | end | |
104 | ---------------------------------------------------- | |
105 | function genWeld(a,b) | |
106 | local w = Instance.new("Weld",a) | |
107 | w.Part0 = a | |
108 | w.Part1 = b | |
109 | return w | |
110 | end | |
111 | function weld(a, b) | |
112 | local weld = Instance.new("Weld") | |
113 | weld.Name = "W" | |
114 | weld.Part0 = a | |
115 | weld.Part1 = b | |
116 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
117 | weld.Parent = a | |
118 | return weld; | |
119 | end | |
120 | ---------------------------------------------------- | |
121 | function Lerp(c1,c2,al) | |
122 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
123 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
124 | for i,v in pairs(com1) do | |
125 | com1[i] = v+(com2[i]-v)*al | |
126 | end | |
127 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
128 | end | |
129 | ---------------------------------------------------- | |
130 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
131 | local wld = Instance.new("Weld", wp1) | |
132 | wld.Part0 = wp0 | |
133 | wld.Part1 = wp1 | |
134 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
135 | end | |
136 | ---------------------------------------------------- | |
137 | function weld5(part0, part1, c0, c1) | |
138 | weeld=Instance.new("Weld", part0) | |
139 | weeld.Part0=part0 | |
140 | weeld.Part1=part1 | |
141 | weeld.C0=c0 | |
142 | weeld.C1=c1 | |
143 | return weeld | |
144 | end | |
145 | ---------------------------------------------------- | |
146 | function HasntTouched(plrname) | |
147 | local ret = true | |
148 | for _, v in pairs(Touche) do | |
149 | if v == plrname then | |
150 | ret = false | |
151 | end | |
152 | end | |
153 | return ret | |
154 | end | |
155 | ---------------------------------------------------- | |
156 | newWeld(torso, larm, -1.5, 0.5, 0) | |
157 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
158 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
159 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
160 | newWeld(torso, hed, 0, 1.5, 0) | |
161 | newWeld(torso, lleg, -0.5, -1, 0) | |
162 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
163 | newWeld(torso, rleg, 0.5, -1, 0) | |
164 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
165 | newWeld(root, torso, 0, -1, 0) | |
166 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
167 | ---------------------------------------------------- | |
168 | z = Instance.new("Sound", char) | |
169 | - | z.SoundId = "rbxassetid://412795855"--412795855 |
169 | + | z.SoundId = "rbxassetid://367908975"--412795855 |
170 | z.Looped = true | |
171 | z.Pitch = 1 | |
172 | z.Volume = 1 | |
173 | wait(.1) | |
174 | z:Play() | |
175 | ---------------------------------------------------- | |
176 | local Transforming = true | |
177 | hum.WalkSpeed = 0 | |
178 | local fx = Instance.new("Part",torso) | |
179 | fx.Anchored = true | |
180 | fx.Material = "Neon" | |
181 | fx.CanCollide = false | |
182 | fx.Locked = true | |
183 | fx.Transparency = 1 | |
184 | fx.Material = "SmoothPlastic" | |
185 | fx.Size = Vector3.new(1,1,1) | |
186 | fx.TopSurface = "SmoothNoOutlines" | |
187 | fx.BottomSurface = "SmoothNoOutlines" | |
188 | fx.BrickColor = BrickColor.new("Cyan") | |
189 | fxm = Instance.new("SpecialMesh",fx) | |
190 | fxm.MeshType = "Sphere" | |
191 | fxm.Scale = Vector3.new(1,1,1) | |
192 | for i = 1, 20 do rs:wait() | |
193 | fx.Transparency = fx.Transparency - (1/20) | |
194 | fx.CFrame = torso.CFrame | |
195 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
196 | rs:wait() | |
197 | end | |
198 | ---------------------------------------------------- | |
199 | - | local m = Instance.new("Model") |
199 | + | |
200 | - | m.Name = "Hair" |
200 | + | |
201 | - | p1 = Instance.new("Part", m) |
201 | + | |
202 | - | p1.BrickColor = BrickColor.new("Cyan") |
202 | + | |
203 | - | p1.FormFactor = Enum.FormFactor.Symmetric |
203 | + | |
204 | - | p1.Size = Vector3.new(1, 1, 1) |
204 | + | |
205 | - | p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006) |
205 | + | |
206 | - | p1.CanCollide = false |
206 | + | |
207 | - | p1.Locked = true |
207 | + | |
208 | - | p1.BottomSurface = Enum.SurfaceType.Smooth |
208 | + | |
209 | - | p1.TopSurface = Enum.SurfaceType.Smooth |
209 | + | |
210 | - | b1 = Instance.new("SpecialMesh", p1) |
210 | + | |
211 | - | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" |
211 | + | |
212 | - | b1.TextureId = "" |
212 | + | |
213 | - | b1.MeshType = Enum.MeshType.FileMesh |
213 | + | |
214 | - | b1.Name = "Mesh" |
214 | + | |
215 | - | b1.VertexColor = Vector3.new(0, 0, 0) |
215 | + | |
216 | - | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) |
216 | + | |
217 | - | p2 = Instance.new("Part", m) |
217 | + | |
218 | - | p2.BrickColor = BrickColor.new("Institutional white") |
218 | + | |
219 | - | p2.Transparency = 1 |
219 | + | |
220 | - | p2.Name = "Head" |
220 | + | |
221 | - | p2.FormFactor = Enum.FormFactor.Symmetric |
221 | + | |
222 | - | p2.Size = Vector3.new(2, 1, 1) |
222 | + | |
223 | - | p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006) |
223 | + | |
224 | - | p2.CanCollide = false |
224 | + | |
225 | - | p2.Locked = true |
225 | + | |
226 | - | p2.TopSurface = Enum.SurfaceType.Smooth |
226 | + | |
227 | - | b2 = Instance.new("SpecialMesh", p2) |
227 | + | |
228 | - | b2.MeshType = Enum.MeshType.Head |
228 | + | |
229 | - | b2.Name = "Mesh" |
229 | + | |
230 | - | b2.Scale = Vector3.new(1.25, 1.25, 1.25) |
230 | + | |
231 | - | p3 = Instance.new("Part", m) |
231 | + | |
232 | - | p3.BrickColor = BrickColor.new("Cyan") |
232 | + | |
233 | - | p3.FormFactor = Enum.FormFactor.Symmetric |
233 | + | |
234 | - | p3.Size = Vector3.new(2, 2, 2) |
234 | + | |
235 | - | p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006) |
235 | + | |
236 | - | p3.CanCollide = false |
236 | + | |
237 | - | p3.Locked = true |
237 | + | |
238 | - | p3.BottomSurface = Enum.SurfaceType.Smooth |
238 | + | |
239 | - | p3.TopSurface = Enum.SurfaceType.Smooth |
239 | + | |
240 | - | b3 = Instance.new("SpecialMesh", p3) |
240 | + | |
241 | - | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" |
241 | + | |
242 | - | b3.TextureId = "" |
242 | + | |
243 | - | b3.MeshType = Enum.MeshType.FileMesh |
243 | + | |
244 | - | b3.Name = "Mesh" |
244 | + | |
245 | - | b3.VertexColor = Vector3.new(0, 0, 0) |
245 | + | |
246 | - | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) |
246 | + | |
247 | - | p4 = Instance.new("Part", m) |
247 | + | |
248 | - | p4.BrickColor = BrickColor.new("Cyan") |
248 | + | |
249 | - | p4.FormFactor = Enum.FormFactor.Symmetric |
249 | + | |
250 | - | p4.Size = Vector3.new(1, 1, 1) |
250 | + | |
251 | - | p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006) |
251 | + | |
252 | - | p4.CanCollide = false |
252 | + | |
253 | - | p4.Locked = true |
253 | + | |
254 | - | p4.BottomSurface = Enum.SurfaceType.Smooth |
254 | + | |
255 | - | p4.TopSurface = Enum.SurfaceType.Smooth |
255 | + | |
256 | - | b4 = Instance.new("SpecialMesh", p4) |
256 | + | |
257 | - | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" |
257 | + | |
258 | - | b4.TextureId = "" |
258 | + | |
259 | - | b4.MeshType = Enum.MeshType.FileMesh |
259 | + | |
260 | - | b4.Name = "Mesh" |
260 | + | |
261 | - | b4.VertexColor = Vector3.new(0, 0, 0) |
261 | + | |
262 | - | p5 = Instance.new("Part", m) |
262 | + | |
263 | - | p5.BrickColor = BrickColor.new("Institutional white") |
263 | + | |
264 | - | p5.FormFactor = Enum.FormFactor.Symmetric |
264 | + | |
265 | - | p5.Size = Vector3.new(1, 1, 1) |
265 | + | |
266 | - | p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007) |
266 | + | |
267 | - | p5.CanCollide = false |
267 | + | |
268 | - | p5.Locked = true |
268 | + | |
269 | - | p5.BottomSurface = Enum.SurfaceType.Smooth |
269 | + | |
270 | - | p5.TopSurface = Enum.SurfaceType.Smooth |
270 | + | |
271 | - | b5 = Instance.new("SpecialMesh", p5) |
271 | + | |
272 | - | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" |
272 | + | |
273 | - | b5.TextureId = "" |
273 | + | |
274 | - | b5.MeshType = Enum.MeshType.FileMesh |
274 | + | |
275 | - | b5.Name = "Mesh" |
275 | + | |
276 | - | b5.VertexColor = Vector3.new(0, 0, 0) |
276 | + | |
277 | - | b5.Scale = Vector3.new(1, 0.899999976, 1) |
277 | + | |
278 | - | p6 = Instance.new("Part", m) |
278 | + | |
279 | - | p6.BrickColor = BrickColor.new("Cyan") |
279 | + | |
280 | - | p6.FormFactor = Enum.FormFactor.Symmetric |
280 | + | |
281 | - | p6.Size = Vector3.new(1, 1, 1) |
281 | + | |
282 | - | p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007) |
282 | + | |
283 | - | p6.CanCollide = false |
283 | + | |
284 | - | p6.Locked = true |
284 | + | |
285 | - | p6.BottomSurface = Enum.SurfaceType.Smooth |
285 | + | |
286 | - | p6.TopSurface = Enum.SurfaceType.Smooth |
286 | + | |
287 | - | b6 = Instance.new("SpecialMesh", p6) |
287 | + | |
288 | - | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" |
288 | + | |
289 | - | b6.TextureId = "" |
289 | + | |
290 | - | b6.MeshType = Enum.MeshType.FileMesh |
290 | + | |
291 | - | b6.Name = "Mesh" |
291 | + | |
292 | - | b6.VertexColor = Vector3.new(0, 0, 0) |
292 | + | |
293 | - | p7 = Instance.new("Part", m) |
293 | + | |
294 | - | p7.BrickColor = BrickColor.new("Cyan") |
294 | + | |
295 | - | p7.FormFactor = Enum.FormFactor.Symmetric |
295 | + | |
296 | - | p7.Size = Vector3.new(1, 1, 1) |
296 | + | |
297 | - | p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007) |
297 | + | |
298 | - | p7.CanCollide = false |
298 | + | |
299 | - | p7.Locked = true |
299 | + | |
300 | - | p7.BottomSurface = Enum.SurfaceType.Smooth |
300 | + | |
301 | - | p7.TopSurface = Enum.SurfaceType.Smooth |
301 | + | |
302 | - | b7 = Instance.new("SpecialMesh", p7) |
302 | + | |
303 | - | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" |
303 | + | |
304 | - | b7.TextureId = "" |
304 | + | |
305 | - | b7.MeshType = Enum.MeshType.FileMesh |
305 | + | |
306 | - | b7.Name = "Mesh" |
306 | + | |
307 | - | b7.VertexColor = Vector3.new(0, 0, 0) |
307 | + | |
308 | - | p8 = Instance.new("Part", m) |
308 | + | |
309 | - | p8.BrickColor = BrickColor.new("Cyan") |
309 | + | |
310 | - | p8.FormFactor = Enum.FormFactor.Symmetric |
310 | + | |
311 | - | p8.Size = Vector3.new(1, 1, 1) |
311 | + | |
312 | - | p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007) |
312 | + | |
313 | - | p8.CanCollide = false |
313 | + | |
314 | - | p8.Locked = true |
314 | + | |
315 | - | p8.BottomSurface = Enum.SurfaceType.Smooth |
315 | + | |
316 | - | p8.TopSurface = Enum.SurfaceType.Smooth |
316 | + | |
317 | - | b8 = Instance.new("SpecialMesh", p8) |
317 | + | |
318 | - | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" |
318 | + | |
319 | - | b8.TextureId = "" |
319 | + | |
320 | - | b8.MeshType = Enum.MeshType.FileMesh |
320 | + | |
321 | - | b8.Name = "Mesh" |
321 | + | |
322 | - | b8.VertexColor = Vector3.new(0, 0, 0) |
322 | + | |
323 | - | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) |
323 | + | |
324 | - | p9 = Instance.new("Part", m) |
324 | + | |
325 | - | p9.BrickColor = BrickColor.new("Institutional white") |
325 | + | |
326 | - | p9.FormFactor = Enum.FormFactor.Symmetric |
326 | + | |
327 | - | p9.Size = Vector3.new(2, 1, 2) |
327 | + | |
328 | - | p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007) |
328 | + | |
329 | - | p9.CanCollide = false |
329 | + | |
330 | - | p9.Locked = true |
330 | + | |
331 | - | p9.BottomSurface = Enum.SurfaceType.Smooth |
331 | + | |
332 | - | p9.TopSurface = Enum.SurfaceType.Smooth |
332 | + | |
333 | - | b9 = Instance.new("SpecialMesh", p9) |
333 | + | |
334 | - | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" |
334 | + | |
335 | - | b9.TextureId = "" |
335 | + | |
336 | - | b9.MeshType = Enum.MeshType.FileMesh |
336 | + | |
337 | - | b9.Name = "Mesh" |
337 | + | |
338 | - | b9.VertexColor = Vector3.new(0, 0, 0) |
338 | + | |
339 | - | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) |
339 | + | |
340 | - | p10 = Instance.new("Part", m) |
340 | + | |
341 | - | p10.BrickColor = BrickColor.new("Cyan") |
341 | + | |
342 | - | p10.FormFactor = Enum.FormFactor.Symmetric |
342 | + | |
343 | - | p10.Size = Vector3.new(1, 1, 1) |
343 | + | |
344 | - | p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007) |
344 | + | |
345 | - | p10.CanCollide = false |
345 | + | |
346 | - | p10.Locked = true |
346 | + | |
347 | - | p10.BottomSurface = Enum.SurfaceType.Smooth |
347 | + | |
348 | - | p10.TopSurface = Enum.SurfaceType.Smooth |
348 | + | |
349 | - | b10 = Instance.new("SpecialMesh", p10) |
349 | + | |
350 | - | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" |
350 | + | |
351 | - | b10.TextureId = "" |
351 | + | |
352 | - | b10.MeshType = Enum.MeshType.FileMesh |
352 | + | |
353 | - | b10.Name = "Mesh" |
353 | + | |
354 | - | b10.VertexColor = Vector3.new(0, 0, 0) |
354 | + | |
355 | - | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) |
355 | + | |
356 | - | p11 = Instance.new("Part", m) |
356 | + | |
357 | - | p11.BrickColor = BrickColor.new("Cyan") |
357 | + | |
358 | - | p11.FormFactor = Enum.FormFactor.Symmetric |
358 | + | |
359 | - | p11.Size = Vector3.new(1, 1, 1) |
359 | + | |
360 | - | p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007) |
360 | + | |
361 | - | p11.CanCollide = false |
361 | + | |
362 | - | p11.Locked = true |
362 | + | |
363 | - | p11.BottomSurface = Enum.SurfaceType.Smooth |
363 | + | |
364 | - | p11.TopSurface = Enum.SurfaceType.Smooth |
364 | + | |
365 | - | b11 = Instance.new("SpecialMesh", p11) |
365 | + | |
366 | - | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" |
366 | + | |
367 | - | b11.TextureId = "" |
367 | + | |
368 | - | b11.MeshType = Enum.MeshType.FileMesh |
368 | + | |
369 | - | b11.Name = "Mesh" |
369 | + | |
370 | - | b11.VertexColor = Vector3.new(0, 0, 0) |
370 | + | |
371 | - | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) |
371 | + | |
372 | - | p12 = Instance.new("Part", m) |
372 | + | |
373 | - | p12.BrickColor = BrickColor.new("Cyan") |
373 | + | |
374 | - | p12.FormFactor = Enum.FormFactor.Custom |
374 | + | |
375 | - | p12.Size = Vector3.new(1, 3.5, 1) |
375 | + | |
376 | - | p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007) |
376 | + | |
377 | - | p12.CanCollide = false |
377 | + | |
378 | - | p12.Locked = true |
378 | + | |
379 | - | p12.BottomSurface = Enum.SurfaceType.Smooth |
379 | + | |
380 | - | p12.TopSurface = Enum.SurfaceType.Smooth |
380 | + | |
381 | - | b12 = Instance.new("SpecialMesh", p12) |
381 | + | |
382 | - | b12.MeshId = "http://www.roblox.com/asset/?id=12212520" |
382 | + | |
383 | - | b12.TextureId = "" |
383 | + | |
384 | - | b12.MeshType = Enum.MeshType.FileMesh |
384 | + | |
385 | - | b12.Name = "Mesh" |
385 | + | |
386 | - | b12.VertexColor = Vector3.new(0, 0, 0) |
386 | + | |
387 | - | b12.Scale = Vector3.new(1, 3, 1.29999995) |
387 | + | |
388 | - | p13 = Instance.new("Part", m) |
388 | + | |
389 | - | p13.BrickColor = BrickColor.new("Institutional white") |
389 | + | |
390 | - | p13.FormFactor = Enum.FormFactor.Custom |
390 | + | |
391 | - | p13.Size = Vector3.new(1, 2, 1) |
391 | + | |
392 | - | p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007) |
392 | + | |
393 | - | p13.CanCollide = false |
393 | + | |
394 | - | p13.Locked = true |
394 | + | |
395 | - | p13.BottomSurface = Enum.SurfaceType.Smooth |
395 | + | |
396 | - | p13.TopSurface = Enum.SurfaceType.Smooth |
396 | + | |
397 | - | b13 = Instance.new("SpecialMesh", p13) |
397 | + | |
398 | - | b13.MeshId = "http://www.roblox.com/asset/?id=12212520" |
398 | + | |
399 | - | b13.TextureId = "" |
399 | + | |
400 | - | b13.MeshType = Enum.MeshType.FileMesh |
400 | + | |
401 | - | b13.Name = "Mesh" |
401 | + | |
402 | - | b13.VertexColor = Vector3.new(0, 0, 0) |
402 | + | |
403 | - | b13.Scale = Vector3.new(1, 3, 1.29999995) |
403 | + | |
404 | - | p14 = Instance.new("Part", m) |
404 | + | |
405 | - | p14.BrickColor = BrickColor.new("Cyan") |
405 | + | |
406 | - | p14.FormFactor = Enum.FormFactor.Custom |
406 | + | |
407 | - | p14.Size = Vector3.new(1, 2, 1) |
407 | + | |
408 | - | p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007) |
408 | + | |
409 | - | p14.CanCollide = false |
409 | + | |
410 | - | p14.Locked = true |
410 | + | |
411 | - | p14.BottomSurface = Enum.SurfaceType.Smooth |
411 | + | |
412 | - | p14.TopSurface = Enum.SurfaceType.Smooth |
412 | + | |
413 | - | b14 = Instance.new("SpecialMesh", p14) |
413 | + | |
414 | - | b14.MeshId = "http://www.roblox.com/asset/?id=12212520" |
414 | + | |
415 | - | b14.TextureId = "" |
415 | + | |
416 | - | b14.MeshType = Enum.MeshType.FileMesh |
416 | + | |
417 | - | b14.Name = "Mesh" |
417 | + | |
418 | - | b14.VertexColor = Vector3.new(0, 0, 0) |
418 | + | |
419 | - | b14.Scale = Vector3.new(1, 3, 1.29999995) |
419 | + | |
420 | - | p15 = Instance.new("Part", m) |
420 | + | |
421 | - | p15.BrickColor = BrickColor.new("Cyan") |
421 | + | |
422 | - | p15.FormFactor = Enum.FormFactor.Custom |
422 | + | |
423 | - | p15.Size = Vector3.new(1, 2.5, 1) |
423 | + | |
424 | - | p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281) |
424 | + | |
425 | - | p15.CanCollide = false |
425 | + | |
426 | - | p15.Locked = true |
426 | + | |
427 | - | p15.BottomSurface = Enum.SurfaceType.Smooth |
427 | + | |
428 | - | p15.TopSurface = Enum.SurfaceType.Smooth |
428 | + | |
429 | - | b15 = Instance.new("SpecialMesh", p15) |
429 | + | |
430 | - | b15.MeshId = "http://www.roblox.com/asset/?id=12212520" |
430 | + | |
431 | - | b15.TextureId = "" |
431 | + | |
432 | - | b15.MeshType = Enum.MeshType.FileMesh |
432 | + | |
433 | - | b15.Name = "Mesh" |
433 | + | |
434 | - | b15.VertexColor = Vector3.new(0, 0, 0) |
434 | + | |
435 | - | b15.Scale = Vector3.new(1, 3, 1.29999995) |
435 | + | |
436 | - | p16 = Instance.new("Part", m) |
436 | + | |
437 | - | p16.BrickColor = BrickColor.new("Cyan") |
437 | + | |
438 | - | p16.FormFactor = Enum.FormFactor.Custom |
438 | + | |
439 | - | p16.Size = Vector3.new(1, 2.5, 1) |
439 | + | |
440 | - | p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779) |
440 | + | |
441 | - | p16.CanCollide = false |
441 | + | |
442 | - | p16.Locked = true |
442 | + | |
443 | - | p16.BottomSurface = Enum.SurfaceType.Smooth |
443 | + | |
444 | - | p16.TopSurface = Enum.SurfaceType.Smooth |
444 | + | |
445 | - | b16 = Instance.new("SpecialMesh", p16) |
445 | + | |
446 | - | b16.MeshId = "http://www.roblox.com/asset/?id=12212520" |
446 | + | |
447 | - | b16.TextureId = "" |
447 | + | |
448 | - | b16.MeshType = Enum.MeshType.FileMesh |
448 | + | |
449 | - | b16.Name = "Mesh" |
449 | + | |
450 | - | b16.VertexColor = Vector3.new(0, 0, 0) |
450 | + | |
451 | - | b16.Scale = Vector3.new(1, 3, 1.29999995) |
451 | + | |
452 | - | p17 = Instance.new("Part", m) |
452 | + | |
453 | - | p17.BrickColor = BrickColor.new("Cyan") |
453 | + | |
454 | - | p17.FormFactor = Enum.FormFactor.Custom |
454 | + | |
455 | - | p17.Size = Vector3.new(1, 2.4000001, 1) |
455 | + | |
456 | - | p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007) |
456 | + | |
457 | - | p17.CanCollide = false |
457 | + | |
458 | - | p17.Locked = true |
458 | + | |
459 | - | p17.BottomSurface = Enum.SurfaceType.Smooth |
459 | + | |
460 | - | p17.TopSurface = Enum.SurfaceType.Smooth |
460 | + | |
461 | - | b17 = Instance.new("SpecialMesh", p17) |
461 | + | |
462 | - | b17.MeshId = "http://www.roblox.com/asset/?id=12212520" |
462 | + | |
463 | - | b17.TextureId = "" |
463 | + | |
464 | - | b17.MeshType = Enum.MeshType.FileMesh |
464 | + | |
465 | - | b17.Name = "Mesh" |
465 | + | |
466 | - | b17.VertexColor = Vector3.new(0, 0, 0) |
466 | + | |
467 | - | b17.Scale = Vector3.new(1, 3, 1.29999995) |
467 | + | |
468 | - | p18 = Instance.new("Part", m) |
468 | + | |
469 | - | p18.BrickColor = BrickColor.new("Cyan") |
469 | + | |
470 | - | p18.FormFactor = Enum.FormFactor.Custom |
470 | + | |
471 | - | p18.Size = Vector3.new(2, 2, 2) |
471 | + | |
472 | - | p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006) |
472 | + | |
473 | - | p18.CanCollide = false |
473 | + | |
474 | - | p18.Locked = true |
474 | + | |
475 | - | p18.BottomSurface = Enum.SurfaceType.Smooth |
475 | + | |
476 | - | p18.TopSurface = Enum.SurfaceType.Smooth |
476 | + | |
477 | - | b18 = Instance.new("SpecialMesh", p18) |
477 | + | |
478 | - | b18.MeshId = "http://www.roblox.com/asset/?id=16627529" |
478 | + | |
479 | - | b18.TextureId = "" |
479 | + | |
480 | - | b18.MeshType = Enum.MeshType.FileMesh |
480 | + | |
481 | - | b18.Name = "Mesh" |
481 | + | |
482 | - | b18.VertexColor = Vector3.new(0, 0, 0) |
482 | + | |
483 | - | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) |
483 | + | |
484 | - | w1 = Instance.new("Weld", p1) |
484 | + | |
485 | - | w1.Name = "Head_Weld" |
485 | + | |
486 | - | w1.Part0 = p1 |
486 | + | |
487 | - | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) |
487 | + | |
488 | - | w1.Part1 = p2 |
488 | + | |
489 | - | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) |
489 | + | |
490 | - | w2 = Instance.new("Weld", p2) |
490 | + | |
491 | - | w2.Name = "Part_Weld" |
491 | + | |
492 | - | w2.Part0 = p2 |
492 | + | |
493 | - | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) |
493 | + | |
494 | - | w2.Part1 = p3 |
494 | + | |
495 | - | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) |
495 | + | |
496 | - | w3 = Instance.new("Weld", p3) |
496 | + | |
497 | - | w3.Name = "Part_Weld" |
497 | + | |
498 | - | w3.Part0 = p3 |
498 | + | |
499 | - | w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) |
499 | + | |
500 | - | w3.Part1 = p4 |
500 | + | |
501 | - | w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) |
501 | + | |
502 | - | w4 = Instance.new("Weld", p4) |
502 | + | |
503 | - | w4.Name = "Part_Weld" |
503 | + | |
504 | - | w4.Part0 = p4 |
504 | + | |
505 | - | w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) |
505 | + | |
506 | - | w4.Part1 = p5 |
506 | + | |
507 | - | w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) |
507 | + | |
508 | - | w5 = Instance.new("Weld", p5) |
508 | + | |
509 | - | w5.Name = "Part_Weld" |
509 | + | |
510 | - | w5.Part0 = p5 |
510 | + | |
511 | - | w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) |
511 | + | |
512 | - | w5.Part1 = p6 |
512 | + | |
513 | - | w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) |
513 | + | |
514 | - | w6 = Instance.new("Weld", p6) |
514 | + | |
515 | - | w6.Name = "Part_Weld" |
515 | + | |
516 | - | w6.Part0 = p6 |
516 | + | |
517 | - | w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) |
517 | + | |
518 | - | w6.Part1 = p7 |
518 | + | |
519 | - | w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) |
519 | + | |
520 | - | w7 = Instance.new("Weld", p7) |
520 | + | |
521 | - | w7.Name = "Part_Weld" |
521 | + | |
522 | - | w7.Part0 = p7 |
522 | + | |
523 | - | w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) |
523 | + | |
524 | - | w7.Part1 = p8 |
524 | + | |
525 | - | w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) |
525 | + | |
526 | - | w8 = Instance.new("Weld", p8) |
526 | + | |
527 | - | w8.Name = "Part_Weld" |
527 | + | |
528 | - | w8.Part0 = p8 |
528 | + | |
529 | - | w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) |
529 | + | |
530 | - | w8.Part1 = p9 |
530 | + | |
531 | - | w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) |
531 | + | |
532 | - | w9 = Instance.new("Weld", p9) |
532 | + | |
533 | - | w9.Name = "Part_Weld" |
533 | + | |
534 | - | w9.Part0 = p9 |
534 | + | |
535 | - | w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) |
535 | + | |
536 | - | w9.Part1 = p10 |
536 | + | |
537 | - | w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) |
537 | + | |
538 | - | w10 = Instance.new("Weld", p10) |
538 | + | |
539 | - | w10.Name = "Part_Weld" |
539 | + | |
540 | - | w10.Part0 = p10 |
540 | + | |
541 | - | w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) |
541 | + | |
542 | - | w10.Part1 = p11 |
542 | + | |
543 | - | w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) |
543 | + | |
544 | - | w11 = Instance.new("Weld", p11) |
544 | + | |
545 | - | w11.Name = "Part_Weld" |
545 | + | |
546 | - | w11.Part0 = p11 |
546 | + | |
547 | - | w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) |
547 | + | |
548 | - | w11.Part1 = p12 |
548 | + | |
549 | - | w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) |
549 | + | |
550 | - | w12 = Instance.new("Weld", p12) |
550 | + | |
551 | - | w12.Name = "Part_Weld" |
551 | + | |
552 | - | w12.Part0 = p12 |
552 | + | |
553 | - | w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) |
553 | + | |
554 | - | w12.Part1 = p13 |
554 | + | |
555 | - | w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) |
555 | + | |
556 | - | w13 = Instance.new("Weld", p13) |
556 | + | |
557 | - | w13.Name = "Part_Weld" |
557 | + | |
558 | - | w13.Part0 = p13 |
558 | + | |
559 | - | w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) |
559 | + | |
560 | - | w13.Part1 = p14 |
560 | + | |
561 | - | w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) |
561 | + | |
562 | - | w14 = Instance.new("Weld", p14) |
562 | + | |
563 | - | w14.Name = "Part_Weld" |
563 | + | |
564 | - | w14.Part0 = p14 |
564 | + | |
565 | - | w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) |
565 | + | |
566 | - | w14.Part1 = p15 |
566 | + | |
567 | - | w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) |
567 | + | |
568 | - | w15 = Instance.new("Weld", p15) |
568 | + | |
569 | - | w15.Name = "Part_Weld" |
569 | + | |
570 | - | w15.Part0 = p15 |
570 | + | |
571 | - | w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) |
571 | + | |
572 | - | w15.Part1 = p16 |
572 | + | |
573 | - | w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) |
573 | + | |
574 | - | w16 = Instance.new("Weld", p16) |
574 | + | |
575 | - | w16.Name = "Part_Weld" |
575 | + | |
576 | - | w16.Part0 = p16 |
576 | + | |
577 | - | w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) |
577 | + | |
578 | - | w16.Part1 = p17 |
578 | + | |
579 | - | w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) |
579 | + | |
580 | - | w17 = Instance.new("Weld", p17) |
580 | + | |
581 | - | w17.Name = "Part_Weld" |
581 | + | |
582 | - | w17.Part0 = p17 |
582 | + | |
583 | - | w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) |
583 | + | |
584 | - | w17.Part1 = p18 |
584 | + | |
585 | - | w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006) |
585 | + | |
586 | - | m.Parent = char |
586 | + | |
587 | - | m:MakeJoints() |
587 | + | |
588 | local flyBV = Instance.new("BodyVelocity") | |
589 | - | local cor = Instance.new("Part", char.Hair) |
589 | + | |
590 | - | cor.Name = "Link" |
590 | + | |
591 | - | cor.Locked = true |
591 | + | |
592 | - | cor.BottomSurface = 0 |
592 | + | |
593 | - | cor.CanCollide = false |
593 | + | |
594 | - | cor.Size = Vector3.new(1, 9, 1) |
594 | + | |
595 | - | cor.Transparency = 1 |
595 | + | |
596 | - | cor.TopSurface = 0 |
596 | + | |
597 | - | corw = Instance.new("Weld", cor) |
597 | + | |
598 | - | corw.Part0 = hed |
598 | + | |
599 | - | corw.Part1 = cor |
599 | + | |
600 | - | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
600 | + | |
601 | - | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
601 | + | |
602 | - | weld1 = Instance.new("Weld", char.Hair) |
602 | + | |
603 | - | weld1.Part0 = cor |
603 | + | |
604 | - | weld1.Part1 = char.Hair.Head |
604 | + | |
605 | - | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) |
605 | + | |
606 | end | |
607 | end | |
608 | ||
609 | end) | |
610 | mouse.KeyUp:connect(function(key) | |
611 | keysDown[key] = nil | |
612 | end) | |
613 | ||
614 | local function updateFly() | |
615 | ||
616 | if not flyToggled then return end | |
617 | ||
618 | lastForward = forward | |
619 | lastSide = side | |
620 | ||
621 | forward = 0 | |
622 | side = 0 | |
623 | ||
624 | if keysDown.w then | |
625 | forward = forward + 1 | |
626 | end | |
627 | if keysDown.s then | |
628 | forward = forward - 1 | |
629 | end | |
630 | if keysDown.a then | |
631 | side = side - 1 | |
632 | end | |
633 | if keysDown.d then | |
634 | side = side + 1 | |
635 | end | |
636 | ||
637 | canFly = (forward ~= 0 or side ~= 0) | |
638 | ||
639 | if canFly then | |
640 | stanceToggle = "Floating" | |
641 | turnBG.Parent = root | |
642 | floatBP.Parent = nil | |
643 | flyBV.Parent = root | |
644 | ||
645 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
646 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
647 | else | |
648 | floatBP.position = root.Position | |
649 | floatBP.Parent = root | |
650 | ||
651 | flySpeed = flySpeed - 1 | |
652 | if flySpeed < 0 then flySpeed = 0 end | |
653 | end | |
654 | ||
655 | local camCF = cam.CoordinateFrame | |
656 | local in_forward = canFly and forward or lastForward | |
657 | local in_side = canFly and side or lastSide | |
658 | ||
659 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
660 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
661 | ||
662 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
663 | 0) | |
664 | end | |
665 | ||
666 | game:service'RunService'.RenderStepped:connect(function() | |
667 | if flyToggled then | |
668 | pchar.Humanoid.PlatformStand = true | |
669 | end | |
670 | updateFly() | |
671 | end) | |
672 | ------------------------------- | |
673 | mouse.KeyDown:connect(function(key) | |
674 | if key == "q" then | |
675 | if Debounces.CanAttack == true then | |
676 | Debounces.CanAttack = false | |
677 | Debounces.NoIdl = true | |
678 | Debounces.on = true | |
679 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
680 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
681 | local List = {} | |
682 | for i,v in pairs(workspace:GetChildren())do | |
683 | if v:IsA("Model")then | |
684 | if v:findFirstChild("Torso")then | |
685 | if v ~= char then | |
686 | if(v.Torso.Position -Position).magnitude <= Distance then | |
687 | table.insert(List,v) | |
688 | end | |
689 | end | |
690 | end | |
691 | end | |
692 | end | |
693 | return List | |
694 | end | |
695 | z = Instance.new("Sound",hed) | |
696 | z.SoundId = "rbxassetid://232213955" | |
697 | z.Pitch = 1 | |
698 | z.Volume = 1 | |
699 | wait(0.2) | |
700 | z:Play() | |
701 | sp = Instance.new("Part",rarm) | |
702 | sp.Anchored = true | |
703 | sp.CanCollide = false | |
704 | sp.Locked = true | |
705 | sp.Transparency = 0 | |
706 | sp.Material = "Neon" | |
707 | sp.Size = Vector3.new(1,1,1) | |
708 | sp.TopSurface = "SmoothNoOutlines" | |
709 | sp.BottomSurface = "SmoothNoOutlines" | |
710 | sp.BrickColor = BrickColor.new("Royal purple") | |
711 | spm = Instance.new("SpecialMesh",sp) | |
712 | spm.MeshType = "Sphere" | |
713 | spm.Scale = Vector3.new(21,21,21) | |
714 | sp2 = Instance.new("Part", rarm) | |
715 | sp2.Name = "Energy" | |
716 | sp2.BrickColor = BrickColor.new("Royal purple") | |
717 | sp2.Size = Vector3.new(1, 1, 1) | |
718 | sp2.Shape = "Ball" | |
719 | sp2.CanCollide = false | |
720 | sp2.Anchored = true | |
721 | sp2.Locked = true | |
722 | sp2.TopSurface = 0 | |
723 | sp2.BottomSurface = 0 | |
724 | sp2.Transparency = 1 | |
725 | spm2 = Instance.new("SpecialMesh",sp2) | |
726 | spm2.MeshId = "rbxassetid://9982590" | |
727 | spm2.Scale = Vector3.new(2,2,2) | |
728 | for i = 1, 20 do | |
729 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
730 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
731 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
732 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
733 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
734 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
735 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
736 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
737 | if Debounces.on == false then break end | |
738 | rs:wait() | |
739 | end | |
740 | for i = 1, 100, 20 do rs:wait() | |
741 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
742 | end | |
743 | for i = 1, 20 do | |
744 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
745 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
746 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
747 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
748 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
749 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
750 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
751 | if Debounces.on == false then break end | |
752 | rs:wait() | |
753 | end | |
754 | sp.Transparency = 1 | |
755 | for i = 1, 20 do | |
756 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
757 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
758 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
759 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
760 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
761 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
762 | if Debounces.on == false then break end | |
763 | rs:wait() | |
764 | end | |
765 | wait(1) | |
766 | sp.Transparency = 0 | |
767 | sp2.Transparency = 0.84 | |
768 | for i = 1, 20 do | |
769 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
770 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
771 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
772 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
773 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
774 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
775 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
776 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
777 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
778 | if Debounces.on == false then break end | |
779 | rs:wait() | |
780 | end | |
781 | for i = 1, 2880, 50 do | |
782 | rs:wait() | |
783 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
784 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
785 | rs:wait() | |
786 | end | |
787 | sp:Destroy() | |
788 | sp2:Destroy() | |
789 | local X = Instance.new("Part",char) | |
790 | local O = Instance.new("ObjectValue",X) | |
791 | O.Name = "creator" | |
792 | X.Locked = true | |
793 | X.Name = "Shell" | |
794 | X.Anchored = false | |
795 | X.CanCollide = false | |
796 | X.Transparency = 0 | |
797 | X.Reflectance = 0 | |
798 | X.BottomSurface = 0 | |
799 | X.TopSurface = 0 | |
800 | X.Shape = 0 | |
801 | local V = Instance.new("ObjectValue",X) | |
802 | V.Value = char | |
803 | V.Name = "creator" | |
804 | X.BrickColor = BrickColor.new("Royal purple") | |
805 | X.Size = Vector3.new(2,2,2) | |
806 | X.Material = "Neon" | |
807 | local Z = Instance.new("SpecialMesh",X) | |
808 | Z.MeshType = "Sphere" | |
809 | Z.Scale = Vector3.new(0.5,0.5,1) | |
810 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
811 | local bv = Instance.new("BodyVelocity",X) | |
812 | bv.maxForce = Vector3.new(99999,99999,99999) | |
813 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
814 | bv.velocity = X.CFrame.lookVector*65 | |
815 | ||
816 | Explode = X.Touched:connect(function(hit) | |
817 | if hit ~= char and hit.Name ~= "Shell" then | |
818 | local cf = X.CFrame | |
819 | bv:Destroy() | |
820 | X.Anchored = true | |
821 | Z:Remove() | |
822 | Explode:disconnect() | |
823 | X.Size = Vector3.new(3,3,3) | |
824 | X.Touched:connect(function(hit) end) | |
825 | X.CanCollide = false | |
826 | local part3 = Instance.new("Part", rarm) | |
827 | part3.Anchored=true | |
828 | part3.CanCollide=false | |
829 | part3.Locked = true | |
830 | part3.TopSurface = "SmoothNoOutlines" | |
831 | part3.BottomSurface = "SmoothNoOutlines" | |
832 | part3.FormFactor='Custom' | |
833 | part3.Size=Vector3.new(1,1, 1) | |
834 | part3.CFrame=X.CFrame | |
835 | part3.Transparency=0 | |
836 | part3.BrickColor=BrickColor.new("Royal purple") | |
837 | local mesh3 = Instance.new("SpecialMesh",part3) | |
838 | mesh3.MeshType = "Sphere" | |
839 | mesh3.Scale = Vector3.new(1,1,1) | |
840 | --debris:AddItem(X,8) | |
841 | local part4 = Instance.new("Part", rarm) | |
842 | part4.Material = "Neon" | |
843 | part4.Anchored=true | |
844 | part4.CanCollide=false | |
845 | part4.Locked = true | |
846 | part4.TopSurface = "SmoothNoOutlines" | |
847 | part4.BottomSurface = "SmoothNoOutlines" | |
848 | part4.FormFactor='Custom' | |
849 | part4.Size=Vector3.new(1,1, 1) | |
850 | part4.CFrame=X.CFrame | |
851 | part4.Transparency=0 | |
852 | part4.BrickColor=BrickColor.new("Hot pink") | |
853 | local mesh4 = Instance.new("SpecialMesh",part4) | |
854 | mesh4.MeshType = "Sphere" | |
855 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
856 | local part7 = Instance.new("Part", rarm) | |
857 | part7.Material = "Neon" | |
858 | part7.Anchored=true | |
859 | part7.CanCollide=false | |
860 | part7.Locked = true | |
861 | part7.TopSurface = "SmoothNoOutlines" | |
862 | part7.BottomSurface = "SmoothNoOutlines" | |
863 | part7.FormFactor='Custom' | |
864 | part7.Size=Vector3.new(1,1, 1) | |
865 | part7.CFrame=X.CFrame | |
866 | part7.Transparency=0 | |
867 | part7.BrickColor=BrickColor.new("Really black") | |
868 | local mesh7 = Instance.new("SpecialMesh",part7) | |
869 | mesh7.MeshType = "Sphere" | |
870 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
871 | --[[X.Touched:connect(function(ht) | |
872 | hit = ht.Parent | |
873 | if ht and hit:IsA("Model") then | |
874 | if hit:FindFirstChild("Humanoid") then | |
875 | if hit.Name ~= p.Name then | |
876 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
877 | wait(.3) | |
878 | end | |
879 | end | |
880 | elseif ht and hit:IsA("Hat") then | |
881 | if hit.Parent.Name ~= p.Name then | |
882 | if hit.Parent:FindFirstChild("Humanoid") then | |
883 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
884 | wait(.3) | |
885 | end | |
886 | end | |
887 | end | |
888 | end) | |
889 | part3.Touched:connect(function(ht) | |
890 | hit = ht.Parent | |
891 | if ht and hit:IsA("Model") then | |
892 | if hit:FindFirstChild("Humanoid") then | |
893 | if hit.Name ~= p.Name then | |
894 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
895 | wait(.3) | |
896 | end | |
897 | end | |
898 | elseif ht and hit:IsA("Hat") then | |
899 | if hit.Parent.Name ~= p.Name then | |
900 | if hit.Parent:FindFirstChild("Humanoid") then | |
901 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
902 | wait(.3) | |
903 | end | |
904 | end | |
905 | end | |
906 | end)]]-- | |
907 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
908 | if v:FindFirstChild('Humanoid') then | |
909 | v.Humanoid:TakeDamage(math.random(60,90)) | |
910 | v.Humanoid.PlatformStand = true | |
911 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
912 | end | |
913 | end | |
914 | ||
915 | local acos = math.acos | |
916 | local sqrt = math.sqrt | |
917 | local Vec3 = Vector3.new | |
918 | local fromAxisAngle = CFrame.fromAxisAngle | |
919 | ||
920 | local function toAxisAngle(CFr) | |
921 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
922 | local Angle = math.acos((R00+R11+R22-1)/2) | |
923 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
924 | A = A == 0 and 0.00001 or A | |
925 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
926 | B = B == 0 and 0.00001 or B | |
927 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
928 | C = C == 0 and 0.00001 or C | |
929 | local x = (R21-R12)/sqrt(A) | |
930 | local y = (R02-R20)/sqrt(B) | |
931 | local z = (R10-R01)/sqrt(C) | |
932 | return Vec3(x,y,z),Angle | |
933 | end | |
934 | ||
935 | function ApplyTrig(Num,Func) | |
936 | local Min,Max = Func(0),Func(1) | |
937 | local i = Func(Num) | |
938 | return (i-Min)/(Max-Min) | |
939 | end | |
940 | ||
941 | function LerpCFrame(CFrame1,CFrame2,Num) | |
942 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
943 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
944 | end | |
945 | ||
946 | function Crater(Torso,Radius) | |
947 | Spawn(function() | |
948 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
949 | local Ignore = {} | |
950 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
951 | if v.Character ~= nil then | |
952 | Ignore[#Ignore+1] = v.Character | |
953 | end | |
954 | end | |
955 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
956 | if Hit == nil then return end | |
957 | local Parts = {} | |
958 | for i = 1,360,10 do | |
959 | local P = Instance.new("Part",Torso.Parent) | |
960 | P.Anchored = true | |
961 | P.FormFactor = "Custom" | |
962 | P.BrickColor = Hit.BrickColor | |
963 | P.Material = Hit.Material | |
964 | P.TopSurface = "Smooth" | |
965 | P.BottomSurface = "Smooth" | |
966 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
967 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
968 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
969 | if math.random(0,5) == 0 then -- rubble | |
970 | local P = Instance.new("Part",Torso.Parent) | |
971 | P.Anchored = true | |
972 | P.FormFactor = "Custom" | |
973 | P.BrickColor = Hit.BrickColor | |
974 | P.Material = Hit.Material | |
975 | P.TopSurface = "Smooth" | |
976 | P.BottomSurface = "Smooth" | |
977 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
978 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
979 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
980 | end | |
981 | end | |
982 | for i = 0,1,0.05 do | |
983 | for i2,v in pairs(Parts) do | |
984 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
985 | end | |
986 | wait(0.02) | |
987 | end | |
988 | for i,v in pairs(Parts) do | |
989 | if v[1].Size.X > 2.1 then | |
990 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
991 | end | |
992 | v[1].Anchored = false | |
993 | end | |
994 | for i = 0,1,0.05 do | |
995 | for i2,v in pairs(Parts) do | |
996 | v[1].Transparency = i | |
997 | if i == 1 then | |
998 | v[1]:Destroy() | |
999 | elseif i >= 0.25 then | |
1000 | v[1].CanCollide = false | |
1001 | end | |
1002 | end | |
1003 | wait(0.02) | |
1004 | end | |
1005 | Parts = nil | |
1006 | end) | |
1007 | end | |
1008 | ||
1009 | ROW = function(out, trans, s, wt, t, ang, plus) | |
1010 | for i = 1, 360, 360/t do | |
1011 | local c = Instance.new("Part", game.Workspace) | |
1012 | c.FormFactor = 3 | |
1013 | c.TopSurface = 0 | |
1014 | c.BottomSurface = 0 | |
1015 | c.Size = s | |
1016 | c.Anchored = true | |
1017 | c.CanCollide = wt | |
1018 | c.Material=workspace.Base.Material | |
1019 | c.Transparency = trans | |
1020 | c.BrickColor = workspace.Base.BrickColor | |
1021 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
1022 | c.Locked=true | |
1023 | game.Debris:AddItem(c,15) | |
1024 | end | |
1025 | end | |
1026 | ||
1027 | Part = function(x,y,z,color,tr,cc,an,parent) | |
1028 | local p = Instance.new('Part',parent or Weapon) | |
1029 | p.formFactor = 'Custom' | |
1030 | p.Size = Vector3.new(x,y,z) | |
1031 | p.BrickColor = BrickColor.new(color) | |
1032 | p.CanCollide = cc | |
1033 | p.Transparency = tr | |
1034 | p.Anchored = an | |
1035 | p.TopSurface,p.BottomSurface = 0,0 | |
1036 | p.Locked=true | |
1037 | p:BreakJoints() | |
1038 | return p end | |
1039 | ||
1040 | Mesh = function(par,num,x,y,z) | |
1041 | local msh = _ | |
1042 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
1043 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
1044 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
1045 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
1046 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
1047 | end msh.Scale = Vector3.new(x,y,z) | |
1048 | return msh end | |
1049 | ||
1050 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
1051 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
1052 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
1053 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
1054 | v1,v2,v3=sz.x,sz.y,sz.z | |
1055 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
1056 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
1057 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
1058 | a.CFrame=cfr | |
1059 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1060 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1061 | ||
1062 | Spawn(function() | |
1063 | while wait() do | |
1064 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
1065 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
1066 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
1067 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
1068 | a.Transparency=a.Transparency+0.05 | |
1069 | a2.Transparency=a2.Transparency+0.05 | |
1070 | a3.Transparency=a3.Transparency+0.05 | |
1071 | end | |
1072 | end) | |
1073 | end | |
1074 | ||
1075 | Crater(X,20) | |
1076 | 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) | |
1077 | z = Instance.new("Sound",X) | |
1078 | z.SoundId = "rbxassetid://231917744" | |
1079 | z.Pitch = .5 | |
1080 | z.Volume = 10 | |
1081 | z1 = Instance.new("Sound",X) | |
1082 | z1.SoundId = "rbxassetid://231917744" | |
1083 | z1.Pitch = .5 | |
1084 | z1.Volume = 10 | |
1085 | z2 = Instance.new("Sound",X) | |
1086 | z2.SoundId = "rbxassetid://231917744" | |
1087 | z2.Pitch = .5 | |
1088 | z2.Volume = 10 | |
1089 | z3 = Instance.new("Sound",X) | |
1090 | z3.SoundId = "rbxassetid://245537790" | |
1091 | z3.Pitch = .7 | |
1092 | z3.Volume = 1 | |
1093 | z4 = Instance.new("Sound",X) | |
1094 | z4.SoundId = "rbxassetid://245537790" | |
1095 | z4.Pitch = .7 | |
1096 | z4.Volume = 1 | |
1097 | wait(0.1) | |
1098 | z:Play() | |
1099 | z1:Play() | |
1100 | z2:Play() | |
1101 | z3:Play() | |
1102 | z4:Play() | |
1103 | ||
1104 | local part=Instance.new('Part',rarm) | |
1105 | part.Anchored=true | |
1106 | part.CanCollide=false | |
1107 | part.Locked = true | |
1108 | part.FormFactor='Custom' | |
1109 | part.Size=Vector3.new(1,1,1) | |
1110 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
1111 | part.Transparency=0 | |
1112 | part.BrickColor=BrickColor.new('Really black') | |
1113 | local mesh=Instance.new('SpecialMesh',part) | |
1114 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1115 | mesh.Scale=Vector3.new(2,2,2) | |
1116 | local part2=part:clone() | |
1117 | part2.Parent = rarm | |
1118 | part2.BrickColor=BrickColor.new("Royal purple") | |
1119 | local part5=part:clone() | |
1120 | part5.Parent = rarm | |
1121 | part5.BrickColor=BrickColor.new("Magenta") | |
1122 | local part6=part:clone() | |
1123 | part6.Parent = rarm | |
1124 | part6.BrickColor=BrickColor.new("Black") | |
1125 | local mesh2=mesh:clone() | |
1126 | mesh2.Parent=part2 | |
1127 | mesh2.Scale=Vector3.new(3, 3, 3) | |
1128 | local mesh5=mesh:clone() | |
1129 | mesh5.Parent=part5 | |
1130 | mesh5.Scale=Vector3.new(3, 3, 3) | |
1131 | local mesh6=mesh:clone() | |
1132 | mesh6.Parent=part6 | |
1133 | mesh6.Scale=Vector3.new(3, 3, 3) | |
1134 | local blast = Instance.new("Part", rarm) | |
1135 | blast.BrickColor = BrickColor.new("Really black") | |
1136 | blast.Anchored = true | |
1137 | blast.CanCollide = false | |
1138 | blast.Locked = true | |
1139 | blast.Size = Vector3.new(1, 1, 1) | |
1140 | blast.TopSurface = "Smooth" | |
1141 | blast.BottomSurface = "Smooth" | |
1142 | blast.Transparency = 0 | |
1143 | blast.CFrame = HandCF | |
1144 | local bm = Instance.new("SpecialMesh", blast) | |
1145 | bm.Scale = Vector3.new(5,1,5) | |
1146 | bm.MeshId = "rbxassetid://3270017" | |
1147 | local blast2 = Instance.new("Part", rarm) | |
1148 | blast2.BrickColor = BrickColor.new("Really black") | |
1149 | blast2.Anchored = true | |
1150 | blast2.CanCollide = false | |
1151 | blast2.Locked = true | |
1152 | blast2.Size = Vector3.new(1, 1, 1) | |
1153 | blast2.TopSurface = "Smooth" | |
1154 | blast2.BottomSurface = "Smooth" | |
1155 | blast2.Transparency = 0 | |
1156 | blast2.CFrame = HandCF | |
1157 | local bm2 = Instance.new("SpecialMesh", blast2) | |
1158 | bm2.Scale = Vector3.new(3,1,3) | |
1159 | bm2.MeshId = "rbxassetid://3270017" | |
1160 | local blast3 = Instance.new("Part", rarm) | |
1161 | blast3.BrickColor = BrickColor.new("Really black") | |
1162 | blast3.Anchored = true | |
1163 | blast3.CanCollide = false | |
1164 | blast3.Locked = true | |
1165 | blast3.Size = Vector3.new(1, 1, 1) | |
1166 | blast3.TopSurface = "Smooth" | |
1167 | blast3.BottomSurface = "Smooth" | |
1168 | blast3.Transparency = 0 | |
1169 | blast3.CFrame = HandCF | |
1170 | local bm3 = Instance.new("SpecialMesh", blast3) | |
1171 | bm3.Scale = Vector3.new(3,1,3) | |
1172 | bm3.MeshId = "rbxassetid://3270017" | |
1173 | for i = 1,120 do rs:wait() | |
1174 | X.Transparency = X.Transparency + (1/120) | |
1175 | part.Transparency = part.Transparency + (1/120) | |
1176 | part2.Transparency = part2.Transparency + (1/120) | |
1177 | part3.Transparency = part3.Transparency + (1/120) | |
1178 | part4.Transparency = part4.Transparency + (1/120) | |
1179 | part5.Transparency = part5.Transparency + (1/120) | |
1180 | part6.Transparency = part6.Transparency + (1/120) | |
1181 | part7.Transparency = part7.Transparency + (1/120) | |
1182 | blast.Transparency = blast.Transparency + (1/120) | |
1183 | blast2.Transparency = blast2.Transparency + (1/120) | |
1184 | blast3.Transparency = blast3.Transparency + (1/120) | |
1185 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
1186 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
1187 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
1188 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
1189 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
1190 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
1191 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
1192 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
1193 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
1194 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
1195 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
1196 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
1197 | X.CFrame = cf | |
1198 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
1199 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
1200 | part3.CFrame=X.CFrame | |
1201 | part4.CFrame=X.CFrame | |
1202 | part7.CFrame=X.CFrame | |
1203 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
1204 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
1205 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1206 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
1207 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
1208 | rs:wait() | |
1209 | end | |
1210 | X:Destroy() | |
1211 | part:Destroy() | |
1212 | part2:Destroy() | |
1213 | part3:Destroy() | |
1214 | part4:Destroy() | |
1215 | part5:Destroy() | |
1216 | part6:Destroy() | |
1217 | blast:Destroy() | |
1218 | blast2:Destroy() | |
1219 | blast3:Destroy() | |
1220 | z:Destroy() | |
1221 | z1:Destroy() | |
1222 | z2:Destroy() | |
1223 | z3:Destroy() | |
1224 | z4:Destroy() | |
1225 | end | |
1226 | end) | |
1227 | for i = 1, 20 do | |
1228 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
1229 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
1230 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
1231 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
1232 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
1233 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
1234 | if Debounces.on == false then break end | |
1235 | rs:wait() | |
1236 | end | |
1237 | if Debounces.CanAttack == false then | |
1238 | Debounces.CanAttack = true | |
1239 | Debounces.NoIdl = false | |
1240 | Debounces.on = false | |
1241 | end | |
1242 | end | |
1243 | end | |
1244 | end) | |
1245 | ---------------------------------------------------- | |
1246 | mouse.KeyDown:connect(function(key) | |
1247 | if key == "e" then | |
1248 | if Debounces.CanAttack == true then | |
1249 | Debounces.CanAttack = false | |
1250 | Debounces.on = true | |
1251 | Debounces.NoIdl = true | |
1252 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
1253 | z = Instance.new("Sound", rarm) | |
1254 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1255 | z.Volume = .6 | |
1256 | z.Pitch = pt[math.random(1,#pt)] | |
1257 | z.Looped = false | |
1258 | z:Play() | |
1259 | Debounces.RPunch = true | |
1260 | Debounces.LPunch = true | |
1261 | Debounces.ks = true | |
1262 | Debounces.ks2 = true | |
1263 | for i = 1, 3 do | |
1264 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
1265 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
1266 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1267 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1268 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1269 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1270 | if Debounces.on == false then break end | |
1271 | wait() | |
1272 | end | |
1273 | z2 = Instance.new("Sound", larm) | |
1274 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1275 | z2.Volume = .6 | |
1276 | z2.Pitch = pt[math.random(1,#pt)] | |
1277 | z2.Looped = false | |
1278 | z2:Play() | |
1279 | for i = 1, 3 do | |
1280 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1281 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
1282 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1283 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1284 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1285 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1286 | if Debounces.on == false then break end | |
1287 | wait() | |
1288 | end | |
1289 | z3 = Instance.new("Sound", rarm) | |
1290 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1291 | z3.Volume = 0.6 | |
1292 | z3.Pitch = pt[math.random(1,#pt)] | |
1293 | z3.Looped = false | |
1294 | z3:Play() | |
1295 | for i = 1, 3 do | |
1296 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
1297 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
1298 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1299 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1300 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1301 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1302 | if Debounces.on == false then break end | |
1303 | wait() | |
1304 | end | |
1305 | z4 = Instance.new("Sound", larm) | |
1306 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1307 | z4.Volume = .6 | |
1308 | z4.Pitch = pt[math.random(1,#pt)] | |
1309 | z4.Looped = false | |
1310 | z4:Play() | |
1311 | for i = 1, 3 do | |
1312 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1313 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1314 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1315 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1316 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1317 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1318 | if Debounces.on == false then break end | |
1319 | wait() | |
1320 | end | |
1321 | z5 = Instance.new("Sound", rarm) | |
1322 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1323 | z5.Volume = .6 | |
1324 | z5.Pitch = pt[math.random(1,#pt)] | |
1325 | z5.Looped = false | |
1326 | z5:Play() | |
1327 | for i = 1, 3 do | |
1328 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
1329 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
1330 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1331 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1332 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
1333 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
1334 | if Debounces.on == false then break end | |
1335 | wait() | |
1336 | end | |
1337 | z6 = Instance.new("Sound", larm) | |
1338 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1339 | z6.Volume = .6 | |
1340 | z6.Pitch = pt[math.random(1,#pt)] | |
1341 | z6.Looped = false | |
1342 | z6:Play() | |
1343 | for i = 1, 3 do | |
1344 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1345 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1346 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1347 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1348 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1349 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1350 | if Debounces.on == false then break end | |
1351 | wait() | |
1352 | end | |
1353 | z7 = Instance.new("Sound", rarm) | |
1354 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1355 | z7.Volume = .6 | |
1356 | z7.Pitch = pt[math.random(1,#pt)] | |
1357 | z7.Looped = false | |
1358 | z7:Play() | |
1359 | for i = 1, 3 do | |
1360 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
1361 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
1362 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1363 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1364 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1365 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1366 | if Debounces.on == false then break end | |
1367 | wait() | |
1368 | end | |
1369 | z8 = Instance.new("Sound", larm) | |
1370 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1371 | z8.Volume = .6 | |
1372 | z8.Pitch = pt[math.random(1,#pt)] | |
1373 | z8.Looped = false | |
1374 | z8:Play() | |
1375 | for i = 1, 3 do | |
1376 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1377 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
1378 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1379 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1380 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1381 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1382 | if Debounces.on == false then break end | |
1383 | wait() | |
1384 | end | |
1385 | z9 = Instance.new("Sound", rarm) | |
1386 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1387 | z9.Volume = 0.6 | |
1388 | z9.Pitch = pt[math.random(1,#pt)] | |
1389 | z9.Looped = false | |
1390 | z9:Play() | |
1391 | for i = 1, 3 do | |
1392 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
1393 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
1394 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1395 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1396 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1397 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1398 | if Debounces.on == false then break end | |
1399 | wait() | |
1400 | end | |
1401 | z10 = Instance.new("Sound", larm) | |
1402 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1403 | z10.Volume = .6 | |
1404 | z10.Pitch = pt[math.random(1,#pt)] | |
1405 | z10.Looped = false | |
1406 | z10:Play() | |
1407 | for i = 1, 3 do | |
1408 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1409 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1410 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1411 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1412 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1413 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1414 | if Debounces.on == false then break end | |
1415 | wait() | |
1416 | end | |
1417 | z11 = Instance.new("Sound", rarm) | |
1418 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1419 | z11.Volume = .6 | |
1420 | z11.Pitch = pt[math.random(1,#pt)] | |
1421 | z11.Looped = false | |
1422 | z11:Play() | |
1423 | for i = 1, 3 do | |
1424 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
1425 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
1426 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1427 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1428 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
1429 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
1430 | if Debounces.on == false then break end | |
1431 | wait() | |
1432 | end | |
1433 | z12 = Instance.new("Sound", larm) | |
1434 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1435 | z12.Volume = .6 | |
1436 | z12.Pitch = pt[math.random(1,#pt)] | |
1437 | z12.Looped = false | |
1438 | z12:Play() | |
1439 | for i = 1, 3 do | |
1440 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1441 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
1442 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1443 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1444 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1445 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1446 | if Debounces.on == false then break end | |
1447 | wait() | |
1448 | end | |
1449 | z13 = Instance.new("Sound", rarm) | |
1450 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1451 | z13.Volume = 0.6 | |
1452 | z13.Pitch = pt[math.random(1,#pt)] | |
1453 | z13.Looped = false | |
1454 | z13:Play() | |
1455 | for i = 1, 3 do | |
1456 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
1457 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
1458 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1459 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1460 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1461 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1462 | if Debounces.on == false then break end | |
1463 | wait() | |
1464 | end | |
1465 | z14 = Instance.new("Sound", larm) | |
1466 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1467 | z14.Volume = .6 | |
1468 | z14.Pitch = pt[math.random(1,#pt)] | |
1469 | z14.Looped = false | |
1470 | z14:Play() | |
1471 | for i = 1, 3 do | |
1472 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1473 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1474 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1475 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1476 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1477 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1478 | if Debounces.on == false then break end | |
1479 | wait() | |
1480 | end | |
1481 | z15 = Instance.new("Sound", rarm) | |
1482 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1483 | z15.Volume = .6 | |
1484 | z15.Pitch = pt[math.random(1,#pt)] | |
1485 | z15.Looped = false | |
1486 | z15:Play() | |
1487 | for i = 1, 3 do | |
1488 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
1489 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
1490 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
1491 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
1492 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
1493 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
1494 | if Debounces.on == false then break end | |
1495 | wait() | |
1496 | end | |
1497 | z16 = Instance.new("Sound", larm) | |
1498 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1499 | z16.Volume = .6 | |
1500 | z16.Pitch = pt[math.random(1,#pt)] | |
1501 | z16.Looped = false | |
1502 | z16:Play() | |
1503 | for i = 1, 3 do | |
1504 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1505 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1506 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1507 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1508 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1509 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1510 | if Debounces.on == false then break end | |
1511 | wait() | |
1512 | end | |
1513 | z17 = Instance.new("Sound", rarm) | |
1514 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
1515 | z17.Volume = .6 | |
1516 | z17.Pitch = pt[math.random(1,#pt)] | |
1517 | z17.Looped = false | |
1518 | z17:Play() | |
1519 | for i = 1, 3 do | |
1520 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
1521 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
1522 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1523 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1524 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1525 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1526 | if Debounces.on == false then break end | |
1527 | wait() | |
1528 | end | |
1529 | z18 = Instance.new("Sound", larm) | |
1530 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1531 | z18.Volume = .6 | |
1532 | z18.Pitch = pt[math.random(1,#pt)] | |
1533 | z18.Looped = false | |
1534 | z18:Play() | |
1535 | for i = 1, 3 do | |
1536 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1537 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
1538 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1539 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1540 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1541 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1542 | if Debounces.on == false then break end | |
1543 | wait() | |
1544 | end | |
1545 | z19 = Instance.new("Sound", rarm) | |
1546 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1547 | z19.Volume = 0.6 | |
1548 | z19.Pitch = pt[math.random(1,#pt)] | |
1549 | z19.Looped = false | |
1550 | z19:Play() | |
1551 | for i = 1, 3 do | |
1552 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
1553 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
1554 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
1555 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
1556 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
1557 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
1558 | if Debounces.on == false then break end | |
1559 | wait() | |
1560 | end | |
1561 | z20 = Instance.new("Sound", larm) | |
1562 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
1563 | z20.Volume = .6 | |
1564 | z20.Pitch = pt[math.random(1,#pt)] | |
1565 | z20.Looped = false | |
1566 | z20:Play() | |
1567 | for i = 1, 3 do | |
1568 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
1569 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
1570 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
1571 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
1572 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
1573 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
1574 | if Debounces.on == false then break end | |
1575 | wait() | |
1576 | end | |
1577 | z:Destroy() | |
1578 | z2:Destroy() | |
1579 | z3:Destroy() | |
1580 | z4:Destroy() | |
1581 | z5:Destroy() | |
1582 | z6:Destroy() | |
1583 | z7:Destroy() | |
1584 | z8:Destroy() | |
1585 | z9:Destroy() | |
1586 | z10:Destroy() | |
1587 | z11:Destroy() | |
1588 | z12:Destroy() | |
1589 | z13:Destroy() | |
1590 | z14:Destroy() | |
1591 | z15:Destroy() | |
1592 | z16:Destroy() | |
1593 | z17:Destroy() | |
1594 | z18:Destroy() | |
1595 | z19:Destroy() | |
1596 | z20:Destroy() | |
1597 | Debounces.LPunch = false | |
1598 | Debounces.RPunch = false | |
1599 | Debounces.ks = false | |
1600 | Debounces.ks2 = false | |
1601 | if Debounces.CanAttack == false then | |
1602 | Debounces.CanAttack = true | |
1603 | Debounces.on = false | |
1604 | Debounces.NoIdl = false | |
1605 | end | |
1606 | end | |
1607 | end | |
1608 | end) | |
1609 | ------------------------------- | |
1610 | mouse.KeyDown:connect(function(key) | |
1611 | if key == "t" then | |
1612 | if Debounces.CanAttack == true then | |
1613 | Debounces.CanAttack = false | |
1614 | Debounces.NoIdl = true | |
1615 | Debounces.on = true | |
1616 | Debounces.ks = true | |
1617 | kik = rleg.Touched:connect(function(ht) | |
1618 | hit = ht.Parent | |
1619 | if ht and hit:IsA("Model") then | |
1620 | if hit:FindFirstChild("Humanoid") then | |
1621 | if hit.Name ~= p.Name then | |
1622 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1623 | Debounces.Slashed = true]]-- | |
1624 | if Debounces.ks==true then | |
1625 | z = Instance.new("Sound",hed) | |
1626 | z.SoundId = "rbxassetid://169380525" | |
1627 | z.Volume = 1 | |
1628 | z:Play() | |
1629 | Debounces.ks=false | |
1630 | end | |
1631 | hit:FindFirstChild("Humanoid"):TakeDamage(2) | |
1632 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
1633 | --Debounces.Slashed = false | |
1634 | --end | |
1635 | end | |
1636 | end | |
1637 | elseif ht and hit:IsA("Hat") then | |
1638 | if hit.Parent.Name ~= p.Name then | |
1639 | if hit.Parent:FindFirstChild("Humanoid") then | |
1640 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
1641 | Debounces.Slashed = true]]-- | |
1642 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2) | |
1643 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
1644 | --Debounces.Slashed = false | |
1645 | --end | |
1646 | end | |
1647 | end | |
1648 | end | |
1649 | end) | |
1650 | for i = 1,20 do | |
1651 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1652 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
1653 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
1654 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
1655 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
1656 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
1657 | if Debounces.on == false then break end | |
1658 | rs:wait() | |
1659 | end | |
1660 | kik:disconnect() | |
1661 | if Debounces.CanAttack == false then | |
1662 | Debounces.CanAttack = true | |
1663 | Debounces.NoIdl = false | |
1664 | Debounces.on = false | |
1665 | end | |
1666 | end | |
1667 | end | |
1668 | end) | |
1669 | ---------------------------------------------------- | |
1670 | mouse.KeyDown:connect(function(key) | |
1671 | if key == "y" then | |
1672 | if Debounces.CanAttack == true then | |
1673 | Debounces.CanAttack = false | |
1674 | Debounces.on = true | |
1675 | Debounces.NoIdl = true | |
1676 | for i = 1, 15 do | |
1677 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
1678 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
1679 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
1680 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
1681 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1682 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1683 | if Debounces.on == false then break end | |
1684 | rs:wait(2.7) | |
1685 | end | |
1686 | x = Instance.new("Sound",char) | |
1687 | x.SoundId = "rbxassetid://228343271" | |
1688 | x.Pitch = 1 | |
1689 | x.Volume = .8 | |
1690 | wait(.1) | |
1691 | x:Play() | |
1692 | Debounces.on = false | |
1693 | Debounces.Here = false | |
1694 | shot = shot + 1 | |
1695 | local rng = Instance.new("Part", larm) | |
1696 | rng.Anchored = true | |
1697 | rng.BrickColor = BrickColor.new("Royal purple") | |
1698 | rng.CanCollide = false | |
1699 | rng.FormFactor = 3 | |
1700 | rng.Name = "Ring" | |
1701 | rng.Size = Vector3.new(1, 1, 1) | |
1702 | rng.Transparency = 0.35 | |
1703 | rng.TopSurface = 0 | |
1704 | rng.BottomSurface = 0 | |
1705 | rng2 = rng:clone() | |
1706 | rng3 = rng2:clone() | |
1707 | rng4 = rng2:clone() | |
1708 | local rngm = Instance.new("SpecialMesh", rng) | |
1709 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1710 | rngm.Scale = Vector3.new(10, 10, 1) | |
1711 | rngm2 = rngm:clone() | |
1712 | rngm2.Scale = Vector3.new(5, 5, 3) | |
1713 | rngm3=rngm2:clone() | |
1714 | rngm3.Parent = rng3 | |
1715 | rngm3.Scale = Vector3.new(8, 8, 1) | |
1716 | rngm4 = rngm2:clone() | |
1717 | rngm4.Parent = rng4 | |
1718 | rngm4.Scale = Vector3.new(6, 6, 1) | |
1719 | local bem = Instance.new("Part", larm) | |
1720 | bem.Anchored = true | |
1721 | bem.BrickColor = BrickColor.new("Really black") | |
1722 | bem.CanCollide = false | |
1723 | bem.FormFactor = 3 | |
1724 | bem.Name = "Beam" .. shot | |
1725 | bem.Size = Vector3.new(1, 1, 1) | |
1726 | bem.Transparency = 0.35 | |
1727 | bem.TopSurface = 0 | |
1728 | bem.BottomSurface = 0 | |
1729 | local bemm = Instance.new("SpecialMesh", bem) | |
1730 | bemm.MeshType = 4 | |
1731 | bemm.Scale = Vector3.new(1, 4, 4) | |
1732 | local out = Instance.new("Part", larm) | |
1733 | out.Anchored = true | |
1734 | out.BrickColor = BrickColor.new("Really black") | |
1735 | out.CanCollide = false | |
1736 | out.FormFactor = 3 | |
1737 | out.Name = "Out" | |
1738 | out.Size = Vector3.new(4, 4, 4) | |
1739 | out.Transparency = 0.35 | |
1740 | out.TopSurface = 0 | |
1741 | out.BottomSurface = 0 | |
1742 | local outm = Instance.new("SpecialMesh", out) | |
1743 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
1744 | outm.Scale = Vector3.new(6, 4, 6) | |
1745 | local bnd = Instance.new("Part", larm) | |
1746 | bnd.Anchored = true | |
1747 | bnd.BrickColor = BrickColor.new("Really black") | |
1748 | bnd.CanCollide = false | |
1749 | bnd.FormFactor = 3 | |
1750 | bnd.Name = "Bend" | |
1751 | bnd.Size = Vector3.new(1, 1, 1) | |
1752 | bnd.Transparency = 1 | |
1753 | bnd.TopSurface = 0 | |
1754 | bnd.BottomSurface = 0 | |
1755 | local bndm = Instance.new("SpecialMesh", bnd) | |
1756 | bndm.MeshType = 3 | |
1757 | bndm.Scale = Vector3.new(8, 8, 8) | |
1758 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
1759 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
1760 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
1761 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
1762 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
1763 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
1764 | Debounces.Shewt = true | |
1765 | coroutine.wrap(function() | |
1766 | for i = 1, 20, 0.2 do | |
1767 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
1768 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
1769 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
1770 | rng.Transparency = i/20 | |
1771 | rng3.Transparency = 1/24 | |
1772 | rng4.Transparency = i/26 | |
1773 | wait() | |
1774 | end | |
1775 | wait() | |
1776 | rng:Destroy() | |
1777 | end)() | |
1778 | if Debounces.Shewt == true then | |
1779 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
1780 | hit = ht.Parent | |
1781 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
1782 | if HasntTouched(hit.Name) == true and deb == false then | |
1783 | deb = true | |
1784 | coroutine.wrap(function() | |
1785 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
1786 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
1787 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
1788 | end)() | |
1789 | table.insert(Touche, hit.Name) | |
1790 | deb = false | |
1791 | end | |
1792 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
1793 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
1794 | deb = true | |
1795 | coroutine.wrap(function() | |
1796 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
1797 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
1798 | wait(1) | |
1799 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
1800 | end)() | |
1801 | table.insert(Touche, hit.Parent.Name) | |
1802 | deb = false | |
1803 | for i, v in pairs(Touche) do | |
1804 | print(v) | |
1805 | end | |
1806 | end | |
1807 | end | |
1808 | end) | |
1809 | end | |
1810 | for i = 0, 260, 8 do | |
1811 | bem.Size = Vector3.new(i, 3, 3) | |
1812 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
1813 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
1814 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
1815 | bnd.Size = Vector3.new(1,1,1) | |
1816 | bndm.Scale = Vector3.new(8,8,8) | |
1817 | if i % 10 == 0 then | |
1818 | local newRng = rng2:Clone() | |
1819 | newRng.Parent = larm | |
1820 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
1821 | local newRngm = rngm2:clone() | |
1822 | newRngm.Parent=newRng | |
1823 | coroutine.wrap(function() | |
1824 | for i = 1, 10, 0.2 do | |
1825 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
1826 | newRng.Transparency = i/10 | |
1827 | wait() | |
1828 | end | |
1829 | wait() | |
1830 | newRng:Destroy() | |
1831 | end)() | |
1832 | end | |
1833 | wait() | |
1834 | end | |
1835 | wait() | |
1836 | Debounces.Shewt = false | |
1837 | bem:Destroy() | |
1838 | out:Destroy() | |
1839 | bnd:Destroy() | |
1840 | Debounces.Ready = false | |
1841 | for i, v in pairs(Touche) do | |
1842 | table.remove(Touche, i) | |
1843 | end | |
1844 | wait() | |
1845 | table.insert(Touche, char.Name) | |
1846 | Debounces.NoIdl = false | |
1847 | if Debounces.CanAttack == false then | |
1848 | Debounces.CanAttack = true | |
1849 | end | |
1850 | end | |
1851 | end | |
1852 | end) | |
1853 | ---------------------------------------------------- | |
1854 | --[[mouse.KeyDown:connect(function(key) | |
1855 | if key == "y" then | |
1856 | if Debounces.CanAttack == true then | |
1857 | Debounces.CanAttack = false | |
1858 | Debounces.NoIdl = true | |
1859 | Debounces.on = true | |
1860 | local shell = Instance.new("Part",torso) | |
1861 | shell.BrickColor = BrickColor.new("Royal purple") | |
1862 | shell.Anchored = false | |
1863 | shell.CanCollide = false | |
1864 | shell.Locked = true | |
1865 | shell.TopSurface = "SmoothNoOutlines" | |
1866 | shell.BottomSurface = "SmoothNoOutlines" | |
1867 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
1868 | shell.FormFactor = 3 | |
1869 | local shellm = Instance.new("SpecialMesh",shell) | |
1870 | shellm.MeshType = "Sphere" | |
1871 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
1872 | Omega = function() | |
1873 | local X = Instance.new("Part",char) | |
1874 | local O = Instance.new("ObjectValue",X) | |
1875 | O.Name = "creator" | |
1876 | X.Locked = true | |
1877 | X.Name = "Shell" | |
1878 | X.Anchored = false | |
1879 | X.CanCollide = false | |
1880 | X.Transparency = 0.5 | |
1881 | X.Reflectance = 0 | |
1882 | X.BottomSurface = 0 | |
1883 | X.TopSurface = 0 | |
1884 | X.Shape = 0 | |
1885 | local V = Instance.new("ObjectValue",X) | |
1886 | V.Value = char | |
1887 | V.Name = "creator" | |
1888 | X.BrickColor = BrickColor.new("Royal purple") | |
1889 | X.Size = Vector3.new(40,40,40) | |
1890 | --X.Material = "Neon" | |
1891 | local Z = Instance.new("SpecialMesh",X) | |
1892 | Z.MeshType = "Sphere" | |
1893 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
1894 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
1895 | local bv = Instance.new("BodyVelocity",X) | |
1896 | bv.maxForce = Vector3.new(99999,99999,99999) | |
1897 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
1898 | bv.velocity = root.CFrame.lookVector*10 | |
1899 | Explode = X.Touched:connect(function(hit) | |
1900 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then | |
1901 | local cf = X.CFrame | |
1902 | bv:Destroy() | |
1903 | X.Anchored = true | |
1904 | Z:Remove() | |
1905 | Explode:disconnect() | |
1906 | X.Size = Vector3.new(3,3,3) | |
1907 | X.Touched:connect(function(hit) end) | |
1908 | X.CanCollide = false | |
1909 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
1910 | if v:FindFirstChild('Humanoid') then | |
1911 | v.Humanoid:TakeDamage(math.random(80,120)) | |
1912 | end | |
1913 | end | |
1914 | for i = 1, (40) do rs:wait() | |
1915 | X.Transparency = X.Transparency + (1/40) | |
1916 | X.Size = X.Size + Vector3.new(1,1,1) | |
1917 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
1918 | end | |
1919 | X:Destroy() | |
1920 | end | |
1921 | end) | |
1922 | end | |
1923 | for i = 1,200 do | |
1924 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
1925 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
1926 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
1927 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
1928 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1929 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1930 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1931 | if Debounces.on == false then break end | |
1932 | rs:wait() | |
1933 | end | |
1934 | for i = 1,30 do | |
1935 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
1936 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
1937 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
1938 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
1939 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1940 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1941 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1942 | if Debounces.on == false then break end | |
1943 | rs:wait() | |
1944 | end | |
1945 | for i = 1,40 do | |
1946 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
1947 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
1948 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
1949 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
1950 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
1951 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1952 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1953 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1954 | if Debounces.on == false then break end | |
1955 | rs:wait() | |
1956 | end | |
1957 | for i = 1,40 do | |
1958 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
1959 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
1960 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
1961 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
1962 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1963 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1964 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1965 | if Debounces.on == false then break end | |
1966 | rs:wait() | |
1967 | end | |
1968 | for i = 1,60 do | |
1969 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
1970 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
1971 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
1972 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
1973 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1974 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1975 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1976 | if Debounces.on == false then break end | |
1977 | rs:wait() | |
1978 | end | |
1979 | for i = 1,60 do | |
1980 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
1981 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
1982 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
1983 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
1984 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
1985 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1986 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1987 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
1988 | if Debounces.on == false then break end | |
1989 | rs:wait() | |
1990 | end | |
1991 | if Debounces.CanAttack == false then | |
1992 | Debounces.CanAttack = true | |
1993 | Debounces.NoIdl = false | |
1994 | Debounces.on = false | |
1995 | end | |
1996 | end | |
1997 | end | |
1998 | end)]]-- | |
1999 | ---------------------------------------------------- | |
2000 | Charging = false | |
2001 | mouse.KeyDown:connect(function(key) | |
2002 | if key == "r" then | |
2003 | if Charging == false then | |
2004 | Charging = true | |
2005 | if Debounces.CanAttack == true then | |
2006 | Debounces.CanAttack = false | |
2007 | Debounces.NoIdl = true | |
2008 | Debounces.on = true | |
2009 | for i = 1,20 do | |
2010 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
2011 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
2012 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2013 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2014 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2015 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2016 | if Debounces.on == false then break end | |
2017 | rs:wait() | |
2018 | end | |
2019 | --[[for i = 1,20 do | |
2020 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
2021 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
2022 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2023 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
2024 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2025 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2026 | if Debounces.on == false then break end | |
2027 | rs:wait() | |
2028 | end]]-- | |
2029 | pt=Instance.new('Part',torso) | |
2030 | pt.Anchored=true | |
2031 | pt.CanCollide=false | |
2032 | pt.Locked = true | |
2033 | pt.FormFactor='Custom' | |
2034 | pt.Size=Vector3.new(1,1,1) | |
2035 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2036 | pt.Transparency=.6 | |
2037 | pt.BrickColor=BrickColor.new('Really black') | |
2038 | msh=Instance.new('SpecialMesh',pt) | |
2039 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2040 | msh.Scale=Vector3.new(8,4,8) | |
2041 | pt2=pt:clone() | |
2042 | pt2.Parent = torso | |
2043 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2044 | pt2.BrickColor=BrickColor.new("Royal purple") | |
2045 | msh2=msh:clone() | |
2046 | msh2.Parent=pt2 | |
2047 | msh2.Scale=Vector3.new(10,5,10) | |
2048 | ||
2049 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
2050 | ||
2051 | bl = Instance.new("Part", char) | |
2052 | bl.Locked = true | |
2053 | bl.Name = "Shell" | |
2054 | bl.BrickColor = BrickColor.new("Really black") | |
2055 | bl.Anchored = true | |
2056 | bl.CanCollide = false | |
2057 | bl.Transparency = 0 | |
2058 | bl.Reflectance = 0 | |
2059 | bl.BottomSurface = 0 | |
2060 | bl.TopSurface = 0 | |
2061 | bl.Shape = 0 | |
2062 | blm = Instance.new("SpecialMesh",bl) | |
2063 | blm.MeshType = "Sphere" | |
2064 | blm.Scale = Vector3.new(1,1,1) | |
2065 | blm.MeshId = "rbxassetid://9982590" | |
2066 | ||
2067 | coroutine.resume(coroutine.create(function() | |
2068 | for i=1, math.huge, 4 do | |
2069 | if Charging == true then | |
2070 | rs:wait() | |
2071 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2072 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
2073 | bl.Transparency = bl.Transparency + 0.005 | |
2074 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2075 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2076 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
2077 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
2078 | elseif Charging == false then break | |
2079 | end | |
2080 | end | |
2081 | end)) | |
2082 | ||
2083 | repeat | |
2084 | local p = Instance.new('Part',torso) | |
2085 | p.formFactor = 'Custom' | |
2086 | p.Size = Vector3.new(1,1,1) | |
2087 | p.BrickColor = workspace.Base.BrickColor | |
2088 | p.CanCollide = false | |
2089 | p.Transparency = 0 | |
2090 | p.Anchored = true | |
2091 | p.Locked=true | |
2092 | p.Material = workspace.Base.Material | |
2093 | s = math.random(1,40)/10 | |
2094 | local m = Instance.new("BlockMesh",p) | |
2095 | m.Scale = Vector3.new(s,s,s) | |
2096 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
2097 | --[[coroutine.wrap(function() | |
2098 | wait(2) | |
2099 | while Charging == true do | |
2100 | wait(2) | |
2101 | GroundWave1() | |
2102 | wait(2) | |
2103 | end | |
2104 | end)()]]-- | |
2105 | Spawn(function() | |
2106 | while rs:wait() do | |
2107 | if Charging == true then | |
2108 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
2109 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
2110 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
2111 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2112 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
2113 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
2114 | elseif Charging == false then break | |
2115 | end | |
2116 | end | |
2117 | end) | |
2118 | Spawn(function() | |
2119 | while rs:wait() do | |
2120 | if p.Transparency >= 1 then p:Destroy() break end | |
2121 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2122 | p.Transparency = p.Transparency+0.01 | |
2123 | end | |
2124 | end) | |
2125 | wait(.3) | |
2126 | until Charging == false | |
2127 | end | |
2128 | end | |
2129 | end | |
2130 | end) | |
2131 | ---------------------------------------------------- | |
2132 | mouse.KeyUp:connect(function(key) | |
2133 | if key == "r" then | |
2134 | if Charging == true then | |
2135 | Charging = false | |
2136 | pt:Destroy() | |
2137 | pt2:Destroy() | |
2138 | bl:Destroy() | |
2139 | if Debounces.CanAttack == false then | |
2140 | Debounces.CanAttack = true | |
2141 | Debounces.NoIdl = false | |
2142 | Debounces.on = false | |
2143 | end | |
2144 | end | |
2145 | end | |
2146 | end) | |
2147 | ---------------------------------------------------- | |
2148 | mouse.KeyDown:connect(function(key) | |
2149 | if key == "g" then | |
2150 | if Debounces.CanAttack == true then | |
2151 | Debounces.CanAttack = false | |
2152 | Debounces.NoIdl = true | |
2153 | Debounces.on = true | |
2154 | local shell = Instance.new("Part",torso) | |
2155 | shell.BrickColor = BrickColor.new("Royal purple") | |
2156 | shell.Anchored = true | |
2157 | shell.CanCollide = false | |
2158 | shell.Locked = true | |
2159 | shell.TopSurface = "SmoothNoOutlines" | |
2160 | shell.BottomSurface = "SmoothNoOutlines" | |
2161 | shell.Size = Vector3.new(1,1,1) | |
2162 | shellm = Instance.new("SpecialMesh",shell) | |
2163 | shellm.MeshType = "Sphere" | |
2164 | shellm.Scale = Vector3.new(1,1,1) | |
2165 | local shell2 = Instance.new("Part",torso) | |
2166 | shell2.BrickColor = BrickColor.new("Royal purple") | |
2167 | shell2.Anchored = true | |
2168 | shell2.CanCollide = false | |
2169 | shell2.Locked = true | |
2170 | shell2.TopSurface = "SmoothNoOutlines" | |
2171 | shell2.BottomSurface = "SmoothNoOutlines" | |
2172 | shell2.Size = Vector3.new(1,1,1) | |
2173 | shellm2 = Instance.new("SpecialMesh",shell2) | |
2174 | shellm2.MeshType = "Sphere" | |
2175 | shellm2.Scale = Vector3.new(1,1,1) | |
2176 | ||
2177 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2178 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2179 | local List = {} | |
2180 | for i,v in pairs(workspace:GetChildren())do | |
2181 | if v:IsA("Model")then | |
2182 | if v:findFirstChild("Torso")then | |
2183 | if v ~= char then | |
2184 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2185 | table.insert(List,v) | |
2186 | end | |
2187 | end | |
2188 | end | |
2189 | end | |
2190 | end | |
2191 | return List | |
2192 | end | |
2193 | ||
2194 | Shell = function() | |
2195 | local X = Instance.new("Part",char) | |
2196 | local O = Instance.new("ObjectValue",X) | |
2197 | O.Name = "creator" | |
2198 | X.Locked = true | |
2199 | X.Name = "Shell" | |
2200 | X.Anchored = false | |
2201 | X.CanCollide = false | |
2202 | X.Transparency = 0 | |
2203 | X.Reflectance = 0 | |
2204 | X.BottomSurface = 0 | |
2205 | X.TopSurface = 0 | |
2206 | X.Shape = 0 | |
2207 | local V = Instance.new("ObjectValue",X) | |
2208 | V.Value = char | |
2209 | V.Name = "creator" | |
2210 | X.BrickColor = BrickColor.new("Royal purple") | |
2211 | X.Size = Vector3.new(1,1,1) | |
2212 | --X.Material = "Neon" | |
2213 | local Z = Instance.new("SpecialMesh",X) | |
2214 | Z.MeshType = "Sphere" | |
2215 | Z.Scale = Vector3.new(1,1,1) | |
2216 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2217 | local bv = Instance.new("BodyVelocity",X) | |
2218 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2219 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2220 | bv.velocity = root.CFrame.lookVector*65 | |
2221 | Explode = X.Touched:connect(function(hit) | |
2222 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
2223 | local cf = X.CFrame | |
2224 | bv:Destroy() | |
2225 | X.Anchored = true | |
2226 | Z:Remove() | |
2227 | Explode:disconnect() | |
2228 | X.Size = Vector3.new(3,3,3) | |
2229 | X.Touched:connect(function(hit) end) | |
2230 | X.CanCollide = false | |
2231 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
2232 | if v:FindFirstChild('Humanoid') then | |
2233 | v.Humanoid:TakeDamage(math.random(6,12)) | |
2234 | end | |
2235 | end | |
2236 | for i = 1, (40) do rs:wait() | |
2237 | X.Transparency = X.Transparency + (1/40) | |
2238 | X.Size = X.Size + Vector3.new(1,1,1) | |
2239 | X.CFrame = cf | |
2240 | end | |
2241 | X:Destroy() | |
2242 | end | |
2243 | end) | |
2244 | end | |
2245 | Shell() | |
2246 | for i = 1, 10 do | |
2247 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2248 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2249 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2250 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2251 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
2252 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
2253 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
2254 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
2255 | if Debounces.on == false then break end | |
2256 | rs:wait() | |
2257 | end | |
2258 | Shell() | |
2259 | shell.Transparency = 1 | |
2260 | for i = 1, 10 do | |
2261 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2262 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2263 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2264 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2265 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2266 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2267 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2268 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2269 | if Debounces.on == false then break end | |
2270 | rs:wait() | |
2271 | end | |
2272 | Shell() | |
2273 | shell.Transparency = 0 | |
2274 | shell2.Transparency = 1 | |
2275 | for i = 1, 10 do | |
2276 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2277 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2278 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2279 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2280 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2281 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2282 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2283 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2284 | if Debounces.on == false then break end | |
2285 | rs:wait() | |
2286 | end | |
2287 | Shell() | |
2288 | shell2.Transparency = 0 | |
2289 | shell.Transparency = 1 | |
2290 | for i = 1, 10 do | |
2291 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2292 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2293 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2294 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2295 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2296 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2297 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2298 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2299 | if Debounces.on == false then break end | |
2300 | rs:wait() | |
2301 | end | |
2302 | Shell() | |
2303 | shell.Transparency = 0 | |
2304 | shell2.Transparency = 1 | |
2305 | for i = 1, 10 do | |
2306 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2307 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2308 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2309 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2310 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2311 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2312 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2313 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2314 | if Debounces.on == false then break end | |
2315 | rs:wait() | |
2316 | end | |
2317 | Shell() | |
2318 | shell2.Transparency = 0 | |
2319 | shell.Transparency = 1 | |
2320 | for i = 1, 10 do | |
2321 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2322 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2323 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2324 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2325 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2326 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2327 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2328 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2329 | if Debounces.on == false then break end | |
2330 | rs:wait() | |
2331 | end | |
2332 | Shell() | |
2333 | shell.Transparency = 0 | |
2334 | shell2.Transparency = 1 | |
2335 | for i = 1, 10 do | |
2336 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2337 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2338 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2339 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
2340 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2341 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2342 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2343 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2344 | if Debounces.on == false then break end | |
2345 | rs:wait() | |
2346 | end | |
2347 | Shell() | |
2348 | shell2.Transparency = 0 | |
2349 | shell.Transparency = 1 | |
2350 | for i = 1, 10 do | |
2351 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2352 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2353 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2354 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2355 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2356 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2357 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2358 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2359 | if Debounces.on == false then break end | |
2360 | rs:wait() | |
2361 | end | |
2362 | Shell() | |
2363 | shell.Transparency = 0 | |
2364 | shell2.Transparency = 1 | |
2365 | for i = 1, 10 do | |
2366 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2367 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2368 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2369 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2370 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2371 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2372 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2373 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2374 | if Debounces.on == false then break end | |
2375 | rs:wait() | |
2376 | end | |
2377 | Shell() | |
2378 | shell2.Transparency = 0 | |
2379 | shell.Transparency = 1 | |
2380 | for i = 1, 10 do | |
2381 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2382 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2383 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2384 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2385 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2386 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2387 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2388 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2389 | if Debounces.on == false then break end | |
2390 | rs:wait() | |
2391 | end | |
2392 | Shell() | |
2393 | shell.Transparency = 0 | |
2394 | shell2.Transparency = 1 | |
2395 | for i = 1, 10 do | |
2396 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2397 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2398 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2399 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2400 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2401 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2402 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2403 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2404 | if Debounces.on == false then break end | |
2405 | rs:wait() | |
2406 | end | |
2407 | Shell() | |
2408 | shell2.Transparency = 0 | |
2409 | shell.Transparency = 1 | |
2410 | for i = 1, 10 do | |
2411 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2412 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2413 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
2414 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
2415 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
2416 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
2417 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
2418 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
2419 | if Debounces.on == false then break end | |
2420 | rs:wait() | |
2421 | end | |
2422 | Shell() | |
2423 | shell.Transparency = 0 | |
2424 | shell2.Transparency = 1 | |
2425 | for i = 1, 10 do | |
2426 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
2427 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
2428 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
2429 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
2430 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
2431 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
2432 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
2433 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
2434 | if Debounces.on == false then break end | |
2435 | rs:wait() | |
2436 | end | |
2437 | shell.Transparency = 1 | |
2438 | if Debounces.CanAttack == false then | |
2439 | Debounces.CanAttack = true | |
2440 | Debounces.NoIdl = false | |
2441 | Debounces.on = false | |
2442 | end | |
2443 | end | |
2444 | end | |
2445 | end) | |
2446 | ---------------------------------------------------- | |
2447 | Search = false | |
2448 | mouse.KeyDown:connect(function(key) | |
2449 | if key == "n" then | |
2450 | if Search == false then | |
2451 | Search = true | |
2452 | for i,v in pairs(game.Players:getPlayers()) do | |
2453 | if v.Name~=char.Name then | |
2454 | for j,k in pairs(v.Character:GetChildren()) do | |
2455 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
2456 | bawx=Instance.new("SelectionBox",cam) | |
2457 | bawx.Color = BrickColor.new("Bright red") | |
2458 | bawx.Transparency = .5 | |
2459 | bawx.Adornee = k | |
2460 | end | |
2461 | end | |
2462 | end | |
2463 | end | |
2464 | elseif Search == true then | |
2465 | Search = false | |
2466 | for i, v in pairs(cam:GetChildren()) do | |
2467 | if v:IsA("SelectionBox") then | |
2468 | v:Destroy() | |
2469 | end | |
2470 | end | |
2471 | end | |
2472 | end | |
2473 | end) | |
2474 | ---------------------------------------------------- | |
2475 | Grab = false | |
2476 | mouse.KeyDown:connect(function(key) | |
2477 | if key == "z" then | |
2478 | Debounces.on = true | |
2479 | Debounces.NoIdl = true | |
2480 | Debounces.ks = true | |
2481 | if Grab == false then | |
2482 | gp = nil | |
2483 | for i = 1, 20 do | |
2484 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
2485 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
2486 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2487 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2488 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
2489 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
2490 | if Debounces.on == false then break end | |
2491 | rs:wait() | |
2492 | end | |
2493 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2494 | ht = hit.Parent | |
2495 | hum1=ht:FindFirstChild('Humanoid') | |
2496 | if hum1 ~= nil then | |
2497 | if Debounces.ks==true then | |
2498 | z = Instance.new("Sound",hed) | |
2499 | z.SoundId = "rbxassetid://169380525" | |
2500 | z.Volume = 1 | |
2501 | z:Play() | |
2502 | Debounces.ks=false | |
2503 | end | |
2504 | hum1.PlatformStand=true | |
2505 | gp = ht | |
2506 | Grab = true | |
2507 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
2508 | asd.Parent = larm | |
2509 | asd.Name = "asd" | |
2510 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
2511 | --[[elseif hum1 == nil then | |
2512 | con1:disconnect() | |
2513 | wait() return]]-- | |
2514 | end | |
2515 | end) | |
2516 | for i = 1, 20 do | |
2517 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
2518 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
2519 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2520 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
2521 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
2522 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
2523 | if Debounces.on == false then break end | |
2524 | rs:wait() | |
2525 | end | |
2526 | if hum1 == nil then | |
2527 | Debounces.on = false | |
2528 | Debounces.NoIdl = false | |
2529 | end | |
2530 | con1:disconnect() | |
2531 | elseif Grab == true then | |
2532 | Grab = false | |
2533 | Punch() | |
2534 | z = Instance.new("Sound",hed) | |
2535 | z.SoundId = "rbxassetid://169380525" | |
2536 | z.Pitch = ptz[math.random(1,#ptz)] | |
2537 | z.Volume = 1 | |
2538 | z:Play() | |
2539 | for i = 1, 10 do | |
2540 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2541 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2542 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2543 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2544 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2545 | 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) | |
2546 | if Debounces.on == false then break end | |
2547 | rs:wait() | |
2548 | end | |
2549 | Punch() | |
2550 | z = Instance.new("Sound",hed) | |
2551 | z.SoundId = "rbxassetid://169380525" | |
2552 | z.Pitch = ptz[math.random(1,#ptz)] | |
2553 | z.Volume = 1 | |
2554 | z:Play() | |
2555 | for i = 1, 10 do | |
2556 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2557 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2558 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2559 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2560 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2561 | 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) | |
2562 | if Debounces.on == false then break end | |
2563 | rs:wait() | |
2564 | end | |
2565 | Punch() | |
2566 | z = Instance.new("Sound",hed) | |
2567 | z.SoundId = "rbxassetid://169380525" | |
2568 | z.Pitch = ptz[math.random(1,#ptz)] | |
2569 | z.Volume = 1 | |
2570 | z:Play() | |
2571 | for i = 1, 10 do | |
2572 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2573 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2574 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2575 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2576 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2577 | 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) | |
2578 | if Debounces.on == false then break end | |
2579 | rs:wait() | |
2580 | end | |
2581 | Punch() | |
2582 | z = Instance.new("Sound",hed) | |
2583 | z.SoundId = "rbxassetid://169380525" | |
2584 | z.Pitch = ptz[math.random(1,#ptz)] | |
2585 | z.Volume = 1 | |
2586 | z:Play() | |
2587 | for i = 1, 10 do | |
2588 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2589 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2590 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2591 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2592 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2593 | 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) | |
2594 | if Debounces.on == false then break end | |
2595 | rs:wait() | |
2596 | end | |
2597 | Punch() | |
2598 | z = Instance.new("Sound",hed) | |
2599 | z.SoundId = "rbxassetid://169380525" | |
2600 | z.Pitch = ptz[math.random(1,#ptz)] | |
2601 | z.Volume = 1 | |
2602 | z:Play() | |
2603 | for i = 1, 10 do | |
2604 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2605 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2606 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2607 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2608 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2609 | 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) | |
2610 | if Debounces.on == false then break end | |
2611 | rs:wait() | |
2612 | end | |
2613 | Punch() | |
2614 | z = Instance.new("Sound",hed) | |
2615 | z.SoundId = "rbxassetid://169380525" | |
2616 | z.Pitch = ptz[math.random(1,#ptz)] | |
2617 | z.Volume = 1 | |
2618 | z:Play() | |
2619 | for i = 1, 10 do | |
2620 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2621 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2622 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2623 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2624 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2625 | 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) | |
2626 | if Debounces.on == false then break end | |
2627 | rs:wait() | |
2628 | end | |
2629 | Punch() | |
2630 | z = Instance.new("Sound",hed) | |
2631 | z.SoundId = "rbxassetid://169380525" | |
2632 | z.Pitch = ptz[math.random(1,#ptz)] | |
2633 | z.Volume = 1 | |
2634 | z:Play() | |
2635 | for i = 1, 10 do | |
2636 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2637 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2638 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2639 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2640 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2641 | 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) | |
2642 | if Debounces.on == false then break end | |
2643 | rs:wait() | |
2644 | end | |
2645 | Punch() | |
2646 | z = Instance.new("Sound",hed) | |
2647 | z.SoundId = "rbxassetid://169380525" | |
2648 | z.Pitch = ptz[math.random(1,#ptz)] | |
2649 | z.Volume = 1 | |
2650 | z:Play() | |
2651 | for i = 1, 10 do | |
2652 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2653 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2654 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2655 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2656 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2657 | 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) | |
2658 | if Debounces.on == false then break end | |
2659 | rs:wait() | |
2660 | end | |
2661 | Punch() | |
2662 | z = Instance.new("Sound",hed) | |
2663 | z.SoundId = "rbxassetid://169380525" | |
2664 | z.Pitch = ptz[math.random(1,#ptz)] | |
2665 | z.Volume = 1 | |
2666 | z:Play() | |
2667 | for i = 1, 10 do | |
2668 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2669 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2670 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2671 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2672 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2673 | 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) | |
2674 | if Debounces.on == false then break end | |
2675 | rs:wait() | |
2676 | end | |
2677 | Punch() | |
2678 | z = Instance.new("Sound",hed) | |
2679 | z.SoundId = "rbxassetid://169380525" | |
2680 | z.Pitch = ptz[math.random(1,#ptz)] | |
2681 | z.Volume = 1 | |
2682 | z:Play() | |
2683 | for i = 1, 10 do | |
2684 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2685 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2686 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2687 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2688 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2689 | 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) | |
2690 | if Debounces.on == false then break end | |
2691 | rs:wait() | |
2692 | end | |
2693 | Punch() | |
2694 | z = Instance.new("Sound",hed) | |
2695 | z.SoundId = "rbxassetid://169380525" | |
2696 | z.Pitch = ptz[math.random(1,#ptz)] | |
2697 | z.Volume = 1 | |
2698 | z:Play() | |
2699 | for i = 1, 10 do | |
2700 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
2701 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
2702 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
2703 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
2704 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2705 | 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) | |
2706 | if Debounces.on == false then break end | |
2707 | rs:wait() | |
2708 | end | |
2709 | Punch() | |
2710 | z = Instance.new("Sound",hed) | |
2711 | z.SoundId = "rbxassetid://169380525" | |
2712 | z.Pitch = ptz[math.random(1,#ptz)] | |
2713 | z.Volume = 1 | |
2714 | z:Play() | |
2715 | for i = 1, 10 do | |
2716 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
2717 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
2718 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
2719 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
2720 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
2721 | 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) | |
2722 | if Debounces.on == false then break end | |
2723 | rs:wait() | |
2724 | end | |
2725 | con1:disconnect() | |
2726 | Debounces.on = false | |
2727 | Debounces.NoIdl = false | |
2728 | if gp ~= nil then | |
2729 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
2730 | for i,v in pairs(larm:GetChildren()) do | |
2731 | if v.Name == "asd" and v:IsA("Weld") then | |
2732 | v:Remove() | |
2733 | end | |
2734 | end | |
2735 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
2736 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
2737 | bv.P = 125000 | |
2738 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
2739 | hum1=nil | |
2740 | ht=nil | |
2741 | Debounces.on = false | |
2742 | Debounces.NoIdl = false | |
2743 | elseif ht == nil then wait() | |
2744 | Grab = false | |
2745 | Debounces.on = false | |
2746 | Debounces.NoIdl = false | |
2747 | end | |
2748 | end | |
2749 | end | |
2750 | end) | |
2751 | ---------------------------------------------------- | |
2752 | mouse.KeyDown:connect(function(key) | |
2753 | if string.byte(key) == 52 then | |
2754 | char.Humanoid.WalkSpeed = 60 | |
2755 | end | |
2756 | end) | |
2757 | mouse.KeyUp:connect(function(key) | |
2758 | if string.byte(key) == 52 then | |
2759 | char.Humanoid.WalkSpeed = 8 | |
2760 | end | |
2761 | end) | |
2762 | ------------------------------- | |
2763 | local animpose = "Idle" | |
2764 | local lastanimpose = "Idle" | |
2765 | local sine = 0 | |
2766 | local change = 1 | |
2767 | local val = 0 | |
2768 | local ffing = false | |
2769 | ------------------------------- | |
2770 | game:GetService("RunService").RenderStepped:connect(function() | |
2771 | --[[if char.Humanoid.Jump == true then | |
2772 | jump = true | |
2773 | else | |
2774 | jump = false | |
2775 | end]] | |
2776 | char.Humanoid.FreeFalling:connect(function(f) | |
2777 | if f then | |
2778 | ffing = true | |
2779 | else | |
2780 | ffing = false | |
2781 | end | |
2782 | end) | |
2783 | sine = sine + change | |
2784 | if jumpn == true then | |
2785 | animpose = "Jumping" | |
2786 | elseif ffing == true then | |
2787 | animpose = "Freefalling" | |
2788 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
2789 | animpose = "Idle" | |
2790 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
2791 | animpose = "Walking" | |
2792 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
2793 | animpose = "Running" | |
2794 | end | |
2795 | if animpose ~= lastanimpose then | |
2796 | sine = 0 | |
2797 | if Debounces.NoIdl == false then | |
2798 | if animpose == "Idle" then | |
2799 | for i = 1, 2 do | |
2800 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
2801 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
2802 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
2803 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2804 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2805 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2806 | end | |
2807 | elseif animpose == "Walking" then | |
2808 | for i = 1, 2 do | |
2809 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
2810 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
2811 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
2812 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
2813 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
2814 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
2815 | end | |
2816 | elseif animpose == "Running" then | |
2817 | for i = 1, 2 do | |
2818 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
2819 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
2820 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
2821 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
2822 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
2823 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
2824 | wait() | |
2825 | end | |
2826 | end | |
2827 | else | |
2828 | end | |
2829 | end | |
2830 | lastanimpose = animpose | |
2831 | if Debounces.NoIdl == false then | |
2832 | if animpose == "Idle" then | |
2833 | change = 0.5 | |
2834 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4) | |
2835 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
2836 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
2837 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
2838 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
2839 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
2840 | elseif animpose == "Walking" then | |
2841 | change = 1 | |
2842 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
2843 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
2844 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
2845 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
2846 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
2847 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
2848 | elseif animpose == "Running" then | |
2849 | change = 1 | |
2850 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
2851 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
2852 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
2853 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
2854 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
2855 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
2856 | end | |
2857 | end | |
2858 | end) | |
2859 | ||
2860 | hum.MaxHealth = 999999999999999999999 | |
2861 | wait(3) | |
2862 | hum.Health = 999999999999999999999 | |
2863 | ||
2864 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
2865 | --[[Part0 = Vector3 (Start pos) | |
2866 | Part1 = Vector3 (End pos) | |
2867 | Times = number (Amount of lightning parts) | |
2868 | Offset = number (Offset) | |
2869 | Color = color (brickcolor value) | |
2870 | Thickness = number (thickness) | |
2871 | Trans = number (transparency) | |
2872 | ]]-- | |
2873 | local magz = (Part0 - Part1).magnitude | |
2874 | local curpos = Part0 | |
2875 | local trz = {-Offset,Offset} | |
2876 | for i=1,Times do | |
2877 | local li = Instance.new("Part", torso) | |
2878 | li.Name = "Lightning" | |
2879 | li.TopSurface =0 | |
2880 | li.Material = "Neon" | |
2881 | li.BottomSurface = 0 | |
2882 | li.Anchored = true | |
2883 | li.Locked = true | |
2884 | li.Transparency = Trans or 0.4 | |
2885 | li.BrickColor = BrickColor.new(Color) | |
2886 | li.formFactor = "Custom" | |
2887 | li.CanCollide = false | |
2888 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
2889 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
2890 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
2891 | if Times == i then | |
2892 | local magz2 = (curpos - Part1).magnitude | |
2893 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
2894 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
2895 | else | |
2896 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
2897 | end | |
2898 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
2899 | game.Debris:AddItem(li,.1) | |
2900 | end | |
2901 | end | |
2902 | ||
2903 | BodyParts = {} -- Parts to emit lightning effects from | |
2904 | for _, v in pairs(char:GetChildren()) do | |
2905 | if v:IsA("Part") then | |
2906 | table.insert(BodyParts, v) | |
2907 | end | |
2908 | end | |
2909 | ||
2910 | Bounding = {} -- Calculate the bounding boxes | |
2911 | for _, v in pairs(BodyParts) do | |
2912 | local temp = {X=nil, Y=nil, Z=nil} | |
2913 | temp.X = v.Size.X/2 * 10 | |
2914 | temp.Y = v.Size.Y/2 * 10 | |
2915 | temp.Z = v.Size.Z/2 * 10 | |
2916 | Bounding[v.Name] = temp | |
2917 | --table.insert(Bounding, v.Name, temp) | |
2918 | end | |
2919 | ||
2920 | while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly | |
2921 | local Body1 = BodyParts[math.random(#BodyParts)] | |
2922 | local Body2 = BodyParts[math.random(#BodyParts)] | |
2923 | local Pos1 = Vector3.new( | |
2924 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
2925 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
2926 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
2927 | ) | |
2928 | local Pos2 = Vector3.new( | |
2929 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
2930 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
2931 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
2932 | ) | |
2933 | local SPos1 = Body1.Position + Pos1 | |
2934 | local SPos2 = Body2.Position + Pos2 | |
2935 | Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56) | |
2936 | end | |
2937 | --~joshcoolsam |