SHOW:
|
|
- or go back to the newest paste.
1 | local p = game.Players.LocalPlayer | |
2 | local char = p.Character | |
3 | local mouse = p:GetMouse() | |
4 | local larm = char["Left Arm"] | |
5 | local rarm = char["Right Arm"] | |
6 | local lleg = char["Left Leg"] | |
7 | local rleg = char["Right Leg" | |
8 | ]local hed = char.Head | |
9 | local torso = char.Torso | |
10 | local hum = char.Humanoid | |
11 | local cam = game.Workspace.CurrentCamera | |
12 | local root = char.HumanoidRootPart | |
13 | local deb = false | |
14 | local shot = 0 | |
15 | local debris=game:service"Debris" | |
16 | local l = game:GetService("Lighting") | |
17 | local rs = game:GetService("RunService").RenderStepped | |
18 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
19 | math.randomseed(os.time()) | |
20 | for i,v in pairs(char:children()) do | |
21 | if v:IsA("Hat") then | |
22 | v:Destroy() | |
23 | end | |
24 | end | |
25 | for i,v in pairs (hed:GetChildren()) do | |
26 | if v:IsA("Sound") then | |
27 | v:Destroy() | |
28 | end | |
29 | end | |
30 | ||
31 | ||
32 | ---------------------------------------------------- | |
33 | Debounces = { | |
34 | CanAttack = true; | |
35 | NoIdl = false; | |
36 | Slashing = false; | |
37 | Slashed = false; | |
38 | RPunch = false; | |
39 | RPunched = false; | |
40 | LPunch = false; | |
41 | LPunched = false; | |
42 | } | |
43 | local Touche = {char.Name, } | |
44 | ---------------------------------------------------- | |
45 | hed.face.Texture = "rbxassetid://110112292" | |
46 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
47 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
48 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
49 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
50 | ---------------------------------------------------- | |
51 | ypcall(function() | |
52 | char.Shirt:Destroy() | |
53 | char.Pants:Destroy() | |
54 | shirt = Instance.new("Shirt", char) | |
55 | shirt.Name = "Shirt" | |
56 | pants = Instance.new("Pants", char) | |
57 | pants.Name = "Pants" | |
58 | char.Shirt.ShirtTemplate = "rbxassetid://246438816" | |
59 | char.Pants.PantsTemplate = "rbxassetid://267068334" | |
60 | end) | |
61 | ---------------------------------------------------- | |
62 | function lerp(a, b, t) -- Linear interpolation | |
63 | return a + (b - a)*t | |
64 | end | |
65 | ||
66 | function slerp(a, b, t) --Spherical interpolation | |
67 | dot = a:Dot(b) | |
68 | if dot > 0.99999 or dot < -0.99999 then | |
69 | return t <= 0.5 and a or b | |
70 | else | |
71 | r = math.acos(dot) | |
72 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
73 | end | |
74 | end | |
75 | ||
76 | function matrixInterpolate(a, b, t) | |
77 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
78 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
79 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
80 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
81 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
82 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
83 | local t = v1:Dot(v2) | |
84 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
85 | return CFrame.new() | |
86 | end | |
87 | return CFrame.new( | |
88 | v0.x, v0.y, v0.z, | |
89 | v1.x, v1.y, v1.z, | |
90 | v2.x, v2.y, v2.z, | |
91 | v3.x, v3.y, v3.z) | |
92 | end | |
93 | ---------------------------------------------------- | |
94 | function genWeld(a,b) | |
95 | local w = Instance.new("Weld",a) | |
96 | w.Part0 = a | |
97 | w.Part1 = b | |
98 | return w | |
99 | end | |
100 | function weld(a, b) | |
101 | local weld = Instance.new("Weld") | |
102 | weld.Name = "W" | |
103 | weld.Part0 = a | |
104 | weld.Part1 = b | |
105 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
106 | weld.Parent = a | |
107 | return weld; | |
108 | end | |
109 | ---------------------------------------------------- | |
110 | function Lerp(c1,c2,al) | |
111 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
112 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
113 | for i,v in pairs(com1) do | |
114 | com1[i] = v+(com2[i]-v)*al | |
115 | end | |
116 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
117 | end | |
118 | ---------------------------------------------------- | |
119 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
120 | local wld = Instance.new("Weld", wp1) | |
121 | wld.Part0 = wp0 | |
122 | wld.Part1 = wp1 | |
123 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
124 | end | |
125 | ---------------------------------------------------- | |
126 | function weld5(part0, part1, c0, c1) | |
127 | weeld=Instance.new("Weld", part0) | |
128 | weeld.Part0=part0 | |
129 | weeld.Part1=part1 | |
130 | weeld.C0=c0 | |
131 | weeld.C1=c1 | |
132 | return weeld | |
133 | end | |
134 | ---------------------------------------------------- | |
135 | function HasntTouched(plrname) | |
136 | local ret = true | |
137 | for _, v in pairs(Touche) do | |
138 | if v == plrname then | |
139 | ret = false | |
140 | end | |
141 | end | |
142 | return ret | |
143 | end | |
144 | ---------------------------------------------------- | |
145 | newWeld(torso, larm, -1.5, 0.5, 0) | |
146 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
147 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
148 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
149 | newWeld(torso, hed, 0, 1.5, 0) | |
150 | newWeld(torso, lleg, -0.5, -1, 0) | |
151 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
152 | newWeld(torso, rleg, 0.5, -1, 0) | |
153 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
154 | newWeld(root, torso, 0, -1, 0) | |
155 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
156 | ---------------------------------------------------- | |
157 | z = Instance.new("Sound", char) | |
158 | - | z.SoundId = "rbxassetid://344938055"--282572614 -- 157060424 -- 303570180 |
158 | + | z.SoundId = "rbxassetid://231717155"--231717155 -- 231717155 -- 231717155 |
159 | z.Looped = true | |
160 | z.Pitch = 1 | |
161 | z.Volume = 1 | |
162 | wait(.1) | |
163 | z:Play() | |
164 | ---------------------------------------------------- | |
165 | local Transforming = true | |
166 | hum.WalkSpeed = 0 | |
167 | local fx = Instance.new("Part",torso) | |
168 | fx.Anchored = true | |
169 | fx.Material = "Neon" | |
170 | fx.CanCollide = false | |
171 | fx.Locked = true | |
172 | fx.Transparency = 1 | |
173 | fx.Material = "Brick" | |
174 | fx.Size = Vector3.new(1,1,1) | |
175 | fx.TopSurface = "SmoothNoOutlines" | |
176 | fx.BottomSurface = "SmoothNoOutlines" | |
177 | - | fx.BrickColor = BrickColor.new("Lime green") |
177 | + | fx.BrickColor = BrickColor.new("Really red") |
178 | fxm = Instance.new("SpecialMesh",fx) | |
179 | fxm.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
180 | fxm.Scale = Vector3.new(1,1,1) | |
181 | for i = 1, 20 do rs:wait() | |
182 | fx.Transparency = fx.Transparency - (1/20) | |
183 | fx.CFrame = torso.CFrame | |
184 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
185 | rs:wait() | |
186 | end | |
187 | ------ | |
188 | ---------------------------------------------------- | |
189 | lleg.Transparency = 0.5 | |
190 | rleg.Transparency = 0.5 | |
191 | larm.Transparency = 0.5 | |
192 | rarm.Transparency = 0.5 | |
193 | torso.Transparency = 0.5 | |
194 | ----------------------------------------------------------------- Left Arm ----------------------------------------------------------------- | |
195 | larm1 = Instance.new("Part", char) | |
196 | larm1.Name = "Middle" | |
197 | - | larm1.BrickColor = BrickColor.new("Lime green") |
197 | + | larm1.BrickColor = BrickColor.new("Really red") |
198 | larm1.Size = Vector3.new(1, 2, 1) | |
199 | larm1.CanCollide = false | |
200 | larm1.BottomSurface = "Smooth" | |
201 | larm1.TopSurface = "Smooth" | |
202 | larm1.Material = "Neon" | |
203 | Weld = Instance.new("Weld",larm) | |
204 | Weld.Part0 = larm | |
205 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
206 | Weld.Part1 = larm1 | |
207 | Weld.C1 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
208 | ||
209 | larm2 = Instance.new("Part", char) | |
210 | - | larm2.BrickColor = BrickColor.new("Really blue") |
210 | + | larm2.BrickColor = BrickColor.new("Really orange") |
211 | larm2.Material = "Granite" | |
212 | larm2.Size = Vector3.new(1, 0.4, 1) | |
213 | larm2.CanCollide = false | |
214 | larm2.BottomSurface = "Smooth" | |
215 | larm2.TopSurface = "Smooth" | |
216 | Weld = Instance.new("Weld",larm) | |
217 | Weld.Part0 = larm | |
218 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
219 | Weld.Part1 = larm2 | |
220 | Weld.C1 = CFrame.new(-0.452633858, -0.349740982, -1.50225353, -0.00506608887, 0.999986708, -0.00096991309, -0.0106740929, 0.000915773562, 0.999942601, 0.999930143, 0.0050761546, 0.0106693096) | |
221 | ||
222 | larm3 = Instance.new("Part", char) | |
223 | - | larm3.BrickColor = BrickColor.new("Really blue") |
223 | + | larm3.BrickColor = BrickColor.new("Really orange") |
224 | larm3.Material = "Granite" | |
225 | larm3.Size = Vector3.new(1, 0.4, 1) | |
226 | larm3.CanCollide = false | |
227 | larm3.BottomSurface = "Smooth" | |
228 | larm3.TopSurface = "Smooth" | |
229 | Weld = Instance.new("Weld",larm) | |
230 | Weld.Part0 = larm | |
231 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
232 | Weld.Part1 = larm3 | |
233 | Weld.C1 = CFrame.new(-0.452513218, -1.90224648, -0.0102577209, -0.00506604509, 0.999986708, -0.000969912624, 0.999930143, 0.00507611083, 0.0106693096, 0.0106740929, -0.000915773562, -0.999942601) | |
234 | ||
235 | larm4 = Instance.new("Part", char) | |
236 | - | larm4.BrickColor = BrickColor.new("Really blue") |
236 | + | larm4.BrickColor = BrickColor.new("Really orange") |
237 | larm4.Material = "Granite" | |
238 | larm4.Size = Vector3.new(1, 0.4, 1) | |
239 | larm4.CanCollide = false | |
240 | larm4.BottomSurface = "Smooth" | |
241 | larm4.TopSurface = "Smooth" | |
242 | Weld = Instance.new("Weld",larm) | |
243 | Weld.Part0 = larm | |
244 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
245 | Weld.Part1 = larm4 | |
246 | Weld.C1 = CFrame.new(-0.452511787, -0.41024971, 1.50225258, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
247 | ||
248 | larm5 = Instance.new("Part", char) | |
249 | - | larm5.BrickColor = BrickColor.new("Really blue") |
249 | + | larm5.BrickColor = BrickColor.new("Really orange") |
250 | larm5.Material = "Granite" | |
251 | larm5.Size = Vector3.new(1, 0.4, 1) | |
252 | larm5.CanCollide = false | |
253 | larm5.BottomSurface = "Smooth" | |
254 | larm5.TopSurface = "Smooth" | |
255 | Weld = Instance.new("Weld",larm) | |
256 | Weld.Part0 = larm | |
257 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
258 | Weld.Part1 = larm5 | |
259 | Weld.C1 = CFrame.new(-1.50225163, -0.762512684, 0.0102577209, 0.999930143, 0.0050761546, 0.0106693534, -0.00506608794, 0.999986708, -0.000970000518, -0.0106741367, 0.000915860757, 0.999942601) | |
260 | ||
261 | larm6 = Instance.new("Part", char) | |
262 | - | larm6.BrickColor = BrickColor.new("Really blue") |
262 | + | larm6.BrickColor = BrickColor.new("Really orange") |
263 | larm6.Material = "Granite" | |
264 | larm6.Size = Vector3.new(1, 0.4, 1) | |
265 | larm6.CanCollide = false | |
266 | larm6.BottomSurface = "Smooth" | |
267 | larm6.TopSurface = "Smooth" | |
268 | Mesh = Instance.new("SpecialMesh", larm6) | |
269 | Mesh.MeshType = "Brick" | |
270 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
271 | Weld = Instance.new("Weld",larm) | |
272 | Weld.Part0 = larm | |
273 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
274 | Weld.Part1 = larm6 | |
275 | Weld.C1 = CFrame.new(0.0102558136, 0.847481251, 1.50225353, -0.0106740929, 0.00091586099, 0.999942601, -0.00506608794, 0.999986708, -0.000970000518, -0.999930143, -0.0050761546, -0.0106693096) | |
276 | ||
277 | larm7 = Instance.new("Part", char) | |
278 | - | larm7.BrickColor = BrickColor.new("Lime green") |
278 | + | larm7.BrickColor = BrickColor.new("Really red") |
279 | larm7.Size = Vector3.new(0.5, 0.3, 2) | |
280 | larm7.CanCollide = false | |
281 | larm7.BottomSurface = "Smooth" | |
282 | larm7.TopSurface = "Smooth" | |
283 | larm7.Material = "Neon" | |
284 | Weld = Instance.new("Weld",larm) | |
285 | Weld.Part0 = larm | |
286 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
287 | Weld.Part1 = larm7 | |
288 | Weld.C1 = CFrame.new(-0.339956284, 1.83238316, 1.50933075, 0.11770986, 0.484406531, 0.866887927, -0.967169523, 0.253912479, -0.0105566857, -0.225227386, -0.837184966, 0.498391271) | |
289 | ||
290 | larm8 = Instance.new("Part", char) | |
291 | - | larm8.BrickColor = BrickColor.new("Really blue") |
291 | + | larm8.BrickColor = BrickColor.new("Really orange") |
292 | larm8.Material = "Granite" | |
293 | larm8.Size = Vector3.new(1, 0.4, 1) | |
294 | larm8.CanCollide = false | |
295 | larm8.BottomSurface = "Smooth" | |
296 | larm8.TopSurface = "Smooth" | |
297 | Weld = Instance.new("Weld",larm) | |
298 | Weld.Part0 = larm | |
299 | Weld.C0 = CFrame.new(1.50225258, 0.0474791527, -0.0102558136, -0.999930143, -0.0050761546, -0.0106693096, -0.00506608794, 0.999986708, -0.000970000518, 0.0106740929, -0.00091586099, -0.999942601) | |
300 | Weld.Part1 = larm8 | |
301 | Weld.C1 = CFrame.new(0.247514963, -0.0102424622, 1.58225441, -0.00506623974, 0.999986708, -0.000969914719, 0.0106740929, -0.000915773562, -0.999942601, -0.999930143, -0.00507630548, -0.0106693096) | |
302 | ----------------------------------------------------------------- Right Arm ----------------------------------------------------------------- | |
303 | rarm1 = Instance.new("Part", char) | |
304 | rarm1.Name = "Middle" | |
305 | - | rarm1.BrickColor = BrickColor.new("Lime green") |
305 | + | rarm1.BrickColor = BrickColor.new("Really red") |
306 | rarm1.Size = Vector3.new(1, 2, 1) | |
307 | rarm1.CanCollide = false | |
308 | rarm1.BottomSurface = "Smooth" | |
309 | rarm1.TopSurface = "Smooth" | |
310 | rarm1.Material = "Neon" | |
311 | Weld = Instance.new("Weld",rarm) | |
312 | Weld.Part0 = rarm | |
313 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
314 | Weld.Part1 = rarm1 | |
315 | Weld.C1 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
316 | ||
317 | rarm2 = Instance.new("Part", char) | |
318 | - | rarm2.BrickColor = BrickColor.new("Really blue") |
318 | + | rarm2.BrickColor = BrickColor.new("Really orange") |
319 | rarm2.Material = "Granite" | |
320 | rarm2.Size = Vector3.new(1, 0.4, 1) | |
321 | rarm2.CanCollide = false | |
322 | rarm2.BottomSurface = "Smooth" | |
323 | rarm2.TopSurface = "Smooth" | |
324 | Weld = Instance.new("Weld",rarm) | |
325 | Weld.Part0 = rarm | |
326 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
327 | Weld.Part1 = rarm2 | |
328 | Weld.C1 = CFrame.new(-0.458259583, -0.356315613, 1.50168037, 0.00366159994, 0.999978125, -0.00550877256, 0.00621323148, 0.00548594771, 0.999965668, 0.999974012, -0.00369570963, -0.00619300362) | |
329 | ||
330 | rarm3 = Instance.new("Part", char) | |
331 | - | rarm3.BrickColor = BrickColor.new("Really blue") |
331 | + | rarm3.BrickColor = BrickColor.new("Really orange") |
332 | rarm3.Material = "Granite" | |
333 | rarm3.Size = Vector3.new(1, 0.4, 1) | |
334 | rarm3.CanCollide = false | |
335 | rarm3.BottomSurface = "Smooth" | |
336 | rarm3.TopSurface = "Smooth" | |
337 | Weld = Instance.new("Weld",rarm) | |
338 | Weld.Part0 = rarm | |
339 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
340 | Weld.Part1 = rarm3 | |
341 | Weld.C1 = CFrame.new(-1.50168133, -0.768137932, -0.00367927551, -0.999974012, 0.00369570986, 0.00619304739, 0.00366159948, 0.999978125, -0.00550886011, -0.00621327572, -0.00548603525, -0.999965668) | |
342 | ||
343 | rarm4 = Instance.new("Part", char) | |
344 | - | rarm4.BrickColor = BrickColor.new("Really blue") |
344 | + | rarm4.BrickColor = BrickColor.new("Really orange") |
345 | rarm4.Material = "Granite" | |
346 | rarm4.Size = Vector3.new(1, 0.4, 1) | |
347 | rarm4.CanCollide = false | |
348 | rarm4.BottomSurface = "Smooth" | |
349 | rarm4.TopSurface = "Smooth" | |
350 | Weld = Instance.new("Weld",rarm) | |
351 | Weld.Part0 = rarm | |
352 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
353 | Weld.Part1 = rarm4 | |
354 | Weld.C1 = CFrame.new(-0.00368309021, 1.8716774, 0.458146095, -0.00621323194, -0.00548603525, -0.999965668, 0.999974012, -0.0036957534, -0.00619300315, -0.00366164325, -0.999978125, 0.00550886057) | |
355 | ||
356 | rarm5 = Instance.new("Part", char) | |
357 | - | rarm5.BrickColor = BrickColor.new("Really blue") |
357 | + | rarm5.BrickColor = BrickColor.new("Really orange") |
358 | rarm5.Material = "Granite" | |
359 | rarm5.Size = Vector3.new(1, 0.4, 1) | |
360 | rarm5.CanCollide = false | |
361 | rarm5.BottomSurface = "Smooth" | |
362 | rarm5.TopSurface = "Smooth" | |
363 | Mesh = Instance.new("SpecialMesh", rarm5) | |
364 | Mesh.MeshType = "Brick" | |
365 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
366 | Weld = Instance.new("Weld",rarm) | |
367 | Weld.Part0 = rarm | |
368 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
369 | Weld.Part1 = rarm5 | |
370 | Weld.C1 = CFrame.new(0.00368118286, 0.841855764, -1.50168228, 0.00621323194, 0.00548603525, 0.999965668, 0.00366159948, 0.999978125, -0.00550886011, -0.999974012, 0.00369570963, 0.00619300362) | |
371 | ||
372 | rarm6 = Instance.new("Part", char) | |
373 | - | rarm6.BrickColor = BrickColor.new("Really blue") |
373 | + | rarm6.BrickColor = BrickColor.new("Really orange") |
374 | rarm6.Material = "Granite" | |
375 | rarm6.Size = Vector3.new(1, 0.4, 1) | |
376 | rarm6.CanCollide = false | |
377 | rarm6.BottomSurface = "Smooth" | |
378 | rarm6.TopSurface = "Smooth" | |
379 | Weld = Instance.new("Weld",rarm) | |
380 | Weld.Part0 = rarm | |
381 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
382 | Weld.Part1 = rarm6 | |
383 | Weld.C1 = CFrame.new(-1.50168133, -0.403675079, 0.458138466, -0.999974012, 0.00369575364, 0.00619304692, -0.00621327572, -0.00548603525, -0.999965668, -0.00366164325, -0.999978125, 0.00550886057) | |
384 | ||
385 | rarm7 = Instance.new("Part", char) | |
386 | - | rarm7.BrickColor = BrickColor.new("Lime green") |
386 | + | rarm7.BrickColor = BrickColor.new("Really red") |
387 | rarm7.Size = Vector3.new(0.5, 0.3, 2) | |
388 | rarm7.CanCollide = false | |
389 | rarm7.BottomSurface = "Smooth" | |
390 | rarm7.TopSurface = "Smooth" | |
391 | rarm7.Material = "Neon" | |
392 | Weld = Instance.new("Weld",rarm) | |
393 | Weld.Part0 = rarm | |
394 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
395 | Weld.Part1 = rarm7 | |
396 | Weld.C1 = CFrame.new(0.344418526, -1.80139351, -1.50391006, 0.122256897, -0.48818168, -0.864136577, -0.966848493, -0.25524351, 0.00740774209, -0.224181563, 0.834583461, -0.503202915) | |
397 | ||
398 | rarm8 = Instance.new("Part", char) | |
399 | - | rarm8.BrickColor = BrickColor.new("Really blue") |
399 | + | rarm8.BrickColor = BrickColor.new("Really orange") |
400 | rarm8.Material = "Granite" | |
401 | rarm8.Size = Vector3.new(1, 0.4, 1) | |
402 | rarm8.CanCollide = false | |
403 | rarm8.BottomSurface = "Smooth" | |
404 | rarm8.TopSurface = "Smooth" | |
405 | Weld = Instance.new("Weld",rarm) | |
406 | Weld.Part0 = rarm | |
407 | Weld.C0 = CFrame.new(-1.50168228, 0.0418539047, -0.00368309021, -0.999974012, 0.00369570963, 0.00619300362, 0.00366159948, 0.999978125, -0.00550886011, -0.00621323194, -0.00548603525, -0.999965668) | |
408 | Weld.Part1 = rarm8 | |
409 | Weld.C1 = CFrame.new(0.241888285, -0.00366973877, -1.56167889, 0.00366144883, 0.999978125, -0.00550877163, -0.00621323148, -0.00548594771, -0.999965668, -0.999974012, 0.00369555852, 0.00619300455) | |
410 | ----------------------------------------------------------------- Left Leg ----------------------------------------------------------------- | |
411 | lleg1 = Instance.new("Part", char) | |
412 | lleg1.Name = "Middle" | |
413 | - | lleg1.BrickColor = BrickColor.new("Lime green") |
413 | + | lleg1.BrickColor = BrickColor.new("Really red") |
414 | lleg1.Size = Vector3.new(1, 2, 1) | |
415 | lleg1.CanCollide = false | |
416 | lleg1.BottomSurface = "Smooth" | |
417 | lleg1.TopSurface = "Smooth" | |
418 | lleg1.Material = "Neon" | |
419 | Weld = Instance.new("Weld",lleg) | |
420 | Weld.Part0 = lleg | |
421 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
422 | Weld.Part1 = lleg1 | |
423 | Weld.C1 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
424 | ||
425 | lleg2 = Instance.new("Part", char) | |
426 | - | lleg2.BrickColor = BrickColor.new("Really blue") |
426 | + | lleg2.BrickColor = BrickColor.new("Really orange") |
427 | lleg2.Material = "Granite" | |
428 | lleg2.Size = Vector3.new(1, 0.4, 1) | |
429 | lleg2.CanCollide = false | |
430 | lleg2.BottomSurface = "Smooth" | |
431 | lleg2.TopSurface = "Smooth" | |
432 | Weld = Instance.new("Weld",lleg) | |
433 | Weld.Part0 = lleg | |
434 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
435 | Weld.Part1 = lleg2 | |
436 | Weld.C1 = CFrame.new(0.898587704, 4.77446556, 2.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
437 | ||
438 | lleg3 = Instance.new("Part", char) | |
439 | - | lleg3.BrickColor = BrickColor.new("Really blue") |
439 | + | lleg3.BrickColor = BrickColor.new("Really orange") |
440 | lleg3.Material = "Granite" | |
441 | lleg3.Size = Vector3.new(0.5, 0.3, 2) | |
442 | lleg3.CanCollide = false | |
443 | lleg3.BottomSurface = "Smooth" | |
444 | lleg3.TopSurface = "Smooth" | |
445 | Weld = Instance.new("Weld",lleg) | |
446 | Weld.Part0 = lleg | |
447 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
448 | Weld.Part1 = lleg3 | |
449 | Weld.C1 = CFrame.new(4.69929504, -1.49470997, 3.25491428, 0.183012843, 0.683012605, 0.707106829, -0.965925813, 0.258819133, 1.06770166e-007, -0.183012709, -0.683012724, 0.707106769) | |
450 | ||
451 | lleg4 = Instance.new("Part", char) | |
452 | - | lleg4.BrickColor = BrickColor.new("Really blue") |
452 | + | lleg4.BrickColor = BrickColor.new("Really orange") |
453 | lleg4.Material = "Granite" | |
454 | lleg4.Size = Vector3.new(1, 0.4, 1) | |
455 | lleg4.CanCollide = false | |
456 | lleg4.BottomSurface = "Smooth" | |
457 | lleg4.TopSurface = "Smooth" | |
458 | Weld = Instance.new("Weld",lleg) | |
459 | Weld.Part0 = lleg | |
460 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
461 | Weld.Part1 = lleg4 | |
462 | Weld.C1 = CFrame.new(0.899408102, 1.9581213, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
463 | ||
464 | lleg5 = Instance.new("Part", char) | |
465 | - | lleg5.BrickColor = BrickColor.new("Really blue") |
465 | + | lleg5.BrickColor = BrickColor.new("Really orange") |
466 | lleg5.Material = "Granite" | |
467 | lleg5.Size = Vector3.new(1, 0.4, 1) | |
468 | lleg5.CanCollide = false | |
469 | lleg5.BottomSurface = "Smooth" | |
470 | lleg5.TopSurface = "Smooth" | |
471 | Weld = Instance.new("Weld",lleg) | |
472 | Weld.Part0 = lleg | |
473 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
474 | Weld.Part1 = lleg5 | |
475 | Weld.C1 = CFrame.new(0.899407625, -5.57446861, -2.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
476 | ||
477 | lleg6 = Instance.new("Part", char) | |
478 | - | lleg6.BrickColor = BrickColor.new("Really blue") |
478 | + | lleg6.BrickColor = BrickColor.new("Really orange") |
479 | lleg6.Material = "Granite" | |
480 | lleg6.Size = Vector3.new(1, 0.4, 1) | |
481 | lleg6.CanCollide = false | |
482 | lleg6.BottomSurface = "Smooth" | |
483 | lleg6.TopSurface = "Smooth" | |
484 | Weld = Instance.new("Weld",lleg) | |
485 | Weld.Part0 = lleg | |
486 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
487 | Weld.Part1 = lleg6 | |
488 | Weld.C1 = CFrame.new(1.49948871, -2.31810665, 5.08444977, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
489 | ||
490 | lleg7 = Instance.new("Part", char) | |
491 | - | lleg7.BrickColor = BrickColor.new("Really blue") |
491 | + | lleg7.BrickColor = BrickColor.new("Really orange") |
492 | lleg7.Material = "Granite" | |
493 | lleg7.Size = Vector3.new(1, 0.4, 1) | |
494 | lleg7.CanCollide = false | |
495 | lleg7.BottomSurface = "Smooth" | |
496 | lleg7.TopSurface = "Smooth" | |
497 | Weld = Instance.new("Weld",lleg) | |
498 | Weld.Part0 = lleg | |
499 | Weld.C0 = CFrame.new(-2.3581152, 0.999663353, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
500 | Weld.Part1 = lleg7 | |
501 | Weld.C1 = CFrame.new(1.4994036, -2.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
502 | ----------------------------------------------------------------- Right Leg ----------------------------------------------------------------- | |
503 | rleg1 = Instance.new("Part", char) | |
504 | rleg1.Name = "Middle" | |
505 | - | rleg1.BrickColor = BrickColor.new("Lime green") |
505 | + | rleg1.BrickColor = BrickColor.new("Really red") |
506 | rleg1.Size = Vector3.new(1, 2, 1) | |
507 | rleg1.CanCollide = false | |
508 | rleg1.BottomSurface = "Smooth" | |
509 | rleg1.TopSurface = "Smooth" | |
510 | rleg1.Material = "Neon" | |
511 | Weld = Instance.new("Weld",rleg) | |
512 | Weld.Part0 = rleg | |
513 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
514 | Weld.Part1 = rleg1 | |
515 | Weld.C1 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
516 | ||
517 | rleg2 = Instance.new("Part", char) | |
518 | - | rleg2.BrickColor = BrickColor.new("Really blue") |
518 | + | rleg2.BrickColor = BrickColor.new("Really orange") |
519 | rleg2.Material = "Granite" | |
520 | rleg2.Size = Vector3.new(1, 0.4, 1) | |
521 | rleg2.CanCollide = false | |
522 | rleg2.BottomSurface = "Smooth" | |
523 | rleg2.TopSurface = "Smooth" | |
524 | Weld = Instance.new("Weld",rleg) | |
525 | Weld.Part0 = rleg | |
526 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
527 | Weld.Part1 = rleg2 | |
528 | Weld.C1 = CFrame.new(0.905565023, 3.75810814, -5.17447472, 4.37113883e-008, 1, 8.74227766e-008, 1, -4.37113883e-008, -2.68657252e-016, -1.37337096e-015, 8.74227766e-008, -1) | |
529 | ||
530 | rleg3 = Instance.new("Part", char) | |
531 | - | rleg3.BrickColor = BrickColor.new("Really blue") |
531 | + | rleg3.BrickColor = BrickColor.new("Really orange") |
532 | rleg3.Material = "Granite" | |
533 | rleg3.Size = Vector3.new(1, 0.4, 1) | |
534 | rleg3.CanCollide = false | |
535 | rleg3.BottomSurface = "Smooth" | |
536 | rleg3.TopSurface = "Smooth" | |
537 | Weld = Instance.new("Weld",rleg) | |
538 | Weld.Part0 = rleg | |
539 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
540 | Weld.Part1 = rleg3 | |
541 | Weld.C1 = CFrame.new(1.4545058, -3.34725952, 5.0867691, -0.0153048551, 0.999882877, -5.25215728e-006, -0.999882638, -0.0153048476, 0.000690514687, 0.000690353394, 1.58197654e-005, 0.999999762) | |
542 | ||
543 | rleg4 = Instance.new("Part", char) | |
544 | - | rleg4.BrickColor = BrickColor.new("Really blue") |
544 | + | rleg4.BrickColor = BrickColor.new("Really orange") |
545 | rleg4.Material = "Granite" | |
546 | rleg4.Size = Vector3.new(1, 0.4, 1) | |
547 | rleg4.CanCollide = false | |
548 | rleg4.BottomSurface = "Smooth" | |
549 | rleg4.TopSurface = "Smooth" | |
550 | Weld = Instance.new("Weld",rleg) | |
551 | Weld.Part0 = rleg | |
552 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
553 | Weld.Part1 = rleg4 | |
554 | Weld.C1 = CFrame.new(1.5055685, -3.33812618, 5.26447296, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
555 | ||
556 | rleg5 = Instance.new("Part", char) | |
557 | - | rleg5.BrickColor = BrickColor.new("Really blue") |
557 | + | rleg5.BrickColor = BrickColor.new("Really orange") |
558 | rleg5.Material = "Granite" | |
559 | rleg5.Size = Vector3.new(1, 0.4, 1) | |
560 | rleg5.CanCollide = false | |
561 | rleg5.BottomSurface = "Smooth" | |
562 | rleg5.TopSurface = "Smooth" | |
563 | Weld = Instance.new("Weld",rleg) | |
564 | Weld.Part0 = rleg | |
565 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
566 | Weld.Part1 = rleg5 | |
567 | Weld.C1 = CFrame.new(0.905564308, -5.57446861, -3.3581152, -1.50995788e-007, 1, 8.74227766e-008, -1.20315126e-014, 8.74227766e-008, -1, -1, -1.50995788e-007, -8.24226416e-015) | |
568 | ||
569 | rleg6 = Instance.new("Part", char) | |
570 | - | rleg6.BrickColor = BrickColor.new("Really blue") |
570 | + | rleg6.BrickColor = BrickColor.new("Really orange") |
571 | rleg6.Material = "Granite" | |
572 | rleg6.Size = Vector3.new(1, 0.4, 1) | |
573 | rleg6.CanCollide = false | |
574 | rleg6.BottomSurface = "Smooth" | |
575 | rleg6.TopSurface = "Smooth" | |
576 | Weld = Instance.new("Weld",rleg) | |
577 | Weld.Part0 = rleg | |
578 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
579 | Weld.Part1 = rleg6 | |
580 | Weld.C1 = CFrame.new(0.904744625, 4.77446556, 3.3581152, -7.17753299e-023, 1, 4.37113883e-008, 1.64202821e-015, -4.37113883e-008, 1, 1, -1.4355066e-022, 0) | |
581 | ||
582 | rleg7 = Instance.new("Part", char) | |
583 | - | rleg7.BrickColor = BrickColor.new("Really blue") |
583 | + | rleg7.BrickColor = BrickColor.new("Really orange") |
584 | rleg7.Material = "Granite" | |
585 | rleg7.Size = Vector3.new(0.5, 0.3, 2) | |
586 | rleg7.CanCollide = false | |
587 | rleg7.BottomSurface = "Smooth" | |
588 | rleg7.TopSurface = "Smooth" | |
589 | Weld = Instance.new("Weld",rleg) | |
590 | Weld.Part0 = rleg | |
591 | Weld.C0 = CFrame.new(-3.3581152, 1.00582027, -5.17447472, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
592 | Weld.Part1 = rleg7 | |
593 | Weld.C1 = CFrame.new(-3.66284275, -3.99935341, -4.29136944, 0.183012664, -0.683012724, -0.707106829, -0.965925872, -0.258818954, -3.53088581e-008, -0.183012635, 0.683012784, -0.707106769) | |
594 | ----------------------------------------------------------------- Torso ----------------------------------------------------------------- | |
595 | Chest1 = Instance.new("Part", char) | |
596 | Chest1.Name = "Ball" | |
597 | - | Chest1.BrickColor = BrickColor.new("Lime green") |
597 | + | Chest1.BrickColor = BrickColor.new("Really red") |
598 | Chest1.Size = Vector3.new(1, 0.4, 1) | |
599 | Chest1.CanCollide = false | |
600 | Chest1.BottomSurface = "Smooth" | |
601 | Chest1.TopSurface = "Smooth" | |
602 | Chest1.Material = "Neon" | |
603 | Mesh = Instance.new("SpecialMesh", Chest1) | |
604 | Mesh.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
605 | Mesh.Scale = Vector3.new(0.9, 0.4, 0.9) | |
606 | Weld = Instance.new("Weld",torso) | |
607 | Weld.Part0 = torso | |
608 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
609 | Weld.Part1 = Chest1 | |
610 | Weld.C1 = CFrame.new(0, 0.700000763, 0.176463604, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
611 | ||
612 | Chest2 = Instance.new("Part", char) | |
613 | - | Chest2.BrickColor = BrickColor.new("Lime green") |
613 | + | Chest2.BrickColor = BrickColor.new("Really red") |
614 | Chest2.Name = "Middle" | |
615 | Chest2.Size = Vector3.new(2, 2, 1) | |
616 | Chest2.CanCollide = false | |
617 | Chest2.BottomSurface = "Smooth" | |
618 | Chest2.TopSurface = "Smooth" | |
619 | Chest2.Material = "Neon" | |
620 | Weld = Instance.new("Weld",torso) | |
621 | Weld.Part0 = torso | |
622 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
623 | Weld.Part1 = Chest2 | |
624 | Weld.C1 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
625 | ||
626 | Chest3 = Instance.new("Part", char) | |
627 | - | Chest3.BrickColor = BrickColor.new("Really blue") |
627 | + | Chest3.BrickColor = BrickColor.new("Really orange") |
628 | Chest3.Material = "Granite" | |
629 | Chest3.Size = Vector3.new(1, 0.4, 1) | |
630 | Chest3.CanCollide = false | |
631 | Chest3.BottomSurface = "Smooth" | |
632 | Chest3.TopSurface = "Smooth" | |
633 | Weld = Instance.new("Weld",torso) | |
634 | Weld.Part0 = torso | |
635 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
636 | Weld.Part1 = Chest3 | |
637 | Weld.C1 = CFrame.new(-0.476491928, -0.5, -0.499999046, 5.15558582e-008, 1, -7.54979013e-008, -3.35276091e-008, 7.54979013e-008, 1, 1, -5.15558582e-008, 3.35276091e-008) | |
638 | ||
639 | Chest4 = Instance.new("Part", char) | |
640 | - | Chest4.BrickColor = BrickColor.new("Really blue") |
640 | + | Chest4.BrickColor = BrickColor.new("Really orange") |
641 | Chest4.Material = "Granite" | |
642 | Chest4.Size = Vector3.new(1, 0.4, 1) | |
643 | Chest4.CanCollide = false | |
644 | Chest4.BottomSurface = "Smooth" | |
645 | Chest4.TopSurface = "Smooth" | |
646 | Weld = Instance.new("Weld",torso) | |
647 | Weld.Part0 = torso | |
648 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
649 | Weld.Part1 = Chest4 | |
650 | Weld.C1 = CFrame.new(-0.476491451, -0.5, 0.5, -1.4355066e-022, 1, 4.37113883e-008, 3.28405643e-015, -4.37113883e-008, 1, 1, -2.8710132e-022, 1.64202821e-015) | |
651 | ||
652 | Chest5 = Instance.new("Part", char) | |
653 | - | Chest5.BrickColor = BrickColor.new("Really blue") |
653 | + | Chest5.BrickColor = BrickColor.new("Really orange") |
654 | Chest5.Material = "Granite" | |
655 | Chest5.Size = Vector3.new(1, 0.4, 1) | |
656 | Chest5.CanCollide = false | |
657 | Chest5.BottomSurface = "Smooth" | |
658 | Chest5.TopSurface = "Smooth" | |
659 | Weld = Instance.new("Weld",torso) | |
660 | Weld.Part0 = torso | |
661 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
662 | Weld.Part1 = Chest5 | |
663 | Weld.C1 = CFrame.new(-0.499999046, 0.5, 0.476491451, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
664 | ||
665 | Chest6 = Instance.new("Part", char) | |
666 | - | Chest6.BrickColor = BrickColor.new("Really blue") |
666 | + | Chest6.BrickColor = BrickColor.new("Really orange") |
667 | Chest6.Material = "Granite" | |
668 | Chest6.Size = Vector3.new(1, 0.4, 1) | |
669 | Chest6.CanCollide = false | |
670 | Chest6.BottomSurface = "Smooth" | |
671 | Chest6.TopSurface = "Smooth" | |
672 | Weld = Instance.new("Weld",torso) | |
673 | Weld.Part0 = torso | |
674 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
675 | Weld.Part1 = Chest6 | |
676 | Weld.C1 = CFrame.new(0.5236063, -0.449995041, 0, 0, 1, 8.74227766e-008, 3.28405643e-015, -8.74227766e-008, 1, 1, -1.4355066e-022, 0) | |
677 | ||
678 | Chest7 = Instance.new("Part", char) | |
679 | - | Chest7.BrickColor = BrickColor.new("Really blue") |
679 | + | Chest7.BrickColor = BrickColor.new("Really orange") |
680 | Chest7.Material = "Granite" | |
681 | Chest7.Size = Vector3.new(1, 0.4, 1) | |
682 | Chest7.CanCollide = false | |
683 | Chest7.BottomSurface = "Smooth" | |
684 | Chest7.TopSurface = "Smooth" | |
685 | Weld = Instance.new("Weld",torso) | |
686 | Weld.Part0 = torso | |
687 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
688 | Weld.Part1 = Chest7 | |
689 | Weld.C1 = CFrame.new(0.5, 0.5, 0.476491928, 1, -4.37113918e-008, 4.37113847e-008, -4.37113847e-008, 0, 1, -4.37113883e-008, -1, 0) | |
690 | ||
691 | Chest8 = Instance.new("Part", char) | |
692 | - | Chest8.BrickColor = BrickColor.new("Really blue") |
692 | + | Chest8.BrickColor = BrickColor.new("Really orange") |
693 | Chest8.Material = "Granite" | |
694 | Chest8.Size = Vector3.new(1, 0.4, 1) | |
695 | Chest8.CanCollide = false | |
696 | Chest8.BottomSurface = "Smooth" | |
697 | Chest8.TopSurface = "Smooth" | |
698 | Weld = Instance.new("Weld",torso) | |
699 | Weld.Part0 = torso | |
700 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
701 | Weld.Part1 = Chest8 | |
702 | Weld.C1 = CFrame.new(0, 0.389970779, -0.473520517, 1, -4.37113954e-008, 4.37113847e-008, -4.37113883e-008, -4.37113883e-008, 1, -4.37113883e-008, -1, -4.37113883e-008) | |
703 | ||
704 | Chest9 = Instance.new("Part", char) | |
705 | - | Chest9.BrickColor = BrickColor.new("Really blue") |
705 | + | Chest9.BrickColor = BrickColor.new("Really orange") |
706 | Chest9.Material = "Granite" | |
707 | Chest9.Size = Vector3.new(0.5, 0.3, 2) | |
708 | Chest9.CanCollide = false | |
709 | Chest9.BottomSurface = "Smooth" | |
710 | Chest9.TopSurface = "Smooth" | |
711 | Weld = Instance.new("Weld",torso) | |
712 | Weld.Part0 = torso | |
713 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
714 | Weld.Part1 = Chest9 | |
715 | Weld.C1 = CFrame.new(-0.458083153, 0.580001831, 0.306574821, -0.866025448, -0.49999997, 4.37113883e-008, -3.78551732e-008, -2.18556924e-008, -1, 0.49999997, -0.866025448, 0) | |
716 | ||
717 | Chest10 = Instance.new("Part", char) | |
718 | - | Chest10.BrickColor = BrickColor.new("Really blue") |
718 | + | Chest10.BrickColor = BrickColor.new("Really orange") |
719 | Chest10.Material = "Granite" | |
720 | Chest10.Size = Vector3.new(1, 0.4, 1) | |
721 | Chest10.CanCollide = false | |
722 | Chest10.BottomSurface = "Smooth" | |
723 | Chest10.TopSurface = "Smooth" | |
724 | Mesh = Instance.new("SpecialMesh", Chest10) | |
725 | Mesh.Scale = Vector3.new(1.1, 1.1, 1.1) | |
726 | Weld = Instance.new("Weld",torso) | |
727 | Weld.Part0 = torso | |
728 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
729 | Weld.Part1 = Chest10 | |
730 | Weld.C1 = CFrame.new(-1.07653379, 0.899993896, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
731 | ||
732 | Chest11 = Instance.new("Part", char) | |
733 | - | Chest11.BrickColor = BrickColor.new("Really blue") |
733 | + | Chest11.BrickColor = BrickColor.new("Really orange") |
734 | Chest11.Material = "Granite" | |
735 | Chest11.Size = Vector3.new(0.5, 0.3, 2) | |
736 | Chest11.CanCollide = false | |
737 | Chest11.BottomSurface = "Smooth" | |
738 | Chest11.TopSurface = "Smooth" | |
739 | Weld = Instance.new("Weld",torso) | |
740 | Weld.Part0 = torso | |
741 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
742 | Weld.Part1 = Chest11 | |
743 | Weld.C1 = CFrame.new(0.973486662, -0.460004807, -9.53674316e-007, 1.50995803e-007, 1, 7.54979013e-008, -1.85052948e-014, -7.54979013e-008, 1, 1, -1.50995803e-007, 7.10542736e-015) | |
744 | ||
745 | Chest12 = Instance.new("Part", char) | |
746 | - | Chest12.BrickColor = BrickColor.new("Really blue") |
746 | + | Chest12.BrickColor = BrickColor.new("Really orange") |
747 | Chest12.Material = "Granite" | |
748 | Chest12.Size = Vector3.new(0.5, 0.3, 2) | |
749 | Chest12.CanCollide = false | |
750 | Chest12.BottomSurface = "Smooth" | |
751 | Chest12.TopSurface = "Smooth" | |
752 | Weld = Instance.new("Weld",torso) | |
753 | Weld.Part0 = torso | |
754 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
755 | Weld.Part1 = Chest12 | |
756 | Weld.C1 = CFrame.new(-0.973600388, 0.450008392, -7.62939453e-006, -9.32088255e-008, -1, -4.37113883e-008, 5.82035878e-011, -4.37113883e-008, 1, -1, 9.32088255e-008, 5.82076609e-011) | |
757 | ||
758 | Chest13 = Instance.new("Part", char) | |
759 | - | Chest13.BrickColor = BrickColor.new("Really blue") |
759 | + | Chest13.BrickColor = BrickColor.new("Really orange") |
760 | Chest13.Material = "Granite" | |
761 | Chest13.Size = Vector3.new(0.5, 0.3, 2) | |
762 | Chest13.CanCollide = false | |
763 | Chest13.BottomSurface = "Smooth" | |
764 | Chest13.TopSurface = "Smooth" | |
765 | Weld = Instance.new("Weld",torso) | |
766 | Weld.Part0 = torso | |
767 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
768 | Weld.Part1 = Chest13 | |
769 | Weld.C1 = CFrame.new(-0.729999542, -0.117254257, -1.91926646, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
770 | ||
771 | Chest14 = Instance.new("Part", char) | |
772 | - | Chest14.BrickColor = BrickColor.new("Really blue") |
772 | + | Chest14.BrickColor = BrickColor.new("Really orange") |
773 | Chest14.Material = "Granite" | |
774 | Chest14.Size = Vector3.new(0.5, 0.3, 2) | |
775 | Chest14.CanCollide = false | |
776 | Chest14.BottomSurface = "Smooth" | |
777 | Chest14.TopSurface = "Smooth" | |
778 | Weld = Instance.new("Weld",torso) | |
779 | Weld.Part0 = torso | |
780 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
781 | Weld.Part1 = Chest14 | |
782 | Weld.C1 = CFrame.new(0.769999504, -0.150730133, -1.91693306, -1, -3.31366472e-008, -4.24129745e-008, 3.31366472e-008, 0.241921902, -0.970295727, 4.24129745e-008, -0.970295727, -0.241921902) | |
783 | ||
784 | Chest15 = Instance.new("Part", char) | |
785 | - | Chest15.BrickColor = BrickColor.new("Really blue") |
785 | + | Chest15.BrickColor = BrickColor.new("Really orange") |
786 | Chest15.Material = "Granite" | |
787 | Chest15.Size = Vector3.new(0.5, 0.3, 2) | |
788 | Chest15.CanCollide = false | |
789 | Chest15.BottomSurface = "Smooth" | |
790 | Chest15.TopSurface = "Smooth" | |
791 | Weld = Instance.new("Weld",torso) | |
792 | Weld.Part0 = torso | |
793 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
794 | Weld.Part1 = Chest15 | |
795 | Weld.C1 = CFrame.new(-0.209440231, 1.25000095, 1.42984772, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
796 | ||
797 | Chest16 = Instance.new("Part", char) | |
798 | - | Chest16.BrickColor = BrickColor.new("Really blue") |
798 | + | Chest16.BrickColor = BrickColor.new("Really orange") |
799 | Chest16.Material = "Granite" | |
800 | Chest16.Size = Vector3.new(0.5, 0.3, 2) | |
801 | Chest16.CanCollide = false | |
802 | Chest16.BottomSurface = "Smooth" | |
803 | Chest16.TopSurface = "Smooth" | |
804 | Weld = Instance.new("Weld",torso) | |
805 | Weld.Part0 = torso | |
806 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
807 | Weld.Part1 = Chest16 | |
808 | Weld.C1 = CFrame.new(-0.158526421, 1.25000095, 1.0131588, -7.35374925e-008, 0.927183867, 0.374606639, -1, -7.43167945e-008, -1.23653887e-008, 1.63745764e-008, -0.374606639, 0.927183867) | |
809 | ||
810 | Chest17 = Instance.new("Part", char) | |
811 | - | Chest17.BrickColor = BrickColor.new("Really blue") |
811 | + | Chest17.BrickColor = BrickColor.new("Really orange") |
812 | Chest17.Material = "Granite" | |
813 | Chest17.Size = Vector3.new(0.5, 0.3, 2) | |
814 | Chest17.CanCollide = false | |
815 | Chest17.BottomSurface = "Smooth" | |
816 | Chest17.TopSurface = "Smooth" | |
817 | Weld = Instance.new("Weld",torso) | |
818 | Weld.Part0 = torso | |
819 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
820 | Weld.Part1 = Chest17 | |
821 | Weld.C1 = CFrame.new(-0.229999542, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
822 | ||
823 | Chest18 = Instance.new("Part", char) | |
824 | - | Chest18.BrickColor = BrickColor.new("Really blue") |
824 | + | Chest18.BrickColor = BrickColor.new("Really orange") |
825 | Chest18.Material = "Granite" | |
826 | Chest18.Size = Vector3.new(0.5, 0.3, 2) | |
827 | Chest18.CanCollide = false | |
828 | Chest18.BottomSurface = "Smooth" | |
829 | Chest18.TopSurface = "Smooth" | |
830 | Weld = Instance.new("Weld",torso) | |
831 | Weld.Part0 = torso | |
832 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
833 | Weld.Part1 = Chest18 | |
834 | Weld.C1 = CFrame.new(0.269999504, -0.117254257, -1.91926742, -1, -3.23980487e-008, -4.22219593e-008, 3.23980487e-008, 0.258819044, -0.965925813, 4.22219593e-008, -0.965925813, -0.258819044) | |
835 | ||
836 | Chest19 = Instance.new("Part", char) | |
837 | - | Chest19.BrickColor = BrickColor.new("Really blue") |
837 | + | Chest19.BrickColor = BrickColor.new("Really orange") |
838 | Chest19.Material = "Granite" | |
839 | Chest19.Size = Vector3.new(0.5, 0.3, 2) | |
840 | Chest19.CanCollide = false | |
841 | Chest19.BottomSurface = "Smooth" | |
842 | Chest19.TopSurface = "Smooth" | |
843 | Weld = Instance.new("Weld",torso) | |
844 | Weld.Part0 = torso | |
845 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
846 | Weld.Part1 = Chest19 | |
847 | Weld.C1 = CFrame.new(-0.00685310364, 1.25, 1.45221233, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
848 | ||
849 | Chest20 = Instance.new("Part", char) | |
850 | - | Chest20.BrickColor = BrickColor.new("Really blue") |
850 | + | Chest20.BrickColor = BrickColor.new("Really orange") |
851 | Chest20.Material = "Granite" | |
852 | Chest20.Size = Vector3.new(1, 0.4, 1) | |
853 | Chest20.CanCollide = false | |
854 | Chest20.BottomSurface = "Smooth" | |
855 | Chest20.TopSurface = "Smooth" | |
856 | Mesh = Instance.new("SpecialMesh",Chest20) | |
857 | Mesh.Scale = Vector3.new(1.1,1.1,1.1) | |
858 | Weld = Instance.new("Weld",torso) | |
859 | Weld.Part0 = torso | |
860 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
861 | Weld.Part1 = Chest20 | |
862 | Weld.C1 = CFrame.new(-1.07653379, -0.899992943, 0, -4.37113883e-008, 1, 8.74227766e-008, -1, -4.37113883e-008, -3.55271368e-015, 8.47879895e-015, -8.74227766e-008, 1) | |
863 | ||
864 | Chest21 = Instance.new("Part", char) | |
865 | - | Chest21.BrickColor = BrickColor.new("Really blue") |
865 | + | Chest21.BrickColor = BrickColor.new("Really orange") |
866 | Chest21.Material = "Granite" | |
867 | Chest21.Size = Vector3.new(0.5, 0.3, 2) | |
868 | Chest21.CanCollide = false | |
869 | Chest21.BottomSurface = "Smooth" | |
870 | Chest21.TopSurface = "Smooth" | |
871 | Weld = Instance.new("Weld",torso) | |
872 | Weld.Part0 = torso | |
873 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
874 | Weld.Part1 = Chest21 | |
875 | Weld.C1 = CFrame.new(-0.209432602, -1.14999962, 1.429842, -6.16862437e-008, 0.656059027, 0.754709601, -1, -6.53672387e-008, -2.49122056e-008, 3.2989405e-008, -0.754709601, 0.656059027) | |
876 | ||
877 | Chest22 = Instance.new("Part", char) | |
878 | - | Chest22.BrickColor = BrickColor.new("Really blue") |
878 | + | Chest22.BrickColor = BrickColor.new("Really orange") |
879 | Chest22.Material = "Granite" | |
880 | Chest22.Size = Vector3.new(0.5, 0.3, 2) | |
881 | Chest22.CanCollide = false | |
882 | Chest22.BottomSurface = "Smooth" | |
883 | Chest22.TopSurface = "Smooth" | |
884 | Weld = Instance.new("Weld",torso) | |
885 | Weld.Part0 = torso | |
886 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
887 | Weld.Part1 = Chest22 | |
888 | Weld.C1 = CFrame.new(-0.00685119629, -1.15000057, 1.45220757, -2.47515253e-008, 0.224950925, 0.974370122, -1, -4.7067342e-008, -1.45362469e-008, 4.2591072e-008, -0.974370122, 0.224950925) | |
889 | ||
890 | Chest23 = Instance.new("Part", char) | |
891 | - | Chest23.BrickColor = BrickColor.new("Really blue") |
891 | + | Chest23.BrickColor = BrickColor.new("Really orange") |
892 | Chest23.Material = "Granite" | |
893 | Chest23.Size = Vector3.new(0.5, 0.3, 2) | |
894 | Chest23.CanCollide = false | |
895 | Chest23.BottomSurface = "Smooth" | |
896 | Chest23.TopSurface = "Smooth" | |
897 | Weld = Instance.new("Weld",torso) | |
898 | Weld.Part0 = torso | |
899 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
900 | Weld.Part1 = Chest23 | |
901 | Weld.C1 = CFrame.new(-0.158511639, -1.15000057, 1.01315498, -7.35374925e-008, 0.927183926, 0.374606401, -1, -7.43168016e-008, -1.23653807e-008, 1.63745657e-008, -0.374606401, 0.927183926) | |
902 | ||
903 | Chest24 = Instance.new("Part", char) | |
904 | - | Chest24.BrickColor = BrickColor.new("Really blue") |
904 | + | Chest24.BrickColor = BrickColor.new("Really orange") |
905 | Chest24.Material = "Granite" | |
906 | Chest24.Size = Vector3.new(0.5, 0.3, 2) | |
907 | Chest24.CanCollide = false | |
908 | Chest24.BottomSurface = "Smooth" | |
909 | Chest24.TopSurface = "Smooth" | |
910 | Weld = Instance.new("Weld",torso) | |
911 | Weld.Part0 = torso | |
912 | Weld.C0 = CFrame.new(0, 0.0235004425, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
913 | Weld.Part1 = Chest24 | |
914 | Weld.C1 = CFrame.new(-0.458065987, -0.579999924, 0.306604624, 0.866025388, -0.50000006, 4.37113883e-008, 4.53686155e-008, 1.66003517e-007, 1, -0.50000006, -0.866025388, 1.66447563e-007) | |
915 | ||
916 | p1 = Instance.new("Part",char) | |
917 | - | p1.BrickColor = BrickColor.new("Lime green") |
917 | + | p1.BrickColor = BrickColor.new("Really red") |
918 | p1.FormFactor = Enum.FormFactor.Custom | |
919 | p1.Size = Vector3.new(2, 2, 2) | |
920 | p1.CanCollide = false | |
921 | p1.Locked = true | |
922 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
923 | p1.TopSurface = Enum.SurfaceType.Smooth | |
924 | SMesh = Instance.new("SpecialMesh", p1) | |
925 | SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
926 | SMesh.TextureId = "" | |
927 | SMesh.MeshType = Enum.MeshType.FileMesh | |
928 | SMesh.Name = "Mesh" | |
929 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
930 | SMesh.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
931 | w1 = Instance.new("Weld", hed) | |
932 | w1.Part0 = hed | |
933 | w1.C0 = CFrame.new(0,-1.5,0) | |
934 | w1.Part1 = p1 | |
935 | w1.C1 = CFrame.new(1.75514506e-005, -2.06990719, 0.00210596342, -0.999966383, -1.62210035e-005, -0.00820016116, -9.25059425e-008, 0.999998093, -0.00196684781, 0.00820017792, -0.00196678098, -0.999964535) | |
936 | p2 = Instance.new("Part",char) | |
937 | - | p2.BrickColor = BrickColor.new("Lime green") |
937 | + | p2.BrickColor = BrickColor.new("Really red") |
938 | p2.FormFactor = Enum.FormFactor.Custom | |
939 | p2.Size = Vector3.new(1, 1, 1) | |
940 | p2.CanCollide = false | |
941 | p2.Locked = true | |
942 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
943 | p2.TopSurface = Enum.SurfaceType.Smooth | |
944 | SMesh = Instance.new("SpecialMesh", p2) | |
945 | SMesh.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
946 | SMesh.TextureId = "" | |
947 | SMesh.MeshType = Enum.MeshType.FileMesh | |
948 | SMesh.Name = "Mesh" | |
949 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
950 | SMesh.Scale = Vector3.new(1, 0.9, 1) | |
951 | w1 = Instance.new("Weld", hed) | |
952 | w1.Part0 = hed | |
953 | w1.C0 = CFrame.new(0,-1.5,0) | |
954 | w1.Part1 = p2 | |
955 | w1.C1 = CFrame.new(0.00981426239, -1.86002111, 0.000148773193, 1, 4.98469959e-008, 4.58955765e-006, -4.98459833e-008, 1, -2.23582518e-007, -4.58955765e-006, 2.23582191e-007, 1) | |
956 | p3 = Instance.new("Part",char) | |
957 | - | p3.BrickColor = BrickColor.new("Lime green") |
957 | + | p3.BrickColor = BrickColor.new("Really red") |
958 | p3.FormFactor = Enum.FormFactor.Custom | |
959 | p3.Size = Vector3.new(1, 1, 1) | |
960 | p3.CanCollide = false | |
961 | p3.Locked = true | |
962 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
963 | p3.TopSurface = Enum.SurfaceType.Smooth | |
964 | SMesh = Instance.new("SpecialMesh", p3) | |
965 | SMesh.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
966 | SMesh.TextureId = "" | |
967 | SMesh.MeshType = Enum.MeshType.FileMesh | |
968 | SMesh.Name = "Mesh" | |
969 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
970 | SMesh.Scale = Vector3.new(1, 1, 1) | |
971 | w1 = Instance.new("Weld", hed) | |
972 | w1.Part0 = hed | |
973 | w1.C0 = CFrame.new(0,-1.5,0) | |
974 | w1.Part1 = p3 | |
975 | w1.C1 = CFrame.new(0.059677124, -1.98001814, -0.199489594, 0.99999994, 1.02864064e-008, 4.82797577e-006, -1.02842179e-008, 1, -4.61996478e-007, -4.82797577e-006, 4.61996365e-007, 0.99999994) | |
976 | p4 = Instance.new("Part",char) | |
977 | - | p4.BrickColor = BrickColor.new("Lime green") |
977 | + | p4.BrickColor = BrickColor.new("Really red") |
978 | p4.FormFactor = Enum.FormFactor.Custom | |
979 | p4.Size = Vector3.new(1, 1, 1) | |
980 | p4.CanCollide = false | |
981 | p4.Locked = true | |
982 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
983 | p4.TopSurface = Enum.SurfaceType.Smooth | |
984 | SMesh = Instance.new("SpecialMesh", p4) | |
985 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
986 | SMesh.TextureId = "" | |
987 | SMesh.MeshType = Enum.MeshType.FileMesh | |
988 | SMesh.Name = "Mesh" | |
989 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
990 | SMesh.Scale = Vector3.new(1.02, 1.05, 1.05) | |
991 | w1 = Instance.new("Weld", hed) | |
992 | w1.Part0 = hed | |
993 | w1.C0 = CFrame.new(0,-1.5,0) | |
994 | w1.Part1 = p4 | |
995 | w1.C1 = CFrame.new(0.0104255676, -1.94979095, 0.129776001, 0.99999994, -2.00533847e-008, 5.2192072e-006, -3.74953743e-007, 0.995037675, 0.0995008945, -4.8863717e-006, -0.0995009243, 0.995037436) | |
996 | p5 = Instance.new("Part",char) | |
997 | - | p5.BrickColor = BrickColor.new("Lime green") |
997 | + | p5.BrickColor = BrickColor.new("Really red") |
998 | p5.FormFactor = Enum.FormFactor.Custom | |
999 | p5.Size = Vector3.new(1, 1, 1) | |
1000 | p5.CanCollide = false | |
1001 | p5.Locked = true | |
1002 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
1003 | p5.TopSurface = Enum.SurfaceType.Smooth | |
1004 | SMesh = Instance.new("SpecialMesh", p5) | |
1005 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1006 | SMesh.TextureId = "" | |
1007 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1008 | SMesh.Name = "Mesh" | |
1009 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1010 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1011 | w1 = Instance.new("Weld", hed) | |
1012 | w1.Part0 = hed | |
1013 | w1.C0 = CFrame.new(0,-1.5,0) | |
1014 | w1.Part1 = p5 | |
1015 | w1.C1 = CFrame.new(0.00938796997, -2.00957298, 1.44282532, 1, -1.34962974e-007, 5.35256595e-006, -3.26552458e-006, 0.729885638, 0.683569431, -3.88335775e-006, -0.68356967, 0.729885519) | |
1016 | p6 = Instance.new("Part",char) | |
1017 | - | p6.BrickColor = BrickColor.new("Lime green") |
1017 | + | p6.BrickColor = BrickColor.new("Really red") |
1018 | p6.FormFactor = Enum.FormFactor.Custom | |
1019 | p6.Size = Vector3.new(1, 1, 1) | |
1020 | p6.CanCollide = false | |
1021 | p6.Locked = true | |
1022 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
1023 | p6.TopSurface = Enum.SurfaceType.Smooth | |
1024 | SMesh = Instance.new("SpecialMesh", p6) | |
1025 | SMesh.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
1026 | SMesh.TextureId = "" | |
1027 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1028 | SMesh.Name = "Mesh" | |
1029 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1030 | SMesh.Scale = Vector3.new(1, 1, 1) | |
1031 | w1 = Instance.new("Weld", hed) | |
1032 | w1.Part0 = hed | |
1033 | w1.C0 = CFrame.new(0,-1.5,0) | |
1034 | w1.Part1 = p6 | |
1035 | w1.C1 = CFrame.new(0.00993537903, -2.2400105, -0.079624176, 1.00000012, -2.98023064e-008, -1.54972145e-006, 2.980231e-008, 1, -4.94502617e-009, 1.54972145e-006, 4.94494401e-009, 1.00000012) | |
1036 | p7 = Instance.new("Part",char) | |
1037 | - | p7.BrickColor = BrickColor.new("Lime green") |
1037 | + | p7.BrickColor = BrickColor.new("Really red") |
1038 | p7.FormFactor = Enum.FormFactor.Custom | |
1039 | p7.Size = Vector3.new(1, 1, 1) | |
1040 | p7.CanCollide = false | |
1041 | p7.Locked = true | |
1042 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
1043 | p7.TopSurface = Enum.SurfaceType.Smooth | |
1044 | SMesh = Instance.new("SpecialMesh", p7) | |
1045 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1046 | SMesh.TextureId = "" | |
1047 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1048 | SMesh.Name = "Mesh" | |
1049 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1050 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1051 | w1 = Instance.new("Weld", hed) | |
1052 | w1.Part0 = hed | |
1053 | w1.C0 = CFrame.new(0,-1.5,0) | |
1054 | w1.Part1 = p7 | |
1055 | w1.C1 = CFrame.new(0.0106649399, -0.774772644, 2.08788228, 1.00000012, -2.8618183e-007, 5.6622157e-006, -5.14644034e-006, 0.144699067, 0.989475727, -1.28374143e-006, -0.989476085, 0.144699216) | |
1056 | p8 = Instance.new("Part",char) | |
1057 | - | p8.BrickColor = BrickColor.new("Lime green") |
1057 | + | p8.BrickColor = BrickColor.new("Really red") |
1058 | p8.FormFactor = Enum.FormFactor.Custom | |
1059 | p8.Size = Vector3.new(1, 1, 1) | |
1060 | p8.CanCollide = false | |
1061 | p8.Locked = true | |
1062 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
1063 | p8.TopSurface = Enum.SurfaceType.Smooth | |
1064 | SMesh = Instance.new("SpecialMesh", p8) | |
1065 | SMesh.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
1066 | SMesh.TextureId = "" | |
1067 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1068 | SMesh.Name = "Mesh" | |
1069 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1070 | SMesh.Scale = Vector3.new(1, 1.6, 1.3) | |
1071 | w1 = Instance.new("Weld", hed) | |
1072 | w1.Part0 = hed | |
1073 | w1.C0 = CFrame.new(0,-1.5,0) | |
1074 | w1.Part1 = p8 | |
1075 | w1.C1 = CFrame.new(0.0106649399, -0.774772644, 2.08788228, 1.00000012, -2.8618183e-007, 5.6622157e-006, -5.14644034e-006, 0.144699067, 0.989475727, -1.28374143e-006, -0.989476085, 0.144699216) | |
1076 | p9 = Instance.new("Part",char) | |
1077 | - | p9.BrickColor = BrickColor.new("Lime green") |
1077 | + | p9.BrickColor = BrickColor.new("Really red") |
1078 | p9.FormFactor = Enum.FormFactor.Custom | |
1079 | p9.Size = Vector3.new(1, 1, 1) | |
1080 | p9.CanCollide = false | |
1081 | p9.Locked = true | |
1082 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
1083 | p9.TopSurface = Enum.SurfaceType.Smooth | |
1084 | SMesh = Instance.new("SpecialMesh", p9) | |
1085 | SMesh.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
1086 | SMesh.TextureId = "" | |
1087 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1088 | SMesh.Name = "Mesh" | |
1089 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1090 | SMesh.Scale = Vector3.new(1, 1, 1) | |
1091 | w1 = Instance.new("Weld", hed) | |
1092 | w1.Part0 = hed | |
1093 | w1.C0 = CFrame.new(0,-1.5,0) | |
1094 | w1.Part1 = p9 | |
1095 | w1.C1 = CFrame.new(0.110746384, -1.71002722, -0.198999405, 0.999999881, 1.02863646e-008, 4.70876603e-006, -1.02842392e-008, 1, -4.61996422e-007, -4.70876603e-006, 4.61996336e-007, 0.999999881) | |
1096 | p10 = Instance.new("Part",char) | |
1097 | - | p10.BrickColor = BrickColor.new("Lime green") |
1097 | + | p10.BrickColor = BrickColor.new("Really red") |
1098 | p10.FormFactor = Enum.FormFactor.Custom | |
1099 | p10.Size = Vector3.new(1, 1, 1) | |
1100 | p10.CanCollide = false | |
1101 | p10.Locked = true | |
1102 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
1103 | p10.TopSurface = Enum.SurfaceType.Smooth | |
1104 | SMesh = Instance.new("SpecialMesh", p10) | |
1105 | SMesh.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
1106 | SMesh.TextureId = "" | |
1107 | SMesh.MeshType = Enum.MeshType.FileMesh | |
1108 | SMesh.Name = "Mesh" | |
1109 | SMesh.VertexColor = Vector3.new(0, 0, 0) | |
1110 | SMesh.Scale = Vector3.new(1.05, 1.05, 1.05) | |
1111 | w1 = Instance.new("Weld", hed) | |
1112 | w1.Part0 = hed | |
1113 | w1.C0 = CFrame.new(0,-1.5,0) | |
1114 | w1.Part1 = p10 | |
1115 | w1.C1 = CFrame.new(0.00981426239, -2.11002183, 0.000148773193, 1.00000012, 2.98023295e-008, 1.66892983e-006, -2.98023295e-008, 1, 4.94492847e-009, -1.66892983e-006, -4.94500441e-009, 1.00000012) | |
1116 | ---------------------------------------------------- | |
1117 | GroundWave1 = function() | |
1118 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1119 | - | local Colors = {"Lime green", "Lime green"} |
1119 | + | local Colors = {"Really red", "Really red"} |
1120 | local wave = Instance.new("Part", torso) | |
1121 | - | wave.BrickColor = BrickColor.new('Lime green') |
1121 | + | wave.BrickColor = BrickColor.new('Really red') |
1122 | wave.Anchored = true | |
1123 | wave.CanCollide = false | |
1124 | wave.Locked = true | |
1125 | wave.Size = Vector3.new(1, 1, 1) | |
1126 | wave.TopSurface = "Smooth" | |
1127 | wave.BottomSurface = "Smooth" | |
1128 | wave.Transparency = 0.35 | |
1129 | wave.CFrame = HandCF | |
1130 | wm = Instance.new("SpecialMesh", wave) | |
1131 | wm.MeshId = "rbxassetid://3270017" | |
1132 | coroutine.wrap(function() | |
1133 | for i = 1, 30, 1 do | |
1134 | wm.Scale = Vector3.new(10 + i*20.4, 10 + i*20.4, 1) | |
1135 | wave.Size = wm.Scale | |
1136 | wave.CFrame = HandCF | |
1137 | wave.Transparency = i/10 | |
1138 | wait() | |
1139 | end | |
1140 | wait() | |
1141 | wave:Destroy() | |
1142 | end)() | |
1143 | end | |
1144 | ---------------------------------------------------- | |
1145 | GroundWave = function() | |
1146 | if Transforming == true then | |
1147 | local wave = Instance.new("Part", torso) | |
1148 | - | wave.BrickColor = BrickColor.new("Lime green") |
1148 | + | wave.BrickColor = BrickColor.new("Really red") |
1149 | wave.Anchored = true | |
1150 | wave.CanCollide = false | |
1151 | wave.Locked = true | |
1152 | wave.Size = Vector3.new(1, 1, 1) | |
1153 | wave.TopSurface = "Smooth" | |
1154 | wave.BottomSurface = "Smooth" | |
1155 | wave.Transparency = 0.35 | |
1156 | wave.CFrame = fx.CFrame | |
1157 | wm = Instance.new("SpecialMesh", wave) | |
1158 | wm.MeshType = "Sphere" | |
1159 | wm.Scale = Vector3.new(1,1,1) | |
1160 | coroutine.wrap(function() | |
1161 | for i = 1, 18, 1 do | |
1162 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
1163 | --wave.Size = wm.Scale | |
1164 | wave.CFrame = fx.CFrame | |
1165 | wave.Transparency = i/14 | |
1166 | wait() | |
1167 | end | |
1168 | wait() | |
1169 | wave:Destroy() | |
1170 | end)() | |
1171 | elseif Transforming == false then | |
1172 | wait() | |
1173 | end | |
1174 | end | |
1175 | ||
1176 | for i = 1, 100 do rs:wait() | |
1177 | fx.CFrame = torso.CFrame | |
1178 | end | |
1179 | ||
1180 | Spawn(function() | |
1181 | while wait(1) do | |
1182 | GroundWave() | |
1183 | end | |
1184 | end) | |
1185 | ||
1186 | wait(4) | |
1187 | ||
1188 | Transforming = false | |
1189 | ||
1190 | for i = 1, 20 do rs:wait() | |
1191 | fx.Transparency = fx.Transparency + (1/20) | |
1192 | fx.CFrame = torso.CFrame | |
1193 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
1194 | rs:wait() | |
1195 | end | |
1196 | ||
1197 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1198 | local wave = Instance.new("Part", torso) | |
1199 | - | wave.BrickColor = BrickColor.new("Lime green") |
1199 | + | wave.BrickColor = BrickColor.new("Really red") |
1200 | wave.Anchored = true | |
1201 | wave.CanCollide = false | |
1202 | wave.Locked = true | |
1203 | wave.Size = Vector3.new(1, 1, 1) | |
1204 | wave.TopSurface = "Smooth" | |
1205 | wave.BottomSurface = "Smooth" | |
1206 | wave.Transparency = 0.35 | |
1207 | wave.CFrame = HandCF | |
1208 | wm = Instance.new("SpecialMesh", wave) | |
1209 | wm.MeshId = "rbxassetid://3270017" | |
1210 | coroutine.wrap(function() | |
1211 | for i = 1, 14, 1 do | |
1212 | wm.Scale = Vector3.new(10 + i*10.1, 10 + i*10.1, 10) | |
1213 | wave.Size = wm.Scale | |
1214 | wave.CFrame = HandCF | |
1215 | wave.Transparency = i/14 | |
1216 | wait() | |
1217 | end | |
1218 | wait() | |
1219 | wave:Destroy() | |
1220 | end)() | |
1221 | hum.WalkSpeed = 50 | |
1222 | ---------------------------------------------------- | |
1223 | Blast = function() | |
1224 | - | local Colors = {"Lime green", "Lime green"} |
1224 | + | local Colors = {"Really red", "Really red"} |
1225 | local wave = Instance.new("Part", torso) | |
1226 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1227 | wave.Anchored = true | |
1228 | wave.CanCollide = false | |
1229 | wave.Locked = true | |
1230 | wave.Size = Vector3.new(1, 1, 1) | |
1231 | wave.TopSurface = "Smooth" | |
1232 | wave.BottomSurface = "Smooth" | |
1233 | wave.Transparency = 0.35 | |
1234 | wave.CFrame = rarm.CFrame | |
1235 | wm = Instance.new("SpecialMesh", wave) | |
1236 | wm.MeshType = "Sphere" | |
1237 | wm.Scale = Vector3.new(1,1,1) | |
1238 | z = Instance.new("Sound",wave) | |
1239 | z.SoundId = "rbxassetid://237035051" | |
1240 | z.Volume = 1 | |
1241 | z.Pitch = .9 | |
1242 | z:Play() | |
1243 | coroutine.wrap(function() | |
1244 | for i = 1, 30, 1 do | |
1245 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
1246 | --wave.Size = wm.Scale | |
1247 | wave.CFrame = rarm.CFrame | |
1248 | wave.Transparency = (1/14) | |
1249 | rs:wait() | |
1250 | end | |
1251 | rs:wait() | |
1252 | wave:Destroy() | |
1253 | z:Destroy() | |
1254 | end)() | |
1255 | end | |
1256 | ---------------------------------------------------- | |
1257 | rarm.Touched:connect(function(ht) | |
1258 | hit = ht.Parent | |
1259 | if ht and hit:IsA("Model") then | |
1260 | if hit:FindFirstChild("Humanoid") then | |
1261 | if hit.Name ~= p.Name then | |
1262 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1263 | Debounces.RPunched = true | |
1264 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1265 | if Debounces.ks==true then | |
1266 | z = Instance.new("Sound",hed) | |
1267 | z.SoundId = "rbxassetid://169380525" | |
1268 | z.Pitch = ptz[math.random(1,#ptz)] | |
1269 | z.Volume = 1 | |
1270 | z:Play() | |
1271 | end | |
1272 | wait(.2) | |
1273 | Debounces.RPunched = false | |
1274 | end | |
1275 | end | |
1276 | end | |
1277 | elseif ht and hit:IsA("Hat") then | |
1278 | if hit.Parent.Name ~= p.Name then | |
1279 | if hit.Parent:FindFirstChild("Humanoid") then | |
1280 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1281 | Debounces.RPunched = true | |
1282 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1283 | if Debounces.ks==true then | |
1284 | z = Instance.new("Sound",hed) | |
1285 | z.SoundId = "rbxassetid://169380525" | |
1286 | z.Pitch = ptz[math.random(1,#ptz)] | |
1287 | z.Volume = 1 | |
1288 | z:Play() | |
1289 | end | |
1290 | wait(.2) | |
1291 | Debounces.RPunched = false | |
1292 | end | |
1293 | end | |
1294 | end | |
1295 | end | |
1296 | end) | |
1297 | larm.Touched:connect(function(ht) | |
1298 | hit = ht.Parent | |
1299 | if ht and hit:IsA("Model") then | |
1300 | if hit:FindFirstChild("Humanoid") then | |
1301 | if hit.Name ~= p.Name then | |
1302 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1303 | Debounces.LPunched = true | |
1304 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1305 | if Debounces.ks2==true then | |
1306 | z = Instance.new("Sound",hed) | |
1307 | z.SoundId = "rbxassetid://169380525" | |
1308 | z.Pitch = ptz[math.random(1,#ptz)] | |
1309 | z.Volume = 1 | |
1310 | z:Play() | |
1311 | end | |
1312 | wait(.2) | |
1313 | Debounces.LPunched = false | |
1314 | end | |
1315 | end | |
1316 | end | |
1317 | elseif ht and hit:IsA("Hat") then | |
1318 | if hit.Parent.Name ~= p.Name then | |
1319 | if hit.Parent:FindFirstChild("Humanoid") then | |
1320 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1321 | Debounces.LPunched = true | |
1322 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1323 | if Debounces.ks2==true then | |
1324 | z = Instance.new("Sound",hed) | |
1325 | z.SoundId = "rbxassetid://169380525" | |
1326 | z.Pitch = ptz[math.random(1,#ptz)] | |
1327 | z.Volume = 1 | |
1328 | z:Play() | |
1329 | end | |
1330 | wait(.2) | |
1331 | Debounces.LPunched = false | |
1332 | end | |
1333 | end | |
1334 | end | |
1335 | end | |
1336 | end) | |
1337 | ---------------------------------------------------- | |
1338 | mod4 = Instance.new("Model",char) | |
1339 | ||
1340 | ptez = {0.7, 0.8, 0.9, 1} | |
1341 | ||
1342 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1343 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1344 | local List = {} | |
1345 | for i,v in pairs(workspace:GetChildren())do | |
1346 | if v:IsA("Model")then | |
1347 | if v:findFirstChild("Torso")then | |
1348 | if v ~= char then | |
1349 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1350 | table.insert(List,v) | |
1351 | end | |
1352 | end | |
1353 | end | |
1354 | end | |
1355 | end | |
1356 | return List | |
1357 | end | |
1358 | ||
1359 | function Punch() | |
1360 | part=Instance.new('Part',mod4) | |
1361 | part.Anchored=true | |
1362 | part.CanCollide=false | |
1363 | part.FormFactor='Custom' | |
1364 | part.Size=Vector3.new(.2,.2,.2) | |
1365 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
1366 | part.Transparency=.7 | |
1367 | - | part.BrickColor=BrickColor.new('Lime green') |
1367 | + | part.BrickColor=BrickColor.new('Really red') |
1368 | mesh=Instance.new('SpecialMesh',part) | |
1369 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
1370 | mesh.Scale=Vector3.new(3,3,3) | |
1371 | part2=Instance.new('Part',mod4) | |
1372 | part2.Anchored=true | |
1373 | part2.CanCollide=false | |
1374 | part2.FormFactor='Custom' | |
1375 | part2.Size=Vector3.new(.2,.2,.2) | |
1376 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1377 | part2.Transparency=.7 | |
1378 | - | part2.BrickColor=BrickColor.new('Lime green') |
1378 | + | part2.BrickColor=BrickColor.new('Really red') |
1379 | mesh2=Instance.new('SpecialMesh',part2) | |
1380 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
1381 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1382 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
1383 | if v:FindFirstChild('Humanoid') then | |
1384 | v.Humanoid:TakeDamage(math.huge) | |
1385 | end | |
1386 | end | |
1387 | coroutine.resume(coroutine.create(function() | |
1388 | for i=0,0.62,0.4 do | |
1389 | wait() | |
1390 | part.CFrame=part.CFrame | |
1391 | part.Transparency=i | |
1392 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1393 | part2.CFrame=part2.CFrame | |
1394 | part2.Transparency=i | |
1395 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1396 | end | |
1397 | part.Parent=nil | |
1398 | part2.Parent=nil | |
1399 | end)) | |
1400 | end | |
1401 | ---------------------------------------------------- | |
1402 | rarm.Touched:connect(function(ht) | |
1403 | hit = ht.Parent | |
1404 | if ht and hit:IsA("Model") then | |
1405 | if hit:FindFirstChild("Humanoid") then | |
1406 | if hit.Name ~= p.Name then | |
1407 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1408 | Debounces.RPunched = true | |
1409 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1410 | if Debounces.ks==true then | |
1411 | z = Instance.new("Sound",hed) | |
1412 | z.SoundId = "rbxassetid://169380525" | |
1413 | z.Pitch = ptz[math.random(1,#ptz)] | |
1414 | z.Volume = 1 | |
1415 | z:Play() | |
1416 | end | |
1417 | wait(.2) | |
1418 | Debounces.RPunched = false | |
1419 | end | |
1420 | end | |
1421 | end | |
1422 | elseif ht and hit:IsA("Hat") then | |
1423 | if hit.Parent.Name ~= p.Name then | |
1424 | if hit.Parent:FindFirstChild("Humanoid") then | |
1425 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1426 | Debounces.RPunched = true | |
1427 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1428 | if Debounces.ks==true then | |
1429 | z = Instance.new("Sound",hed) | |
1430 | z.SoundId = "rbxassetid://169380525" | |
1431 | z.Pitch = ptz[math.random(1,#ptz)] | |
1432 | z.Volume = 1 | |
1433 | z:Play() | |
1434 | end | |
1435 | wait(.2) | |
1436 | Debounces.RPunched = false | |
1437 | end | |
1438 | end | |
1439 | end | |
1440 | end | |
1441 | end) | |
1442 | larm.Touched:connect(function(ht) | |
1443 | hit = ht.Parent | |
1444 | if ht and hit:IsA("Model") then | |
1445 | if hit:FindFirstChild("Humanoid") then | |
1446 | if hit.Name ~= p.Name then | |
1447 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1448 | Debounces.LPunched = true | |
1449 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1450 | if Debounces.ks2==true then | |
1451 | z = Instance.new("Sound",hed) | |
1452 | z.SoundId = "rbxassetid://169380525" | |
1453 | z.Pitch = ptz[math.random(1,#ptz)] | |
1454 | z.Volume = 1 | |
1455 | z:Play() | |
1456 | end | |
1457 | wait(.2) | |
1458 | Debounces.LPunched = false | |
1459 | end | |
1460 | end | |
1461 | end | |
1462 | elseif ht and hit:IsA("Hat") then | |
1463 | if hit.Parent.Name ~= p.Name then | |
1464 | if hit.Parent:FindFirstChild("Humanoid") then | |
1465 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1466 | Debounces.LPunched = true | |
1467 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
1468 | if Debounces.ks2==true then | |
1469 | z = Instance.new("Sound",hed) | |
1470 | z.SoundId = "rbxassetid://169380525" | |
1471 | z.Pitch = ptz[math.random(1,#ptz)] | |
1472 | z.Volume = 1 | |
1473 | z:Play() | |
1474 | end | |
1475 | wait(.2) | |
1476 | Debounces.LPunched = false | |
1477 | end | |
1478 | end | |
1479 | end | |
1480 | end | |
1481 | end) | |
1482 | ---------------------------------------------------- | |
1483 | local player = game.Players.LocalPlayer | |
1484 | local pchar = player.Character | |
1485 | local mouse = player:GetMouse() | |
1486 | local cam = workspace.CurrentCamera | |
1487 | ||
1488 | local rad = math.rad | |
1489 | ||
1490 | local keysDown = {} | |
1491 | local flySpeed = 0 | |
1492 | local MAX_FLY_SPEED = 150 | |
1493 | ||
1494 | local canFly = false | |
1495 | local flyToggled = false | |
1496 | ||
1497 | local forward, side = 0, 0 | |
1498 | local lastForward, lastSide = 0, 0 | |
1499 | ||
1500 | local floatBP = Instance.new("BodyPosition") | |
1501 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1502 | local flyBV = Instance.new("BodyVelocity") | |
1503 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1504 | local turnBG = Instance.new("BodyGyro") | |
1505 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1506 | ||
1507 | mouse.KeyDown:connect(function(key) | |
1508 | keysDown[key] = true | |
1509 | ||
1510 | if key == "f" then | |
1511 | flyToggled = not flyToggled | |
1512 | ||
1513 | if not flyToggled then | |
1514 | stanceToggle = "Normal" | |
1515 | floatBP.Parent = nil | |
1516 | flyBV.Parent = nil | |
1517 | turnBG.Parent = nil | |
1518 | root.Velocity = Vector3.new() | |
1519 | pchar.Humanoid.PlatformStand = false | |
1520 | end | |
1521 | end | |
1522 | ||
1523 | end) | |
1524 | mouse.KeyUp:connect(function(key) | |
1525 | keysDown[key] = nil | |
1526 | end) | |
1527 | ||
1528 | local function updateFly() | |
1529 | ||
1530 | if not flyToggled then return end | |
1531 | ||
1532 | lastForward = forward | |
1533 | lastSide = side | |
1534 | ||
1535 | forward = 0 | |
1536 | side = 0 | |
1537 | ||
1538 | if keysDown.w then | |
1539 | forward = forward + 1 | |
1540 | end | |
1541 | if keysDown.s then | |
1542 | forward = forward - 1 | |
1543 | end | |
1544 | if keysDown.a then | |
1545 | side = side - 1 | |
1546 | end | |
1547 | if keysDown.d then | |
1548 | side = side + 1 | |
1549 | end | |
1550 | ||
1551 | canFly = (forward ~= 0 or side ~= 0) | |
1552 | ||
1553 | if canFly then | |
1554 | stanceToggle = "Floating" | |
1555 | turnBG.Parent = root | |
1556 | floatBP.Parent = nil | |
1557 | flyBV.Parent = root | |
1558 | ||
1559 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1560 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1561 | else | |
1562 | floatBP.position = root.Position | |
1563 | floatBP.Parent = root | |
1564 | ||
1565 | flySpeed = flySpeed - 1 | |
1566 | if flySpeed < 0 then flySpeed = 0 end | |
1567 | end | |
1568 | ||
1569 | local camCF = cam.CoordinateFrame | |
1570 | local in_forward = canFly and forward or lastForward | |
1571 | local in_side = canFly and side or lastSide | |
1572 | ||
1573 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1574 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1575 | ||
1576 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1577 | 0) | |
1578 | end | |
1579 | ||
1580 | game:service'RunService'.RenderStepped:connect(function() | |
1581 | if flyToggled then | |
1582 | pchar.Humanoid.PlatformStand = true | |
1583 | end | |
1584 | updateFly() | |
1585 | end) | |
1586 | ------------------------------- | |
1587 | mouse.KeyDown:connect(function(key) | |
1588 | if key == "q" then | |
1589 | if Debounces.CanAttack == true then | |
1590 | Debounces.CanAttack = false | |
1591 | Debounces.NoIdl = true | |
1592 | Debounces.on = true | |
1593 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1594 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1595 | local List = {} | |
1596 | for i,v in pairs(workspace:GetChildren())do | |
1597 | if v:IsA("Model")then | |
1598 | if v:findFirstChild("Torso")then | |
1599 | if v ~= char then | |
1600 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1601 | table.insert(List,v) | |
1602 | end | |
1603 | end | |
1604 | end | |
1605 | end | |
1606 | end | |
1607 | return List | |
1608 | end | |
1609 | z = Instance.new("Sound",hed) | |
1610 | z.SoundId = "rbxassetid://232213955" | |
1611 | z.Pitch = 1 | |
1612 | z.Volume = 1 | |
1613 | wait(0.2) | |
1614 | z:Play() | |
1615 | sp = Instance.new("Part",rarm) | |
1616 | sp.Anchored = true | |
1617 | sp.CanCollide = false | |
1618 | sp.Locked = true | |
1619 | sp.Transparency = 0 | |
1620 | sp.Material = "Neon" | |
1621 | sp.Size = Vector3.new(1,1,1) | |
1622 | sp.TopSurface = "SmoothNoOutlines" | |
1623 | sp.BottomSurface = "SmoothNoOutlines" | |
1624 | - | sp.BrickColor = BrickColor.new("Lime green") |
1624 | + | sp.BrickColor = BrickColor.new("Really red") |
1625 | spm = Instance.new("SpecialMesh",sp) | |
1626 | spm.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1627 | spm.Scale = Vector3.new(21,21,21) | |
1628 | sp2 = Instance.new("Part", rarm) | |
1629 | sp2.Name = "Energy" | |
1630 | - | sp2.BrickColor = BrickColor.new("Lime green") |
1630 | + | sp2.BrickColor = BrickColor.new("Really red") |
1631 | sp2.Size = Vector3.new(1, 1, 1) | |
1632 | sp2.Shape = "Ball" | |
1633 | sp2.CanCollide = false | |
1634 | sp2.Anchored = true | |
1635 | sp2.Locked = true | |
1636 | sp2.TopSurface = 0 | |
1637 | sp2.BottomSurface = 0 | |
1638 | sp2.Transparency = 1 | |
1639 | spm2 = Instance.new("SpecialMesh",sp2) | |
1640 | spm2.MeshId = "rbxassetid://9982590" | |
1641 | spm2.Scale = Vector3.new(2,2,2) | |
1642 | for i = 1, 20 do | |
1643 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1644 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1645 | 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) | |
1646 | 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) | |
1647 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1648 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1649 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1650 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1651 | if Debounces.on == false then break end | |
1652 | rs:wait() | |
1653 | end | |
1654 | for i = 1, 100, 20 do rs:wait() | |
1655 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1656 | end | |
1657 | for i = 1, 20 do | |
1658 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1659 | 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) | |
1660 | 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) | |
1661 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
1662 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
1663 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1664 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1665 | if Debounces.on == false then break end | |
1666 | rs:wait() | |
1667 | end | |
1668 | sp.Transparency = 1 | |
1669 | for i = 1, 20 do | |
1670 | 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) | |
1671 | 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) | |
1672 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
1673 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
1674 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1675 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1676 | if Debounces.on == false then break end | |
1677 | rs:wait() | |
1678 | end | |
1679 | wait(1) | |
1680 | sp.Transparency = 0 | |
1681 | sp2.Transparency = 0.84 | |
1682 | for i = 1, 20 do | |
1683 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1684 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1685 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
1686 | 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) | |
1687 | 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) | |
1688 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
1689 | 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) | |
1690 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
1691 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
1692 | if Debounces.on == false then break end | |
1693 | rs:wait() | |
1694 | end | |
1695 | for i = 1, 2880, 50 do | |
1696 | rs:wait() | |
1697 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1698 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1699 | rs:wait() | |
1700 | end | |
1701 | sp:Destroy() | |
1702 | sp2:Destroy() | |
1703 | local X = Instance.new("Part",char) | |
1704 | local O = Instance.new("ObjectValue",X) | |
1705 | O.Name = "creator" | |
1706 | X.Locked = true | |
1707 | X.Name = "Shell" | |
1708 | X.Anchored = false | |
1709 | X.CanCollide = false | |
1710 | X.Transparency = 0 | |
1711 | X.Reflectance = 0 | |
1712 | X.BottomSurface = 0 | |
1713 | X.TopSurface = 0 | |
1714 | X.Shape = 0 | |
1715 | local V = Instance.new("ObjectValue",X) | |
1716 | V.Value = char | |
1717 | V.Name = "creator" | |
1718 | - | X.BrickColor = BrickColor.new("Lime green") |
1718 | + | X.BrickColor = BrickColor.new("Really red") |
1719 | X.Size = Vector3.new(2,2,2) | |
1720 | X.Material = "Neon" | |
1721 | local Z = Instance.new("SpecialMesh",X) | |
1722 | Z.MeshType = "Sphere" | |
1723 | Z.Scale = Vector3.new(0.5,0.5,1) | |
1724 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
1725 | local bv = Instance.new("BodyVelocity",X) | |
1726 | bv.maxForce = Vector3.new(99999,99999,99999) | |
1727 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
1728 | bv.velocity = X.CFrame.lookVector*65 | |
1729 | ||
1730 | Explode = X.Touched:connect(function(hit) | |
1731 | if hit ~= char and hit.Name ~= "Shell" then | |
1732 | local cf = X.CFrame | |
1733 | bv:Destroy() | |
1734 | X.Anchored = true | |
1735 | Z:Remove() | |
1736 | Explode:disconnect() | |
1737 | X.Size = Vector3.new(3,3,3) | |
1738 | X.Touched:connect(function(hit) end) | |
1739 | X.CanCollide = false | |
1740 | local part3 = Instance.new("Part", rarm) | |
1741 | part3.Anchored=true | |
1742 | part3.CanCollide=false | |
1743 | part3.Locked = true | |
1744 | part3.TopSurface = "SmoothNoOutlines" | |
1745 | part3.BottomSurface = "SmoothNoOutlines" | |
1746 | part3.FormFactor='Custom' | |
1747 | part3.Size=Vector3.new(1,1, 1) | |
1748 | part3.CFrame=X.CFrame | |
1749 | part3.Transparency=0 | |
1750 | - | part3.BrickColor=BrickColor.new("Lime green") |
1750 | + | part3.BrickColor=BrickColor.new("Really red") |
1751 | local mesh3 = Instance.new("SpecialMesh",part3) | |
1752 | mesh3.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1753 | mesh3.Scale = Vector3.new(1,1,1) | |
1754 | --debris:AddItem(X,8) | |
1755 | local part4 = Instance.new("Part", rarm) | |
1756 | part4.Material = "Neon" | |
1757 | part4.Anchored=true | |
1758 | part4.CanCollide=false | |
1759 | part4.Locked = true | |
1760 | part4.TopSurface = "SmoothNoOutlines" | |
1761 | part4.BottomSurface = "SmoothNoOutlines" | |
1762 | part4.FormFactor='Custom' | |
1763 | part4.Size=Vector3.new(1,1, 1) | |
1764 | part4.CFrame=X.CFrame | |
1765 | part4.Transparency=0 | |
1766 | - | part4.BrickColor=BrickColor.new("Lime green") |
1766 | + | part4.BrickColor=BrickColor.new("Really red") |
1767 | local mesh4 = Instance.new("SpecialMesh",part4) | |
1768 | mesh4.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1769 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
1770 | local part7 = Instance.new("Part", rarm) | |
1771 | part7.Material = "Neon" | |
1772 | part7.Anchored=true | |
1773 | part7.CanCollide=false | |
1774 | part7.Locked = true | |
1775 | part7.TopSurface = "SmoothNoOutlines" | |
1776 | part7.BottomSurface = "SmoothNoOutlines" | |
1777 | part7.FormFactor='Custom' | |
1778 | part7.Size=Vector3.new(1,1, 1) | |
1779 | part7.CFrame=X.CFrame | |
1780 | part7.Transparency=0 | |
1781 | - | part7.BrickColor=BrickColor.new("Lime green") |
1781 | + | part7.BrickColor=BrickColor.new("Really red") |
1782 | local mesh7 = Instance.new("SpecialMesh",part7) | |
1783 | mesh7.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
1784 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1785 | --[[X.Touched:connect(function(ht) | |
1786 | hit = ht.Parent | |
1787 | if ht and hit:IsA("Model") then | |
1788 | if hit:FindFirstChild("Humanoid") then | |
1789 | if hit.Name ~= p.Name then | |
1790 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1791 | wait(.3) | |
1792 | end | |
1793 | end | |
1794 | elseif ht and hit:IsA("Hat") then | |
1795 | if hit.Parent.Name ~= p.Name then | |
1796 | if hit.Parent:FindFirstChild("Humanoid") then | |
1797 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1798 | wait(.3) | |
1799 | end | |
1800 | end | |
1801 | end | |
1802 | end) | |
1803 | part3.Touched:connect(function(ht) | |
1804 | hit = ht.Parent | |
1805 | if ht and hit:IsA("Model") then | |
1806 | if hit:FindFirstChild("Humanoid") then | |
1807 | if hit.Name ~= p.Name then | |
1808 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1809 | wait(.3) | |
1810 | end | |
1811 | end | |
1812 | elseif ht and hit:IsA("Hat") then | |
1813 | if hit.Parent.Name ~= p.Name then | |
1814 | if hit.Parent:FindFirstChild("Humanoid") then | |
1815 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1816 | wait(.3) | |
1817 | end | |
1818 | end | |
1819 | end | |
1820 | end)]]-- | |
1821 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
1822 | if v:FindFirstChild('Humanoid') then | |
1823 | v.Humanoid:TakeDamage(math.huge) | |
1824 | v.Humanoid.PlatformStand = true | |
1825 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1826 | end | |
1827 | end | |
1828 | ||
1829 | local acos = math.acos | |
1830 | local sqrt = math.sqrt | |
1831 | local Vec3 = Vector3.new | |
1832 | local fromAxisAngle = CFrame.fromAxisAngle | |
1833 | ||
1834 | local function toAxisAngle(CFr) | |
1835 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1836 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1837 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1838 | A = A == 0 and 0.00001 or A | |
1839 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1840 | B = B == 0 and 0.00001 or B | |
1841 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1842 | C = C == 0 and 0.00001 or C | |
1843 | local x = (R21-R12)/sqrt(A) | |
1844 | local y = (R02-R20)/sqrt(B) | |
1845 | local z = (R10-R01)/sqrt(C) | |
1846 | return Vec3(x,y,z),Angle | |
1847 | end | |
1848 | ||
1849 | function ApplyTrig(Num,Func) | |
1850 | local Min,Max = Func(0),Func(1) | |
1851 | local i = Func(Num) | |
1852 | return (i-Min)/(Max-Min) | |
1853 | end | |
1854 | ||
1855 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1856 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1857 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1858 | end | |
1859 | ||
1860 | function Crater(Torso,Radius) | |
1861 | Spawn(function() | |
1862 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1863 | local Ignore = {} | |
1864 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1865 | if v.Character ~= nil then | |
1866 | Ignore[#Ignore+1] = v.Character | |
1867 | end | |
1868 | end | |
1869 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1870 | if Hit == nil then return end | |
1871 | local Parts = {} | |
1872 | for i = 1,360,10 do | |
1873 | local P = Instance.new("Part",Torso.Parent) | |
1874 | P.Anchored = true | |
1875 | P.FormFactor = "Custom" | |
1876 | P.BrickColor = Hit.BrickColor | |
1877 | P.Material = Hit.Material | |
1878 | P.TopSurface = "Smooth" | |
1879 | P.BottomSurface = "Smooth" | |
1880 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1881 | 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))) | |
1882 | 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} | |
1883 | if math.random(0,5) == 0 then -- rubble | |
1884 | local P = Instance.new("Part",Torso.Parent) | |
1885 | P.Anchored = true | |
1886 | P.FormFactor = "Custom" | |
1887 | P.BrickColor = Hit.BrickColor | |
1888 | P.Material = Hit.Material | |
1889 | P.TopSurface = "Smooth" | |
1890 | P.BottomSurface = "Smooth" | |
1891 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1892 | 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))) | |
1893 | 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} | |
1894 | end | |
1895 | end | |
1896 | for i = 0,1,0.05 do | |
1897 | for i2,v in pairs(Parts) do | |
1898 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1899 | end | |
1900 | wait(0.02) | |
1901 | end | |
1902 | for i,v in pairs(Parts) do | |
1903 | if v[1].Size.X > 2.1 then | |
1904 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1905 | end | |
1906 | v[1].Anchored = false | |
1907 | end | |
1908 | for i = 0,1,0.05 do | |
1909 | for i2,v in pairs(Parts) do | |
1910 | v[1].Transparency = i | |
1911 | if i == 1 then | |
1912 | v[1]:Destroy() | |
1913 | elseif i >= 0.25 then | |
1914 | v[1].CanCollide = false | |
1915 | end | |
1916 | end | |
1917 | wait(0.02) | |
1918 | end | |
1919 | Parts = nil | |
1920 | end) | |
1921 | end | |
1922 | ||
1923 | ROW = function(out, trans, s, wt, t, ang, plus) | |
1924 | for i = 1, 360, 360/t do | |
1925 | local c = Instance.new("Part", game.Workspace) | |
1926 | c.FormFactor = 3 | |
1927 | c.TopSurface = 0 | |
1928 | c.BottomSurface = 0 | |
1929 | c.Size = s | |
1930 | c.Anchored = true | |
1931 | c.CanCollide = wt | |
1932 | c.Material=workspace.Base.Material | |
1933 | c.Transparency = trans | |
1934 | c.BrickColor = workspace.Base.BrickColor | |
1935 | 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 | |
1936 | c.Locked=true | |
1937 | game.Debris:AddItem(c,15) | |
1938 | end | |
1939 | end | |
1940 | ||
1941 | Part = function(x,y,z,color,tr,cc,an,parent) | |
1942 | local p = Instance.new('Part',parent or Weapon) | |
1943 | p.formFactor = 'Custom' | |
1944 | p.Size = Vector3.new(x,y,z) | |
1945 | p.BrickColor = BrickColor.new(color) | |
1946 | p.CanCollide = cc | |
1947 | p.Transparency = tr | |
1948 | p.Anchored = an | |
1949 | p.TopSurface,p.BottomSurface = 0,0 | |
1950 | p.Locked=true | |
1951 | p:BreakJoints() | |
1952 | return p end | |
1953 | ||
1954 | Mesh = function(par,num,x,y,z) | |
1955 | local msh = _ | |
1956 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
1957 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
1958 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
1959 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
1960 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
1961 | end msh.Scale = Vector3.new(x,y,z) | |
1962 | return msh end | |
1963 | ||
1964 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
1965 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
1966 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
1967 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
1968 | v1,v2,v3=sz.x,sz.y,sz.z | |
1969 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
1970 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
1971 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
1972 | a.CFrame=cfr | |
1973 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1974 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1975 | ||
1976 | Spawn(function() | |
1977 | while wait() do | |
1978 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
1979 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
1980 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
1981 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
1982 | a.Transparency=a.Transparency+0.05 | |
1983 | a2.Transparency=a2.Transparency+0.05 | |
1984 | a3.Transparency=a3.Transparency+0.05 | |
1985 | end | |
1986 | end) | |
1987 | end | |
1988 | ||
1989 | Crater(X,20) | |
1990 | 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) | |
1991 | z = Instance.new("Sound",X) | |
1992 | z.SoundId = "rbxassetid://231917744" | |
1993 | z.Pitch = .5 | |
1994 | z.Volume = 10 | |
1995 | z1 = Instance.new("Sound",X) | |
1996 | z1.SoundId = "rbxassetid://231917744" | |
1997 | z1.Pitch = .5 | |
1998 | z1.Volume = 10 | |
1999 | z2 = Instance.new("Sound",X) | |
2000 | z2.SoundId = "rbxassetid://231917744" | |
2001 | z2.Pitch = .5 | |
2002 | z2.Volume = 10 | |
2003 | z3 = Instance.new("Sound",X) | |
2004 | z3.SoundId = "rbxassetid://245537790" | |
2005 | z3.Pitch = .7 | |
2006 | z3.Volume = 1 | |
2007 | z4 = Instance.new("Sound",X) | |
2008 | z4.SoundId = "rbxassetid://245537790" | |
2009 | z4.Pitch = .7 | |
2010 | z4.Volume = 1 | |
2011 | wait(0.1) | |
2012 | z:Play() | |
2013 | z1:Play() | |
2014 | z2:Play() | |
2015 | z3:Play() | |
2016 | z4:Play() | |
2017 | ||
2018 | local part=Instance.new('Part',rarm) | |
2019 | part.Anchored=true | |
2020 | part.CanCollide=false | |
2021 | part.Locked = true | |
2022 | part.FormFactor='Custom' | |
2023 | part.Size=Vector3.new(1,1,1) | |
2024 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
2025 | part.Transparency=0 | |
2026 | - | part.BrickColor=BrickColor.new('Lime green') |
2026 | + | part.BrickColor=BrickColor.new('Really red') |
2027 | local mesh=Instance.new('SpecialMesh',part) | |
2028 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2029 | mesh.Scale=Vector3.new(2,2,2) | |
2030 | local part2=part:clone() | |
2031 | part2.Parent = rarm | |
2032 | - | part2.BrickColor=BrickColor.new("Lime green") |
2032 | + | part2.BrickColor=BrickColor.new("Really red") |
2033 | local part5=part:clone() | |
2034 | part5.Parent = rarm | |
2035 | - | part5.BrickColor=BrickColor.new("Lime green") |
2035 | + | part5.BrickColor=BrickColor.new("Really red") |
2036 | local part6=part:clone() | |
2037 | part6.Parent = rarm | |
2038 | part6.BrickColor=BrickColor.new("Black") | |
2039 | local mesh2=mesh:clone() | |
2040 | mesh2.Parent=part2 | |
2041 | mesh2.Scale=Vector3.new(3, 3, 3) | |
2042 | local mesh5=mesh:clone() | |
2043 | mesh5.Parent=part5 | |
2044 | mesh5.Scale=Vector3.new(3, 3, 3) | |
2045 | local mesh6=mesh:clone() | |
2046 | mesh6.Parent=part6 | |
2047 | mesh6.Scale=Vector3.new(3, 3, 3) | |
2048 | local blast = Instance.new("Part", rarm) | |
2049 | - | blast.BrickColor = BrickColor.new("Lime green") |
2049 | + | blast.BrickColor = BrickColor.new("Really red") |
2050 | blast.Anchored = true | |
2051 | blast.CanCollide = false | |
2052 | blast.Locked = true | |
2053 | blast.Size = Vector3.new(1, 1, 1) | |
2054 | blast.TopSurface = "Smooth" | |
2055 | blast.BottomSurface = "Smooth" | |
2056 | blast.Transparency = 0 | |
2057 | blast.CFrame = HandCF | |
2058 | local bm = Instance.new("SpecialMesh", blast) | |
2059 | bm.Scale = Vector3.new(5,1,5) | |
2060 | bm.MeshId = "rbxassetid://156292343" | |
2061 | local blast2 = Instance.new("Part", rarm) | |
2062 | - | blast2.BrickColor = BrickColor.new("Lime green") |
2062 | + | blast2.BrickColor = BrickColor.new("Really red") |
2063 | blast2.Anchored = true | |
2064 | blast2.CanCollide = false | |
2065 | blast2.Locked = true | |
2066 | blast2.Size = Vector3.new(1, 1, 1) | |
2067 | blast2.TopSurface = "Smooth" | |
2068 | blast2.BottomSurface = "Smooth" | |
2069 | blast2.Transparency = 0 | |
2070 | blast2.CFrame = HandCF | |
2071 | local bm2 = Instance.new("SpecialMesh", blast2) | |
2072 | bm2.Scale = Vector3.new(3,1,3) | |
2073 | bm2.MeshId = "rbxassetid://156292343" | |
2074 | local blast3 = Instance.new("Part", rarm) | |
2075 | - | blast3.BrickColor = BrickColor.new("Lime green") |
2075 | + | blast3.BrickColor = BrickColor.new("Really red") |
2076 | blast3.Anchored = true | |
2077 | blast3.CanCollide = false | |
2078 | blast3.Locked = true | |
2079 | blast3.Size = Vector3.new(1, 1, 1) | |
2080 | blast3.TopSurface = "Smooth" | |
2081 | blast3.BottomSurface = "Smooth" | |
2082 | blast3.Transparency = 0 | |
2083 | blast3.CFrame = HandCF | |
2084 | local bm3 = Instance.new("SpecialMesh", blast3) | |
2085 | bm3.Scale = Vector3.new(3,1,3) | |
2086 | bm3.MeshId = "rbxassetid://3270017" | |
2087 | for i = 1,120 do rs:wait() | |
2088 | X.Transparency = X.Transparency + (1/120) | |
2089 | part.Transparency = part.Transparency + (1/120) | |
2090 | part2.Transparency = part2.Transparency + (1/120) | |
2091 | part3.Transparency = part3.Transparency + (1/120) | |
2092 | part4.Transparency = part4.Transparency + (1/120) | |
2093 | part5.Transparency = part5.Transparency + (1/120) | |
2094 | part6.Transparency = part6.Transparency + (1/120) | |
2095 | part7.Transparency = part7.Transparency + (1/120) | |
2096 | blast.Transparency = blast.Transparency + (1/120) | |
2097 | blast2.Transparency = blast2.Transparency + (1/120) | |
2098 | blast3.Transparency = blast3.Transparency + (1/120) | |
2099 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
2100 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
2101 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
2102 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
2103 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
2104 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
2105 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
2106 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
2107 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
2108 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
2109 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
2110 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
2111 | X.CFrame = cf | |
2112 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
2113 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
2114 | part3.CFrame=X.CFrame | |
2115 | part4.CFrame=X.CFrame | |
2116 | part7.CFrame=X.CFrame | |
2117 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
2118 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
2119 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2120 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
2121 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
2122 | rs:wait() | |
2123 | end | |
2124 | X:Destroy() | |
2125 | part:Destroy() | |
2126 | part2:Destroy() | |
2127 | part3:Destroy() | |
2128 | part4:Destroy() | |
2129 | part5:Destroy() | |
2130 | part6:Destroy() | |
2131 | blast:Destroy() | |
2132 | blast2:Destroy() | |
2133 | blast3:Destroy() | |
2134 | z:Destroy() | |
2135 | z1:Destroy() | |
2136 | z2:Destroy() | |
2137 | z3:Destroy() | |
2138 | z4:Destroy() | |
2139 | end | |
2140 | end) | |
2141 | for i = 1, 20 do | |
2142 | 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) | |
2143 | 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) | |
2144 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
2145 | 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) | |
2146 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
2147 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
2148 | if Debounces.on == false then break end | |
2149 | rs:wait() | |
2150 | end | |
2151 | if Debounces.CanAttack == false then | |
2152 | Debounces.CanAttack = true | |
2153 | Debounces.NoIdl = false | |
2154 | Debounces.on = false | |
2155 | end | |
2156 | end | |
2157 | end | |
2158 | end) | |
2159 | ---------------------------------------------------- | |
2160 | mouse.KeyDown:connect(function(key) | |
2161 | if key == "e" then | |
2162 | if Debounces.CanAttack == true then | |
2163 | Debounces.CanAttack = false | |
2164 | Debounces.on = true | |
2165 | Debounces.NoIdl = true | |
2166 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
2167 | z = Instance.new("Sound", rarm) | |
2168 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2169 | z.Volume = .6 | |
2170 | z.Pitch = pt[math.random(1,#pt)] | |
2171 | z.Looped = false | |
2172 | z:Play() | |
2173 | Debounces.RPunch = true | |
2174 | Debounces.LPunch = true | |
2175 | Debounces.ks = true | |
2176 | Debounces.ks2 = true | |
2177 | for i = 1, 3 do | |
2178 | 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) | |
2179 | 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) | |
2180 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2181 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2182 | 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) | |
2183 | 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) | |
2184 | if Debounces.on == false then break end | |
2185 | wait() | |
2186 | end | |
2187 | z2 = Instance.new("Sound", larm) | |
2188 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2189 | z2.Volume = .6 | |
2190 | z2.Pitch = pt[math.random(1,#pt)] | |
2191 | z2.Looped = false | |
2192 | z2:Play() | |
2193 | for i = 1, 3 do | |
2194 | 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) | |
2195 | 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) | |
2196 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2197 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2198 | 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) | |
2199 | 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) | |
2200 | if Debounces.on == false then break end | |
2201 | wait() | |
2202 | end | |
2203 | z3 = Instance.new("Sound", rarm) | |
2204 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2205 | z3.Volume = 0.6 | |
2206 | z3.Pitch = pt[math.random(1,#pt)] | |
2207 | z3.Looped = false | |
2208 | z3:Play() | |
2209 | for i = 1, 3 do | |
2210 | 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) | |
2211 | 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) | |
2212 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2213 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2214 | 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) | |
2215 | 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) | |
2216 | if Debounces.on == false then break end | |
2217 | wait() | |
2218 | end | |
2219 | z4 = Instance.new("Sound", larm) | |
2220 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2221 | z4.Volume = .6 | |
2222 | z4.Pitch = pt[math.random(1,#pt)] | |
2223 | z4.Looped = false | |
2224 | z4:Play() | |
2225 | for i = 1, 3 do | |
2226 | 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) | |
2227 | 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) | |
2228 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2229 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2230 | 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) | |
2231 | 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) | |
2232 | if Debounces.on == false then break end | |
2233 | wait() | |
2234 | end | |
2235 | z5 = Instance.new("Sound", rarm) | |
2236 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2237 | z5.Volume = .6 | |
2238 | z5.Pitch = pt[math.random(1,#pt)] | |
2239 | z5.Looped = false | |
2240 | z5:Play() | |
2241 | for i = 1, 3 do | |
2242 | 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) | |
2243 | 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) | |
2244 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2245 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2246 | 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) | |
2247 | 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) | |
2248 | if Debounces.on == false then break end | |
2249 | wait() | |
2250 | end | |
2251 | z6 = Instance.new("Sound", larm) | |
2252 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2253 | z6.Volume = .6 | |
2254 | z6.Pitch = pt[math.random(1,#pt)] | |
2255 | z6.Looped = false | |
2256 | z6:Play() | |
2257 | for i = 1, 3 do | |
2258 | 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) | |
2259 | 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) | |
2260 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2261 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2262 | 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) | |
2263 | 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) | |
2264 | if Debounces.on == false then break end | |
2265 | wait() | |
2266 | end | |
2267 | z7 = Instance.new("Sound", rarm) | |
2268 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2269 | z7.Volume = .6 | |
2270 | z7.Pitch = pt[math.random(1,#pt)] | |
2271 | z7.Looped = false | |
2272 | z7:Play() | |
2273 | for i = 1, 3 do | |
2274 | 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) | |
2275 | 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) | |
2276 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2277 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2278 | 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) | |
2279 | 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) | |
2280 | if Debounces.on == false then break end | |
2281 | wait() | |
2282 | end | |
2283 | z8 = Instance.new("Sound", larm) | |
2284 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2285 | z8.Volume = .6 | |
2286 | z8.Pitch = pt[math.random(1,#pt)] | |
2287 | z8.Looped = false | |
2288 | z8:Play() | |
2289 | for i = 1, 3 do | |
2290 | 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) | |
2291 | 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) | |
2292 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2293 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2294 | 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) | |
2295 | 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) | |
2296 | if Debounces.on == false then break end | |
2297 | wait() | |
2298 | end | |
2299 | z9 = Instance.new("Sound", rarm) | |
2300 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2301 | z9.Volume = 0.6 | |
2302 | z9.Pitch = pt[math.random(1,#pt)] | |
2303 | z9.Looped = false | |
2304 | z9:Play() | |
2305 | for i = 1, 3 do | |
2306 | 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) | |
2307 | 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) | |
2308 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2309 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2310 | 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) | |
2311 | 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) | |
2312 | if Debounces.on == false then break end | |
2313 | wait() | |
2314 | end | |
2315 | z10 = Instance.new("Sound", larm) | |
2316 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2317 | z10.Volume = .6 | |
2318 | z10.Pitch = pt[math.random(1,#pt)] | |
2319 | z10.Looped = false | |
2320 | z10:Play() | |
2321 | for i = 1, 3 do | |
2322 | 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) | |
2323 | 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) | |
2324 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2325 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2326 | 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) | |
2327 | 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) | |
2328 | if Debounces.on == false then break end | |
2329 | wait() | |
2330 | end | |
2331 | z11 = Instance.new("Sound", rarm) | |
2332 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2333 | z11.Volume = .6 | |
2334 | z11.Pitch = pt[math.random(1,#pt)] | |
2335 | z11.Looped = false | |
2336 | z11:Play() | |
2337 | for i = 1, 3 do | |
2338 | 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) | |
2339 | 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) | |
2340 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2341 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2342 | 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) | |
2343 | 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) | |
2344 | if Debounces.on == false then break end | |
2345 | wait() | |
2346 | end | |
2347 | z12 = Instance.new("Sound", larm) | |
2348 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2349 | z12.Volume = .6 | |
2350 | z12.Pitch = pt[math.random(1,#pt)] | |
2351 | z12.Looped = false | |
2352 | z12:Play() | |
2353 | for i = 1, 3 do | |
2354 | 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) | |
2355 | 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) | |
2356 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2357 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2358 | 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) | |
2359 | 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) | |
2360 | if Debounces.on == false then break end | |
2361 | wait() | |
2362 | end | |
2363 | z13 = Instance.new("Sound", rarm) | |
2364 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2365 | z13.Volume = 0.6 | |
2366 | z13.Pitch = pt[math.random(1,#pt)] | |
2367 | z13.Looped = false | |
2368 | z13:Play() | |
2369 | for i = 1, 3 do | |
2370 | 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) | |
2371 | 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) | |
2372 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2373 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2374 | 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) | |
2375 | 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) | |
2376 | if Debounces.on == false then break end | |
2377 | wait() | |
2378 | end | |
2379 | z14 = Instance.new("Sound", larm) | |
2380 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2381 | z14.Volume = .6 | |
2382 | z14.Pitch = pt[math.random(1,#pt)] | |
2383 | z14.Looped = false | |
2384 | z14:Play() | |
2385 | for i = 1, 3 do | |
2386 | 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) | |
2387 | 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) | |
2388 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2389 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2390 | 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) | |
2391 | 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) | |
2392 | if Debounces.on == false then break end | |
2393 | wait() | |
2394 | end | |
2395 | z15 = Instance.new("Sound", rarm) | |
2396 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2397 | z15.Volume = .6 | |
2398 | z15.Pitch = pt[math.random(1,#pt)] | |
2399 | z15.Looped = false | |
2400 | z15:Play() | |
2401 | for i = 1, 3 do | |
2402 | 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) | |
2403 | 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) | |
2404 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2405 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2406 | 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) | |
2407 | 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) | |
2408 | if Debounces.on == false then break end | |
2409 | wait() | |
2410 | end | |
2411 | z16 = Instance.new("Sound", larm) | |
2412 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2413 | z16.Volume = .6 | |
2414 | z16.Pitch = pt[math.random(1,#pt)] | |
2415 | z16.Looped = false | |
2416 | z16:Play() | |
2417 | for i = 1, 3 do | |
2418 | 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) | |
2419 | 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) | |
2420 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2421 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2422 | 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) | |
2423 | 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) | |
2424 | if Debounces.on == false then break end | |
2425 | wait() | |
2426 | end | |
2427 | z17 = Instance.new("Sound", rarm) | |
2428 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2429 | z17.Volume = .6 | |
2430 | z17.Pitch = pt[math.random(1,#pt)] | |
2431 | z17.Looped = false | |
2432 | z17:Play() | |
2433 | for i = 1, 3 do | |
2434 | 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) | |
2435 | 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) | |
2436 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2437 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2438 | 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) | |
2439 | 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) | |
2440 | if Debounces.on == false then break end | |
2441 | wait() | |
2442 | end | |
2443 | z18 = Instance.new("Sound", larm) | |
2444 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2445 | z18.Volume = .6 | |
2446 | z18.Pitch = pt[math.random(1,#pt)] | |
2447 | z18.Looped = false | |
2448 | z18:Play() | |
2449 | for i = 1, 3 do | |
2450 | 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) | |
2451 | 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) | |
2452 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2453 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2454 | 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) | |
2455 | 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) | |
2456 | if Debounces.on == false then break end | |
2457 | wait() | |
2458 | end | |
2459 | z19 = Instance.new("Sound", rarm) | |
2460 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2461 | z19.Volume = 0.6 | |
2462 | z19.Pitch = pt[math.random(1,#pt)] | |
2463 | z19.Looped = false | |
2464 | z19:Play() | |
2465 | for i = 1, 3 do | |
2466 | 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) | |
2467 | 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) | |
2468 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2469 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2470 | 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) | |
2471 | 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) | |
2472 | if Debounces.on == false then break end | |
2473 | wait() | |
2474 | end | |
2475 | z20 = Instance.new("Sound", larm) | |
2476 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2477 | z20.Volume = .6 | |
2478 | z20.Pitch = pt[math.random(1,#pt)] | |
2479 | z20.Looped = false | |
2480 | z20:Play() | |
2481 | for i = 1, 3 do | |
2482 | 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) | |
2483 | 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) | |
2484 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2485 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2486 | 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) | |
2487 | 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) | |
2488 | if Debounces.on == false then break end | |
2489 | wait() | |
2490 | end | |
2491 | z:Destroy() | |
2492 | z2:Destroy() | |
2493 | z3:Destroy() | |
2494 | z4:Destroy() | |
2495 | z5:Destroy() | |
2496 | z6:Destroy() | |
2497 | z7:Destroy() | |
2498 | z8:Destroy() | |
2499 | z9:Destroy() | |
2500 | z10:Destroy() | |
2501 | z11:Destroy() | |
2502 | z12:Destroy() | |
2503 | z13:Destroy() | |
2504 | z14:Destroy() | |
2505 | z15:Destroy() | |
2506 | z16:Destroy() | |
2507 | z17:Destroy() | |
2508 | z18:Destroy() | |
2509 | z19:Destroy() | |
2510 | z20:Destroy() | |
2511 | Debounces.LPunch = false | |
2512 | Debounces.RPunch = false | |
2513 | Debounces.ks = false | |
2514 | Debounces.ks2 = false | |
2515 | if Debounces.CanAttack == false then | |
2516 | Debounces.CanAttack = true | |
2517 | Debounces.on = false | |
2518 | Debounces.NoIdl = false | |
2519 | end | |
2520 | end | |
2521 | end | |
2522 | end) | |
2523 | ------------------------------- | |
2524 | mouse.KeyDown:connect(function(key) | |
2525 | if key == "t" then | |
2526 | if Debounces.CanAttack == true then | |
2527 | Debounces.CanAttack = false | |
2528 | Debounces.NoIdl = true | |
2529 | Debounces.on = true | |
2530 | Debounces.ks = true | |
2531 | kik = rleg.Touched:connect(function(ht) | |
2532 | hit = ht.Parent | |
2533 | if ht and hit:IsA("Model") then | |
2534 | if hit:FindFirstChild("Humanoid") then | |
2535 | if hit.Name ~= p.Name then | |
2536 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2537 | Debounces.Slashed = true]]-- | |
2538 | if Debounces.ks==true then | |
2539 | z = Instance.new("Sound",hed) | |
2540 | z.SoundId = "rbxassetid://169380525" | |
2541 | z.Volume = 1 | |
2542 | z:Play() | |
2543 | Debounces.ks=false | |
2544 | end | |
2545 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2546 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2547 | --Debounces.Slashed = false | |
2548 | --end | |
2549 | end | |
2550 | end | |
2551 | elseif ht and hit:IsA("Hat") then | |
2552 | if hit.Parent.Name ~= p.Name then | |
2553 | if hit.Parent:FindFirstChild("Humanoid") then | |
2554 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2555 | Debounces.Slashed = true]]-- | |
2556 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2557 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2558 | --Debounces.Slashed = false | |
2559 | --end | |
2560 | end | |
2561 | end | |
2562 | end | |
2563 | end) | |
2564 | for i = 1,20 do | |
2565 | 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) | |
2566 | 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) | |
2567 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2568 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
2569 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
2570 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2571 | if Debounces.on == false then break end | |
2572 | rs:wait() | |
2573 | end | |
2574 | kik:disconnect() | |
2575 | if Debounces.CanAttack == false then | |
2576 | Debounces.CanAttack = true | |
2577 | Debounces.NoIdl = false | |
2578 | Debounces.on = false | |
2579 | end | |
2580 | end | |
2581 | end | |
2582 | end) | |
2583 | ---------------------------------------------------- | |
2584 | mouse.KeyDown:connect(function(key) | |
2585 | if key == "y" then | |
2586 | if Debounces.CanAttack == true then | |
2587 | Debounces.CanAttack = false | |
2588 | Debounces.on = true | |
2589 | Debounces.NoIdl = true | |
2590 | for i = 1, 15 do | |
2591 | 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) | |
2592 | 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) | |
2593 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2594 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2595 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2596 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2597 | if Debounces.on == false then break end | |
2598 | rs:wait(2.7) | |
2599 | end | |
2600 | x = Instance.new("Sound",char) | |
2601 | x.SoundId = "rbxassetid://345052019" | |
2602 | x.Pitch = 0.8 | |
2603 | x.Volume = 1 | |
2604 | x:Play() | |
2605 | wait(1.5) | |
2606 | Debounces.on = false | |
2607 | Debounces.Here = false | |
2608 | shot = shot + 1 | |
2609 | local rng = Instance.new("Part", larm) | |
2610 | rng.Anchored = true | |
2611 | - | rng.BrickColor = BrickColor.new("Lime green") |
2611 | + | rng.BrickColor = BrickColor.new("Really red") |
2612 | rng.CanCollide = false | |
2613 | rng.FormFactor = 3 | |
2614 | rng.Name = "Ring" | |
2615 | rng.Size = Vector3.new(1, 1, 1) | |
2616 | rng.Transparency = 0.35 | |
2617 | rng.TopSurface = 0 | |
2618 | rng.BottomSurface = 0 | |
2619 | rng2 = rng:clone() | |
2620 | rng3 = rng2:clone() | |
2621 | rng4 = rng2:clone() | |
2622 | local rngm = Instance.new("SpecialMesh", rng) | |
2623 | rngm.MeshId = "http://www.roblox.com/asset?id=156292355" | |
2624 | rngm.Scale = Vector3.new(10, 10, 1) | |
2625 | rngm2 = rngm:clone() | |
2626 | rngm2.Scale = Vector3.new(6, 6, 4) | |
2627 | rngm3=rngm2:clone() | |
2628 | rngm3.Parent = rng3 | |
2629 | rngm3.Scale = Vector3.new(9, 9, 2) | |
2630 | rngm4 = rngm2:clone() | |
2631 | rngm4.Parent = rng4 | |
2632 | rngm4.Scale = Vector3.new(7, 7, 2) | |
2633 | local bem = Instance.new("Part", larm) | |
2634 | bem.Anchored = true | |
2635 | - | bem.BrickColor = BrickColor.new("Lime green") |
2635 | + | bem.BrickColor = BrickColor.new("Really red") |
2636 | bem.CanCollide = false | |
2637 | bem.FormFactor = 3 | |
2638 | bem.Name = "Beam" .. shot | |
2639 | bem.Size = Vector3.new(1, 1, 1) | |
2640 | bem.Transparency = 0.35 | |
2641 | bem.TopSurface = 0 | |
2642 | bem.BottomSurface = 0 | |
2643 | local bemm = Instance.new("SpecialMesh", bem) | |
2644 | bemm.MeshType = 4 | |
2645 | bemm.Scale = Vector3.new(1, 10, 10) | |
2646 | local out = Instance.new("Part", larm) | |
2647 | out.Anchored = true | |
2648 | - | out.BrickColor = BrickColor.new("Lime green") |
2648 | + | out.BrickColor = BrickColor.new("Really red") |
2649 | out.CanCollide = false | |
2650 | out.FormFactor = 3 | |
2651 | out.Name = "Out" | |
2652 | out.Size = Vector3.new(4, 4, 4) | |
2653 | out.Transparency = 0.35 | |
2654 | out.TopSurface = 0 | |
2655 | out.BottomSurface = 0 | |
2656 | local outm = Instance.new("SpecialMesh", out) | |
2657 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2658 | outm.Scale = Vector3.new(10, 10, 10) | |
2659 | local bnd = Instance.new("Part", larm) | |
2660 | bnd.Anchored = true | |
2661 | - | bnd.BrickColor = BrickColor.new("Lime green") |
2661 | + | bnd.BrickColor = BrickColor.new("Really red") |
2662 | bnd.CanCollide = false | |
2663 | bnd.FormFactor = 3 | |
2664 | bnd.Name = "Bend" | |
2665 | bnd.Size = Vector3.new(1, 1, 1) | |
2666 | bnd.Transparency = 1 | |
2667 | bnd.TopSurface = 0 | |
2668 | bnd.BottomSurface = 0 | |
2669 | local bndm = Instance.new("SpecialMesh", bnd) | |
2670 | bndm.MeshType = 3 | |
2671 | bndm.Scale = Vector3.new(8, 8, 8) | |
2672 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2673 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2674 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2675 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2676 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2677 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2678 | Debounces.Shewt = true | |
2679 | coroutine.wrap(function() | |
2680 | for i = 1, 20, 0.2 do | |
2681 | rngm.Scale = Vector3.new(50 + i*5, 50 + i*5, 1) | |
2682 | rngm3.Scale = Vector3.new(30 + i*25, 30 + i*25, 1) | |
2683 | rngm4.Scale = Vector3.new(27 + i*30, 27 + i*30, 1) | |
2684 | rng.Transparency = i/30 | |
2685 | rng3.Transparency = 1/34 | |
2686 | rng4.Transparency = i/36 | |
2687 | wait() | |
2688 | end | |
2689 | wait() | |
2690 | rng:Destroy() | |
2691 | end)() | |
2692 | if Debounces.Shewt == true then | |
2693 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2694 | hit = ht.Parent | |
2695 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2696 | if HasntTouched(hit.Name) == true and deb == false then | |
2697 | deb = true | |
2698 | coroutine.wrap(function() | |
2699 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2700 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200 | |
2701 | hit:FindFirstChild("Humanoid"):TakeDamage(math.huge) | |
2702 | end)() | |
2703 | table.insert(Touche, hit.Name) | |
2704 | deb = false | |
2705 | end | |
2706 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2707 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2708 | deb = true | |
2709 | coroutine.wrap(function() | |
2710 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2711 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 200 | |
2712 | wait(1) | |
2713 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2714 | end)() | |
2715 | table.insert(Touche, hit.Parent.Name) | |
2716 | deb = false | |
2717 | for i, v in pairs(Touche) do | |
2718 | print(v) | |
2719 | end | |
2720 | end | |
2721 | end | |
2722 | end) | |
2723 | end | |
2724 | for i = 0, 260, 8 do | |
2725 | bem.Size = Vector3.new(i, 10, 10) | |
2726 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2727 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2728 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2729 | bnd.Size = Vector3.new(1,1,1) | |
2730 | bndm.Scale = Vector3.new(8,8,8) | |
2731 | if i % 10 == 0 then | |
2732 | local newRng = rng2:Clone() | |
2733 | newRng.Parent = larm | |
2734 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2735 | local newRngm = rngm2:clone() | |
2736 | newRngm.Parent=newRng | |
2737 | coroutine.wrap(function() | |
2738 | for i = 1, 10, 0.2 do | |
2739 | newRngm.Scale = Vector3.new(50 + i*30, 50 + i*30, 3) | |
2740 | newRng.Transparency = i/10 | |
2741 | wait() | |
2742 | end | |
2743 | wait() | |
2744 | newRng:Destroy() | |
2745 | end)() | |
2746 | end | |
2747 | wait() | |
2748 | end | |
2749 | wait() | |
2750 | Debounces.Shewt = false | |
2751 | bem:Destroy() | |
2752 | out:Destroy() | |
2753 | bnd:Destroy() | |
2754 | Debounces.Ready = false | |
2755 | for i, v in pairs(Touche) do | |
2756 | table.remove(Touche, i) | |
2757 | end | |
2758 | wait() | |
2759 | table.insert(Touche, char.Name) | |
2760 | Debounces.NoIdl = false | |
2761 | if Debounces.CanAttack == false then | |
2762 | Debounces.CanAttack = true | |
2763 | end | |
2764 | end | |
2765 | end | |
2766 | end) | |
2767 | ---------------------------------------------------- | |
2768 | Charging = false | |
2769 | mouse.KeyDown:connect(function(key) | |
2770 | if key == "r" then | |
2771 | if Charging == false then | |
2772 | Charging = true | |
2773 | if Debounces.CanAttack == true then | |
2774 | Debounces.CanAttack = false | |
2775 | Debounces.NoIdl = true | |
2776 | Debounces.on = true | |
2777 | for i = 1,20 do | |
2778 | 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) | |
2779 | 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) | |
2780 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2781 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2782 | 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) | |
2783 | 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) | |
2784 | if Debounces.on == false then break end | |
2785 | rs:wait() | |
2786 | end | |
2787 | --[[for i = 1,20 do | |
2788 | 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) | |
2789 | 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) | |
2790 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2791 | 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) | |
2792 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2793 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2794 | if Debounces.on == false then break end | |
2795 | rs:wait() | |
2796 | end]]-- | |
2797 | pt=Instance.new('Part',torso) | |
2798 | pt.Anchored=true | |
2799 | pt.CanCollide=false | |
2800 | pt.Locked = true | |
2801 | pt.FormFactor='Custom' | |
2802 | pt.Size=Vector3.new(1,1,1) | |
2803 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2804 | pt.Transparency=.6 | |
2805 | - | pt.BrickColor=BrickColor.new('Lime green') |
2805 | + | pt.BrickColor=BrickColor.new('Really red') |
2806 | msh=Instance.new('SpecialMesh',pt) | |
2807 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2808 | msh.Scale=Vector3.new(9.5,9.5,9.5) | |
2809 | pt2=pt:clone() | |
2810 | pt2.Parent = torso | |
2811 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2812 | - | pt2.BrickColor=BrickColor.new("Lime green") |
2812 | + | pt2.BrickColor=BrickColor.new("Really red") |
2813 | msh2=msh:clone() | |
2814 | msh2.Parent=pt2 | |
2815 | msh2.Scale=Vector3.new(9.5,9.5,9.5) | |
2816 | ||
2817 | 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} | |
2818 | ||
2819 | bl = Instance.new("Part", char) | |
2820 | bl.Locked = true | |
2821 | bl.Name = "Shell" | |
2822 | - | bl.BrickColor = BrickColor.new("Lime green") |
2822 | + | bl.BrickColor = BrickColor.new("Really red") |
2823 | bl.Anchored = true | |
2824 | bl.CanCollide = false | |
2825 | bl.Transparency = 0 | |
2826 | bl.Reflectance = 0 | |
2827 | bl.BottomSurface = 0 | |
2828 | bl.TopSurface = 0 | |
2829 | bl.Shape = 0 | |
2830 | blm = Instance.new("SpecialMesh",bl) | |
2831 | blm.MeshType = "Sphere" | |
2832 | blm.Scale = Vector3.new(9.5,9.5,9.5) | |
2833 | blm.MeshId = "rbxassetid://9982590" | |
2834 | ||
2835 | coroutine.resume(coroutine.create(function() | |
2836 | for i=1, math.huge, 4 do | |
2837 | if Charging == true then | |
2838 | rs:wait() | |
2839 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2840 | blm.Scale = blm.Scale + Vector3.new(9.5,9.5,9.5) | |
2841 | bl.Transparency = bl.Transparency + 0.1 | |
2842 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2843 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2844 | msh.Scale = msh.Scale + Vector3.new(9.5,0,9.5) | |
2845 | msh2.Scale = msh2.Scale + Vector3.new(9.5,0,9.5) | |
2846 | elseif Charging == false then break | |
2847 | end | |
2848 | end | |
2849 | end)) | |
2850 | ||
2851 | repeat | |
2852 | local p = Instance.new('Part',torso) | |
2853 | p.formFactor = 'Custom' | |
2854 | p.Size = Vector3.new(1,1,1) | |
2855 | - | p.BrickColor = BrickColor.new('Lime green') |
2855 | + | p.BrickColor = BrickColor.new('Really red') |
2856 | p.CanCollide = false | |
2857 | p.Transparency = 0 | |
2858 | p.Anchored = true | |
2859 | p.Locked=true | |
2860 | p.Material = workspace.Base.Material | |
2861 | s = math.random(1,40)/10 | |
2862 | local m = Instance.new("BlockMesh",p) | |
2863 | m.Scale = Vector3.new(s,s,s) | |
2864 | 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()) | |
2865 | --[[coroutine.wrap(function() | |
2866 | wait(2) | |
2867 | while Charging == true do | |
2868 | wait(2) | |
2869 | GroundWave1() | |
2870 | wait(2) | |
2871 | end | |
2872 | end)()]]-- | |
2873 | Spawn(function() | |
2874 | while rs:wait() do | |
2875 | if Charging == true then | |
2876 | 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))) | |
2877 | 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))) | |
2878 | 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)) | |
2879 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2880 | 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))) | |
2881 | 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))) | |
2882 | elseif Charging == false then break | |
2883 | end | |
2884 | end | |
2885 | end) | |
2886 | Spawn(function() | |
2887 | while rs:wait() do | |
2888 | if p.Transparency >= 1 then p:Destroy() break end | |
2889 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2890 | p.Transparency = p.Transparency+0.01 | |
2891 | end | |
2892 | end) | |
2893 | wait(.3) | |
2894 | until Charging == false | |
2895 | end | |
2896 | end | |
2897 | end | |
2898 | end) | |
2899 | ---------------------------------------------------- | |
2900 | mouse.KeyUp:connect(function(key) | |
2901 | if key == "r" then | |
2902 | if Charging == true then | |
2903 | Charging = false | |
2904 | pt:Destroy() | |
2905 | pt2:Destroy() | |
2906 | bl:Destroy() | |
2907 | if Debounces.CanAttack == false then | |
2908 | Debounces.CanAttack = true | |
2909 | Debounces.NoIdl = false | |
2910 | Debounces.on = false | |
2911 | end | |
2912 | end | |
2913 | end | |
2914 | end) | |
2915 | ---------------------------------------------------- | |
2916 | mouse.KeyDown:connect(function(key) | |
2917 | if key == "g" then | |
2918 | if Debounces.CanAttack == true then | |
2919 | Debounces.CanAttack = false | |
2920 | Debounces.NoIdl = true | |
2921 | Debounces.on = true | |
2922 | local shell = Instance.new("Part",torso) | |
2923 | - | shell.BrickColor = BrickColor.new("Lime green") |
2923 | + | shell.BrickColor = BrickColor.new("Really red") |
2924 | shell.Anchored = true | |
2925 | shell.CanCollide = false | |
2926 | shell.Locked = true | |
2927 | shell.TopSurface = "SmoothNoOutlines" | |
2928 | shell.BottomSurface = "SmoothNoOutlines" | |
2929 | shell.Size = Vector3.new(1,1,1) | |
2930 | shellm = Instance.new("SpecialMesh",shell) | |
2931 | shellm.MeshType = "Sphere" | |
2932 | shellm.Scale = Vector3.new(1,1,1) | |
2933 | local shell2 = Instance.new("Part",torso) | |
2934 | - | shell2.BrickColor = BrickColor.new("Lime green") |
2934 | + | shell2.BrickColor = BrickColor.new("Really red") |
2935 | shell2.Anchored = true | |
2936 | shell2.CanCollide = false | |
2937 | shell2.Locked = true | |
2938 | shell2.TopSurface = "SmoothNoOutlines" | |
2939 | shell2.BottomSurface = "SmoothNoOutlines" | |
2940 | shell2.Size = Vector3.new(1,1,1) | |
2941 | shellm2 = Instance.new("SpecialMesh",shell2) | |
2942 | shellm2.MeshType = "Sphere" | |
2943 | shellm2.Scale = Vector3.new(1,1,1) | |
2944 | ||
2945 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2946 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2947 | local List = {} | |
2948 | for i,v in pairs(workspace:GetChildren())do | |
2949 | if v:IsA("Model")then | |
2950 | if v:findFirstChild("Torso")then | |
2951 | if v ~= char then | |
2952 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2953 | table.insert(List,v) | |
2954 | end | |
2955 | end | |
2956 | end | |
2957 | end | |
2958 | end | |
2959 | return List | |
2960 | end | |
2961 | ||
2962 | Shell = function() | |
2963 | local X = Instance.new("Part",char) | |
2964 | local O = Instance.new("ObjectValue",X) | |
2965 | O.Name = "creator" | |
2966 | X.Locked = true | |
2967 | X.Name = "Shell" | |
2968 | X.Anchored = false | |
2969 | X.CanCollide = false | |
2970 | X.Transparency = 0 | |
2971 | X.Reflectance = 0 | |
2972 | X.BottomSurface = 0 | |
2973 | X.TopSurface = 0 | |
2974 | X.Shape = 0 | |
2975 | local V = Instance.new("ObjectValue",X) | |
2976 | V.Value = char | |
2977 | V.Name = "creator" | |
2978 | - | X.BrickColor = BrickColor.new("Lime green") |
2978 | + | X.BrickColor = BrickColor.new("Really red") |
2979 | X.Size = Vector3.new(1,1,1) | |
2980 | --X.Material = "Neon" | |
2981 | local Z = Instance.new("SpecialMesh",X) | |
2982 | Z.MeshType = "Sphere" | |
2983 | Z.Scale = Vector3.new(1,1,1) | |
2984 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2985 | local bv = Instance.new("BodyVelocity",X) | |
2986 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2987 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2988 | bv.velocity = root.CFrame.lookVector*65 | |
2989 | Explode = X.Touched:connect(function(hit) | |
2990 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
2991 | local cf = X.CFrame | |
2992 | bv:Destroy() | |
2993 | X.Anchored = true | |
2994 | Z:Remove() | |
2995 | Explode:disconnect() | |
2996 | X.Size = Vector3.new(3,3,3) | |
2997 | X.Touched:connect(function(hit) end) | |
2998 | X.CanCollide = false | |
2999 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
3000 | if v:FindFirstChild('Humanoid') then | |
3001 | v.Humanoid:TakeDamage(math.huge) | |
3002 | end | |
3003 | end | |
3004 | for i = 1, (40) do rs:wait() | |
3005 | X.Transparency = X.Transparency + (1/40) | |
3006 | X.Size = X.Size + Vector3.new(1,1,1) | |
3007 | X.CFrame = cf | |
3008 | end | |
3009 | X:Destroy() | |
3010 | end | |
3011 | end) | |
3012 | end | |
3013 | Shell() | |
3014 | for i = 1, 10 do | |
3015 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3016 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3017 | 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) | |
3018 | 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) | |
3019 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
3020 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
3021 | 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) | |
3022 | 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) | |
3023 | if Debounces.on == false then break end | |
3024 | rs:wait() | |
3025 | end | |
3026 | Shell() | |
3027 | shell.Transparency = 1 | |
3028 | for i = 1, 10 do | |
3029 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3030 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3031 | 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) | |
3032 | 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) | |
3033 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3034 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3035 | 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) | |
3036 | 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) | |
3037 | if Debounces.on == false then break end | |
3038 | rs:wait() | |
3039 | end | |
3040 | Shell() | |
3041 | shell.Transparency = 0 | |
3042 | shell2.Transparency = 1 | |
3043 | for i = 1, 10 do | |
3044 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3045 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3046 | 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) | |
3047 | 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) | |
3048 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3049 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3050 | 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) | |
3051 | 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) | |
3052 | if Debounces.on == false then break end | |
3053 | rs:wait() | |
3054 | end | |
3055 | Shell() | |
3056 | shell2.Transparency = 0 | |
3057 | shell.Transparency = 1 | |
3058 | for i = 1, 10 do | |
3059 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3060 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3061 | 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) | |
3062 | 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) | |
3063 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3064 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3065 | 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) | |
3066 | 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) | |
3067 | if Debounces.on == false then break end | |
3068 | rs:wait() | |
3069 | end | |
3070 | Shell() | |
3071 | shell.Transparency = 0 | |
3072 | shell2.Transparency = 1 | |
3073 | for i = 1, 10 do | |
3074 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3075 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3076 | 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) | |
3077 | 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) | |
3078 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3079 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3080 | 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) | |
3081 | 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) | |
3082 | if Debounces.on == false then break end | |
3083 | rs:wait() | |
3084 | end | |
3085 | Shell() | |
3086 | shell2.Transparency = 0 | |
3087 | shell.Transparency = 1 | |
3088 | for i = 1, 10 do | |
3089 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3090 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3091 | 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) | |
3092 | 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) | |
3093 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3094 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3095 | 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) | |
3096 | 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) | |
3097 | if Debounces.on == false then break end | |
3098 | rs:wait() | |
3099 | end | |
3100 | Shell() | |
3101 | shell.Transparency = 0 | |
3102 | shell2.Transparency = 1 | |
3103 | for i = 1, 10 do | |
3104 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3105 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3106 | 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) | |
3107 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
3108 | 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) | |
3109 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3110 | 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) | |
3111 | 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) | |
3112 | if Debounces.on == false then break end | |
3113 | rs:wait() | |
3114 | end | |
3115 | Shell() | |
3116 | shell2.Transparency = 0 | |
3117 | shell.Transparency = 1 | |
3118 | for i = 1, 10 do | |
3119 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3120 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3121 | 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) | |
3122 | 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) | |
3123 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3124 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3125 | 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) | |
3126 | 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) | |
3127 | if Debounces.on == false then break end | |
3128 | rs:wait() | |
3129 | end | |
3130 | Shell() | |
3131 | shell.Transparency = 0 | |
3132 | shell2.Transparency = 1 | |
3133 | for i = 1, 10 do | |
3134 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3135 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3136 | 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) | |
3137 | 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) | |
3138 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3139 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3140 | 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) | |
3141 | 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) | |
3142 | if Debounces.on == false then break end | |
3143 | rs:wait() | |
3144 | end | |
3145 | Shell() | |
3146 | shell2.Transparency = 0 | |
3147 | shell.Transparency = 1 | |
3148 | for i = 1, 10 do | |
3149 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3150 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3151 | 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) | |
3152 | 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) | |
3153 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3154 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3155 | 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) | |
3156 | 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) | |
3157 | if Debounces.on == false then break end | |
3158 | rs:wait() | |
3159 | end | |
3160 | Shell() | |
3161 | shell.Transparency = 0 | |
3162 | shell2.Transparency = 1 | |
3163 | for i = 1, 10 do | |
3164 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3165 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3166 | 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) | |
3167 | 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) | |
3168 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3169 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3170 | 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) | |
3171 | 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) | |
3172 | if Debounces.on == false then break end | |
3173 | rs:wait() | |
3174 | end | |
3175 | Shell() | |
3176 | shell2.Transparency = 0 | |
3177 | shell.Transparency = 1 | |
3178 | for i = 1, 10 do | |
3179 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3180 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3181 | 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) | |
3182 | 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) | |
3183 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
3184 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
3185 | 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) | |
3186 | 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) | |
3187 | if Debounces.on == false then break end | |
3188 | rs:wait() | |
3189 | end | |
3190 | Shell() | |
3191 | shell.Transparency = 0 | |
3192 | shell2.Transparency = 1 | |
3193 | for i = 1, 10 do | |
3194 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3195 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
3196 | 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) | |
3197 | 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) | |
3198 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
3199 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
3200 | 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) | |
3201 | 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) | |
3202 | if Debounces.on == false then break end | |
3203 | rs:wait() | |
3204 | end | |
3205 | shell.Transparency = 1 | |
3206 | if Debounces.CanAttack == false then | |
3207 | Debounces.CanAttack = true | |
3208 | Debounces.NoIdl = false | |
3209 | Debounces.on = false | |
3210 | end | |
3211 | end | |
3212 | end | |
3213 | end) | |
3214 | ---------------------------------------------------- | |
3215 | Search = false | |
3216 | mouse.KeyDown:connect(function(key) | |
3217 | if key == "n" then | |
3218 | if Search == false then | |
3219 | Search = true | |
3220 | for i,v in pairs(game.Players:getPlayers()) do | |
3221 | if v.Name~=char.Name then | |
3222 | for j,k in pairs(v.Character:GetChildren()) do | |
3223 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
3224 | bawx=Instance.new("SelectionBox",cam) | |
3225 | bawx.Color = BrickColor.new("Bright red") | |
3226 | bawx.Transparency = .5 | |
3227 | bawx.Adornee = k | |
3228 | end | |
3229 | end | |
3230 | end | |
3231 | end | |
3232 | elseif Search == true then | |
3233 | Search = false | |
3234 | for i, v in pairs(cam:GetChildren()) do | |
3235 | if v:IsA("SelectionBox") then | |
3236 | v:Destroy() | |
3237 | end | |
3238 | end | |
3239 | end | |
3240 | end | |
3241 | end) | |
3242 | ---------------------------------------------------- | |
3243 | Grab = false | |
3244 | mouse.KeyDown:connect(function(key) | |
3245 | if key == "z" then | |
3246 | Debounces.on = true | |
3247 | Debounces.NoIdl = true | |
3248 | Debounces.ks = true | |
3249 | if Grab == false then | |
3250 | gp = nil | |
3251 | for i = 1, 20 do | |
3252 | 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) | |
3253 | 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) | |
3254 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3255 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3256 | 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) | |
3257 | 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) | |
3258 | if Debounces.on == false then break end | |
3259 | rs:wait() | |
3260 | end | |
3261 | con1=larm.Touched:connect(function(hit) -- this is grab | |
3262 | ht = hit.Parent | |
3263 | hum1=ht:FindFirstChild('Humanoid') | |
3264 | if hum1 ~= nil then | |
3265 | if Debounces.ks==true then | |
3266 | z = Instance.new("Sound",hed) | |
3267 | z.SoundId = "rbxassetid://169380525" | |
3268 | z.Volume = 1 | |
3269 | z:Play() | |
3270 | Debounces.ks=false | |
3271 | end | |
3272 | hum1.PlatformStand=true | |
3273 | gp = ht | |
3274 | Grab = true | |
3275 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
3276 | asd.Parent = larm | |
3277 | asd.Name = "asd" | |
3278 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
3279 | --[[elseif hum1 == nil then | |
3280 | con1:disconnect() | |
3281 | wait() return]]-- | |
3282 | end | |
3283 | end) | |
3284 | for i = 1, 20 do | |
3285 | 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) | |
3286 | 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) | |
3287 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3288 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3289 | 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) | |
3290 | 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) | |
3291 | if Debounces.on == false then break end | |
3292 | rs:wait() | |
3293 | end | |
3294 | if hum1 == nil then | |
3295 | Debounces.on = false | |
3296 | Debounces.NoIdl = false | |
3297 | end | |
3298 | con1:disconnect() | |
3299 | elseif Grab == true then | |
3300 | Grab = false | |
3301 | Punch() | |
3302 | z = Instance.new("Sound",hed) | |
3303 | z.SoundId = "rbxassetid://169380525" | |
3304 | z.Pitch = ptz[math.random(1,#ptz)] | |
3305 | z.Volume = 1 | |
3306 | z:Play() | |
3307 | for i = 1, 10 do | |
3308 | 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) | |
3309 | 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) | |
3310 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3311 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3312 | 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) | |
3313 | 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) | |
3314 | if Debounces.on == false then break end | |
3315 | rs:wait() | |
3316 | end | |
3317 | Punch() | |
3318 | z = Instance.new("Sound",hed) | |
3319 | z.SoundId = "rbxassetid://169380525" | |
3320 | z.Pitch = ptz[math.random(1,#ptz)] | |
3321 | z.Volume = 1 | |
3322 | z:Play() | |
3323 | for i = 1, 10 do | |
3324 | 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) | |
3325 | 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) | |
3326 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3327 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3328 | 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) | |
3329 | 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) | |
3330 | if Debounces.on == false then break end | |
3331 | rs:wait() | |
3332 | end | |
3333 | Punch() | |
3334 | z = Instance.new("Sound",hed) | |
3335 | z.SoundId = "rbxassetid://169380525" | |
3336 | z.Pitch = ptz[math.random(1,#ptz)] | |
3337 | z.Volume = 1 | |
3338 | z:Play() | |
3339 | for i = 1, 10 do | |
3340 | 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) | |
3341 | 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) | |
3342 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3343 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3344 | 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) | |
3345 | 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) | |
3346 | if Debounces.on == false then break end | |
3347 | rs:wait() | |
3348 | end | |
3349 | Punch() | |
3350 | z = Instance.new("Sound",hed) | |
3351 | z.SoundId = "rbxassetid://169380525" | |
3352 | z.Pitch = ptz[math.random(1,#ptz)] | |
3353 | z.Volume = 1 | |
3354 | z:Play() | |
3355 | for i = 1, 10 do | |
3356 | 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) | |
3357 | 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) | |
3358 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3359 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3360 | 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) | |
3361 | 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) | |
3362 | if Debounces.on == false then break end | |
3363 | rs:wait() | |
3364 | end | |
3365 | Punch() | |
3366 | z = Instance.new("Sound",hed) | |
3367 | z.SoundId = "rbxassetid://169380525" | |
3368 | z.Pitch = ptz[math.random(1,#ptz)] | |
3369 | z.Volume = 1 | |
3370 | z:Play() | |
3371 | for i = 1, 10 do | |
3372 | 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) | |
3373 | 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) | |
3374 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3375 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3376 | 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) | |
3377 | 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) | |
3378 | if Debounces.on == false then break end | |
3379 | rs:wait() | |
3380 | end | |
3381 | Punch() | |
3382 | z = Instance.new("Sound",hed) | |
3383 | z.SoundId = "rbxassetid://169380525" | |
3384 | z.Pitch = ptz[math.random(1,#ptz)] | |
3385 | z.Volume = 1 | |
3386 | z:Play() | |
3387 | for i = 1, 10 do | |
3388 | 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) | |
3389 | 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) | |
3390 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3391 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3392 | 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) | |
3393 | 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) | |
3394 | if Debounces.on == false then break end | |
3395 | rs:wait() | |
3396 | end | |
3397 | Punch() | |
3398 | z = Instance.new("Sound",hed) | |
3399 | z.SoundId = "rbxassetid://169380525" | |
3400 | z.Pitch = ptz[math.random(1,#ptz)] | |
3401 | z.Volume = 1 | |
3402 | z:Play() | |
3403 | for i = 1, 10 do | |
3404 | 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) | |
3405 | 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) | |
3406 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3407 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3408 | 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) | |
3409 | 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) | |
3410 | if Debounces.on == false then break end | |
3411 | rs:wait() | |
3412 | end | |
3413 | Punch() | |
3414 | z = Instance.new("Sound",hed) | |
3415 | z.SoundId = "rbxassetid://169380525" | |
3416 | z.Pitch = ptz[math.random(1,#ptz)] | |
3417 | z.Volume = 1 | |
3418 | z:Play() | |
3419 | for i = 1, 10 do | |
3420 | 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) | |
3421 | 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) | |
3422 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3423 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3424 | 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) | |
3425 | 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) | |
3426 | if Debounces.on == false then break end | |
3427 | rs:wait() | |
3428 | end | |
3429 | Punch() | |
3430 | z = Instance.new("Sound",hed) | |
3431 | z.SoundId = "rbxassetid://169380525" | |
3432 | z.Pitch = ptz[math.random(1,#ptz)] | |
3433 | z.Volume = 1 | |
3434 | z:Play() | |
3435 | for i = 1, 10 do | |
3436 | 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) | |
3437 | 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) | |
3438 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3439 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3440 | 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) | |
3441 | 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) | |
3442 | if Debounces.on == false then break end | |
3443 | rs:wait() | |
3444 | end | |
3445 | Punch() | |
3446 | z = Instance.new("Sound",hed) | |
3447 | z.SoundId = "rbxassetid://169380525" | |
3448 | z.Pitch = ptz[math.random(1,#ptz)] | |
3449 | z.Volume = 1 | |
3450 | z:Play() | |
3451 | for i = 1, 10 do | |
3452 | 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) | |
3453 | 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) | |
3454 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3455 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3456 | 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) | |
3457 | 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) | |
3458 | if Debounces.on == false then break end | |
3459 | rs:wait() | |
3460 | end | |
3461 | Punch() | |
3462 | z = Instance.new("Sound",hed) | |
3463 | z.SoundId = "rbxassetid://169380525" | |
3464 | z.Pitch = ptz[math.random(1,#ptz)] | |
3465 | z.Volume = 1 | |
3466 | z:Play() | |
3467 | for i = 1, 10 do | |
3468 | 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) | |
3469 | 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) | |
3470 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
3471 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
3472 | 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) | |
3473 | 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) | |
3474 | if Debounces.on == false then break end | |
3475 | rs:wait() | |
3476 | end | |
3477 | Punch() | |
3478 | z = Instance.new("Sound",hed) | |
3479 | z.SoundId = "rbxassetid://169380525" | |
3480 | z.Pitch = ptz[math.random(1,#ptz)] | |
3481 | z.Volume = 1 | |
3482 | z:Play() | |
3483 | for i = 1, 10 do | |
3484 | 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) | |
3485 | 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) | |
3486 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
3487 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
3488 | 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) | |
3489 | 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) | |
3490 | if Debounces.on == false then break end | |
3491 | rs:wait() | |
3492 | end | |
3493 | con1:disconnect() | |
3494 | Debounces.on = false | |
3495 | Debounces.NoIdl = false | |
3496 | if gp ~= nil then | |
3497 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
3498 | for i,v in pairs(larm:GetChildren()) do | |
3499 | if v.Name == "asd" and v:IsA("Weld") then | |
3500 | v:Remove() | |
3501 | end | |
3502 | end | |
3503 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
3504 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
3505 | bv.P = 125000 | |
3506 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
3507 | hum1=nil | |
3508 | ht=nil | |
3509 | Debounces.on = false | |
3510 | Debounces.NoIdl = false | |
3511 | elseif ht == nil then wait() | |
3512 | Grab = false | |
3513 | Debounces.on = false | |
3514 | Debounces.NoIdl = false | |
3515 | end | |
3516 | end | |
3517 | end | |
3518 | end) | |
3519 | ---------------------------------------------------- | |
3520 | mouse.KeyDown:connect(function(key) | |
3521 | if string.byte(key) == 52 then | |
3522 | char.Humanoid.WalkSpeed = 60 | |
3523 | end | |
3524 | end) | |
3525 | mouse.KeyUp:connect(function(key) | |
3526 | if string.byte(key) == 52 then | |
3527 | char.Humanoid.WalkSpeed = 8 | |
3528 | end | |
3529 | end) | |
3530 | ------------------------------- | |
3531 | local animpose = "Idle" | |
3532 | local lastanimpose = "Idle" | |
3533 | local sine = 0 | |
3534 | local change = 1 | |
3535 | local val = 0 | |
3536 | local ffing = false | |
3537 | ------------------------------- | |
3538 | game:GetService("RunService").RenderStepped:connect(function() | |
3539 | --[[if char.Humanoid.Jump == true then | |
3540 | jump = true | |
3541 | else | |
3542 | jump = false | |
3543 | end]] | |
3544 | char.Humanoid.FreeFalling:connect(function(f) | |
3545 | if f then | |
3546 | ffing = true | |
3547 | else | |
3548 | ffing = false | |
3549 | end | |
3550 | end) | |
3551 | sine = sine + change | |
3552 | if jumpn == true then | |
3553 | animpose = "Jumping" | |
3554 | elseif ffing == true then | |
3555 | animpose = "Freefalling" | |
3556 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3557 | animpose = "Idle" | |
3558 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3559 | animpose = "Walking" | |
3560 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3561 | animpose = "Running" | |
3562 | end | |
3563 | if animpose ~= lastanimpose then | |
3564 | sine = 0 | |
3565 | if Debounces.NoIdl == false then | |
3566 | if animpose == "Idle" then | |
3567 | for i = 1, 2 do | |
3568 | 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) | |
3569 | 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) | |
3570 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
3571 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3572 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
3573 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
3574 | end | |
3575 | elseif animpose == "Walking" then | |
3576 | for i = 1, 2 do | |
3577 | 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) | |
3578 | 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) | |
3579 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3580 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3581 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3582 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3583 | end | |
3584 | elseif animpose == "Running" then | |
3585 | for i = 1, 2 do | |
3586 | 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) | |
3587 | 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) | |
3588 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
3589 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
3590 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
3591 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
3592 | wait() | |
3593 | end | |
3594 | end | |
3595 | else | |
3596 | end | |
3597 | end | |
3598 | lastanimpose = animpose | |
3599 | if Debounces.NoIdl == false then | |
3600 | if animpose == "Idle" then | |
3601 | change = 0.5 | |
3602 | 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) | |
3603 | 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) | |
3604 | 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) | |
3605 | 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) | |
3606 | 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) | |
3607 | 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) | |
3608 | elseif animpose == "Walking" then | |
3609 | change = 1 | |
3610 | 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) | |
3611 | 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) | |
3612 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3613 | 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) | |
3614 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3615 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3616 | elseif animpose == "Running" then | |
3617 | change = 1 | |
3618 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
3619 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
3620 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
3621 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
3622 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
3623 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
3624 | elseif stanceToggle == "Floating" then | |
3625 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3626 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3627 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
3628 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4) | |
3629 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4) | |
3630 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) | |
3631 | end | |
3632 | end | |
3633 | end) | |
3634 | game.Workspace.mackenzieparkerrules.Humanoid.MaxHealth = math.huge | |
3635 | local a = Instance.new("ForceField") | |
3636 | a.Parent = workspace.mackenzieparkerrules | |
3637 | wait(0) | |
3638 | game.Workspace.mackenzieparkerrules.Humanoid.Health = math.huge | |
3639 | ----------------------------------------------------------------------------- | |
3640 | ||
3641 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
3642 | --[[Part0 = Vector3 (Start pos) | |
3643 | Part1 = Vector3 (End pos) | |
3644 | Times = number (Amount of lightning parts) | |
3645 | Offset = number (Offset) | |
3646 | Color = color (brickcolor value) | |
3647 | Thickness = number (thickness) | |
3648 | Trans = number (transparency) | |
3649 | ]]-- | |
3650 | local magz = (Part0 - Part1).magnitude | |
3651 | local curpos = Part0 | |
3652 | local trz = {-Offset,Offset} | |
3653 | for i=1,Times do | |
3654 | local li = Instance.new("Part", torso) | |
3655 | li.Name = "Lightning" | |
3656 | li.TopSurface =0 | |
3657 | li.Material = "Neon" | |
3658 | li.BottomSurface = 0 | |
3659 | li.Anchored = true | |
3660 | li.Locked = true | |
3661 | li.Transparency = Trans or 0.4 | |
3662 | li.BrickColor = BrickColor.new(Color) | |
3663 | li.formFactor = "Custom" | |
3664 | li.CanCollide = false | |
3665 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
3666 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
3667 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
3668 | if Times == i then | |
3669 | local magz2 = (curpos - Part1).magnitude | |
3670 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
3671 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
3672 | else | |
3673 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
3674 | end | |
3675 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
3676 | game.Debris:AddItem(li,.1) | |
3677 | end | |
3678 | end | |
3679 | ||
3680 | BodyParts = {} -- Parts to emit lightning effects from | |
3681 | for _, v in pairs(char:GetChildren()) do | |
3682 | if v:IsA("Part") then | |
3683 | table.insert(BodyParts, v) | |
3684 | end | |
3685 | end | |
3686 | ||
3687 | Bounding = {} -- Calculate the bounding boxes | |
3688 | for _, v in pairs(BodyParts) do | |
3689 | local temp = {X=nil, Y=nil, Z=nil} | |
3690 | temp.X = v.Size.X/2 * 15 | |
3691 | temp.Y = v.Size.Y/2 * 15 | |
3692 | temp.Z = v.Size.Z/2 * 15 | |
3693 | Bounding[v.Name] = temp | |
3694 | --table.insert(Bounding, v.Name, temp) | |
3695 | end | |
3696 | ||
3697 | while wait(0) do -- Emit the Lightning effects randomly, (math.random(1,10)/10) if you want original | |
3698 | local Body1 = BodyParts[math.random(#BodyParts)] | |
3699 | local Body2 = BodyParts[math.random(#BodyParts)] | |
3700 | local Pos1 = Vector3.new( | |
3701 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
3702 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
3703 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
3704 | ) | |
3705 | local Pos2 = Vector3.new( | |
3706 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
3707 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
3708 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
3709 | ) | |
3710 | local SPos1 = Body1.Position + Pos1 | |
3711 | local SPos2 = Body2.Position + Pos2 | |
3712 | - | Lightning(SPos1, SPos2, 4, 3, "Lime green", .3, .56) |
3712 | + | Lightning(SPos1, SPos2, 4, 3, "Really red", .3, .56) |
3713 | end |