SHOW:
|
|
- or go back to the newest paste.
1 | maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor | |
2 | maincolor = BrickColor.new("Really red") | |
3 | secondcolor = "Really black" | |
4 | wait(0.016666666666666666) | |
5 | Effects = {} | |
6 | local Player = game.Players.localPlayer | |
7 | local chara = Player.Character | |
8 | local Character = Player.Character | |
9 | local BC = Character["Body Colors"] | |
10 | BC.HeadColor = BrickColor.new("Lime green") | |
11 | BC.LeftArmColor = BrickColor.new("Lime green") | |
12 | BC.LeftLegColor = BrickColor.new("Really black") | |
13 | BC.RightArmColor = BrickColor.new("Really black") | |
14 | BC.RightLegColor = BrickColor.new("Lime green") | |
15 | BC.TorsoColor = BrickColor.new("Really black") | |
16 | local Humanoid = Character.Humanoid | |
17 | local mouse = Player:GetMouse() | |
18 | local LeftArm = Character["Left Arm"] | |
19 | local RightArm = Character["Right Arm"] | |
20 | local LeftLeg = Character["Left Leg"] | |
21 | local RightLeg = Character["Right Leg"] | |
22 | local Head = Character.Head | |
23 | local Torso = Character.Torso | |
24 | local cam = game.Workspace.CurrentCamera | |
25 | local RootPart = Character.HumanoidRootPart | |
26 | local RootJoint = RootPart.RootJoint | |
27 | local equipped = true | |
28 | local attack = false | |
29 | local Anim = "Idle" | |
30 | local idle = 0 | |
31 | local attacktype = 1 | |
32 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
33 | local velocity = RootPart.Velocity.y | |
34 | local sine = 0 | |
35 | local change = 1 | |
36 | local grabbed = false | |
37 | local cn = CFrame.new | |
38 | local mr = math.rad | |
39 | local angles = CFrame.Angles | |
40 | local ud = UDim2.new | |
41 | local c3 = Color3.new | |
42 | local dir = { | |
43 | w = 0, | |
44 | s = 0, | |
45 | a = 0, | |
46 | d = 0 | |
47 | ||
48 | } | |
49 | Climbanim = false | |
50 | Runkey = false | |
51 | firemode = false | |
52 | inair = false | |
53 | blocking = false | |
54 | humHsave = 0 | |
55 | humDsave = 0 | |
56 | extralock = true | |
57 | lasthit = nil | |
58 | elementmode = "Mode 1" | |
59 | local BCsave = Character["Body Colors"]:Clone() | |
60 | local BC = Character["Body Colors"] | |
61 | function New(Object, Parent, Name, Data) | |
62 | local Object = Instance.new(Object) | |
63 | for Index, Value in pairs(Data or {}) do | |
64 | Object[Index] = Value | |
65 | end | |
66 | Object.Parent = Parent | |
67 | Object.Name = Name | |
68 | return Object | |
69 | end | |
70 | Model = New("Model", Workspace, "PowerGlow", {}) | |
71 | Part = New("Part", Model, "Part", { | |
72 | BrickColor = maincolor, | |
73 | Material = Enum.Material.Neon, | |
74 | FormFactor = Enum.FormFactor.Custom, | |
75 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
76 | CFrame = CFrame.new(-15.4243536, 2.56596589, -77.4251709, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
77 | Anchored = true, | |
78 | CanCollide = false, | |
79 | BottomSurface = Enum.SurfaceType.Smooth, | |
80 | TopSurface = Enum.SurfaceType.Smooth, | |
81 | Color = Color3.new(1, 0, 0) | |
82 | }) | |
83 | Mesh = New("BlockMesh", Part, "Mesh", { | |
84 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
85 | }) | |
86 | Part = New("Part", Model, "Part", { | |
87 | BrickColor = maincolor, | |
88 | Material = Enum.Material.Neon, | |
89 | FormFactor = Enum.FormFactor.Custom, | |
90 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
91 | CFrame = CFrame.new(-15.4243536, 2.56596589, -78.0972214, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
92 | Anchored = true, | |
93 | CanCollide = false, | |
94 | BottomSurface = Enum.SurfaceType.Smooth, | |
95 | TopSurface = Enum.SurfaceType.Smooth, | |
96 | Color = Color3.new(1, 0, 0) | |
97 | }) | |
98 | Mesh = New("BlockMesh", Part, "Mesh", { | |
99 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
100 | }) | |
101 | Part = New("Part", Model, "Part", { | |
102 | BrickColor = BrickColor.new("Dark stone grey"), | |
103 | Material = Enum.Material.SmoothPlastic, | |
104 | FormFactor = Enum.FormFactor.Custom, | |
105 | Size = Vector3.new(1.08000004, 0.950000048, 0.200000033), | |
106 | CFrame = CFrame.new(-14.7160664, 3.91589618, -77.7635422, -1.13133467E-8, -0.258819193, 0.965925574, -4.22219522E-8, -0.965925694, -0.258819163, 0.99999994, -4.37113847E-8, 0), | |
107 | Anchored = true, | |
108 | CanCollide = false, | |
109 | BottomSurface = Enum.SurfaceType.Smooth, | |
110 | TopSurface = Enum.SurfaceType.Smooth, | |
111 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
112 | }) | |
113 | Part = New("Part", Model, "Part", { | |
114 | BrickColor = maincolor, | |
115 | Material = Enum.Material.Neon, | |
116 | FormFactor = Enum.FormFactor.Custom, | |
117 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
118 | CFrame = CFrame.new(-15.3176498, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
119 | Anchored = true, | |
120 | CanCollide = false, | |
121 | BottomSurface = Enum.SurfaceType.Smooth, | |
122 | TopSurface = Enum.SurfaceType.Smooth, | |
123 | Color = Color3.new(1, 0, 0) | |
124 | }) | |
125 | Mesh = New("BlockMesh", Part, "Mesh", { | |
126 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
127 | }) | |
128 | Part = New("Part", Model, "Part", { | |
129 | Material = Enum.Material.SmoothPlastic, | |
130 | FormFactor = Enum.FormFactor.Custom, | |
131 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
132 | CFrame = CFrame.new(-14.3333502, 2.41636896, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
133 | Anchored = true, | |
134 | CanCollide = false, | |
135 | BottomSurface = Enum.SurfaceType.Smooth, | |
136 | TopSurface = Enum.SurfaceType.Smooth | |
137 | }) | |
138 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
139 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
140 | }) | |
141 | Part = New("Part", Model, "Part", { | |
142 | BrickColor = BrickColor.new("Lily white"), | |
143 | Material = Enum.Material.SmoothPlastic, | |
144 | FormFactor = Enum.FormFactor.Custom, | |
145 | Size = Vector3.new(1.10000002, 0.73999995, 0.220000014), | |
146 | CFrame = CFrame.new(-15.1012945, 3.79362583, -77.7635422, 3.78551768E-8, 0.866025448, 0.499999523, -2.18556764E-8, -0.499999583, 0.866025388, 0.99999994, -4.37113847E-8, 0), | |
147 | Anchored = true, | |
148 | CanCollide = false, | |
149 | BottomSurface = Enum.SurfaceType.Smooth, | |
150 | TopSurface = Enum.SurfaceType.Smooth, | |
151 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
152 | }) | |
153 | Part = New("Part", Model, "Part", { | |
154 | Material = Enum.Material.SmoothPlastic, | |
155 | FormFactor = Enum.FormFactor.Custom, | |
156 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
157 | CFrame = CFrame.new(-15.4412384, 2.74341011, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
158 | Anchored = true, | |
159 | CanCollide = false, | |
160 | BottomSurface = Enum.SurfaceType.Smooth, | |
161 | TopSurface = Enum.SurfaceType.Smooth | |
162 | }) | |
163 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
164 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
165 | }) | |
166 | Part = New("Part", Model, "Part", { | |
167 | Material = Enum.Material.SmoothPlastic, | |
168 | FormFactor = Enum.FormFactor.Custom, | |
169 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
170 | CFrame = CFrame.new(-14.4219961, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
171 | Anchored = true, | |
172 | CanCollide = false, | |
173 | BottomSurface = Enum.SurfaceType.Smooth, | |
174 | TopSurface = Enum.SurfaceType.Smooth | |
175 | }) | |
176 | Mesh = New("BlockMesh", Part, "Mesh", { | |
177 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
178 | }) | |
179 | Part = New("Part", Model, "Part", { | |
180 | BrickColor = BrickColor.new("Dark stone grey"), | |
181 | Material = Enum.Material.SmoothPlastic, | |
182 | FormFactor = Enum.FormFactor.Custom, | |
183 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
184 | CFrame = CFrame.new(-15.171958, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
185 | Anchored = true, | |
186 | CanCollide = false, | |
187 | BottomSurface = Enum.SurfaceType.Smooth, | |
188 | TopSurface = Enum.SurfaceType.Smooth, | |
189 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
190 | }) | |
191 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
192 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
193 | }) | |
194 | Part = New("Part", Model, "Part", { | |
195 | BrickColor = maincolor, | |
196 | Material = Enum.Material.Neon, | |
197 | FormFactor = Enum.FormFactor.Custom, | |
198 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
199 | CFrame = CFrame.new(-15.3223877, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
200 | Anchored = true, | |
201 | CanCollide = false, | |
202 | BottomSurface = Enum.SurfaceType.Smooth, | |
203 | TopSurface = Enum.SurfaceType.Smooth, | |
204 | Color = Color3.new(1, 0, 0) | |
205 | }) | |
206 | Mesh = New("BlockMesh", Part, "Mesh", { | |
207 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
208 | }) | |
209 | Part = New("Part", Model, "Part", { | |
210 | Material = Enum.Material.SmoothPlastic, | |
211 | FormFactor = Enum.FormFactor.Custom, | |
212 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
213 | CFrame = CFrame.new(-14.8567038, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
214 | Anchored = true, | |
215 | CanCollide = false, | |
216 | BottomSurface = Enum.SurfaceType.Smooth, | |
217 | TopSurface = Enum.SurfaceType.Smooth | |
218 | }) | |
219 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
220 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
221 | }) | |
222 | Part = New("Part", Model, "Part", { | |
223 | Material = Enum.Material.SmoothPlastic, | |
224 | FormFactor = Enum.FormFactor.Custom, | |
225 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
226 | CFrame = CFrame.new(-14.5614405, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
227 | Anchored = true, | |
228 | CanCollide = false, | |
229 | BottomSurface = Enum.SurfaceType.Smooth, | |
230 | TopSurface = Enum.SurfaceType.Smooth | |
231 | }) | |
232 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
233 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
234 | }) | |
235 | Part = New("Part", Model, "Part", { | |
236 | BrickColor = maincolor, | |
237 | Material = Enum.Material.Neon, | |
238 | FormFactor = Enum.FormFactor.Custom, | |
239 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
240 | CFrame = CFrame.new(-14.3643541, 2.56596589, -77.4805908, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
241 | Anchored = true, | |
242 | CanCollide = false, | |
243 | BottomSurface = Enum.SurfaceType.Smooth, | |
244 | TopSurface = Enum.SurfaceType.Smooth, | |
245 | Color = Color3.new(1, 0, 0) | |
246 | }) | |
247 | Mesh = New("BlockMesh", Part, "Mesh", { | |
248 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
249 | }) | |
250 | Part = New("Part", Model, "Part", { | |
251 | Material = Enum.Material.SmoothPlastic, | |
252 | FormFactor = Enum.FormFactor.Custom, | |
253 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
254 | CFrame = CFrame.new(-15.171958, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
255 | Anchored = true, | |
256 | CanCollide = false, | |
257 | BottomSurface = Enum.SurfaceType.Smooth, | |
258 | TopSurface = Enum.SurfaceType.Smooth | |
259 | }) | |
260 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
261 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
262 | }) | |
263 | Part = New("Part", Model, "Part", { | |
264 | BrickColor = BrickColor.new("Dark stone grey"), | |
265 | Material = Enum.Material.SmoothPlastic, | |
266 | FormFactor = Enum.FormFactor.Custom, | |
267 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
268 | CFrame = CFrame.new(-14.5614405, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
269 | Anchored = true, | |
270 | CanCollide = false, | |
271 | BottomSurface = Enum.SurfaceType.Smooth, | |
272 | TopSurface = Enum.SurfaceType.Smooth, | |
273 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
274 | }) | |
275 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
276 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
277 | }) | |
278 | Part = New("Part", Model, "Part", { | |
279 | Material = Enum.Material.SmoothPlastic, | |
280 | FormFactor = Enum.FormFactor.Custom, | |
281 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
282 | CFrame = CFrame.new(-15.171958, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
283 | Anchored = true, | |
284 | CanCollide = false, | |
285 | BottomSurface = Enum.SurfaceType.Smooth, | |
286 | TopSurface = Enum.SurfaceType.Smooth | |
287 | }) | |
288 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
289 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
290 | }) | |
291 | Part = New("Part", Model, "Part", { | |
292 | BrickColor = BrickColor.new("Really black"), | |
293 | Material = Enum.Material.SmoothPlastic, | |
294 | FormFactor = Enum.FormFactor.Custom, | |
295 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
296 | CFrame = CFrame.new(-14.4749603, 2.54138398, -77.7840576, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
297 | Anchored = true, | |
298 | CanCollide = false, | |
299 | BottomSurface = Enum.SurfaceType.Smooth, | |
300 | TopSurface = Enum.SurfaceType.Smooth, | |
301 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
302 | }) | |
303 | Mesh = New("BlockMesh", Part, "Mesh", { | |
304 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
305 | }) | |
306 | Part = New("Part", Model, "Part", { | |
307 | BrickColor = BrickColor.new("Dark stone grey"), | |
308 | Material = Enum.Material.SmoothPlastic, | |
309 | FormFactor = Enum.FormFactor.Custom, | |
310 | Size = Vector3.new(1.08000004, 0.0500000007, 0.200000033), | |
311 | CFrame = CFrame.new(-15.026329, 2.95079517, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
312 | Anchored = true, | |
313 | CanCollide = false, | |
314 | BottomSurface = Enum.SurfaceType.Smooth, | |
315 | TopSurface = Enum.SurfaceType.Smooth, | |
316 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
317 | }) | |
318 | Part = New("Part", Model, "Part", { | |
319 | BrickColor = BrickColor.new("Dark stone grey"), | |
320 | Material = Enum.Material.SmoothPlastic, | |
321 | FormFactor = Enum.FormFactor.Custom, | |
322 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
323 | CFrame = CFrame.new(-15.4412384, 2.59506392, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
324 | Anchored = true, | |
325 | CanCollide = false, | |
326 | BottomSurface = Enum.SurfaceType.Smooth, | |
327 | TopSurface = Enum.SurfaceType.Smooth, | |
328 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
329 | }) | |
330 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
331 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
332 | }) | |
333 | Part = New("Part", Model, "Part", { | |
334 | BrickColor = BrickColor.new("Really black"), | |
335 | Material = Enum.Material.SmoothPlastic, | |
336 | FormFactor = Enum.FormFactor.Custom, | |
337 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
338 | CFrame = CFrame.new(-15.3137436, 2.54138398, -77.4251709, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
339 | Anchored = true, | |
340 | CanCollide = false, | |
341 | BottomSurface = Enum.SurfaceType.Smooth, | |
342 | TopSurface = Enum.SurfaceType.Smooth, | |
343 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
344 | }) | |
345 | Mesh = New("BlockMesh", Part, "Mesh", { | |
346 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
347 | }) | |
348 | Part = New("Part", Model, "Part", { | |
349 | BrickColor = maincolor, | |
350 | Material = Enum.Material.Neon, | |
351 | FormFactor = Enum.FormFactor.Custom, | |
352 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
353 | CFrame = CFrame.new(-15.0171576, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
354 | Anchored = true, | |
355 | CanCollide = false, | |
356 | BottomSurface = Enum.SurfaceType.Smooth, | |
357 | TopSurface = Enum.SurfaceType.Smooth, | |
358 | Color = Color3.new(1, 0, 0) | |
359 | }) | |
360 | Mesh = New("BlockMesh", Part, "Mesh", { | |
361 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
362 | }) | |
363 | Part = New("Part", Model, "Part", { | |
364 | BrickColor = BrickColor.new("Dark stone grey"), | |
365 | Material = Enum.Material.SmoothPlastic, | |
366 | FormFactor = Enum.FormFactor.Custom, | |
367 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
368 | CFrame = CFrame.new(-15.1691818, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
369 | Anchored = true, | |
370 | CanCollide = false, | |
371 | BottomSurface = Enum.SurfaceType.Smooth, | |
372 | TopSurface = Enum.SurfaceType.Smooth, | |
373 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
374 | }) | |
375 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
376 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
377 | }) | |
378 | Part = New("Part", Model, "Part", { | |
379 | BrickColor = maincolor, | |
380 | Material = Enum.Material.Neon, | |
381 | FormFactor = Enum.FormFactor.Custom, | |
382 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
383 | CFrame = CFrame.new(-14.4300385, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
384 | Anchored = true, | |
385 | CanCollide = false, | |
386 | BottomSurface = Enum.SurfaceType.Smooth, | |
387 | TopSurface = Enum.SurfaceType.Smooth, | |
388 | Color = Color3.new(1, 0, 0) | |
389 | }) | |
390 | Mesh = New("BlockMesh", Part, "Mesh", { | |
391 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
392 | }) | |
393 | Part = New("Part", Model, "Part", { | |
394 | Material = Enum.Material.SmoothPlastic, | |
395 | FormFactor = Enum.FormFactor.Custom, | |
396 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
397 | CFrame = CFrame.new(-14.8567038, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
398 | Anchored = true, | |
399 | CanCollide = false, | |
400 | BottomSurface = Enum.SurfaceType.Smooth, | |
401 | TopSurface = Enum.SurfaceType.Smooth | |
402 | }) | |
403 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
404 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
405 | }) | |
406 | Part = New("Part", Model, "Part", { | |
407 | Material = Enum.Material.SmoothPlastic, | |
408 | FormFactor = Enum.FormFactor.Custom, | |
409 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
410 | CFrame = CFrame.new(-15.4412384, 2.41636896, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
411 | Anchored = true, | |
412 | CanCollide = false, | |
413 | BottomSurface = Enum.SurfaceType.Smooth, | |
414 | TopSurface = Enum.SurfaceType.Smooth | |
415 | }) | |
416 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
417 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
418 | }) | |
419 | Part = New("Part", Model, "Part", { | |
420 | BrickColor = BrickColor.new("Really black"), | |
421 | Material = Enum.Material.SmoothPlastic, | |
422 | FormFactor = Enum.FormFactor.Custom, | |
423 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
424 | CFrame = CFrame.new(-14.7080917, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
425 | Anchored = true, | |
426 | CanCollide = false, | |
427 | BottomSurface = Enum.SurfaceType.Smooth, | |
428 | TopSurface = Enum.SurfaceType.Smooth, | |
429 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
430 | }) | |
431 | Mesh = New("BlockMesh", Part, "Mesh", { | |
432 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
433 | }) | |
434 | Part = New("Part", Model, "Part", { | |
435 | Material = Enum.Material.SmoothPlastic, | |
436 | FormFactor = Enum.FormFactor.Custom, | |
437 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
438 | CFrame = CFrame.new(-15.3188915, 2.42498994, -78.0982056, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
439 | Anchored = true, | |
440 | CanCollide = false, | |
441 | BottomSurface = Enum.SurfaceType.Smooth, | |
442 | TopSurface = Enum.SurfaceType.Smooth | |
443 | }) | |
444 | Mesh = New("BlockMesh", Part, "Mesh", { | |
445 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
446 | }) | |
447 | Part = New("Part", Model, "Part", { | |
448 | BrickColor = BrickColor.new("Dark stone grey"), | |
449 | Material = Enum.Material.SmoothPlastic, | |
450 | FormFactor = Enum.FormFactor.Custom, | |
451 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
452 | CFrame = CFrame.new(-14.5560598, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
453 | Anchored = true, | |
454 | CanCollide = false, | |
455 | BottomSurface = Enum.SurfaceType.Smooth, | |
456 | TopSurface = Enum.SurfaceType.Smooth, | |
457 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
458 | }) | |
459 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
460 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
461 | }) | |
462 | Part = New("Part", Model, "Part", { | |
463 | BrickColor = maincolor, | |
464 | Material = Enum.Material.Neon, | |
465 | FormFactor = Enum.FormFactor.Custom, | |
466 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
467 | CFrame = CFrame.new(-14.3643541, 2.56596589, -77.7840576, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
468 | Anchored = true, | |
469 | CanCollide = false, | |
470 | BottomSurface = Enum.SurfaceType.Smooth, | |
471 | TopSurface = Enum.SurfaceType.Smooth, | |
472 | Color = Color3.new(1, 0, 0) | |
473 | }) | |
474 | Mesh = New("BlockMesh", Part, "Mesh", { | |
475 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
476 | }) | |
477 | Part = New("Part", Model, "Part", { | |
478 | Material = Enum.Material.SmoothPlastic, | |
479 | FormFactor = Enum.FormFactor.Custom, | |
480 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
481 | CFrame = CFrame.new(-15.318634, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
482 | Anchored = true, | |
483 | CanCollide = false, | |
484 | BottomSurface = Enum.SurfaceType.Smooth, | |
485 | TopSurface = Enum.SurfaceType.Smooth | |
486 | }) | |
487 | Mesh = New("BlockMesh", Part, "Mesh", { | |
488 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
489 | }) | |
490 | Part = New("Part", Model, "Part", { | |
491 | Material = Enum.Material.SmoothPlastic, | |
492 | FormFactor = Enum.FormFactor.Custom, | |
493 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
494 | CFrame = CFrame.new(-15.3213959, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
495 | Anchored = true, | |
496 | CanCollide = false, | |
497 | BottomSurface = Enum.SurfaceType.Smooth, | |
498 | TopSurface = Enum.SurfaceType.Smooth | |
499 | }) | |
500 | Mesh = New("BlockMesh", Part, "Mesh", { | |
501 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
502 | }) | |
503 | Part = New("Part", Model, "Part", { | |
504 | Material = Enum.Material.SmoothPlastic, | |
505 | FormFactor = Enum.FormFactor.Custom, | |
506 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
507 | CFrame = CFrame.new(-14.3547363, 2.41636896, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
508 | Anchored = true, | |
509 | CanCollide = false, | |
510 | BottomSurface = Enum.SurfaceType.Smooth, | |
511 | TopSurface = Enum.SurfaceType.Smooth | |
512 | }) | |
513 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
514 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
515 | }) | |
516 | Part = New("Part", Model, "Part", { | |
517 | BrickColor = BrickColor.new("Really black"), | |
518 | Material = Enum.Material.SmoothPlastic, | |
519 | FormFactor = Enum.FormFactor.Custom, | |
520 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
521 | CFrame = CFrame.new(-14.4300385, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
522 | Anchored = true, | |
523 | CanCollide = false, | |
524 | BottomSurface = Enum.SurfaceType.Smooth, | |
525 | TopSurface = Enum.SurfaceType.Smooth, | |
526 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
527 | }) | |
528 | Mesh = New("BlockMesh", Part, "Mesh", { | |
529 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
530 | }) | |
531 | Part = New("Part", Model, "Part", { | |
532 | Material = Enum.Material.SmoothPlastic, | |
533 | FormFactor = Enum.FormFactor.Custom, | |
534 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
535 | CFrame = CFrame.new(-15.0161581, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
536 | Anchored = true, | |
537 | CanCollide = false, | |
538 | BottomSurface = Enum.SurfaceType.Smooth, | |
539 | TopSurface = Enum.SurfaceType.Smooth | |
540 | }) | |
541 | Mesh = New("BlockMesh", Part, "Mesh", { | |
542 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
543 | }) | |
544 | Part = New("Part", Model, "Part", { | |
545 | BrickColor = BrickColor.new("Lily white"), | |
546 | Material = Enum.Material.SmoothPlastic, | |
547 | FormFactor = Enum.FormFactor.Custom, | |
548 | Size = Vector3.new(1.10000002, 0.159999892, 0.99999994), | |
549 | CFrame = CFrame.new(-15.0029793, 4.39438772, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
550 | Anchored = true, | |
551 | CanCollide = false, | |
552 | BottomSurface = Enum.SurfaceType.Smooth, | |
553 | TopSurface = Enum.SurfaceType.Smooth, | |
554 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
555 | }) | |
556 | Part = New("Part", Model, "Part", { | |
557 | Material = Enum.Material.SmoothPlastic, | |
558 | FormFactor = Enum.FormFactor.Custom, | |
559 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
560 | CFrame = CFrame.new(-15.4412384, 2.74341011, -77.2649994, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
561 | Anchored = true, | |
562 | CanCollide = false, | |
563 | BottomSurface = Enum.SurfaceType.Smooth, | |
564 | TopSurface = Enum.SurfaceType.Smooth | |
565 | }) | |
566 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
567 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
568 | }) | |
569 | Part = New("Part", Model, "Part", { | |
570 | Material = Enum.Material.SmoothPlastic, | |
571 | FormFactor = Enum.FormFactor.Custom, | |
572 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
573 | CFrame = CFrame.new(-14.4698181, 2.70039511, -77.7830658, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
574 | Anchored = true, | |
575 | CanCollide = false, | |
576 | BottomSurface = Enum.SurfaceType.Smooth, | |
577 | TopSurface = Enum.SurfaceType.Smooth | |
578 | }) | |
579 | Mesh = New("BlockMesh", Part, "Mesh", { | |
580 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
581 | }) | |
582 | Part = New("Part", Model, "Part", { | |
583 | BrickColor = BrickColor.new("Really black"), | |
584 | Material = Enum.Material.SmoothPlastic, | |
585 | FormFactor = Enum.FormFactor.Custom, | |
586 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
587 | CFrame = CFrame.new(-15.3137436, 2.54138398, -78.0972214, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
588 | Anchored = true, | |
589 | CanCollide = false, | |
590 | BottomSurface = Enum.SurfaceType.Smooth, | |
591 | TopSurface = Enum.SurfaceType.Smooth, | |
592 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
593 | }) | |
594 | Mesh = New("BlockMesh", Part, "Mesh", { | |
595 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
596 | }) | |
597 | Part = New("Part", Model, "Part", { | |
598 | Material = Enum.Material.SmoothPlastic, | |
599 | FormFactor = Enum.FormFactor.Custom, | |
600 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
601 | CFrame = CFrame.new(-14.5614405, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
602 | Anchored = true, | |
603 | CanCollide = false, | |
604 | BottomSurface = Enum.SurfaceType.Smooth, | |
605 | TopSurface = Enum.SurfaceType.Smooth | |
606 | }) | |
607 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
608 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
609 | }) | |
610 | Part = New("Part", Model, "Part", { | |
611 | BrickColor = BrickColor.new("Really black"), | |
612 | Material = Enum.Material.SmoothPlastic, | |
613 | FormFactor = Enum.FormFactor.Custom, | |
614 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
615 | CFrame = CFrame.new(-14.7046661, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
616 | Anchored = true, | |
617 | CanCollide = false, | |
618 | BottomSurface = Enum.SurfaceType.Smooth, | |
619 | TopSurface = Enum.SurfaceType.Smooth, | |
620 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
621 | }) | |
622 | Mesh = New("BlockMesh", Part, "Mesh", { | |
623 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
624 | }) | |
625 | Part = New("Part", Model, "Part", { | |
626 | Material = Enum.Material.SmoothPlastic, | |
627 | FormFactor = Enum.FormFactor.Custom, | |
628 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
629 | CFrame = CFrame.new(-14.4698181, 2.70039511, -77.4798431, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
630 | Anchored = true, | |
631 | CanCollide = false, | |
632 | BottomSurface = Enum.SurfaceType.Smooth, | |
633 | TopSurface = Enum.SurfaceType.Smooth | |
634 | }) | |
635 | Mesh = New("BlockMesh", Part, "Mesh", { | |
636 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
637 | }) | |
638 | Part = New("Part", Model, "Part", { | |
639 | BrickColor = maincolor, | |
640 | Material = Enum.Material.Neon, | |
641 | FormFactor = Enum.FormFactor.Custom, | |
642 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
643 | CFrame = CFrame.new(-14.7122498, 2.32805109, -78.1807938, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
644 | Anchored = true, | |
645 | CanCollide = false, | |
646 | BottomSurface = Enum.SurfaceType.Smooth, | |
647 | TopSurface = Enum.SurfaceType.Smooth, | |
648 | Color = Color3.new(1, 0, 0) | |
649 | }) | |
650 | Mesh = New("BlockMesh", Part, "Mesh", { | |
651 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
652 | }) | |
653 | Part = New("Part", Model, "Part", { | |
654 | BrickColor = maincolor, | |
655 | Material = Enum.Material.Neon, | |
656 | FormFactor = Enum.FormFactor.Custom, | |
657 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
658 | CFrame = CFrame.new(-14.7046738, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
659 | Anchored = true, | |
660 | CanCollide = false, | |
661 | BottomSurface = Enum.SurfaceType.Smooth, | |
662 | TopSurface = Enum.SurfaceType.Smooth, | |
663 | Color = Color3.new(1, 0, 0) | |
664 | }) | |
665 | Mesh = New("BlockMesh", Part, "Mesh", { | |
666 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
667 | }) | |
668 | Part = New("Part", Model, "Part", { | |
669 | Material = Enum.Material.SmoothPlastic, | |
670 | FormFactor = Enum.FormFactor.Custom, | |
671 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
672 | CFrame = CFrame.new(-14.3411398, 2.74341011, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
673 | Anchored = true, | |
674 | CanCollide = false, | |
675 | BottomSurface = Enum.SurfaceType.Smooth, | |
676 | TopSurface = Enum.SurfaceType.Smooth | |
677 | }) | |
678 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
679 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
680 | }) | |
681 | Part = New("Part", Model, "Part", { | |
682 | BrickColor = maincolor, | |
683 | Material = Enum.Material.Neon, | |
684 | FormFactor = Enum.FormFactor.Custom, | |
685 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
686 | CFrame = CFrame.new(-14.4229956, 2.56596589, -78.3108215, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
687 | Anchored = true, | |
688 | CanCollide = false, | |
689 | BottomSurface = Enum.SurfaceType.Smooth, | |
690 | TopSurface = Enum.SurfaceType.Smooth, | |
691 | Color = Color3.new(1, 0, 0) | |
692 | }) | |
693 | Mesh = New("BlockMesh", Part, "Mesh", { | |
694 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
695 | }) | |
696 | Part = New("Part", Model, "Part", { | |
697 | BrickColor = BrickColor.new("Mid gray"), | |
698 | Material = Enum.Material.SmoothPlastic, | |
699 | FormFactor = Enum.FormFactor.Custom, | |
700 | Size = Vector3.new(0.239707053, 0.356012672, 0.327865243), | |
701 | CFrame = CFrame.new(-15.3217621, 2.53892994, -77.7649002, -2.80526753E-21, -3.37120127E-7, -0.99999994, 2.89002344E-7, 1, -3.37120156E-7, 0.99999994, -2.89002372E-7, 2.87535776E-21), | |
702 | Anchored = true, | |
703 | CanCollide = false, | |
704 | BottomSurface = Enum.SurfaceType.Smooth, | |
705 | TopSurface = Enum.SurfaceType.Smooth, | |
706 | Color = Color3.new(0.803922, 0.803922, 0.803922) | |
707 | }) | |
708 | Part = New("Part", Model, "Part", { | |
709 | Material = Enum.Material.SmoothPlastic, | |
710 | FormFactor = Enum.FormFactor.Custom, | |
711 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
712 | CFrame = CFrame.new(-14.3411398, 2.41636896, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
713 | Anchored = true, | |
714 | CanCollide = false, | |
715 | BottomSurface = Enum.SurfaceType.Smooth, | |
716 | TopSurface = Enum.SurfaceType.Smooth | |
717 | }) | |
718 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
719 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
720 | }) | |
721 | Part = New("Part", Model, "Part", { | |
722 | BrickColor = BrickColor.new("Really black"), | |
723 | Material = Enum.Material.SmoothPlastic, | |
724 | FormFactor = Enum.FormFactor.Custom, | |
725 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
726 | CFrame = CFrame.new(-14.4749603, 2.54138398, -77.4805908, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
727 | Anchored = true, | |
728 | CanCollide = false, | |
729 | BottomSurface = Enum.SurfaceType.Smooth, | |
730 | TopSurface = Enum.SurfaceType.Smooth, | |
731 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
732 | }) | |
733 | Mesh = New("BlockMesh", Part, "Mesh", { | |
734 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
735 | }) | |
736 | Part = New("Part", Model, "Part", { | |
737 | Material = Enum.Material.SmoothPlastic, | |
738 | FormFactor = Enum.FormFactor.Custom, | |
739 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
740 | CFrame = CFrame.new(-14.3333502, 2.74341011, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
741 | Anchored = true, | |
742 | CanCollide = false, | |
743 | BottomSurface = Enum.SurfaceType.Smooth, | |
744 | TopSurface = Enum.SurfaceType.Smooth | |
745 | }) | |
746 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
747 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
748 | }) | |
749 | Part = New("Part", Model, "Part", { | |
750 | BrickColor = maincolor, | |
751 | Material = Enum.Material.Neon, | |
752 | FormFactor = Enum.FormFactor.Custom, | |
753 | Size = Vector3.new(0.150000006, 0.1199999, 0.339999944), | |
754 | CFrame = CFrame.new(-15.584116, 4.23808193, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0), | |
755 | Anchored = true, | |
756 | CanCollide = false, | |
757 | BottomSurface = Enum.SurfaceType.Smooth, | |
758 | TopSurface = Enum.SurfaceType.Smooth, | |
759 | Color = Color3.new(1, 0, 0) | |
760 | }) | |
761 | Part = New("Part", Model, "Part", { | |
762 | BrickColor = BrickColor.new("Dark stone grey"), | |
763 | Material = Enum.Material.SmoothPlastic, | |
764 | FormFactor = Enum.FormFactor.Custom, | |
765 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
766 | CFrame = CFrame.new(-14.3411398, 2.59506392, -78.2349701, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
767 | Anchored = true, | |
768 | CanCollide = false, | |
769 | BottomSurface = Enum.SurfaceType.Smooth, | |
770 | TopSurface = Enum.SurfaceType.Smooth, | |
771 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
772 | }) | |
773 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
774 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
775 | }) | |
776 | Part = New("Part", Model, "Part", { | |
777 | BrickColor = BrickColor.new("Dark stone grey"), | |
778 | Material = Enum.Material.SmoothPlastic, | |
779 | FormFactor = Enum.FormFactor.Custom, | |
780 | Size = Vector3.new(1.08000004, 0.149999961, 0.100000046), | |
781 | CFrame = CFrame.new(-15.0022106, 3.1973877, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
782 | Anchored = true, | |
783 | CanCollide = false, | |
784 | BottomSurface = Enum.SurfaceType.Smooth, | |
785 | TopSurface = Enum.SurfaceType.Smooth, | |
786 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
787 | }) | |
788 | Part = New("Part", Model, "Part", { | |
789 | BrickColor = BrickColor.new("Dark stone grey"), | |
790 | Material = Enum.Material.SmoothPlastic, | |
791 | FormFactor = Enum.FormFactor.Custom, | |
792 | Size = Vector3.new(1.08000004, 0.349999964, 0.100000046), | |
793 | CFrame = CFrame.new(-14.8763285, 3.00079513, -77.7635345, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
794 | Anchored = true, | |
795 | CanCollide = false, | |
796 | BottomSurface = Enum.SurfaceType.Smooth, | |
797 | TopSurface = Enum.SurfaceType.Smooth, | |
798 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
799 | }) | |
800 | Part = New("Part", Model, "Part", { | |
801 | Material = Enum.Material.SmoothPlastic, | |
802 | FormFactor = Enum.FormFactor.Custom, | |
803 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
804 | CFrame = CFrame.new(-15.318634, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
805 | Anchored = true, | |
806 | CanCollide = false, | |
807 | BottomSurface = Enum.SurfaceType.Smooth, | |
808 | TopSurface = Enum.SurfaceType.Smooth | |
809 | }) | |
810 | Mesh = New("BlockMesh", Part, "Mesh", { | |
811 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
812 | }) | |
813 | Part = New("Part", Model, "Part", { | |
814 | BrickColor = BrickColor.new("Dark stone grey"), | |
815 | Material = Enum.Material.SmoothPlastic, | |
816 | FormFactor = Enum.FormFactor.Custom, | |
817 | Size = Vector3.new(1.08000004, 0.0500000007, 0.300000042), | |
818 | CFrame = CFrame.new(-15.0964251, 3.27579474, -77.7635422, -2.18556995E-8, -0.500000119, 0.86602515, -3.78551661E-8, -0.866025269, -0.50000006, 0.99999994, -4.37113847E-8, 0), | |
819 | Anchored = true, | |
820 | CanCollide = false, | |
821 | BottomSurface = Enum.SurfaceType.Smooth, | |
822 | TopSurface = Enum.SurfaceType.Smooth, | |
823 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
824 | }) | |
825 | Part = New("Part", Model, "Part", { | |
826 | BrickColor = BrickColor.new("Lily white"), | |
827 | Material = Enum.Material.SmoothPlastic, | |
828 | FormFactor = Enum.FormFactor.Custom, | |
829 | Size = Vector3.new(1.10000002, 0.169999897, 0.339999944), | |
830 | CFrame = CFrame.new(-15.5664377, 4.16182661, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0), | |
831 | Anchored = true, | |
832 | CanCollide = false, | |
833 | BottomSurface = Enum.SurfaceType.Smooth, | |
834 | TopSurface = Enum.SurfaceType.Smooth, | |
835 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
836 | }) | |
837 | Part = New("Part", Model, "Part", { | |
838 | BrickColor = BrickColor.new("Lily white"), | |
839 | Material = Enum.Material.SmoothPlastic, | |
840 | FormFactor = Enum.FormFactor.Custom, | |
841 | Size = Vector3.new(1.10000002, 0.349999905, 0.100000009), | |
842 | CFrame = CFrame.new(-15.3763304, 3.00079513, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
843 | Anchored = true, | |
844 | CanCollide = false, | |
845 | BottomSurface = Enum.SurfaceType.Smooth, | |
846 | TopSurface = Enum.SurfaceType.Smooth, | |
847 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
848 | }) | |
849 | Part = New("Part", Model, "Part", { | |
850 | BrickColor = BrickColor.new("Lily white"), | |
851 | Material = Enum.Material.SmoothPlastic, | |
852 | FormFactor = Enum.FormFactor.Custom, | |
853 | Size = Vector3.new(1.10000002, 0.200000063, 1.10000002), | |
854 | CFrame = CFrame.new(-14.8763256, 2.37579489, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
855 | Anchored = true, | |
856 | CanCollide = false, | |
857 | BottomSurface = Enum.SurfaceType.Smooth, | |
858 | TopSurface = Enum.SurfaceType.Smooth, | |
859 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
860 | }) | |
861 | Part = New("Part", Model, "Part", { | |
862 | Material = Enum.Material.SmoothPlastic, | |
863 | FormFactor = Enum.FormFactor.Custom, | |
864 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
865 | CFrame = CFrame.new(-14.4698181, 2.42498994, -78.0765381, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
866 | Anchored = true, | |
867 | CanCollide = false, | |
868 | BottomSurface = Enum.SurfaceType.Smooth, | |
869 | TopSurface = Enum.SurfaceType.Smooth | |
870 | }) | |
871 | Mesh = New("BlockMesh", Part, "Mesh", { | |
872 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
873 | }) | |
874 | Part = New("Part", Model, "Part", { | |
875 | BrickColor = BrickColor.new("Dark stone grey"), | |
876 | Material = Enum.Material.SmoothPlastic, | |
877 | FormFactor = Enum.FormFactor.Custom, | |
878 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
879 | CFrame = CFrame.new(-14.3333502, 2.59506392, -77.6300049, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
880 | Anchored = true, | |
881 | CanCollide = false, | |
882 | BottomSurface = Enum.SurfaceType.Smooth, | |
883 | TopSurface = Enum.SurfaceType.Smooth, | |
884 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
885 | }) | |
886 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
887 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
888 | }) | |
889 | Part = New("Part", Model, "Part", { | |
890 | Material = Enum.Material.SmoothPlastic, | |
891 | FormFactor = Enum.FormFactor.Custom, | |
892 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
893 | CFrame = CFrame.new(-14.3333502, 2.74341011, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
894 | Anchored = true, | |
895 | CanCollide = false, | |
896 | BottomSurface = Enum.SurfaceType.Smooth, | |
897 | TopSurface = Enum.SurfaceType.Smooth | |
898 | }) | |
899 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
900 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
901 | }) | |
902 | Part = New("Part", Model, "Part", { | |
903 | BrickColor = BrickColor.new("Lily white"), | |
904 | Material = Enum.Material.SmoothPlastic, | |
905 | FormFactor = Enum.FormFactor.Custom, | |
906 | Size = Vector3.new(1.10000002, 0.819999993, 0.170000002), | |
907 | CFrame = CFrame.new(-14.7231722, 3.88893676, -77.7635422, -1.13133209E-8, -0.258818597, 0.965925694, -4.22219593E-8, -0.965925813, -0.258818567, 0.99999994, -4.37113847E-8, 0), | |
908 | Anchored = true, | |
909 | CanCollide = false, | |
910 | BottomSurface = Enum.SurfaceType.Smooth, | |
911 | TopSurface = Enum.SurfaceType.Smooth, | |
912 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
913 | }) | |
914 | Part = New("Part", Model, "Part", { | |
915 | Material = Enum.Material.SmoothPlastic, | |
916 | FormFactor = Enum.FormFactor.Custom, | |
917 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
918 | CFrame = CFrame.new(-15.1691818, 2.41636896, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
919 | Anchored = true, | |
920 | CanCollide = false, | |
921 | BottomSurface = Enum.SurfaceType.Smooth, | |
922 | TopSurface = Enum.SurfaceType.Smooth | |
923 | }) | |
924 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
925 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
926 | }) | |
927 | Part = New("Part", Model, "Part", { | |
928 | Material = Enum.Material.SmoothPlastic, | |
929 | FormFactor = Enum.FormFactor.Custom, | |
930 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
931 | CFrame = CFrame.new(-15.4412384, 2.74341011, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
932 | Anchored = true, | |
933 | CanCollide = false, | |
934 | BottomSurface = Enum.SurfaceType.Smooth, | |
935 | TopSurface = Enum.SurfaceType.Smooth | |
936 | }) | |
937 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
938 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
939 | }) | |
940 | Part = New("Part", Model, "Part", { | |
941 | Material = Enum.Material.SmoothPlastic, | |
942 | FormFactor = Enum.FormFactor.Custom, | |
943 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
944 | CFrame = CFrame.new(-14.7036819, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
945 | Anchored = true, | |
946 | CanCollide = false, | |
947 | BottomSurface = Enum.SurfaceType.Smooth, | |
948 | TopSurface = Enum.SurfaceType.Smooth | |
949 | }) | |
950 | Mesh = New("BlockMesh", Part, "Mesh", { | |
951 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
952 | }) | |
953 | Part = New("Part", Model, "Part", { | |
954 | Material = Enum.Material.SmoothPlastic, | |
955 | FormFactor = Enum.FormFactor.Custom, | |
956 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
957 | CFrame = CFrame.new(-15.1691818, 2.74341011, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
958 | Anchored = true, | |
959 | CanCollide = false, | |
960 | BottomSurface = Enum.SurfaceType.Smooth, | |
961 | TopSurface = Enum.SurfaceType.Smooth | |
962 | }) | |
963 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
964 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
965 | }) | |
966 | Part = New("Part", Model, "Part", { | |
967 | BrickColor = maincolor, | |
968 | Material = Enum.Material.Neon, | |
969 | FormFactor = Enum.FormFactor.Custom, | |
970 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
971 | CFrame = CFrame.new(-14.3643541, 2.56596589, -78.0775299, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
972 | Anchored = true, | |
973 | CanCollide = false, | |
974 | BottomSurface = Enum.SurfaceType.Smooth, | |
975 | TopSurface = Enum.SurfaceType.Smooth, | |
976 | Color = Color3.new(1, 0, 0) | |
977 | }) | |
978 | Mesh = New("BlockMesh", Part, "Mesh", { | |
979 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
980 | }) | |
981 | Part = New("Part", Model, "Part", { | |
982 | Material = Enum.Material.SmoothPlastic, | |
983 | FormFactor = Enum.FormFactor.Custom, | |
984 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
985 | CFrame = CFrame.new(-15.0161581, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
986 | Anchored = true, | |
987 | CanCollide = false, | |
988 | BottomSurface = Enum.SurfaceType.Smooth, | |
989 | TopSurface = Enum.SurfaceType.Smooth | |
990 | }) | |
991 | Mesh = New("BlockMesh", Part, "Mesh", { | |
992 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
993 | }) | |
994 | Part = New("Part", Model, "Part", { | |
995 | BrickColor = BrickColor.new("Lily white"), | |
996 | Material = Enum.Material.SmoothPlastic, | |
997 | FormFactor = Enum.FormFactor.Custom, | |
998 | Size = Vector3.new(1.10000002, 0.479999989, 0.25999999), | |
999 | CFrame = CFrame.new(-14.8763304, 3.39079523, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0), | |
1000 | Anchored = true, | |
1001 | CanCollide = false, | |
1002 | BottomSurface = Enum.SurfaceType.Smooth, | |
1003 | TopSurface = Enum.SurfaceType.Smooth, | |
1004 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1005 | }) | |
1006 | Part = New("Part", Model, "Part", { | |
1007 | BrickColor = BrickColor.new("Dark stone grey"), | |
1008 | Material = Enum.Material.SmoothPlastic, | |
1009 | FormFactor = Enum.FormFactor.Custom, | |
1010 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1011 | CFrame = CFrame.new(-14.8513403, 2.59506392, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1012 | Anchored = true, | |
1013 | CanCollide = false, | |
1014 | BottomSurface = Enum.SurfaceType.Smooth, | |
1015 | TopSurface = Enum.SurfaceType.Smooth, | |
1016 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1017 | }) | |
1018 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1019 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1020 | }) | |
1021 | Part = New("Part", Model, "Part", { | |
1022 | BrickColor = BrickColor.new("Lily white"), | |
1023 | Material = Enum.Material.SmoothPlastic, | |
1024 | FormFactor = Enum.FormFactor.Custom, | |
1025 | Size = Vector3.new(1.10000002, 0.199999884, 1.30000007), | |
1026 | CFrame = CFrame.new(-15.0405703, 4.20417261, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1027 | Anchored = true, | |
1028 | CanCollide = false, | |
1029 | BottomSurface = Enum.SurfaceType.Smooth, | |
1030 | TopSurface = Enum.SurfaceType.Smooth, | |
1031 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1032 | }) | |
1033 | Part = New("Part", Model, "Part", { | |
1034 | BrickColor = BrickColor.new("Really black"), | |
1035 | Material = Enum.Material.SmoothPlastic, | |
1036 | FormFactor = Enum.FormFactor.Custom, | |
1037 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1038 | CFrame = CFrame.new(-15.0171423, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1039 | Anchored = true, | |
1040 | CanCollide = false, | |
1041 | BottomSurface = Enum.SurfaceType.Smooth, | |
1042 | TopSurface = Enum.SurfaceType.Smooth, | |
1043 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1044 | }) | |
1045 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1046 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1047 | }) | |
1048 | Part = New("Part", Model, "Part", { | |
1049 | Material = Enum.Material.SmoothPlastic, | |
1050 | FormFactor = Enum.FormFactor.Custom, | |
1051 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1052 | CFrame = CFrame.new(-15.4412384, 2.41636896, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1053 | Anchored = true, | |
1054 | CanCollide = false, | |
1055 | BottomSurface = Enum.SurfaceType.Smooth, | |
1056 | TopSurface = Enum.SurfaceType.Smooth | |
1057 | }) | |
1058 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1059 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1060 | }) | |
1061 | Part = New("Part", Model, "Part", { | |
1062 | Material = Enum.Material.SmoothPlastic, | |
1063 | FormFactor = Enum.FormFactor.Custom, | |
1064 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1065 | CFrame = CFrame.new(-14.5560598, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1066 | Anchored = true, | |
1067 | CanCollide = false, | |
1068 | BottomSurface = Enum.SurfaceType.Smooth, | |
1069 | TopSurface = Enum.SurfaceType.Smooth | |
1070 | }) | |
1071 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1072 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1073 | }) | |
1074 | Part = New("Part", Model, "Part", { | |
1075 | BrickColor = BrickColor.new("Dark stone grey"), | |
1076 | Material = Enum.Material.SmoothPlastic, | |
1077 | FormFactor = Enum.FormFactor.Custom, | |
1078 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1079 | CFrame = CFrame.new(-15.4412384, 2.59506392, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1080 | Anchored = true, | |
1081 | CanCollide = false, | |
1082 | BottomSurface = Enum.SurfaceType.Smooth, | |
1083 | TopSurface = Enum.SurfaceType.Smooth, | |
1084 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1085 | }) | |
1086 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1087 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1088 | }) | |
1089 | Part = New("Part", Model, "Part", { | |
1090 | BrickColor = BrickColor.new("Lily white"), | |
1091 | Material = Enum.Material.SmoothPlastic, | |
1092 | FormFactor = Enum.FormFactor.Custom, | |
1093 | Size = Vector3.new(0.25, 0.449999988, 0.300000012), | |
1094 | CFrame = CFrame.new(-15.3963308, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1095 | Anchored = true, | |
1096 | CanCollide = false, | |
1097 | BottomSurface = Enum.SurfaceType.Smooth, | |
1098 | TopSurface = Enum.SurfaceType.Smooth, | |
1099 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1100 | }) | |
1101 | Part = New("Part", Model, "Part", { | |
1102 | Material = Enum.Material.SmoothPlastic, | |
1103 | FormFactor = Enum.FormFactor.Custom, | |
1104 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1105 | CFrame = CFrame.new(-14.7090759, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1106 | Anchored = true, | |
1107 | CanCollide = false, | |
1108 | BottomSurface = Enum.SurfaceType.Smooth, | |
1109 | TopSurface = Enum.SurfaceType.Smooth | |
1110 | }) | |
1111 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1112 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1113 | }) | |
1114 | Part = New("Part", Model, "Part", { | |
1115 | Material = Enum.Material.SmoothPlastic, | |
1116 | FormFactor = Enum.FormFactor.Custom, | |
1117 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1118 | CFrame = CFrame.new(-14.5560598, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1119 | Anchored = true, | |
1120 | CanCollide = false, | |
1121 | BottomSurface = Enum.SurfaceType.Smooth, | |
1122 | TopSurface = Enum.SurfaceType.Smooth | |
1123 | }) | |
1124 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1125 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1126 | }) | |
1127 | Part = New("Part", Model, "Part", { | |
1128 | Material = Enum.Material.SmoothPlastic, | |
1129 | FormFactor = Enum.FormFactor.Custom, | |
1130 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1131 | CFrame = CFrame.new(-15.4412384, 2.74341011, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1132 | Anchored = true, | |
1133 | CanCollide = false, | |
1134 | BottomSurface = Enum.SurfaceType.Smooth, | |
1135 | TopSurface = Enum.SurfaceType.Smooth | |
1136 | }) | |
1137 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1138 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1139 | }) | |
1140 | Part = New("Part", Model, "Part", { | |
1141 | Material = Enum.Material.SmoothPlastic, | |
1142 | FormFactor = Enum.FormFactor.Custom, | |
1143 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1144 | CFrame = CFrame.new(-14.4219961, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1145 | Anchored = true, | |
1146 | CanCollide = false, | |
1147 | BottomSurface = Enum.SurfaceType.Smooth, | |
1148 | TopSurface = Enum.SurfaceType.Smooth | |
1149 | }) | |
1150 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1151 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1152 | }) | |
1153 | Part = New("Part", Model, "Part", { | |
1154 | BrickColor = BrickColor.new("Lily white"), | |
1155 | Material = Enum.Material.SmoothPlastic, | |
1156 | FormFactor = Enum.FormFactor.Custom, | |
1157 | Size = Vector3.new(0.100000001, 0.169999897, 0.389999956), | |
1158 | CFrame = CFrame.new(-15.584115, 4.24414873, -77.7635422, 3.09086161E-8, 0.707106709, 0.70710665, -3.09086161E-8, -0.707106709, 0.70710665, 0.99999994, -4.37113847E-8, 0), | |
1159 | Anchored = true, | |
1160 | CanCollide = false, | |
1161 | BottomSurface = Enum.SurfaceType.Smooth, | |
1162 | TopSurface = Enum.SurfaceType.Smooth, | |
1163 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1164 | }) | |
1165 | Part = New("Part", Model, "Part", { | |
1166 | BrickColor = maincolor, | |
1167 | Material = Enum.Material.Neon, | |
1168 | FormFactor = Enum.FormFactor.Custom, | |
1169 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1170 | CFrame = CFrame.new(-15.4316874, 2.58891606, -77.7711258, 0, 0, -0.99999994, 0, 1, 0, 0.99999994, 0, 0), | |
1171 | Anchored = true, | |
1172 | CanCollide = false, | |
1173 | BottomSurface = Enum.SurfaceType.Smooth, | |
1174 | TopSurface = Enum.SurfaceType.Smooth, | |
1175 | Color = Color3.new(1, 0, 0) | |
1176 | }) | |
1177 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1178 | Scale = Vector3.new(0.194377586, 0.630986929, 0.435548395) | |
1179 | }) | |
1180 | Part = New("Part", Model, "Part", { | |
1181 | Material = Enum.Material.SmoothPlastic, | |
1182 | FormFactor = Enum.FormFactor.Custom, | |
1183 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1184 | CFrame = CFrame.new(-15.0143118, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1185 | Anchored = true, | |
1186 | CanCollide = false, | |
1187 | BottomSurface = Enum.SurfaceType.Smooth, | |
1188 | TopSurface = Enum.SurfaceType.Smooth | |
1189 | }) | |
1190 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1191 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1192 | }) | |
1193 | Part = New("Part", Model, "Part", { | |
1194 | Material = Enum.Material.SmoothPlastic, | |
1195 | FormFactor = Enum.FormFactor.Custom, | |
1196 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1197 | CFrame = CFrame.new(-14.4698181, 2.42498994, -77.7830658, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1198 | Anchored = true, | |
1199 | CanCollide = false, | |
1200 | BottomSurface = Enum.SurfaceType.Smooth, | |
1201 | TopSurface = Enum.SurfaceType.Smooth | |
1202 | }) | |
1203 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1204 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1205 | }) | |
1206 | Part = New("Part", Model, "Part", { | |
1207 | Material = Enum.Material.SmoothPlastic, | |
1208 | FormFactor = Enum.FormFactor.Custom, | |
1209 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1210 | CFrame = CFrame.new(-15.3188915, 2.42498994, -77.4261551, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1211 | Anchored = true, | |
1212 | CanCollide = false, | |
1213 | BottomSurface = Enum.SurfaceType.Smooth, | |
1214 | TopSurface = Enum.SurfaceType.Smooth | |
1215 | }) | |
1216 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1217 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1218 | }) | |
1219 | Part = New("Part", Model, "Part", { | |
1220 | Material = Enum.Material.SmoothPlastic, | |
1221 | FormFactor = Enum.FormFactor.Custom, | |
1222 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1223 | CFrame = CFrame.new(-15.4412384, 2.41636896, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1224 | Anchored = true, | |
1225 | CanCollide = false, | |
1226 | BottomSurface = Enum.SurfaceType.Smooth, | |
1227 | TopSurface = Enum.SurfaceType.Smooth | |
1228 | }) | |
1229 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1230 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1231 | }) | |
1232 | Part = New("Part", Model, "Part", { | |
1233 | Material = Enum.Material.SmoothPlastic, | |
1234 | FormFactor = Enum.FormFactor.Custom, | |
1235 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1236 | CFrame = CFrame.new(-14.4698181, 2.42498994, -77.4798431, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1237 | Anchored = true, | |
1238 | CanCollide = false, | |
1239 | BottomSurface = Enum.SurfaceType.Smooth, | |
1240 | TopSurface = Enum.SurfaceType.Smooth | |
1241 | }) | |
1242 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1243 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1244 | }) | |
1245 | Part = New("Part", Model, "Part", { | |
1246 | BrickColor = maincolor, | |
1247 | Material = Enum.Material.Neon, | |
1248 | FormFactor = Enum.FormFactor.Custom, | |
1249 | Size = Vector3.new(0.150000006, 0.209999889, 0.99999994), | |
1250 | CFrame = CFrame.new(-14.9994497, 4.42768335, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1251 | Anchored = true, | |
1252 | CanCollide = false, | |
1253 | BottomSurface = Enum.SurfaceType.Smooth, | |
1254 | TopSurface = Enum.SurfaceType.Smooth, | |
1255 | Color = Color3.new(1, 0, 0) | |
1256 | }) | |
1257 | Part = New("Part", Model, "Part", { | |
1258 | BrickColor = BrickColor.new("Lily white"), | |
1259 | Material = Enum.Material.SmoothPlastic, | |
1260 | FormFactor = Enum.FormFactor.Custom, | |
1261 | Size = Vector3.new(1.10000002, 0.100000009, 1.10000002), | |
1262 | CFrame = CFrame.new(-14.8763256, 2.77579546, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1263 | Anchored = true, | |
1264 | CanCollide = false, | |
1265 | BottomSurface = Enum.SurfaceType.Smooth, | |
1266 | TopSurface = Enum.SurfaceType.Smooth, | |
1267 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1268 | }) | |
1269 | Part = New("Part", Model, "Part", { | |
1270 | BrickColor = BrickColor.new("Dark stone grey"), | |
1271 | Material = Enum.Material.SmoothPlastic, | |
1272 | FormFactor = Enum.FormFactor.Custom, | |
1273 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1274 | CFrame = CFrame.new(-14.3547363, 2.59506392, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1275 | Anchored = true, | |
1276 | CanCollide = false, | |
1277 | BottomSurface = Enum.SurfaceType.Smooth, | |
1278 | TopSurface = Enum.SurfaceType.Smooth, | |
1279 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1280 | }) | |
1281 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1282 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1283 | }) | |
1284 | Part = New("Part", Model, "Part", { | |
1285 | BrickColor = BrickColor.new("Lily white"), | |
1286 | Material = Enum.Material.SmoothPlastic, | |
1287 | FormFactor = Enum.FormFactor.Custom, | |
1288 | Size = Vector3.new(0.100000001, 0.159999892, 1.00999999), | |
1289 | CFrame = CFrame.new(-14.9978085, 4.49309349, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1290 | Anchored = true, | |
1291 | CanCollide = false, | |
1292 | BottomSurface = Enum.SurfaceType.Smooth, | |
1293 | TopSurface = Enum.SurfaceType.Smooth, | |
1294 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1295 | }) | |
1296 | Part = New("Part", Model, "Part", { | |
1297 | BrickColor = maincolor, | |
1298 | Material = Enum.Material.Neon, | |
1299 | FormFactor = Enum.FormFactor.Custom, | |
1300 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1301 | CFrame = CFrame.new(-14.7080917, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1302 | Anchored = true, | |
1303 | CanCollide = false, | |
1304 | BottomSurface = Enum.SurfaceType.Smooth, | |
1305 | TopSurface = Enum.SurfaceType.Smooth, | |
1306 | Color = Color3.new(1, 0, 0) | |
1307 | }) | |
1308 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1309 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
1310 | }) | |
1311 | Part = New("Part", Model, "Part", { | |
1312 | BrickColor = BrickColor.new("Really black"), | |
1313 | Material = Enum.Material.SmoothPlastic, | |
1314 | FormFactor = Enum.FormFactor.Custom, | |
1315 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1316 | CFrame = CFrame.new(-15.3223877, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1317 | Anchored = true, | |
1318 | CanCollide = false, | |
1319 | BottomSurface = Enum.SurfaceType.Smooth, | |
1320 | TopSurface = Enum.SurfaceType.Smooth, | |
1321 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1322 | }) | |
1323 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1324 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1325 | }) | |
1326 | SwHandle = New("Part", Model, "Handle", { | |
1327 | BrickColor = BrickColor.new("Really black"), | |
1328 | Material = Enum.Material.SmoothPlastic, | |
1329 | FormFactor = Enum.FormFactor.Custom, | |
1330 | Size = Vector3.new(1.04999995, 2.04999995, 1.04999995), | |
1331 | CFrame = CFrame.new(-14.8763285, 3.25079489, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1332 | Anchored = true, | |
1333 | CanCollide = false, | |
1334 | BottomSurface = Enum.SurfaceType.Smooth, | |
1335 | TopSurface = Enum.SurfaceType.Smooth, | |
1336 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1337 | }) | |
1338 | Part = New("Part", Model, "Part", { | |
1339 | BrickColor = BrickColor.new("Dark stone grey"), | |
1340 | Material = Enum.Material.SmoothPlastic, | |
1341 | FormFactor = Enum.FormFactor.Custom, | |
1342 | Size = Vector3.new(1.08000004, 0.549999952, 0.300000042), | |
1343 | CFrame = CFrame.new(-14.8763285, 3.40079522, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1344 | Anchored = true, | |
1345 | CanCollide = false, | |
1346 | BottomSurface = Enum.SurfaceType.Smooth, | |
1347 | TopSurface = Enum.SurfaceType.Smooth, | |
1348 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1349 | }) | |
1350 | Part = New("Part", Model, "Part", { | |
1351 | BrickColor = BrickColor.new("Dark stone grey"), | |
1352 | Material = Enum.Material.SmoothPlastic, | |
1353 | FormFactor = Enum.FormFactor.Custom, | |
1354 | Size = Vector3.new(1.08000004, 0.25, 0.800000012), | |
1355 | CFrame = CFrame.new(-15.0897255, 3.78739715, -77.7635422, -2.18556995E-8, -0.500000119, 0.86602515, -3.78551661E-8, -0.866025269, -0.50000006, 0.99999994, -4.37113847E-8, 0), | |
1356 | Anchored = true, | |
1357 | CanCollide = false, | |
1358 | BottomSurface = Enum.SurfaceType.Smooth, | |
1359 | TopSurface = Enum.SurfaceType.Smooth, | |
1360 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1361 | }) | |
1362 | Part = New("Part", Model, "Part", { | |
1363 | Material = Enum.Material.SmoothPlastic, | |
1364 | FormFactor = Enum.FormFactor.Custom, | |
1365 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1366 | CFrame = CFrame.new(-14.7036819, 2.70039511, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1367 | Anchored = true, | |
1368 | CanCollide = false, | |
1369 | BottomSurface = Enum.SurfaceType.Smooth, | |
1370 | TopSurface = Enum.SurfaceType.Smooth | |
1371 | }) | |
1372 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1373 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1374 | }) | |
1375 | Part = New("Part", Model, "Part", { | |
1376 | BrickColor = BrickColor.new("Dark stone grey"), | |
1377 | Material = Enum.Material.SmoothPlastic, | |
1378 | FormFactor = Enum.FormFactor.Custom, | |
1379 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1380 | CFrame = CFrame.new(-14.8567038, 2.59506392, -78.3277054, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1381 | Anchored = true, | |
1382 | CanCollide = false, | |
1383 | BottomSurface = Enum.SurfaceType.Smooth, | |
1384 | TopSurface = Enum.SurfaceType.Smooth, | |
1385 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1386 | }) | |
1387 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1388 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1389 | }) | |
1390 | Part = New("Part", Model, "Part", { | |
1391 | BrickColor = BrickColor.new("Dark stone grey"), | |
1392 | Material = Enum.Material.SmoothPlastic, | |
1393 | FormFactor = Enum.FormFactor.Custom, | |
1394 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1395 | CFrame = CFrame.new(-14.3333502, 2.59506392, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1396 | Anchored = true, | |
1397 | CanCollide = false, | |
1398 | BottomSurface = Enum.SurfaceType.Smooth, | |
1399 | TopSurface = Enum.SurfaceType.Smooth, | |
1400 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1401 | }) | |
1402 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1403 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1404 | }) | |
1405 | Part = New("Part", Model, "Part", { | |
1406 | Material = Enum.Material.SmoothPlastic, | |
1407 | FormFactor = Enum.FormFactor.Custom, | |
1408 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1409 | CFrame = CFrame.new(-14.8513403, 2.74341011, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1410 | Anchored = true, | |
1411 | CanCollide = false, | |
1412 | BottomSurface = Enum.SurfaceType.Smooth, | |
1413 | TopSurface = Enum.SurfaceType.Smooth | |
1414 | }) | |
1415 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1416 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1417 | }) | |
1418 | Part = New("Part", Model, "Part", { | |
1419 | BrickColor = maincolor, | |
1420 | Material = Enum.Material.Neon, | |
1421 | FormFactor = Enum.FormFactor.Custom, | |
1422 | Size = Vector3.new(0.300000012, 0.5, 0.300000012), | |
1423 | CFrame = CFrame.new(-15.3863306, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1424 | Anchored = true, | |
1425 | CanCollide = false, | |
1426 | BottomSurface = Enum.SurfaceType.Smooth, | |
1427 | TopSurface = Enum.SurfaceType.Smooth, | |
1428 | Color = Color3.new(1, 0, 0) | |
1429 | }) | |
1430 | Part = New("Part", Model, "Part", { | |
1431 | BrickColor = BrickColor.new("Dark stone grey"), | |
1432 | Material = Enum.Material.SmoothPlastic, | |
1433 | FormFactor = Enum.FormFactor.Custom, | |
1434 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1435 | CFrame = CFrame.new(-15.4412384, 2.59506392, -77.5747604, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1436 | Anchored = true, | |
1437 | CanCollide = false, | |
1438 | BottomSurface = Enum.SurfaceType.Smooth, | |
1439 | TopSurface = Enum.SurfaceType.Smooth, | |
1440 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1441 | }) | |
1442 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1443 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1444 | }) | |
1445 | Part = New("Part", Model, "Part", { | |
1446 | Material = Enum.Material.SmoothPlastic, | |
1447 | FormFactor = Enum.FormFactor.Custom, | |
1448 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1449 | CFrame = CFrame.new(-14.3333502, 2.41636896, -77.9314957, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1450 | Anchored = true, | |
1451 | CanCollide = false, | |
1452 | BottomSurface = Enum.SurfaceType.Smooth, | |
1453 | TopSurface = Enum.SurfaceType.Smooth | |
1454 | }) | |
1455 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1456 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1457 | }) | |
1458 | Part = New("Part", Model, "Part", { | |
1459 | Material = Enum.Material.SmoothPlastic, | |
1460 | FormFactor = Enum.FormFactor.Custom, | |
1461 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1462 | CFrame = CFrame.new(-14.8513403, 2.41636896, -77.2193756, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1463 | Anchored = true, | |
1464 | CanCollide = false, | |
1465 | BottomSurface = Enum.SurfaceType.Smooth, | |
1466 | TopSurface = Enum.SurfaceType.Smooth | |
1467 | }) | |
1468 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1469 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1470 | }) | |
1471 | Part = New("Part", Model, "Part", { | |
1472 | BrickColor = BrickColor.new("Dark stone grey"), | |
1473 | Material = Enum.Material.SmoothPlastic, | |
1474 | FormFactor = Enum.FormFactor.Custom, | |
1475 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1476 | CFrame = CFrame.new(-15.4412384, 2.59506392, -78.2658386, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1477 | Anchored = true, | |
1478 | CanCollide = false, | |
1479 | BottomSurface = Enum.SurfaceType.Smooth, | |
1480 | TopSurface = Enum.SurfaceType.Smooth, | |
1481 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1482 | }) | |
1483 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1484 | Scale = Vector3.new(0.484865308, 0.798505366, 0.269369364) | |
1485 | }) | |
1486 | Part = New("Part", Model, "Part", { | |
1487 | BrickColor = maincolor, | |
1488 | Material = Enum.Material.Neon, | |
1489 | FormFactor = Enum.FormFactor.Custom, | |
1490 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1491 | CFrame = CFrame.new(-15.0133123, 2.56596589, -77.2362442, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1492 | Anchored = true, | |
1493 | CanCollide = false, | |
1494 | BottomSurface = Enum.SurfaceType.Smooth, | |
1495 | TopSurface = Enum.SurfaceType.Smooth, | |
1496 | Color = Color3.new(1, 0, 0) | |
1497 | }) | |
1498 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1499 | Scale = Vector3.new(0.172041759, 0.217774242, 0.435548395) | |
1500 | }) | |
1501 | Part = New("Part", Model, "Part", { | |
1502 | Material = Enum.Material.SmoothPlastic, | |
1503 | FormFactor = Enum.FormFactor.Custom, | |
1504 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1505 | CFrame = CFrame.new(-15.3188915, 2.70039511, -78.0982056, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1506 | Anchored = true, | |
1507 | CanCollide = false, | |
1508 | BottomSurface = Enum.SurfaceType.Smooth, | |
1509 | TopSurface = Enum.SurfaceType.Smooth | |
1510 | }) | |
1511 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1512 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1513 | }) | |
1514 | Part = New("Part", Model, "Part", { | |
1515 | BrickColor = BrickColor.new("Really black"), | |
1516 | Material = Enum.Material.SmoothPlastic, | |
1517 | FormFactor = Enum.FormFactor.Custom, | |
1518 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1519 | CFrame = CFrame.new(-14.4229803, 2.54138398, -78.2002182, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1520 | Anchored = true, | |
1521 | CanCollide = false, | |
1522 | BottomSurface = Enum.SurfaceType.Smooth, | |
1523 | TopSurface = Enum.SurfaceType.Smooth, | |
1524 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1525 | }) | |
1526 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1527 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1528 | }) | |
1529 | Part = New("Part", Model, "Part", { | |
1530 | Material = Enum.Material.SmoothPlastic, | |
1531 | FormFactor = Enum.FormFactor.Custom, | |
1532 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1533 | CFrame = CFrame.new(-14.4698181, 2.70039511, -78.0765381, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1534 | Anchored = true, | |
1535 | CanCollide = false, | |
1536 | BottomSurface = Enum.SurfaceType.Smooth, | |
1537 | TopSurface = Enum.SurfaceType.Smooth | |
1538 | }) | |
1539 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1540 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1541 | }) | |
1542 | Part = New("Part", Model, "Part", { | |
1543 | Material = Enum.Material.SmoothPlastic, | |
1544 | FormFactor = Enum.FormFactor.Custom, | |
1545 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1546 | CFrame = CFrame.new(-14.431016, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1547 | Anchored = true, | |
1548 | CanCollide = false, | |
1549 | BottomSurface = Enum.SurfaceType.Smooth, | |
1550 | TopSurface = Enum.SurfaceType.Smooth | |
1551 | }) | |
1552 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1553 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1554 | }) | |
1555 | Part = New("Part", Model, "Part", { | |
1556 | Material = Enum.Material.SmoothPlastic, | |
1557 | FormFactor = Enum.FormFactor.Custom, | |
1558 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1559 | CFrame = CFrame.new(-15.3213959, 2.42498994, -78.205368, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1560 | Anchored = true, | |
1561 | CanCollide = false, | |
1562 | BottomSurface = Enum.SurfaceType.Smooth, | |
1563 | TopSurface = Enum.SurfaceType.Smooth | |
1564 | }) | |
1565 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1566 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1567 | }) | |
1568 | Part = New("Part", Model, "Part", { | |
1569 | Material = Enum.Material.SmoothPlastic, | |
1570 | FormFactor = Enum.FormFactor.Custom, | |
1571 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1572 | CFrame = CFrame.new(-15.0143118, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1573 | Anchored = true, | |
1574 | CanCollide = false, | |
1575 | BottomSurface = Enum.SurfaceType.Smooth, | |
1576 | TopSurface = Enum.SurfaceType.Smooth | |
1577 | }) | |
1578 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1579 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1580 | }) | |
1581 | Part = New("Part", Model, "Part", { | |
1582 | Material = Enum.Material.SmoothPlastic, | |
1583 | FormFactor = Enum.FormFactor.Custom, | |
1584 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1585 | CFrame = CFrame.new(-15.4412384, 2.41636896, -77.9560776, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1586 | Anchored = true, | |
1587 | CanCollide = false, | |
1588 | BottomSurface = Enum.SurfaceType.Smooth, | |
1589 | TopSurface = Enum.SurfaceType.Smooth | |
1590 | }) | |
1591 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1592 | Scale = Vector3.new(0.484865308, 0.41879645, 0.269369364) | |
1593 | }) | |
1594 | Part = New("Part", Model, "Part", { | |
1595 | BrickColor = BrickColor.new("Lily white"), | |
1596 | Material = Enum.Material.SmoothPlastic, | |
1597 | FormFactor = Enum.FormFactor.Custom, | |
1598 | Size = Vector3.new(1.10000002, 0.379999995, 0.100000001), | |
1599 | CFrame = CFrame.new(-14.8763304, 3.34079528, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0), | |
1600 | Anchored = true, | |
1601 | CanCollide = false, | |
1602 | BottomSurface = Enum.SurfaceType.Smooth, | |
1603 | TopSurface = Enum.SurfaceType.Smooth, | |
1604 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1605 | }) | |
1606 | Part = New("Part", Model, "Part", { | |
1607 | Material = Enum.Material.SmoothPlastic, | |
1608 | FormFactor = Enum.FormFactor.Custom, | |
1609 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1610 | CFrame = CFrame.new(-14.431016, 2.42498994, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1611 | Anchored = true, | |
1612 | CanCollide = false, | |
1613 | BottomSurface = Enum.SurfaceType.Smooth, | |
1614 | TopSurface = Enum.SurfaceType.Smooth | |
1615 | }) | |
1616 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1617 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1618 | }) | |
1619 | Part = New("Part", Model, "Part", { | |
1620 | BrickColor = BrickColor.new("Dark stone grey"), | |
1621 | Material = Enum.Material.SmoothPlastic, | |
1622 | FormFactor = Enum.FormFactor.Custom, | |
1623 | Size = Vector3.new(1.08000004, 0.370000094, 0.099999994), | |
1624 | CFrame = CFrame.new(-15.1763277, 3.01079535, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1625 | Anchored = true, | |
1626 | CanCollide = false, | |
1627 | BottomSurface = Enum.SurfaceType.Smooth, | |
1628 | TopSurface = Enum.SurfaceType.Smooth, | |
1629 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1630 | }) | |
1631 | Part = New("Part", Model, "Part", { | |
1632 | BrickColor = BrickColor.new("Really black"), | |
1633 | Material = Enum.Material.SmoothPlastic, | |
1634 | FormFactor = Enum.FormFactor.Custom, | |
1635 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1636 | CFrame = CFrame.new(-14.4749603, 2.54138398, -78.0775299, 0, 0, 0.999999881, 0, 1, 0, -0.999999881, 0, 0), | |
1637 | Anchored = true, | |
1638 | CanCollide = false, | |
1639 | BottomSurface = Enum.SurfaceType.Smooth, | |
1640 | TopSurface = Enum.SurfaceType.Smooth, | |
1641 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1642 | }) | |
1643 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1644 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1645 | }) | |
1646 | Part = New("Part", Model, "Part", { | |
1647 | BrickColor = BrickColor.new("Really black"), | |
1648 | Material = Enum.Material.SmoothPlastic, | |
1649 | FormFactor = Enum.FormFactor.Custom, | |
1650 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1651 | CFrame = CFrame.new(-15.3176498, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1652 | Anchored = true, | |
1653 | CanCollide = false, | |
1654 | BottomSurface = Enum.SurfaceType.Smooth, | |
1655 | TopSurface = Enum.SurfaceType.Smooth, | |
1656 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1657 | }) | |
1658 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1659 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1660 | }) | |
1661 | Part = New("Part", Model, "Part", { | |
1662 | BrickColor = maincolor, | |
1663 | Material = Enum.Material.Neon, | |
1664 | FormFactor = Enum.FormFactor.Custom, | |
1665 | Size = Vector3.new(1.11000001, 0.300000012, 0.100000001), | |
1666 | CFrame = CFrame.new(-14.8763304, 3.39079523, -77.7635422, 8.8817842E-15, 2.08616257E-7, 0.999999762, -4.37113847E-8, -0.999999881, 2.08616257E-7, 0.99999994, -4.37113847E-8, 0), | |
1667 | Anchored = true, | |
1668 | CanCollide = false, | |
1669 | BottomSurface = Enum.SurfaceType.Smooth, | |
1670 | TopSurface = Enum.SurfaceType.Smooth, | |
1671 | Color = Color3.new(1, 0, 0) | |
1672 | }) | |
1673 | Part = New("Part", Model, "Part", { | |
1674 | Material = Enum.Material.SmoothPlastic, | |
1675 | FormFactor = Enum.FormFactor.Custom, | |
1676 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1677 | CFrame = CFrame.new(-14.7090759, 2.70039511, -77.3417206, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1678 | Anchored = true, | |
1679 | CanCollide = false, | |
1680 | BottomSurface = Enum.SurfaceType.Smooth, | |
1681 | TopSurface = Enum.SurfaceType.Smooth | |
1682 | }) | |
1683 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1684 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1685 | }) | |
1686 | Part = New("Part", Model, "Part", { | |
1687 | BrickColor = BrickColor.new("Lily white"), | |
1688 | Material = Enum.Material.SmoothPlastic, | |
1689 | FormFactor = Enum.FormFactor.Custom, | |
1690 | Size = Vector3.new(1.10000002, 0.849999905, 0.300000012), | |
1691 | CFrame = CFrame.new(-15.3763304, 3.55079508, -77.7635422, 1.13133387E-8, 0.258819014, 0.965925634, -4.22219557E-8, -0.965925753, 0.258818984, 0.99999994, -4.37113847E-8, 0), | |
1692 | Anchored = true, | |
1693 | CanCollide = false, | |
1694 | BottomSurface = Enum.SurfaceType.Smooth, | |
1695 | TopSurface = Enum.SurfaceType.Smooth, | |
1696 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1697 | }) | |
1698 | Part = New("Part", Model, "Part", { | |
1699 | Material = Enum.Material.SmoothPlastic, | |
1700 | FormFactor = Enum.FormFactor.Custom, | |
1701 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1702 | CFrame = CFrame.new(-15.3188915, 2.70039511, -77.4261551, 0, 0, -0.999999881, 0, 1, 0, 0.999999881, 0, 0), | |
1703 | Anchored = true, | |
1704 | CanCollide = false, | |
1705 | BottomSurface = Enum.SurfaceType.Smooth, | |
1706 | TopSurface = Enum.SurfaceType.Smooth | |
1707 | }) | |
1708 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1709 | Scale = Vector3.new(0.513724029, 0.558395326, 1) | |
1710 | }) | |
1711 | Part = New("Part", Model, "Part", { | |
1712 | BrickColor = BrickColor.new("Really black"), | |
1713 | Material = Enum.Material.SmoothPlastic, | |
1714 | FormFactor = Enum.FormFactor.Custom, | |
1715 | Size = Vector3.new(0.293578118, 0.293578744, 0.327865988), | |
1716 | CFrame = CFrame.new(-15.0133123, 2.54138398, -77.3468628, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881), | |
1717 | Anchored = true, | |
1718 | CanCollide = false, | |
1719 | BottomSurface = Enum.SurfaceType.Smooth, | |
1720 | TopSurface = Enum.SurfaceType.Smooth, | |
1721 | Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
1722 | }) | |
1723 | Mesh = New("BlockMesh", Part, "Mesh", { | |
1724 | Scale = Vector3.new(0.441132545, 0.558395326, 1) | |
1725 | }) | |
1726 | Part = New("Part", Model, "Part", { | |
1727 | Material = Enum.Material.SmoothPlastic, | |
1728 | FormFactor = Enum.FormFactor.Custom, | |
1729 | Size = Vector3.new(0.293578118, 0.293578744, 0.293578714), | |
1730 | CFrame = CFrame.new(-14.3547363, 2.74341011, -77.3155441, -0.999999881, 0, 0, 0, 1, 0, 0, 0, -0.999999881), | |
1731 | Anchored = true, | |
1732 | CanCollide = false, | |
1733 | BottomSurface = Enum.SurfaceType.Smooth, | |
1734 | TopSurface = Enum.SurfaceType.Smooth | |
1735 | }) | |
1736 | Mesh = New("CylinderMesh", Part, "Mesh", { | |
1737 | Scale = Vector3.new(0.484865308, 0.234526023, 0.269369364) | |
1738 | }) | |
1739 | Part = New("Part", Model, "Part", { | |
1740 | BrickColor = BrickColor.new("Lily white"), | |
1741 | Material = Enum.Material.SmoothPlastic, | |
1742 | FormFactor = Enum.FormFactor.Custom, | |
1743 | Size = Vector3.new(1.08000004, 0.0599999726, 1.08000004), | |
1744 | CFrame = CFrame.new(-14.8763285, 2.24579477, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1745 | Anchored = true, | |
1746 | CanCollide = false, | |
1747 | BottomSurface = Enum.SurfaceType.Smooth, | |
1748 | TopSurface = Enum.SurfaceType.Smooth, | |
1749 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1750 | }) | |
1751 | Part = New("Part", Model, "Part", { | |
1752 | BrickColor = BrickColor.new("Lily white"), | |
1753 | Material = Enum.Material.SmoothPlastic, | |
1754 | FormFactor = Enum.FormFactor.Custom, | |
1755 | Size = Vector3.new(0.0900000036, 0.459999859, 0.209999979), | |
1756 | CFrame = CFrame.new(-15.5471468, 4.27926397, -77.7635422, -2.1855703E-8, -0.500000179, 0.866025209, -3.7855159E-8, -0.866025209, -0.500000179, 0.99999994, -4.37113847E-8, 0), | |
1757 | Anchored = true, | |
1758 | CanCollide = false, | |
1759 | BottomSurface = Enum.SurfaceType.Smooth, | |
1760 | TopSurface = Enum.SurfaceType.Smooth, | |
1761 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1762 | }) | |
1763 | Part = New("Part", Model, "Part", { | |
1764 | BrickColor = BrickColor.new("Lily white"), | |
1765 | Material = Enum.Material.SmoothPlastic, | |
1766 | FormFactor = Enum.FormFactor.Custom, | |
1767 | Size = Vector3.new(0.899999976, 0.0599999987, 0.899999976), | |
1768 | CFrame = CFrame.new(-14.8763285, 2.22579479, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1769 | Anchored = true, | |
1770 | CanCollide = false, | |
1771 | BottomSurface = Enum.SurfaceType.Smooth, | |
1772 | TopSurface = Enum.SurfaceType.Smooth, | |
1773 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1774 | }) | |
1775 | Part = New("Part", Model, "Part", { | |
1776 | BrickColor = BrickColor.new("Lily white"), | |
1777 | Material = Enum.Material.SmoothPlastic, | |
1778 | FormFactor = Enum.FormFactor.Custom, | |
1779 | Size = Vector3.new(0.0900000036, 0.509999812, 0.209999979), | |
1780 | CFrame = CFrame.new(-15.29809, 4.35893965, -77.7635422, 4.22219522E-8, 0.965925694, 0.258818924, -1.13133378E-8, -0.258818924, 0.965925694, 0.99999994, -4.37113847E-8, 0), | |
1781 | Anchored = true, | |
1782 | CanCollide = false, | |
1783 | BottomSurface = Enum.SurfaceType.Smooth, | |
1784 | TopSurface = Enum.SurfaceType.Smooth, | |
1785 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1786 | }) | |
1787 | Part = New("Part", Model, "Part", { | |
1788 | BrickColor = BrickColor.new("Dark stone grey"), | |
1789 | Material = Enum.Material.SmoothPlastic, | |
1790 | FormFactor = Enum.FormFactor.Custom, | |
1791 | Size = Vector3.new(1, 0.0599999987, 1), | |
1792 | CFrame = CFrame.new(-14.8763285, 2.23579478, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1793 | Anchored = true, | |
1794 | CanCollide = false, | |
1795 | BottomSurface = Enum.SurfaceType.Smooth, | |
1796 | TopSurface = Enum.SurfaceType.Smooth, | |
1797 | Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1798 | }) | |
1799 | Part = New("Part", Model, "Part", { | |
1800 | BrickColor = BrickColor.new("Lily white"), | |
1801 | Material = Enum.Material.SmoothPlastic, | |
1802 | FormFactor = Enum.FormFactor.Custom, | |
1803 | Size = Vector3.new(0.0900000036, 0.259999871, 0.75999999), | |
1804 | CFrame = CFrame.new(-15.0625782, 4.56317425, -77.7635422, -2.18556693E-8, -0.499999553, -0.866025507, 3.78551803E-8, 0.866025507, -0.499999553, 0.99999994, -4.37113847E-8, 0), | |
1805 | Anchored = true, | |
1806 | CanCollide = false, | |
1807 | BottomSurface = Enum.SurfaceType.Smooth, | |
1808 | TopSurface = Enum.SurfaceType.Smooth, | |
1809 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1810 | }) | |
1811 | Part = New("Part", Model, "Part", { | |
1812 | BrickColor = maincolor, | |
1813 | Material = Enum.Material.Neon, | |
1814 | FormFactor = Enum.FormFactor.Custom, | |
1815 | Size = Vector3.new(0.949999988, 0.0700000003, 0.949999988), | |
1816 | CFrame = CFrame.new(-14.8763285, 2.23579478, -77.7635422, 0, 0, 0.999999821, -4.37113847E-8, -0.99999994, 0, 0.99999994, -4.37113847E-8, 0), | |
1817 | Anchored = true, | |
1818 | CanCollide = false, | |
1819 | BottomSurface = Enum.SurfaceType.Smooth, | |
1820 | TopSurface = Enum.SurfaceType.Smooth, | |
1821 | Color = Color3.new(1, 0, 0) | |
1822 | }) | |
1823 | Part = New("Part", Model, "Part", { | |
1824 | BrickColor = BrickColor.new("Lily white"), | |
1825 | Material = Enum.Material.SmoothPlastic, | |
1826 | FormFactor = Enum.FormFactor.Custom, | |
1827 | Size = Vector3.new(0.0900000036, 0.459999859, 0.209999979), | |
1828 | CFrame = CFrame.new(-14.627532, 4.49887943, -77.7635422, -1.42108547E-14, -2.38418579E-7, 0.999999881, -4.37113812E-8, -0.999999881, -2.38418579E-7, 0.99999994, -4.37113847E-8, 0), | |
1829 | Anchored = true, | |
1830 | CanCollide = false, | |
1831 | BottomSurface = Enum.SurfaceType.Smooth, | |
1832 | TopSurface = Enum.SurfaceType.Smooth, | |
1833 | Color = Color3.new(0.929412, 0.917647, 0.917647) | |
1834 | }) | |
1835 | maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor | |
1836 | ArmorColorParts = {} | |
1837 | NeonColorParts = {} | |
1838 | NeonColorParts2 = {} | |
1839 | Eye = New("Part", Character, "Eye", { | |
1840 | BrickColor = BrickColor.new("Really black"), | |
1841 | Size = Vector3.new(0.879999995, 0.699999976, 1.0999999), | |
1842 | CFrame = CFrame.new(48.0200577, 1.00104618, 0.0799999982, 0.99999994, -1.93715096E-7, 0, 1.93715096E-7, 0.99999994, 0, 0, 0, 1), | |
1843 | Anchored = false, | |
1844 | BottomSurface = Enum.SurfaceType.Smooth, | |
1845 | TopSurface = Enum.SurfaceType.Smooth | |
1846 | }) | |
1847 | Mesh = New("SpecialMesh", Eye, "Mesh", { | |
1848 | Scale = Vector3.new(1.29999995, 1.25, 1.29999995) | |
1849 | }) | |
1850 | test = -0.0200577000000024 | |
1851 | test2 = -0.001045229999999897 | |
1852 | print("" .. test) | |
1853 | test3 = 0.0499999968 | |
1854 | print("" .. test2) | |
1855 | print("" .. test3) | |
1856 | local all, last = {}, nil | |
1857 | function scan(p) | |
1858 | for _, v in pairs(p:GetChildren()) do | |
1859 | if v:IsA("BasePart") then | |
1860 | if v.BrickColor == BrickColor.new("Lily white") then | |
1861 | table.insert(ArmorColorParts, v) | |
1862 | end | |
1863 | if v.BrickColor == BrickColor.new("Really red") then | |
1864 | table.insert(NeonColorParts, v) | |
1865 | table.insert(NeonColorParts2, v) | |
1866 | end | |
1867 | if last then | |
1868 | local w = Instance.new("Weld") | |
1869 | w.Part0, w.Part1 = last, v | |
1870 | w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse() | |
1871 | w.Parent = last | |
1872 | end | |
1873 | table.insert(all, v) | |
1874 | last = v | |
1875 | end | |
1876 | scan(v) | |
1877 | end | |
1878 | end | |
1879 | scan(Model) | |
1880 | for _, v in pairs(all) do | |
1881 | v.Anchored = false | |
1882 | v.CanCollide = false | |
1883 | end | |
1884 | Model.Parent = Character | |
1885 | local eye1 = Instance.new("Part") | |
1886 | eye1.Parent = Character | |
1887 | eye1.Size = Vector3.new(0.2, 0.2, 0.2) | |
1888 | eye1.Archivable = true | |
1889 | eye1.Transparency = 0 | |
1890 | eye1.Shape = "Ball" | |
1891 | eye1.BrickColor = maincolor | |
1892 | eye1.Material = "Neon" | |
1893 | eye1.CanCollide = false | |
1894 | local mesh = Instance.new("SpecialMesh", eye1) | |
1895 | mesh.MeshType = "Sphere" | |
1896 | mesh.Scale = Vector3.new(1.2, 1.2, 1) | |
1897 | local weld1en = Instance.new("Weld") | |
1898 | weld1en.Parent = Character.Head | |
1899 | weld1en.Part0 = Character.Head | |
1900 | weld1en.Part1 = eye1 | |
1901 | weld1en.C1 = CFrame.new(-0.18, -0.16, 0.5175) | |
1902 | table.insert(NeonColorParts, eye1) | |
1903 | for i, v in pairs(NeonColorParts) do | |
1904 | v.BrickColor = maincolor | |
1905 | end | |
1906 | local Services = { | |
1907 | SoundService = game:GetService("SoundService"), | |
1908 | Players = game:GetService("Players"), | |
1909 | Debris = game:GetService("Debris"), | |
1910 | Workspace = game:GetService("Workspace"), | |
1911 | Lighting = game:GetService("Lighting"), | |
1912 | HttpService = game:GetService("HttpService"), | |
1913 | InsertService = game:GetService("InsertService") | |
1914 | } | |
1915 | local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
1916 | Humanoid.Animator:Destroy() | |
1917 | Character.Animate:Destroy() | |
1918 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
1919 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
1920 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
1921 | EyeW = Instance.new("Weld") | |
1922 | EyeW.Name = "EyeW" | |
1923 | EyeW.Parent = Head | |
1924 | EyeW.Part0 = Eye | |
1925 | EyeW.C1 = cn(-test, test2 + 0.145, -test3) | |
1926 | EyeW.Part1 = Head | |
1927 | SWW = Instance.new("Weld") | |
1928 | SWW.Name = "SWW" | |
1929 | SWW.Part0 = RightArm | |
1930 | SWW.C0 = cn(0, 0, 0) * angles(math.rad(180), math.rad(-90), math.rad(0)) | |
1931 | SWW.C1 = cn(0, 0, 0) | |
1932 | SWW.Part1 = SwHandle | |
1933 | SWW.Parent = RightArm | |
1934 | RSH, LSH = nil, nil | |
1935 | RW = Instance.new("Weld") | |
1936 | LW = Instance.new("Weld") | |
1937 | RH = Torso["Right Hip"] | |
1938 | LH = Torso["Left Hip"] | |
1939 | RSH = Torso["Right Shoulder"] | |
1940 | LSH = Torso["Left Shoulder"] | |
1941 | RSH.Parent = nil | |
1942 | LSH.Parent = nil | |
1943 | RW.Name = "RW" | |
1944 | RW.Part0 = Torso | |
1945 | RW.C0 = cn(1.5, 0.5, 0) | |
1946 | RW.C1 = cn(0, 0.5, 0) | |
1947 | RW.Part1 = RightArm | |
1948 | RW.Parent = Torso | |
1949 | LW.Name = "LW" | |
1950 | LW.Part0 = Torso | |
1951 | LW.C0 = cn(-1.5, 0.5, 0) | |
1952 | LW.C1 = cn(0, 0.5, 0) | |
1953 | LW.Part1 = LeftArm | |
1954 | LW.Parent = Torso | |
1955 | function clerp(a, b, t) | |
1956 | local qa = { | |
1957 | QuaternionFromCFrame(a) | |
1958 | } | |
1959 | local qb = { | |
1960 | QuaternionFromCFrame(b) | |
1961 | } | |
1962 | local ax, ay, az = a.x, a.y, a.z | |
1963 | local bx, by, bz = b.x, b.y, b.z | |
1964 | local _t = 1 - t | |
1965 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
1966 | end | |
1967 | function QuaternionFromCFrame(cf) | |
1968 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1969 | local trace = m00 + m11 + m22 | |
1970 | if trace > 0 then | |
1971 | local s = math.sqrt(1 + trace) | |
1972 | local recip = 0.5 / s | |
1973 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
1974 | else | |
1975 | local i = 0 | |
1976 | if m00 < m11 then | |
1977 | i = 1 | |
1978 | end | |
1979 | if m22 > (i == 0 and m00 or m11) then | |
1980 | i = 2 | |
1981 | end | |
1982 | if i == 0 then | |
1983 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
1984 | local recip = 0.5 / s | |
1985 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
1986 | elseif i == 1 then | |
1987 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
1988 | local recip = 0.5 / s | |
1989 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
1990 | elseif i == 2 then | |
1991 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
1992 | local recip = 0.5 / s | |
1993 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
1994 | end | |
1995 | end | |
1996 | end | |
1997 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1998 | local xs, ys, zs = x + x, y + y, z + z | |
1999 | local wx, wy, wz = w * xs, w * ys, w * zs | |
2000 | local xx = x * xs | |
2001 | local xy = x * ys | |
2002 | local xz = x * zs | |
2003 | local yy = y * ys | |
2004 | local yz = y * zs | |
2005 | local zz = z * zs | |
2006 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
2007 | end | |
2008 | function QuaternionSlerp(a, b, t) | |
2009 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
2010 | local startInterp, finishInterp | |
2011 | if cosTheta >= 1.0E-4 then | |
2012 | if 1 - cosTheta > 1.0E-4 then | |
2013 | local theta = math.acos(cosTheta) | |
2014 | local invSinTheta = 1 / math.sin(theta) | |
2015 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
2016 | finishInterp = math.sin(t * theta) * invSinTheta | |
2017 | else | |
2018 | startInterp = 1 - t | |
2019 | finishInterp = t | |
2020 | end | |
2021 | elseif 1 + cosTheta > 1.0E-4 then | |
2022 | local theta = math.acos(-cosTheta) | |
2023 | local invSinTheta = 1 / math.sin(theta) | |
2024 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
2025 | finishInterp = math.sin(t * theta) * invSinTheta | |
2026 | else | |
2027 | startInterp = t - 1 | |
2028 | finishInterp = t | |
2029 | end | |
2030 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
2031 | end | |
2032 | function swait(num) | |
2033 | if num == 0 or num == nil then | |
2034 | game:service("RunService").RenderStepped:wait(0) | |
2035 | else | |
2036 | for i = 0, num do | |
2037 | game:service("RunService").RenderStepped:wait(0) | |
2038 | end | |
2039 | end | |
2040 | end | |
2041 | local RbxUtility = LoadLibrary("RbxUtility") | |
2042 | local Create = RbxUtility.Create | |
2043 | function RemoveOutlines(part) | |
2044 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
2045 | end | |
2046 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
2047 | local Part = Create("Part")({ | |
2048 | formFactor = FormFactor, | |
2049 | Parent = Parent, | |
2050 | Reflectance = Reflectance, | |
2051 | Transparency = Transparency, | |
2052 | CanCollide = false, | |
2053 | Locked = true, | |
2054 | BrickColor = BrickColor.new(tostring(BColor)), | |
2055 | Name = Name, | |
2056 | Size = Size, | |
2057 | Material = Material | |
2058 | }) | |
2059 | RemoveOutlines(Part) | |
2060 | return Part | |
2061 | end | |
2062 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2063 | local Msh = Create(Mesh)({ | |
2064 | Parent = Part, | |
2065 | Offset = OffSet, | |
2066 | Scale = Scale | |
2067 | }) | |
2068 | if Mesh == "SpecialMesh" then | |
2069 | Msh.MeshType = MeshType | |
2070 | Msh.MeshId = MeshId | |
2071 | end | |
2072 | return Msh | |
2073 | end | |
2074 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
2075 | local Weld = Create("Weld")({ | |
2076 | Parent = Parent, | |
2077 | Part0 = Part0, | |
2078 | Part1 = Part1, | |
2079 | C0 = C0, | |
2080 | C1 = C1 | |
2081 | }) | |
2082 | return Weld | |
2083 | end | |
2084 | function rayCast(Position, Direction, Range, Ignore) | |
2085 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
2086 | end | |
2087 | function CreateSound(id, par, vol, pit) | |
2088 | coroutine.resume(coroutine.create(function() | |
2089 | local sou = Instance.new("Sound", par or workspace) | |
2090 | sou.Volume = vol | |
2091 | sou.Pitch = pit or 1 | |
2092 | sou.SoundId = id | |
2093 | wait() | |
2094 | sou:play() | |
2095 | game:GetService("Debris"):AddItem(sou, 6) | |
2096 | end)) | |
2097 | end | |
2098 | function CreateSong(id, par, vol, pit) | |
2099 | coroutine.resume(coroutine.create(function() | |
2100 | sou2 = Instance.new("Sound", par or workspace) | |
2101 | sou2.Volume = vol | |
2102 | sou2.Pitch = 1 | |
2103 | sou2.SoundId = id | |
2104 | wait() | |
2105 | sou2:play() | |
2106 | sou2.Looped = true | |
2107 | end)) | |
2108 | end | |
2109 | local function getclosest(obj, distance) | |
2110 | local last, lastx = distance + 1, nil | |
2111 | for i, v in pairs(workspace:GetChildren()) do | |
2112 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
2113 | local t = v.Torso | |
2114 | local dist = (t.Position - obj.Position).magnitude | |
2115 | if distance >= dist and last > dist then | |
2116 | last = dist | |
2117 | lastx = v | |
2118 | end | |
2119 | end | |
2120 | end | |
2121 | return lastx | |
2122 | end | |
2123 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
2124 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2125 | prt.Anchored = true | |
2126 | prt.CFrame = cframe | |
2127 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2128 | game:GetService("Debris"):AddItem(prt, 10) | |
2129 | if Type == 1 or Type == nil then | |
2130 | table.insert(Effects, { | |
2131 | prt, | |
2132 | "Block1", | |
2133 | delay, | |
2134 | x3, | |
2135 | y3, | |
2136 | z3, | |
2137 | msh | |
2138 | }) | |
2139 | elseif Type == 2 then | |
2140 | table.insert(Effects, { | |
2141 | prt, | |
2142 | "Block2", | |
2143 | delay, | |
2144 | x3, | |
2145 | y3, | |
2146 | z3, | |
2147 | msh | |
2148 | }) | |
2149 | elseif Type == 3 then | |
2150 | table.insert(Effects, { | |
2151 | prt, | |
2152 | "Block3", | |
2153 | delay, | |
2154 | x3, | |
2155 | y3, | |
2156 | z3, | |
2157 | msh | |
2158 | }) | |
2159 | end | |
2160 | end | |
2161 | function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2162 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2163 | prt.Anchored = true | |
2164 | prt.CFrame = cframe | |
2165 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2166 | game:GetService("Debris"):AddItem(prt, 10) | |
2167 | table.insert(Effects, { | |
2168 | prt, | |
2169 | "Cylinder", | |
2170 | delay, | |
2171 | x3, | |
2172 | y3, | |
2173 | z3, | |
2174 | msh | |
2175 | }) | |
2176 | end | |
2177 | function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2178 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2179 | prt.Anchored = true | |
2180 | prt.CFrame = cframe * CFrame.new(x1, y1, z1) | |
2181 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2182 | game:GetService("Debris"):AddItem(prt, 10) | |
2183 | table.insert(Effects, { | |
2184 | prt, | |
2185 | "Cylinder", | |
2186 | delay, | |
2187 | x3, | |
2188 | y3, | |
2189 | z3, | |
2190 | msh | |
2191 | }) | |
2192 | end | |
2193 | function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2194 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2195 | prt.Anchored = true | |
2196 | prt.CFrame = cframe | |
2197 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2198 | game:GetService("Debris"):AddItem(prt, 10) | |
2199 | table.insert(Effects, { | |
2200 | prt, | |
2201 | "Cylinder", | |
2202 | delay, | |
2203 | x3, | |
2204 | y3, | |
2205 | z3, | |
2206 | msh | |
2207 | }) | |
2208 | end | |
2209 | function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2210 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2211 | prt.Anchored = true | |
2212 | prt.CFrame = cframe | |
2213 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2214 | game:GetService("Debris"):AddItem(prt, 10) | |
2215 | table.insert(Effects, { | |
2216 | prt, | |
2217 | "Cylinder", | |
2218 | delay, | |
2219 | x3, | |
2220 | y3, | |
2221 | z3, | |
2222 | msh | |
2223 | }) | |
2224 | end | |
2225 | function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2226 | local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2227 | prt.Anchored = true | |
2228 | prt.CFrame = cframe | |
2229 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2230 | game:GetService("Debris"):AddItem(prt, 10) | |
2231 | table.insert(Effects, { | |
2232 | prt, | |
2233 | "Cylinder", | |
2234 | delay, | |
2235 | x3, | |
2236 | y3, | |
2237 | z3, | |
2238 | msh | |
2239 | }) | |
2240 | end | |
2241 | function BreakEffect(brickcolor, cframe, x1, y1, z1) | |
2242 | local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2243 | prt.Anchored = true | |
2244 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2245 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2246 | local num = math.random(10, 50) / 1000 | |
2247 | game:GetService("Debris"):AddItem(prt, 10) | |
2248 | table.insert(Effects, { | |
2249 | prt, | |
2250 | "Shatter", | |
2251 | num, | |
2252 | prt.CFrame, | |
2253 | math.random() - math.random(), | |
2254 | 0, | |
2255 | math.random(50, 100) / 100 | |
2256 | }) | |
2257 | end | |
2258 | for i = 0, 1, 0.05 do | |
2259 | swait() | |
2260 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
2261 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1) | |
2262 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
2263 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3) | |
2264 | if Torsovelocity.y > 2 then | |
2265 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), 0.2) | |
2266 | RH.C0 = clerp(RH.C0, cn(1, -1 + 0.1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3) | |
2267 | LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3) | |
2268 | elseif Torsovelocity.y < 1 then | |
2269 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1) | |
2270 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1) | |
2271 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1) | |
2272 | end | |
2273 | end | |
2274 | attack = false | |
2275 | game:GetService("RunService").Stepped:connect(function() | |
2276 | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
2277 | velocity = RootPart.Velocity.y | |
2278 | sine = sine + change | |
2279 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
2280 | if equipped == true or equipped == false then | |
2281 | if RootPart.Velocity.y > -1 and hit == nil then | |
2282 | Anim = "Jump" | |
2283 | inair = true | |
2284 | if attack == false then | |
2285 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-9), math.rad(0), math.rad(0)), 0.1) | |
2286 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2287 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(25), math.rad(0), math.rad(40)), 0.1) | |
2288 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(45), math.rad(0), math.rad(-70)), 0.1) | |
2289 | RH.C0 = clerp(RH.C0, cn(1, -0.8, -0.5) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.3) | |
2290 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.1) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.3) | |
2291 | end | |
2292 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2293 | Anim = "Fall" | |
2294 | inair = true | |
2295 | if attack == false then | |
2296 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2297 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
2298 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.05) | |
2299 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1) | |
2300 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
2301 | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1) | |
2302 | end | |
2303 | elseif (Torso.Velocity).magnitude < 1 and hit ~= nil then | |
2304 | Anim = "Idle" | |
2305 | inair = false | |
2306 | if attack == false then | |
2307 | Humanoid.JumpPower = 50 | |
2308 | if elementmode == "Mode 1" then | |
2309 | change = 0.8 | |
2310 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(15)), 0.1) | |
2311 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) | |
2312 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(math.rad(90 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), 0.1) | |
2313 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(math.rad(70 - 1 * math.cos(sine / 8)), math.rad(-7), math.rad(70)), 0.1) | |
2314 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1) | |
2315 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1) | |
2316 | elseif elementmode == "Mode 2" then | |
2317 | change = 0.8 | |
2318 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(25)), 0.1) | |
2319 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-25)), 0.1) | |
2320 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(5 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(10)), 0.1) | |
2321 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5 - 1 * math.cos(sine / 8)), math.rad(-7), math.rad(-10)), 0.1) | |
2322 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1) | |
2323 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(0 + 0.05 * math.cos(sine / 25))), 0.1) | |
2324 | elseif elementmode == "Mode 3" then | |
2325 | change = 0.8 | |
2326 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(1), math.rad(35)), 0.1) | |
2327 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(9 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(-35)), 0.1) | |
2328 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90 - 1 * math.cos(sine / 8)), math.rad(15), math.rad(45)), 0.1) | |
2329 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -0.3) * angles(math.rad(45 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(45)), 0.1) | |
2330 | RH.C0 = clerp(RH.C0, cn(1, -1 - 0.02 * math.cos(sine / 8), 0) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-5 + 0.05 * math.cos(sine / 25))), 0.1) | |
2331 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.02 * math.cos(sine / 8), 0) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
2332 | elseif elementmode == "Mode 4" then | |
2333 | change = 0.6 | |
2334 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5 + 0.02 * math.cos(sine / 2)) * angles(math.rad(-2), math.rad(1), math.rad(15)), 0.1) | |
2335 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(19 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) | |
2336 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(math.rad(90 - 2 * math.cos(sine / 1)), math.rad(0), math.rad(-50)), 0.1) | |
2337 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(math.rad(70 + 2 * math.cos(sine / 1)), math.rad(-7), math.rad(70)), 0.1) | |
2338 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.02 * math.cos(sine / 2), -0.2) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-10 + 0.05 * math.cos(sine / 25))), 0.1) | |
2339 | LH.C0 = clerp(LH.C0, cn(-1, -0.5 - 0.02 * math.cos(sine / 2), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(10 + 0.05 * math.cos(sine / 25))), 0.1) | |
2340 | elseif elementmode == "Mode 5" then | |
2341 | change = 0.8 | |
2342 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(10), math.rad(1), math.rad(0)), 0.1) | |
2343 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45 + 1 * math.cos(sine / 1)), math.rad(0), math.rad(5 * math.cos(sine / 1))), 0.1) | |
2344 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(10 - 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1) | |
2345 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(110 + 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1) | |
2346 | RH.C0 = clerp(RH.C0, cn(1, -0.2 - 0.02 * math.cos(sine / 8), -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(40 + 0.05 * math.cos(sine / 25))), 0.1) | |
2347 | LH.C0 = clerp(LH.C0, cn(-1, -0.2 - 0.02 * math.cos(sine / 8), -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20 + 0.05 * math.cos(sine / 25))), 0.1) | |
2348 | elseif elementmode == "Mode 6" then | |
2349 | change = 0.5 | |
2350 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 1.2 + 0.2 * math.cos(sine / 8)) * angles(math.rad(-2), math.rad(1), math.rad(15)), 0.1) | |
2351 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1) | |
2352 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 8))), 0.1) | |
2353 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 2 * math.cos(sine / 8))), 0.1) | |
2354 | RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.02 * math.cos(sine / 8), -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-25 + 2 * math.cos(sine / 8))), 0.1) | |
2355 | LH.C0 = clerp(LH.C0, cn(-1, -0.8 - 0.02 * math.cos(sine / 8), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(10 - 1 * math.cos(sine / 8))), 0.1) | |
2356 | end | |
2357 | end | |
2358 | elseif (Torso.Velocity).magnitude < 50 and hit ~= nil then | |
2359 | Anim = "Walk" | |
2360 | inair = false | |
2361 | if attack == false and Runkey == false then | |
2362 | if elementmode == "Mode 1" then | |
2363 | change = 0.9 | |
2364 | Humanoid.WalkSpeed = 22 | |
2365 | Humanoid.JumpPower = 50 | |
2366 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.15 * math.cos(sine / 3)) * angles(math.rad(15), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(10 * math.cos(sine / 4))), 0.3) | |
2367 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-8.5 * math.cos(sine / 4)) + RootPart.RotVelocity.Y / 12), 0.2) | |
2368 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 + -75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(2 + 10 * math.cos(sine / 4))), 0.2) | |
2369 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 + 75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(-2 + 10 * math.cos(sine / 4))), 0.2) | |
2370 | RH.C0 = clerp(RH.C0, cn(1, -1 - -0.3 * math.cos(sine / 4), -0.1 - 0.1 * math.cos(sine / 4)) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10 + 60 * math.cos(sine / 4))), 0.3) | |
2371 | LH.C0 = clerp(LH.C0, cn(-1, -1 + -0.3 * math.cos(sine / 4), -0.1 + 0.1 * math.cos(sine / 4)) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 + 60 * math.cos(sine / 4))), 0.3) | |
2372 | elseif elementmode == "Mode 2" then | |
2373 | change = 1.4 | |
2374 | Humanoid.WalkSpeed = 14 | |
2375 | Humanoid.JumpPower = 60 | |
2376 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.2) | |
2377 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(0 + 1.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-10 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 12), 0.2) | |
2378 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.2) | |
2379 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2) | |
2380 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2381 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2382 | elseif elementmode == "Mode 3" then | |
2383 | change = 0.9 | |
2384 | Humanoid.WalkSpeed = 22 | |
2385 | Humanoid.JumpPower = 60 | |
2386 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.15 * math.cos(sine / 3)) * angles(math.rad(15), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(10 * math.cos(sine / 4))), 0.3) | |
2387 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-8.5 * math.cos(sine / 4)) + RootPart.RotVelocity.Y / 12), 0.2) | |
2388 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 + -75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(2 + 10 * math.cos(sine / 4))), 0.2) | |
2389 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 + 75 * math.cos(sine / 4)), math.rad(5 + -35 * math.cos(sine / 4)), math.rad(-2 + 10 * math.cos(sine / 4))), 0.2) | |
2390 | RH.C0 = clerp(RH.C0, cn(1, -1 - -0.3 * math.cos(sine / 4), -0.1 - 0.1 * math.cos(sine / 4)) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10 + 60 * math.cos(sine / 4))), 0.3) | |
2391 | LH.C0 = clerp(LH.C0, cn(-1, -1 + -0.3 * math.cos(sine / 4), -0.1 + 0.1 * math.cos(sine / 4)) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 + 60 * math.cos(sine / 4))), 0.3) | |
2392 | elseif elementmode == "Mode 4" then | |
2393 | change = 1.1 | |
2394 | Humanoid.WalkSpeed = 9 | |
2395 | Humanoid.JumpPower = 60 | |
2396 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.2) | |
2397 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(0 + 1.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-10 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 12), 0.2) | |
2398 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.2) | |
2399 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2) | |
2400 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2401 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
2402 | elseif elementmode == "Mode 5" then | |
2403 | change = 1 | |
2404 | Humanoid.WalkSpeed = 9 | |
2405 | Humanoid.JumpPower = 100 | |
2406 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.15) | |
2407 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(6 - 2.5 * math.cos(sine / 3.5)), math.rad(10 - 0.5 * math.cos(sine / 3.5)), math.rad(10 - 10 * math.cos(sine / 7))), 0.15) | |
2408 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.1) | |
2409 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.3) * angles(math.rad(150 - 5.5 * math.cos(sine / 3.5)), math.rad(0 - 0.5 * math.cos(sine / 3.5)), math.rad(25 - -5 * math.cos(sine / 7))), 0.2) | |
2410 | RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.2) | |
2411 | LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.2) | |
2412 | elseif elementmode == "Mode 6" then | |
2413 | BlockEffect(BrickColor.new("Really red"), RightArm.CFrame * cn(0, 0, 0.2), 19, 39, 19, 0, 0, 0, 0.15, 2) | |
2414 | change = 0.9 | |
2415 | Humanoid.WalkSpeed = 42 | |
2416 | Humanoid.JumpPower = 80 | |
2417 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, 1.2 + 0.2 * math.cos(sine / 8)) * angles(math.rad(15), math.rad(1), math.rad(0)), 0.1) | |
2418 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0)), 0.1) | |
2419 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(15 - 2 * math.cos(sine / 8))), 0.1) | |
2420 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10 - 1 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 2 * math.cos(sine / 8))), 0.1) | |
2421 | RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.02 * math.cos(sine / 8), -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(-35 + 5 * math.cos(sine / 8))), 0.1) | |
2422 | LH.C0 = clerp(LH.C0, cn(-1, -0.8 - 0.02 * math.cos(sine / 8), -0.2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(20 - 5 * math.cos(sine / 8))), 0.1) | |
2423 | end | |
2424 | end | |
2425 | function onClimbing(speed) | |
2426 | if attack == false then | |
2427 | attack = true | |
2428 | Climbanim = true | |
2429 | Humanoid.WalkSpeed = 14 | |
2430 | while Climbanim == true do | |
2431 | for i = 0, 0, 0.1 do | |
2432 | swait() | |
2433 | change = 3 | |
2434 | if RootPart.Velocity.y > 0.01 then | |
2435 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.1, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.2) | |
2436 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
2437 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(90 + 70 * math.cos(sine / 25)), math.rad(0), math.rad(5)), 0.2) | |
2438 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(90 - 70 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), 0.2) | |
2439 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.5 * math.cos(sine / 25), -0.2 + 0.1 * math.cos(sine / 25)) * RHCF * angles(math.rad(3), math.rad(0), math.rad(5 - 15 * math.cos(sine / 25))), 0.2) | |
2440 | LH.C0 = clerp(LH.C0, cn(-1, -0.5 + 0.5 * math.cos(sine / 25), -0.2 - 0.1 * math.cos(sine / 25)) * LHCF * angles(math.rad(3), math.rad(0), math.rad(-5 - 15 * math.cos(sine / 25))), 0.2) | |
2441 | end | |
2442 | if RootPart.Velocity.y < 0.5 and RootPart.Velocity.y > -0.5 then | |
2443 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.1, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.3) | |
2444 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
2445 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(90 + 0 * math.cos(sine / 25)), math.rad(0), math.rad(5)), 0.2) | |
2446 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.1) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), 0.2) | |
2447 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0 * math.cos(sine / 25), -0.2 + 0 * math.cos(sine / 25)) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(5 - 0 * math.cos(sine / 25))), 0.2) | |
2448 | LH.C0 = clerp(LH.C0, cn(-1, -0.5 + 0 * math.cos(sine / 25), -0.2 - 0 * math.cos(sine / 25)) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-5 - 0 * math.cos(sine / 25))), 0.2) | |
2449 | end | |
2450 | if RootPart.Velocity.y < -1 then | |
2451 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.2) | |
2452 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
2453 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -0.1) * angles(math.rad(90 + 0 * math.cos(sine / 25)), math.rad(0), math.rad(20)), 0.2) | |
2454 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4, -0.1) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20)), 0.2) | |
2455 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.2) | |
2456 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.2) | |
2457 | end | |
2458 | end | |
2459 | if Torsovelocity.y > 1 then | |
2460 | Climbanim = false | |
2461 | end | |
2462 | end | |
2463 | attack = false | |
2464 | end | |
2465 | end | |
2466 | Humanoid.Climbing:connect(onClimbing) | |
2467 | end | |
2468 | end | |
2469 | if 0 < #Effects then | |
2470 | for e = 1, #Effects do | |
2471 | if Effects[e] ~= nil then | |
2472 | local Thing = Effects[e] | |
2473 | if Thing ~= nil then | |
2474 | local Part = Thing[1] | |
2475 | local Mode = Thing[2] | |
2476 | local Delay = Thing[3] | |
2477 | local IncX = Thing[4] | |
2478 | local IncY = Thing[5] | |
2479 | local IncZ = Thing[6] | |
2480 | if 1 >= Thing[1].Transparency then | |
2481 | if Thing[2] == "Block1" then | |
2482 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2483 | local Mesh = Thing[1].Mesh | |
2484 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2485 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2486 | elseif Thing[2] == "Block2" then | |
2487 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
2488 | local Mesh = Thing[7] | |
2489 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2490 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2491 | elseif Thing[2] == "Block3" then | |
2492 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
2493 | local Mesh = Thing[7] | |
2494 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2495 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2496 | elseif Thing[2] == "Cylinder" then | |
2497 | local Mesh = Thing[1].Mesh | |
2498 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2499 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2500 | elseif Thing[2] == "Blood" then | |
2501 | local Mesh = Thing[7] | |
2502 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
2503 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2504 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2505 | elseif Thing[2] == "Elec" then | |
2506 | local Mesh = Thing[1].Mesh | |
2507 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2508 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2509 | elseif Thing[2] == "Disappear" then | |
2510 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2511 | elseif Thing[2] == "Shatter" then | |
2512 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2513 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2514 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2515 | Thing[6] = Thing[6] + Thing[5] | |
2516 | end | |
2517 | else | |
2518 | Part.Parent = nil | |
2519 | table.remove(Effects, e) | |
2520 | end | |
2521 | end | |
2522 | end | |
2523 | end | |
2524 | end | |
2525 | end) | |
2526 | local BlackHole1 = Create("ParticleEmitter")({ | |
2527 | Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)), | |
2528 | Transparency = NumberSequence.new(0.8, 1), | |
2529 | Size = NumberSequence.new(3, 6), | |
2530 | Texture = "rbxassetid://153700391", | |
2531 | Lifetime = NumberRange.new(2), | |
2532 | Rate = 30, | |
2533 | VelocitySpread = 0, | |
2534 | Rotation = NumberRange.new(0), | |
2535 | RotSpeed = NumberRange.new(10), | |
2536 | Speed = NumberRange.new(0), | |
2537 | LightEmission = 0, | |
2538 | LockedToPart = true, | |
2539 | Acceleration = Vector3.new(0, 0, 0), | |
2540 | EmissionDirection = "Bottom" | |
2541 | }) | |
2542 | Effects = { | |
2543 | Block = { | |
2544 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
2545 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2546 | prt.Anchored = true | |
2547 | prt.CFrame = cframe | |
2548 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2549 | game:GetService("Debris"):AddItem(prt, 10) | |
2550 | if Type == 1 or Type == nil then | |
2551 | table.insert(Effects, { | |
2552 | prt, | |
2553 | "Block1", | |
2554 | delay, | |
2555 | x3, | |
2556 | y3, | |
2557 | z3, | |
2558 | msh | |
2559 | }) | |
2560 | elseif Type == 2 then | |
2561 | table.insert(Effects, { | |
2562 | prt, | |
2563 | "Block2", | |
2564 | delay, | |
2565 | x3, | |
2566 | y3, | |
2567 | z3, | |
2568 | msh | |
2569 | }) | |
2570 | else | |
2571 | table.insert(Effects, { | |
2572 | prt, | |
2573 | "Block3", | |
2574 | delay, | |
2575 | x3, | |
2576 | y3, | |
2577 | z3, | |
2578 | msh | |
2579 | }) | |
2580 | end | |
2581 | end | |
2582 | }, | |
2583 | Sphere = { | |
2584 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2585 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2586 | prt.Anchored = true | |
2587 | prt.CFrame = cframe | |
2588 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2589 | game:GetService("Debris"):AddItem(prt, 10) | |
2590 | table.insert(Effects, { | |
2591 | prt, | |
2592 | "Cylinder", | |
2593 | delay, | |
2594 | x3, | |
2595 | y3, | |
2596 | z3, | |
2597 | msh | |
2598 | }) | |
2599 | end | |
2600 | }, | |
2601 | Cylinder = { | |
2602 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2603 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2604 | prt.Anchored = true | |
2605 | prt.CFrame = cframe | |
2606 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2607 | game:GetService("Debris"):AddItem(prt, 10) | |
2608 | table.insert(Effects, { | |
2609 | prt, | |
2610 | "Cylinder", | |
2611 | delay, | |
2612 | x3, | |
2613 | y3, | |
2614 | z3, | |
2615 | msh | |
2616 | }) | |
2617 | end | |
2618 | }, | |
2619 | Wave = { | |
2620 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2621 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2622 | prt.Anchored = true | |
2623 | prt.CFrame = cframe | |
2624 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60)) | |
2625 | game:GetService("Debris"):AddItem(prt, 10) | |
2626 | table.insert(Effects, { | |
2627 | prt, | |
2628 | "Cylinder", | |
2629 | delay, | |
2630 | x3 / 60, | |
2631 | y3 / 60, | |
2632 | z3 / 60, | |
2633 | msh | |
2634 | }) | |
2635 | end | |
2636 | }, | |
2637 | Ring = { | |
2638 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2639 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
2640 | prt.Anchored = true | |
2641 | prt.CFrame = cframe | |
2642 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2643 | game:GetService("Debris"):AddItem(prt, 10) | |
2644 | table.insert(Effects, { | |
2645 | prt, | |
2646 | "Cylinder", | |
2647 | delay, | |
2648 | x3, | |
2649 | y3, | |
2650 | z3, | |
2651 | msh | |
2652 | }) | |
2653 | end | |
2654 | }, | |
2655 | Break = { | |
2656 | Create = function(brickcolor, cframe, x1, y1, z1) | |
2657 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2658 | prt.Anchored = true | |
2659 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2660 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2661 | local num = math.random(10, 50) / 1000 | |
2662 | game:GetService("Debris"):AddItem(prt, 10) | |
2663 | table.insert(Effects, { | |
2664 | prt, | |
2665 | "Shatter", | |
2666 | num, | |
2667 | prt.CFrame, | |
2668 | math.random() - math.random(), | |
2669 | 0, | |
2670 | math.random(50, 100) / 100 | |
2671 | }) | |
2672 | end | |
2673 | } | |
2674 | } | |
2675 | function RemoveOutlines(part) | |
2676 | part.TopSurface = 10 | |
2677 | end | |
2678 | function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
2679 | local Part = Create("Part")({ | |
2680 | Parent = Parent, | |
2681 | Reflectance = Reflectance, | |
2682 | Transparency = Transparency, | |
2683 | CanCollide = false, | |
2684 | Locked = true, | |
2685 | BrickColor = BrickColor.new(tostring(BColor)), | |
2686 | Name = Name, | |
2687 | Size = Size, | |
2688 | Material = Material | |
2689 | }) | |
2690 | RemoveOutlines(Part) | |
2691 | return Part | |
2692 | end | |
2693 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2694 | local Msh = Create(Mesh)({ | |
2695 | Parent = Part, | |
2696 | Offset = OffSet, | |
2697 | Scale = Scale | |
2698 | }) | |
2699 | if Mesh == "SpecialMesh" then | |
2700 | Msh.MeshType = MeshType | |
2701 | Msh.MeshId = MeshId | |
2702 | end | |
2703 | return Msh | |
2704 | end | |
2705 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
2706 | local Weld = Create("Weld")({ | |
2707 | Parent = Parent, | |
2708 | Part0 = Part0, | |
2709 | Part1 = Part1, | |
2710 | C0 = C0, | |
2711 | C1 = C1 | |
2712 | }) | |
2713 | return Weld | |
2714 | end | |
2715 | WSHM = { | |
2716 | "White", | |
2717 | "Pastel light red" | |
2718 | } | |
2719 | WSH = WSHM[math.random(1, #WSHM)] | |
2720 | function IcePartFunk(HPart, aria, Min, Max) | |
2721 | IcePart = Instance.new("Part", HPart) | |
2722 | IcePart.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max)) | |
2723 | IcePart.CanCollide = false | |
2724 | IuW = Instance.new("Weld") | |
2725 | IuW.Name = "GuW" | |
2726 | IuW.Part0 = HPart | |
2727 | IuW.C0 = cn(math.random(-aria, aria), math.random(-aria, aria), math.random(-aria, aria)) * angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)) | |
2728 | IuW.C1 = cn(0, math.random(-aria / 2, aria / 2), 0) | |
2729 | IuW.Part1 = IcePart | |
2730 | IuW.Parent = HPart | |
2731 | IcePart.Transparency = 0.9 | |
2732 | IcePart.Material = "Neon" | |
2733 | WSH = WSHM[math.random(1, #WSHM)] | |
2734 | IcePart.BrickColor = BrickColor.new("" .. WSH) | |
2735 | RemoveOutlines(IcePart) | |
2736 | game:GetService("Debris"):AddItem(IuW, 4) | |
2737 | game:GetService("Debris"):AddItem(IcePart, 6) | |
2738 | end | |
2739 | function GroundPartFunk2(Hit, HPart, color, aria, Min, Max, num) | |
2740 | IcePart2 = Instance.new("Part", HPart) | |
2741 | IcePart2.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max)) | |
2742 | IcePart2.CanCollide = false | |
2743 | RemoveOutlines(IcePart2) | |
2744 | IcePart2.Anchored = true | |
2745 | game:GetService("Debris"):AddItem(IcePart2, 0.4) | |
2746 | IcePart2.Transparency = 0.95 | |
2747 | IcePart2.Material = "Neon" | |
2748 | IcePart2.BrickColor = BrickColor.new("Really black") | |
2749 | IcePart2.CFrame = CFrame.new(Hit.Position + Vector3.new(math.random(-aria, aria), math.random(-aria, 0), math.random(-aria, aria))) * angles(math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))) | |
2750 | for i = 0, num do | |
2751 | if num > 1 then | |
2752 | GroundPartFunk2(Hit, HPart, color, aria, Min, Max, 0) | |
2753 | end | |
2754 | end | |
2755 | end | |
2756 | SpikeMeshId = 1033714 | |
2757 | local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale) | |
2758 | local Part = Instance.new("Part", Parent) | |
2759 | Part.Name = Name | |
2760 | Part.BrickColor = BrickColor.new(Color) | |
2761 | Part.Size = Size | |
2762 | Part.Material = Material | |
2763 | Part.Transparency = Transparency | |
2764 | Part.CanCollide = false | |
2765 | RemoveOutlines(Part) | |
2766 | local Mesh = Instance.new("SpecialMesh", Part) | |
2767 | Mesh.MeshType = "Sphere" | |
2768 | Mesh.Scale = Scale | |
2769 | return Mesh and Part | |
2770 | end | |
2771 | CFuncs = { | |
2772 | Part = { | |
2773 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
2774 | local Part = Create("Part")({ | |
2775 | Parent = Parent, | |
2776 | Reflectance = Reflectance, | |
2777 | Transparency = Transparency, | |
2778 | CanCollide = false, | |
2779 | Locked = true, | |
2780 | BrickColor = BrickColor.new(tostring(BColor)), | |
2781 | Name = Name, | |
2782 | Size = Size, | |
2783 | Material = Material | |
2784 | }) | |
2785 | RemoveOutlines(Part) | |
2786 | return Part | |
2787 | end | |
2788 | }, | |
2789 | Mesh = { | |
2790 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2791 | local Msh = Create(Mesh)({ | |
2792 | Parent = Part, | |
2793 | Offset = OffSet, | |
2794 | Scale = Scale | |
2795 | }) | |
2796 | if Mesh == "SpecialMesh" then | |
2797 | Msh.MeshType = MeshType | |
2798 | Msh.MeshId = MeshId | |
2799 | end | |
2800 | return Msh | |
2801 | end | |
2802 | }, | |
2803 | Mesh = { | |
2804 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
2805 | local Msh = Create(Mesh)({ | |
2806 | Parent = Part, | |
2807 | Offset = OffSet, | |
2808 | Scale = Scale | |
2809 | }) | |
2810 | if Mesh == "SpecialMesh" then | |
2811 | Msh.MeshType = MeshType | |
2812 | Msh.MeshId = MeshId | |
2813 | end | |
2814 | return Msh | |
2815 | end | |
2816 | }, | |
2817 | Weld = { | |
2818 | Create = function(Parent, Part0, Part1, C0, C1) | |
2819 | local Weld = Create("Weld")({ | |
2820 | Parent = Parent, | |
2821 | Part0 = Part0, | |
2822 | Part1 = Part1, | |
2823 | C0 = C0, | |
2824 | C1 = C1 | |
2825 | }) | |
2826 | return Weld | |
2827 | end | |
2828 | }, | |
2829 | Sound = { | |
2830 | Create = function(id, par, vol, pit) | |
2831 | coroutine.resume(coroutine.create(function() | |
2832 | local S = Create("Sound")({ | |
2833 | Volume = vol, | |
2834 | Pitch = pit or 1, | |
2835 | SoundId = id, | |
2836 | Parent = par or workspace | |
2837 | }) | |
2838 | wait() | |
2839 | S:play() | |
2840 | game:GetService("Debris"):AddItem(S, 6) | |
2841 | end)) | |
2842 | end | |
2843 | }, | |
2844 | ParticleEmitter = { | |
2845 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
2846 | local fp = Create("ParticleEmitter")({ | |
2847 | Parent = Parent, | |
2848 | Color = ColorSequence.new(Color1, Color2), | |
2849 | LightEmission = LightEmission, | |
2850 | Size = Size, | |
2851 | Texture = Texture, | |
2852 | Transparency = Transparency, | |
2853 | ZOffset = ZOffset, | |
2854 | Acceleration = Accel, | |
2855 | Drag = Drag, | |
2856 | LockedToPart = LockedToPart, | |
2857 | VelocityInheritance = VelocityInheritance, | |
2858 | EmissionDirection = EmissionDirection, | |
2859 | Enabled = Enabled, | |
2860 | Lifetime = LifeTime, | |
2861 | Rate = Rate, | |
2862 | Rotation = Rotation, | |
2863 | RotSpeed = RotSpeed, | |
2864 | Speed = Speed, | |
2865 | VelocitySpread = VelocitySpread | |
2866 | }) | |
2867 | return fp | |
2868 | end | |
2869 | } | |
2870 | } | |
2871 | function Snow(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2872 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2873 | prt.Anchored = true | |
2874 | prt.CFrame = cframe | |
2875 | prt.Material = "Neon" | |
2876 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2877 | game:GetService("Debris"):AddItem(prt, 10) | |
2878 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
2879 | local SnowTiltX = math.random(-1, 1) | |
2880 | local SnowTiltY = math.random(-1, 1) | |
2881 | local SnowTiltZ = math.random(-1, 1) | |
2882 | for i = 0, 6, delay do | |
2883 | swait() | |
2884 | Part.Transparency = i | |
2885 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
2886 | Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX), math.rad(SnowTiltY), math.rad(SnowTiltZ)) + Vector3.new(0, -0.11, 0) | |
2887 | end | |
2888 | Part.Parent = nil | |
2889 | end), prt, msh) | |
2890 | end | |
2891 | function BlockLaser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
2892 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
2893 | prt.Anchored = true | |
2894 | prt.CFrame = cframe | |
2895 | prt.Material = "Neon" | |
2896 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
2897 | game:GetService("Debris"):AddItem(prt, 10) | |
2898 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
2899 | for i = 0, 6, delay do | |
2900 | swait() | |
2901 | Part.Transparency = i | |
2902 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
2903 | end | |
2904 | Part.Parent = nil | |
2905 | end), prt, msh) | |
2906 | end | |
2907 | function ShadArm(mouse, partt, SpreadAmount) | |
2908 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
2909 | local MainPos = partt.Position + RootPart.CFrame.lookVector * 1.5 | |
2910 | local MainPos2 = mouse + SpreadVectors | |
2911 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
2912 | local speed = 1000 | |
2913 | local num = 0 | |
2914 | coroutine.resume(coroutine.create(function() | |
2915 | repeat | |
2916 | swait() | |
2917 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
2918 | local mag = (MainPos - pos).magnitude | |
2919 | BlockLaser(BrickColor.new("Really black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0.5, -0.421, 0, -0.021, 0.1) | |
2920 | MainPos = MainPos + MouseLook.lookVector * speed | |
2921 | num = num - 1 | |
2922 | MouseLook = MouseLook * angles(math.rad(0), 0, 0) | |
2923 | if hit ~= nil then | |
2924 | num = 0 | |
2925 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
2926 | refpart.Anchored = true | |
2927 | refpart.CFrame = CFrame.new(pos) | |
2928 | game:GetService("Debris"):AddItem(refpart, 2) | |
2929 | end | |
2930 | if num <= 0 then | |
2931 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
2932 | refpart.Anchored = true | |
2933 | refpart.CFrame = CFrame.new(pos) | |
2934 | if hit ~= nil then | |
2935 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
2936 | end | |
2937 | game:GetService("Debris"):AddItem(refpart, 0) | |
2938 | end | |
2939 | until num <= 0 | |
2940 | end)) | |
2941 | end | |
2942 | function Lightning(Part0, Part1, Times, Offset, Color, Thickness, Trans, SizeAdd) | |
2943 | local magz = (Part0 - Part1).magnitude | |
2944 | local curpos = Part0 | |
2945 | local trz = { | |
2946 | -Offset, | |
2947 | Offset | |
2948 | } | |
2949 | for i = 1, Times do | |
2950 | local li = Instance.new("Part", Torso) | |
2951 | li.Name = "Lightning" | |
2952 | li.TopSurface = 0 | |
2953 | li.Material = "Neon" | |
2954 | li.BottomSurface = 0 | |
2955 | li.Anchored = true | |
2956 | li.Locked = true | |
2957 | li.Transparency = 0 | |
2958 | li.BrickColor = Color | |
2959 | li.formFactor = "Custom" | |
2960 | li.CanCollide = false | |
2961 | li.Size = Vector3.new(Thickness, Thickness, magz / Times) | |
2962 | local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
2963 | local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet | |
2964 | if Times == i then | |
2965 | local magz2 = (curpos - Part1).magnitude | |
2966 | li.Size = Vector3.new(Thickness, Thickness, magz2) | |
2967 | li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2) | |
2968 | else | |
2969 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2) | |
2970 | end | |
2971 | curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p | |
2972 | game.Debris:AddItem(li, 0.01) | |
2973 | BlockEffect(Color, li.CFrame, li.Size.X * 20, li.Size.Y * 20, li.Size.Z * 20, SizeAdd, SizeAdd, 0, 0.07, 2) | |
2974 | end | |
2975 | end | |
2976 | function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
2977 | if hit.Parent == nil then | |
2978 | return | |
2979 | end | |
2980 | local h = hit.Parent:FindFirstChild("Humanoid") | |
2981 | for _, v in pairs(hit.Parent:children()) do | |
2982 | if v:IsA("Humanoid") then | |
2983 | h = v | |
2984 | end | |
2985 | end | |
2986 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
2987 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
2988 | return | |
2989 | end | |
2990 | local c = Create("ObjectValue")({ | |
2991 | Name = "creator", | |
2992 | Value = game:service("Players").LocalPlayer, | |
2993 | Parent = h | |
2994 | }) | |
2995 | game:GetService("Debris"):AddItem(c, 0.5) | |
2996 | if HitSound ~= nil and HitPitch ~= nil then | |
2997 | CreateSound(HitSound, hit, 1, HitPitch) | |
2998 | end | |
2999 | local Damage = math.random(minim, maxim) | |
3000 | local blocked = false | |
3001 | local block = hit.Parent:findFirstChild("Block") | |
3002 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
3003 | blocked = true | |
3004 | block.Value = block.Value - 1 | |
3005 | print(block.Value) | |
3006 | end | |
3007 | if blocked == false then | |
3008 | h.Health = h.Health - Damage | |
3009 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
3010 | else | |
3011 | h.Health = h.Health - Damage / 2 | |
3012 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
3013 | end | |
3014 | if Type == "Knockdown" then | |
3015 | local hum = hit.Parent.Humanoid | |
3016 | hum.PlatformStand = true | |
3017 | coroutine.resume(coroutine.create(function(HHumanoid) | |
3018 | swait(0.2) | |
3019 | HHumanoid.PlatformStand = false | |
3020 | end), hum) | |
3021 | local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit | |
3022 | local bodvol = Create("BodyVelocity")({ | |
3023 | velocity = angle * knockback, | |
3024 | P = 50, | |
3025 | maxForce = Vector3.new(80000, 80000, 80000), | |
3026 | Parent = hit | |
3027 | }) | |
3028 | local rl = Create("BodyAngularVelocity")({ | |
3029 | P = 3000, | |
3030 | maxTorque = Vector3.new(5000, 5000, 5000) * 50, | |
3031 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
3032 | Parent = hit | |
3033 | }) | |
3034 | game:GetService("Debris"):AddItem(bodvol, 0.1) | |
3035 | game:GetService("Debris"):AddItem(rl, 0.1) | |
3036 | elseif Type == "Normal" then | |
3037 | local vp = Create("BodyVelocity")({ | |
3038 | P = 500, | |
3039 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
3040 | velocity = Property.CFrame.lookVector * knockback | |
3041 | }) | |
3042 | if knockback > 0 then | |
3043 | vp.Parent = hit.Parent.Torso | |
3044 | end | |
3045 | game:GetService("Debris"):AddItem(vp, 0.5) | |
3046 | elseif Type == "Impale" then | |
3047 | local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Really red", Vector3.new(1, 2, 1), "Neon", 0.2, Vector3.new(0.5, 25, 0.5)) | |
3048 | Spike.Anchored = true | |
3049 | Spike.Rotation = Vector3.new(math.random(-45, 45), 0, math.random(-45, 45)) | |
3050 | Spike.Position = hit.Parent.Torso.Position | |
3051 | Services.Debris:AddItem(Spike, 4) | |
3052 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2) | |
3053 | hit.Parent.Humanoid.PlatformStand = true | |
3054 | swait(1) | |
3055 | hit.Parent.Humanoid.PlatformStand = false | |
3056 | elseif Type == "Stalk" then | |
3057 | if hit.Parent:FindFirstChild("Torso") ~= nil then | |
3058 | lasthit = hit.Parent.Torso | |
3059 | end | |
3060 | local bp = Create("BodyPosition")({ | |
3061 | P = 900, | |
3062 | D = 1000, | |
3063 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3064 | position = hit.Parent.Torso.Position, | |
3065 | Parent = hit.Parent.Torso | |
3066 | }) | |
3067 | game:GetService("Debris"):AddItem(bp, 5) | |
3068 | elseif Type == "Up" then | |
3069 | local bodyVelocity = Create("BodyVelocity")({ | |
3070 | velocity = Vector3.new(0, 20, 0), | |
3071 | P = 5000, | |
3072 | maxForce = Vector3.new(8000, 8000, 8000), | |
3073 | Parent = hit | |
3074 | }) | |
3075 | game:GetService("Debris"):AddItem(bodyVelocity, 0.1) | |
3076 | local bodyVelocity = Create("BodyVelocity")({ | |
3077 | velocity = Vector3.new(0, 20, 0), | |
3078 | P = 5000, | |
3079 | maxForce = Vector3.new(8000, 8000, 8000), | |
3080 | Parent = hit | |
3081 | }) | |
3082 | game:GetService("Debris"):AddItem(bodyVelocity, 0.1) | |
3083 | elseif Type == "Drag" then | |
3084 | coroutine.resume(coroutine.create(function() | |
3085 | for i = 1, 10 do | |
3086 | ShadArm(hit.Parent.Torso.Position, RootPart, 0) | |
3087 | Effects.Sphere.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame * cn(0, 0, 0), -100, -0.5, -50, -1, 0, -1, 0.05) | |
3088 | local ShadeArmDrag = Create("BodyPosition")({ | |
3089 | P = 9000, | |
3090 | D = 1000, | |
3091 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3092 | position = RootPart.Position + RootPart.CFrame.lookVector * 6, | |
3093 | Parent = hit.Parent.Torso | |
3094 | }) | |
3095 | game:GetService("Debris"):AddItem(ShadeArmDrag, 0.2) | |
3096 | wait() | |
3097 | end | |
3098 | end)) | |
3099 | elseif Type == "UltSlice" then | |
3100 | do | |
3101 | local BHE = BlackHole1:Clone() | |
3102 | local bp2 = Create("BodyPosition")({ | |
3103 | P = 900, | |
3104 | D = 1000, | |
3105 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3106 | position = hit.Parent.Head.Position, | |
3107 | Parent = hit.Parent.Torso | |
3108 | }) | |
3109 | game:GetService("Debris"):AddItem(bp2, 5) | |
3110 | if hit.Parent:FindFirstChild("Torso") ~= nil then | |
3111 | coroutine.resume(coroutine.create(function() | |
3112 | BHE.Parent = hit.Parent.Torso | |
3113 | game:GetService("Debris"):AddItem(BHE, 5) | |
3114 | wait(3) | |
3115 | BHE.Rate = 0 | |
3116 | end)) | |
3117 | end | |
3118 | if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then | |
3119 | for i = 1, 30 do | |
3120 | Effects.Break.Create(maincolor, hit.Parent.HumanoidRootPart.CFrame, 10, 0.5, 0.5) | |
3121 | end | |
3122 | end | |
3123 | end | |
3124 | elseif Type == "Slice" then | |
3125 | local bp2 = Create("BodyPosition")({ | |
3126 | P = 900, | |
3127 | D = 1000, | |
3128 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3129 | position = hit.Parent.Head.Position, | |
3130 | Parent = hit.Parent.Torso | |
3131 | }) | |
3132 | game:GetService("Debris"):AddItem(bp2, 1) | |
3133 | if hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then | |
3134 | for i = 1, 10 do | |
3135 | Effects.Break.Create(maincolor, hit.Parent.HumanoidRootPart.CFrame, 10, 0.5, 0.5) | |
3136 | end | |
3137 | end | |
3138 | elseif Type == "Snare" then | |
3139 | local bp = Create("BodyPosition")({ | |
3140 | P = 900, | |
3141 | D = 1000, | |
3142 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3143 | position = hit.Parent.Torso.Position, | |
3144 | Parent = hit.Parent.Torso | |
3145 | }) | |
3146 | game:GetService("Debris"):AddItem(bp, 1) | |
3147 | elseif Type == "Slowness" then | |
3148 | local SpeedSave = hit.Parent.Humanoid.WalkSpeed | |
3149 | if SpeedSave > 6 then | |
3150 | if elementmode == "Mode 4" then | |
3151 | coroutine.resume(coroutine.create(function() | |
3152 | for i = 1, 10 do | |
3153 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.5 | |
3154 | wait() | |
3155 | end | |
3156 | end)) | |
3157 | wait(1) | |
3158 | coroutine.resume(coroutine.create(function() | |
3159 | for i = 1, 10 do | |
3160 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.5 | |
3161 | wait() | |
3162 | end | |
3163 | end)) | |
3164 | else | |
3165 | coroutine.resume(coroutine.create(function() | |
3166 | for i = 1, 10 do | |
3167 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.25 | |
3168 | wait() | |
3169 | end | |
3170 | end)) | |
3171 | wait(1) | |
3172 | coroutine.resume(coroutine.create(function() | |
3173 | for i = 1, 10 do | |
3174 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.25 | |
3175 | wait() | |
3176 | end | |
3177 | end)) | |
3178 | end | |
3179 | end | |
3180 | elseif Type == "Firedmg" then | |
3181 | coroutine.resume(coroutine.create(function() | |
3182 | for i = 1, 10 do | |
3183 | if hit.Parent:FindFirstChild("Torso") ~= nil then | |
3184 | BlockEffect(BrickColor.new("Really black"), hit.Parent.Head.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 1) | |
3185 | wait() | |
3186 | end | |
3187 | end | |
3188 | end)) | |
3189 | elseif Type == "Freeze" then | |
3190 | local bp = Create("BodyPosition")({ | |
3191 | P = 1000, | |
3192 | D = 1000, | |
3193 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3194 | position = hit.Parent.Torso.Position, | |
3195 | Parent = hit.Parent.Torso | |
3196 | }) | |
3197 | game:GetService("Debris"):AddItem(bp, 4) | |
3198 | coroutine.resume(coroutine.create(function() | |
3199 | for i = 1, 35 do | |
3200 | IcePartFunk(hit.Parent.Torso, 0.6, 1, 1.5) | |
3201 | end | |
3202 | hit.Parent.Torso.Anchored = true | |
3203 | wait(4) | |
3204 | hit.Parent.Torso.Anchored = false | |
3205 | end)) | |
3206 | coroutine.resume(coroutine.create(function() | |
3207 | for i = 1, 10 do | |
3208 | Snow(maincolor, hit.Parent.Torso.CFrame * cn(math.random(-3, 3), math.random(4, 6), math.random(-3, 3)), 0.3, 0.2, 0.3, 0, 0, 0, 0.01) | |
3209 | wait(0.4) | |
3210 | end | |
3211 | end)) | |
3212 | elseif Type == "Freeze2" then | |
3213 | local BodPos = Create("BodyPosition")({ | |
3214 | P = 50000, | |
3215 | D = 1000, | |
3216 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
3217 | position = hit.Parent.Torso.Position, | |
3218 | Parent = hit.Parent.Torso | |
3219 | }) | |
3220 | local BodGy = Create("BodyGyro")({ | |
3221 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
3222 | P = 20000, | |
3223 | Parent = hit.Parent.Torso, | |
3224 | cframe = hit.Parent.Torso.CFrame | |
3225 | }) | |
3226 | hit.Parent.Torso.Anchored = true | |
3227 | coroutine.resume(coroutine.create(function(Part) | |
3228 | swait(1.5) | |
3229 | Part.Anchored = false | |
3230 | end), hit.Parent.Torso) | |
3231 | game:GetService("Debris"):AddItem(BodPos, 3) | |
3232 | game:GetService("Debris"):AddItem(BodGy, 3) | |
3233 | end | |
3234 | local debounce = Create("BoolValue")({ | |
3235 | Name = "DebounceHit", | |
3236 | Parent = hit.Parent, | |
3237 | Value = true | |
3238 | }) | |
3239 | game:GetService("Debris"):AddItem(debounce, Delay) | |
3240 | c = Instance.new("ObjectValue") | |
3241 | c.Name = "creator" | |
3242 | c.Value = Player | |
3243 | c.Parent = h | |
3244 | game:GetService("Debris"):AddItem(c, 0.5) | |
3245 | end | |
3246 | end | |
3247 | function ShowDamage(Pos, Text, Time, Color) | |
3248 | local Rate = 0.033333333333333 | |
3249 | if not Pos then | |
3250 | local Pos = Vector3.new(0, 0, 0) | |
3251 | end | |
3252 | local Text = Text or "" | |
3253 | local Time = Time or 2 | |
3254 | if not Color then | |
3255 | local Color = Color3.new(1, 0, 1) | |
3256 | end | |
3257 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
3258 | EffectPart.Anchored = true | |
3259 | local BillboardGui = Create("BillboardGui")({ | |
3260 | Size = UDim2.new(3, 0, 3, 0), | |
3261 | Adornee = EffectPart, | |
3262 | Parent = EffectPart | |
3263 | }) | |
3264 | local TextLabel = Create("TextLabel")({ | |
3265 | BackgroundTransparency = 1, | |
3266 | Size = UDim2.new(1, 0, 1, 0), | |
3267 | Text = Text, | |
3268 | TextColor3 = Color, | |
3269 | TextScaled = true, | |
3270 | Font = Enum.Font.ArialBold, | |
3271 | Parent = BillboardGui | |
3272 | }) | |
3273 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
3274 | EffectPart.Parent = game:GetService("Workspace") | |
3275 | delay(0, function() | |
3276 | local Frames = Time / Rate | |
3277 | for Frame = 1, Frames do | |
3278 | wait(Rate) | |
3279 | local Percent = Frame / Frames | |
3280 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
3281 | TextLabel.TextTransparency = Percent | |
3282 | end | |
3283 | if EffectPart and EffectPart.Parent then | |
3284 | EffectPart:Destroy() | |
3285 | end | |
3286 | end) | |
3287 | end | |
3288 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
3289 | for _, c in pairs(workspace:children()) do | |
3290 | local hum = c:findFirstChild("Humanoid") | |
3291 | if hum ~= nil then | |
3292 | local head = c:findFirstChild("Head") | |
3293 | if head ~= nil then | |
3294 | local targ = head.Position - Part.Position | |
3295 | local mag = targ.magnitude | |
3296 | if magni >= mag and c.Name ~= Player.Name then | |
3297 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2) | |
3298 | end | |
3299 | end | |
3300 | end | |
3301 | end | |
3302 | end | |
3303 | function MagniKILL(Part, magni, knock, Type) | |
3304 | for _, c in pairs(workspace:children()) do | |
3305 | local hum = c:findFirstChild("Humanoid") | |
3306 | if hum ~= nil then | |
3307 | local head = c:findFirstChild("Head") | |
3308 | if head ~= nil then | |
3309 | local targ = head.Position - Part.Position | |
3310 | local mag = targ.magnitude | |
3311 | if magni >= mag and c.Name ~= Player.Name then | |
3312 | hum.Health = 0 | |
3313 | end | |
3314 | end | |
3315 | end | |
3316 | end | |
3317 | end | |
3318 | ||
3319 | ||
3320 | ||
3321 | ---myface!1--- | |
3322 | local p = game.Players.LocalPlayer; | |
3323 | local c = p.Character; | |
3324 | local h = c:WaitForChild'Head'; | |
3325 | local f = h:WaitForChild'face'; | |
3326 | f.Texture = 'rbxassetid://1117324305'; | |
3327 | ||
3328 | ||
3329 | EffectModel = Instance.new("Model", Character) | |
3330 | EffectModel.Name = "Effects" | |
3331 | function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
3332 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
3333 | prt.Anchored = true | |
3334 | prt.CFrame = cframe | |
3335 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
3336 | game:GetService("Debris"):AddItem(prt, 10) | |
3337 | if Type == 1 or Type == nil then | |
3338 | table.insert(Effects, { | |
3339 | prt, | |
3340 | "Block1", | |
3341 | delay, | |
3342 | x3, | |
3343 | y3, | |
3344 | z3, | |
3345 | msh | |
3346 | }) | |
3347 | elseif Type == 2 then | |
3348 | table.insert(Effects, { | |
3349 | prt, | |
3350 | "Block2", | |
3351 | delay, | |
3352 | x3, | |
3353 | y3, | |
3354 | z3, | |
3355 | msh | |
3356 | }) | |
3357 | elseif Type == 3 then | |
3358 | table.insert(Effects, { | |
3359 | prt, | |
3360 | "Block3", | |
3361 | delay, | |
3362 | x3, | |
3363 | y3, | |
3364 | z3, | |
3365 | msh | |
3366 | }) | |
3367 | end | |
3368 | end | |
3369 | function CreateSound(id, par, vol, pit) | |
3370 | coroutine.resume(coroutine.create(function() | |
3371 | local sou = Instance.new("Sound", par or workspace) | |
3372 | sou.Volume = vol | |
3373 | sou.Pitch = pit or 1 | |
3374 | sou.SoundId = id | |
3375 | swait() | |
3376 | sou:play() | |
3377 | game:GetService("Debris"):AddItem(sou, 6) | |
3378 | end)) | |
3379 | end | |
3380 | function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
3381 | local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
3382 | prt.Anchored = true | |
3383 | prt.CFrame = cframe | |
3384 | prt.Material = "Neon" | |
3385 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
3386 | game:GetService("Debris"):AddItem(prt, 10) | |
3387 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
3388 | for i = 0, 6, delay do | |
3389 | swait() | |
3390 | Part.Transparency = i | |
3391 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
3392 | end | |
3393 | Part.Parent = nil | |
3394 | end), prt, msh) | |
3395 | end | |
3396 | function shoottraildd(mouse, partt, SpreadAmount) | |
3397 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount / 10, SpreadAmount / 10), math.random(-SpreadAmount, SpreadAmount)) | |
3398 | local MainPos = mouse + Vector3.new(0, 6, 0) + RootPart.CFrame.lookVector * -2 | |
3399 | local MainPos2 = mouse + SpreadVectors | |
3400 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3401 | local speed = 100 | |
3402 | local num = 1 | |
3403 | coroutine.resume(coroutine.create(function() | |
3404 | repeat | |
3405 | swait() | |
3406 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3407 | local mag = (MainPos - pos).magnitude | |
3408 | Laser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0, 0, 0, 0, 10) | |
3409 | MainPos = MainPos + MouseLook.lookVector * speed | |
3410 | num = num - 1 | |
3411 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
3412 | if hit ~= nil then | |
3413 | num = 0 | |
3414 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3415 | refpart.Anchored = true | |
3416 | refpart.CFrame = CFrame.new(pos) | |
3417 | game:GetService("Debris"):AddItem(refpart, 2) | |
3418 | end | |
3419 | if num <= 0 then | |
3420 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3421 | refpart.Anchored = true | |
3422 | refpart.CFrame = CFrame.new(pos) | |
3423 | if hit ~= nil then | |
3424 | GroundPartFunk2(refpart, EffectModel, "Really black", 1, 0.05, 0.05, 10) | |
3425 | Effects.Sphere.Create(BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -10, 0, -10, 0.15) | |
3426 | Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 2.97, 0), 60, 60, 60, -10, -10, -10, 0.15) | |
3427 | MagniDamage(refpart, 6, 30, 45, 0, "Slice") | |
3428 | end | |
3429 | game:GetService("Debris"):AddItem(refpart, 0) | |
3430 | end | |
3431 | until num <= 0 | |
3432 | end)) | |
3433 | end | |
3434 | function shoottraildd2(mouse, partt, SpreadAmount) | |
3435 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3436 | local MainPos = partt.Position + RootPart.CFrame.lookVector * 1.5 | |
3437 | local MainPos2 = mouse + SpreadVectors | |
3438 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3439 | local speed = 1000 | |
3440 | local num = 0 | |
3441 | coroutine.resume(coroutine.create(function() | |
3442 | repeat | |
3443 | swait() | |
3444 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3445 | local mag = (MainPos - pos).magnitude | |
3446 | BlockLaser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.475, 0, -0.475, 0.14) | |
3447 | BlockLaser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0.5, mag * (speed / (speed / 2)), 0.5, -0.475, 0, -0.475, 0.14) | |
3448 | MainPos = MainPos + MouseLook.lookVector * speed | |
3449 | num = num - 1 | |
3450 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
3451 | if hit ~= nil then | |
3452 | num = 0 | |
3453 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3454 | refpart.Anchored = true | |
3455 | refpart.CFrame = CFrame.new(pos) | |
3456 | game:GetService("Debris"):AddItem(refpart, 2) | |
3457 | end | |
3458 | if num <= 0 then | |
3459 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3460 | refpart.Anchored = true | |
3461 | refpart.CFrame = CFrame.new(pos) | |
3462 | if hit ~= nil then | |
3463 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
3464 | BlockEffect(BrickColor.new("Really black"), refpart.CFrame, 1, 1, 1, 2.5, 2.5, 2.5, 0.08, 3) | |
3465 | BlockEffect(maincolor, refpart.CFrame, 1, 1, 1, 2, 2, 2, 0.08) | |
3466 | BlockEffect(maincolor, refpart.CFrame, 1, 1, 1, 2, 2, 2, 0.08) | |
3467 | BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 3, 3, 3, 0.1) | |
3468 | MagniDamage(refpart, 6, 2, 5, 0, "Slowness") | |
3469 | end | |
3470 | game:GetService("Debris"):AddItem(refpart, 0) | |
3471 | end | |
3472 | until num <= 0 | |
3473 | end)) | |
3474 | end | |
3475 | function shoottraildd3(mouse, partt, SpreadAmount, dmg) | |
3476 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3477 | local MainPos = mouse + Vector3.new(0, 500, 0) + SpreadVectors | |
3478 | local MainPos2 = mouse + SpreadVectors + Vector3.new(0, -110, 0) | |
3479 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3480 | local speed = 1000000 | |
3481 | local num = 5 | |
3482 | coroutine.resume(coroutine.create(function() | |
3483 | repeat | |
3484 | swait() | |
3485 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3486 | local mag = (MainPos - pos).magnitude | |
3487 | BlockLaser(maincolor, CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0.5, mag * (speed / (speed / 2)), 0.5, -0.275, 0, -0.275, 0.35) | |
3488 | MainPos = MainPos + MouseLook.lookVector * speed | |
3489 | num = num - 1 | |
3490 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
3491 | if hit ~= nil then | |
3492 | num = 0 | |
3493 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3494 | refpart.Anchored = true | |
3495 | refpart.CFrame = CFrame.new(pos) | |
3496 | game:GetService("Debris"):AddItem(refpart, 2) | |
3497 | end | |
3498 | if num <= 0 then | |
3499 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3500 | refpart.Anchored = true | |
3501 | refpart.CFrame = CFrame.new(pos) | |
3502 | if hit ~= nil then | |
3503 | Effects.Sphere.Create(BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -60, 0, -60, 0.1) | |
3504 | Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 1.97, 0), 1, 10, 1, 15, 40, 15, 0.1) | |
3505 | Effects.Sphere.Create(maincolor, refpart.CFrame * cn(0, 1.97, 0), 10, 0.05, 10, 15, 0, 15, 0.1) | |
3506 | MagniDamage(refpart, 14, 15, 15, 0, "Slice") | |
3507 | end | |
3508 | game:GetService("Debris"):AddItem(refpart, 0) | |
3509 | end | |
3510 | until num <= 0 | |
3511 | end)) | |
3512 | end | |
3513 | function shoottraildd4(mouse, partt, SpreadAmount) | |
3514 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3515 | local MainPos = partt.Position | |
3516 | local MainPos2 = mouse + SpreadVectors | |
3517 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3518 | local speed = 150 | |
3519 | local num = 0 | |
3520 | coroutine.resume(coroutine.create(function() | |
3521 | repeat | |
3522 | swait() | |
3523 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3524 | local mag = (MainPos - pos).magnitude | |
3525 | Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 0, mag * (speed / (speed / 2)), 0, 0, 0, 0, 10) | |
3526 | MainPos = MainPos + MouseLook.lookVector * speed | |
3527 | num = num - 1 | |
3528 | MouseLook = MouseLook * angles(math.rad(-1), 0, 0) | |
3529 | if hit ~= nil then | |
3530 | num = 0 | |
3531 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3532 | refpart.Anchored = true | |
3533 | refpart.CFrame = CFrame.new(pos) | |
3534 | game:GetService("Debris"):AddItem(refpart, 2) | |
3535 | end | |
3536 | if num <= 0 then | |
3537 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3538 | refpart.Anchored = true | |
3539 | refpart.CFrame = CFrame.new(pos) | |
3540 | if hit ~= nil then | |
3541 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
3542 | MagniDamage(refpart, 3, 0.001, 0.01, 0, "Stalk") | |
3543 | end | |
3544 | game:GetService("Debris"):AddItem(refpart, 0) | |
3545 | end | |
3546 | until num <= 0 | |
3547 | end)) | |
3548 | end | |
3549 | function shoottraildd5(mouse, partt, SpreadAmount) | |
3550 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
3551 | local MainPos = partt.Position + RootPart.CFrame.lookVector * 2.5 | |
3552 | local MainPos2 = mouse + SpreadVectors | |
3553 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
3554 | local speed = 3 | |
3555 | local num = 50 | |
3556 | coroutine.resume(coroutine.create(function() | |
3557 | repeat | |
3558 | swait() | |
3559 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
3560 | local mag = (MainPos - pos).magnitude | |
3561 | BlockLaser(BrickColor.new("Really black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 0.1, 0.175, 0, 0.175, 0.14) | |
3562 | MainPos = MainPos + MouseLook.lookVector * speed | |
3563 | num = num - 1 | |
3564 | MouseLook = MouseLook * angles(math.rad(0), 0, 0) | |
3565 | if hit ~= nil then | |
3566 | num = 0 | |
3567 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3568 | refpart.Anchored = true | |
3569 | refpart.CFrame = CFrame.new(pos) | |
3570 | game:GetService("Debris"):AddItem(refpart, 2) | |
3571 | end | |
3572 | if num <= 0 then | |
3573 | local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new()) | |
3574 | refpart.Anchored = true | |
3575 | refpart.CFrame = CFrame.new(pos) | |
3576 | if hit ~= nil then | |
3577 | CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1) | |
3578 | BlockEffect(BrickColor.new("Really black"), refpart.CFrame, 1, 1, 1, 5, 5, 5, 0.1) | |
3579 | MagniDamage(refpart, 8, 3, 15, 0, "Drag") | |
3580 | end | |
3581 | game:GetService("Debris"):AddItem(refpart, 1) | |
3582 | end | |
3583 | until num <= 0 | |
3584 | end)) | |
3585 | end | |
3586 | local Blood1 = Create("ParticleEmitter")({ | |
3587 | Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)), | |
3588 | Transparency = NumberSequence.new(0.1, 1), | |
3589 | Size = NumberSequence.new(0.5, 0), | |
3590 | Texture = "rbxassetid://602578593", | |
3591 | Lifetime = NumberRange.new(0.8), | |
3592 | Rate = 255, | |
3593 | VelocitySpread = 40, | |
3594 | Rotation = NumberRange.new(100), | |
3595 | Speed = NumberRange.new(5), | |
3596 | LightEmission = 0, | |
3597 | LockedToPart = false, | |
3598 | Acceleration = Vector3.new(0, -10, 0), | |
3599 | EmissionDirection = "Bottom" | |
3600 | }) | |
3601 | local Blood2 = Create("ParticleEmitter")({ | |
3602 | Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)), | |
3603 | Transparency = NumberSequence.new(0.1, 1), | |
3604 | Size = NumberSequence.new(0.3, 0), | |
3605 | Texture = "rbxassetid://602578593", | |
3606 | Lifetime = NumberRange.new(0.8), | |
3607 | Rate = 255, | |
3608 | VelocitySpread = 180, | |
3609 | Rotation = NumberRange.new(100), | |
3610 | Speed = NumberRange.new(2), | |
3611 | LightEmission = 0.1, | |
3612 | LockedToPart = false, | |
3613 | Acceleration = Vector3.new(0, -5, 0), | |
3614 | EmissionDirection = "Bottom" | |
3615 | }) | |
3616 | function HitpartFunk3(HPart3, Xv, Yv, Zv) | |
3617 | Hitpart3 = Instance.new("Part", EffectModel) | |
3618 | RemoveOutlines(Hitpart3) | |
3619 | Hitpart3.Size = Vector3.new(1, 1, 1) | |
3620 | Hitpart3.CanCollide = false | |
3621 | HuW3 = Instance.new("Weld") | |
3622 | HuW3.Name = "GuW" | |
3623 | HuW3.Part0 = HPart3 | |
3624 | HuW3.C0 = cn(Xv, Yv, Zv) | |
3625 | HuW3.C1 = cn(0, 0, 0) | |
3626 | HuW3.Part1 = Hitpart3 | |
3627 | HuW3.Parent = HPart3 | |
3628 | Hitpart3.Transparency = 1 | |
3629 | game:GetService("Debris"):AddItem(Hitpart3, 20) | |
3630 | end | |
3631 | function HitpartFunk2(HPart2, Xv, Yv, Zv) | |
3632 | Hitpart2 = Instance.new("Part", EffectModel) | |
3633 | RemoveOutlines(Hitpart2) | |
3634 | Hitpart2.Size = Vector3.new(1, 1, 1) | |
3635 | Hitpart2.CanCollide = false | |
3636 | HuW2 = Instance.new("Weld") | |
3637 | HuW2.Name = "GuW" | |
3638 | HuW2.Part0 = HPart2 | |
3639 | HuW2.C0 = cn(Xv, Yv, Zv) | |
3640 | HuW2.C1 = cn(0, 0, 0) | |
3641 | HuW2.Part1 = Hitpart2 | |
3642 | HuW2.Parent = HPart2 | |
3643 | Hitpart2.Transparency = 1 | |
3644 | game:GetService("Debris"):AddItem(Hitpart2, 20) | |
3645 | end | |
3646 | function HitpartFunk(HPart, Min, Max, Xv, Yv, Zv, atype, kb) | |
3647 | Hitpart = Instance.new("Part", EffectModel) | |
3648 | RemoveOutlines(Hitpart) | |
3649 | Hitpart.Size = Vector3.new(1, 1, 1) | |
3650 | Hitpart.CanCollide = false | |
3651 | HuW = Instance.new("Weld") | |
3652 | HuW.Name = "GuW" | |
3653 | HuW.Part0 = HPart | |
3654 | HuW.C0 = cn(Xv, Yv, Zv) | |
3655 | HuW.C1 = cn(0, 0, 0) | |
3656 | HuW.Part1 = Hitpart | |
3657 | HuW.Parent = HPart | |
3658 | Hitpart.Transparency = 1 | |
3659 | game:GetService("Debris"):AddItem(Hitpart2, 20) | |
3660 | MagniDamage(Hitpart, 4.5, Min, Max, kb, atype) | |
3661 | end | |
3662 | function HitpartFunk4(HPart, Min, Max, Xv, Yv, Zv, atype, kb) | |
3663 | Hitpart4 = Instance.new("Part", EffectModel) | |
3664 | RemoveOutlines(Hitpart4) | |
3665 | Hitpart4.Size = Vector3.new(1, 1, 1) | |
3666 | Hitpart4.CanCollide = false | |
3667 | HuW4 = Instance.new("Weld") | |
3668 | HuW4.Name = "HuW4" | |
3669 | HuW4.Part0 = HPart | |
3670 | HuW4.C0 = cn(Xv, Yv, Zv) | |
3671 | HuW4.C1 = cn(0, 0, 0) | |
3672 | HuW4.Part1 = Hitpart4 | |
3673 | HuW4.Parent = HPart | |
3674 | Hitpart4.Transparency = 1 | |
3675 | game:GetService("Debris"):AddItem(Hitpart4, 1) | |
3676 | MagniDamage(Hitpart4, 6.5, Min, Max, kb, atype) | |
3677 | end | |
3678 | function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype) | |
3679 | Hitboxpart = Instance.new("Part", EffectModel) | |
3680 | RemoveOutlines(Hitboxpart) | |
3681 | Hitboxpart.Size = Vector3.new(siz1, siz2, siz3) | |
3682 | Hitboxpart.CanCollide = false | |
3683 | Hitboxpart.Transparency = 1 | |
3684 | Hitboxpart.Anchored = true | |
3685 | Hitboxpart.CFrame = Pose | |
3686 | game:GetService("Debris"):AddItem(Hitboxpart, lifetime) | |
3687 | MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype) | |
3688 | end | |
3689 | wait2 = false | |
3690 | combo = 1 | |
3691 | mouse.Button1Down:connect(function(key) | |
3692 | if attack == false then | |
3693 | attack = true | |
3694 | Humanoid.WalkSpeed = 3.01 | |
3695 | if combo == 1 and wait2 == false then | |
3696 | wait2 = true | |
3697 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", LeftArm, 1, 0.8) | |
3698 | for i = 0, 1, 0.1 do | |
3699 | swait() | |
3700 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3) | |
3701 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.1) | |
3702 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, 0.8) * angles(math.rad(90), math.rad(-10), math.rad(90)), 0.1) | |
3703 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
3704 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(25), math.rad(-10)), 0.3) | |
3705 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(45), math.rad(0)), 0.3) | |
3706 | end | |
3707 | HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
3708 | for i = 0, 1, 0.1 do | |
3709 | swait() | |
3710 | BlockEffect(maincolor, SwHandle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
3711 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
3712 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1) | |
3713 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(0)), 0.4) | |
3714 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3) | |
3715 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
3716 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
3717 | end | |
3718 | combo = 2 | |
3719 | end | |
3720 | if combo == 2 and wait2 == false then | |
3721 | wait2 = true | |
3722 | for i = 0, 1, 0.1 do | |
3723 | swait() | |
3724 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
3725 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1) | |
3726 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.3, -0.4) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.1) | |
3727 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.1) | |
3728 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
3729 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
3730 | end | |
3731 | HitboxFunction(RootPart.CFrame * cn(0, 0, -3), 0.5, 1, 1, 1, 5, 10, 20, 3, "Normal") | |
3732 | for i = 0, 0.5, 0.1 do | |
3733 | swait() | |
3734 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(4), math.rad(0), math.rad(45)), 0.3) | |
3735 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1) | |
3736 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, -0.4) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.2) | |
3737 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
3738 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
3739 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
3740 | end | |
3741 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435136", SwHandle, 2, 0.9) | |
3742 | BlockEffect(maincolor, Hitboxpart.CFrame, 11, 11, 11, 10, 10, 10, 0.08, 2) | |
3743 | for i = 0, 0.8, 0.1 do | |
3744 | swait() | |
3745 | HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal") | |
3746 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(-16), math.rad(0), math.rad(-45)), 0.3) | |
3747 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(35)), 0.1) | |
3748 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, -0.4) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5) | |
3749 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
3750 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(45), math.rad(0)), 0.3) | |
3751 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(25), math.rad(50)), 0.3) | |
3752 | end | |
3753 | combo = 3 | |
3754 | end | |
3755 | if combo == 3 and wait2 == false then | |
3756 | wait2 = true | |
3757 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", SwHandle, 1, 0.8) | |
3758 | for i = 0, 1, 0.1 do | |
3759 | swait() | |
3760 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(-90)), 0.3) | |
3761 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2) | |
3762 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(95 + 0 * math.cos(sine / 25)), math.rad(95 + 1 * math.cos(sine / 25))), 0.4) | |
3763 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45 + 1 * math.cos(sine / 25))), 0.2) | |
3764 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2) | |
3765 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
3766 | end | |
3767 | HitboxFunction(RootPart.CFrame * cn(0, 0, -2), 0.1, 1, 1, 1, 5, 10, 20, 3, "Normal") | |
3768 | for i = 0, 1, 0.1 do | |
3769 | swait() | |
3770 | BlockEffect(maincolor, RightArm.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2) | |
3771 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(45)), 0.3) | |
3772 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.2) | |
3773 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(45 + 0 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.4) | |
3774 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, 0) * angles(math.rad(45), math.rad(0), math.rad(20 + 1 * math.cos(sine / 25))), 0.3) | |
3775 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * RHCF * angles(math.rad(5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(8 + 1 * math.cos(sine / 25))), 0.2) | |
3776 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(20 + 1 * math.cos(sine / 25))), 0.2) | |
3777 | end | |
3778 | for i = 0, 0.5, 0.1 do | |
3779 | swait() | |
3780 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(45)), 0.3) | |
3781 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.2) | |
3782 | RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(45 + 0 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.4) | |
3783 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, 0) * angles(math.rad(45), math.rad(0), math.rad(20 + 1 * math.cos(sine / 25))), 0.3) | |
3784 | RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * RHCF * angles(math.rad(5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(8 + 1 * math.cos(sine / 25))), 0.2) | |
3785 | LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-5 + 1 * math.cos(sine / 25)), math.rad(-50), math.rad(20 + 1 * math.cos(sine / 25))), 0.2) | |
3786 | end | |
3787 | combo = 1 | |
3788 | end | |
3789 | - | s.SoundId = "http://www.roblox.com/asset/?id=939890932" |
3789 | + | |
3790 | wait2 = false | |
3791 | - | s.Volume = math.huge |
3791 | + | |
3792 | end | |
3793 | end) | |
3794 | local s = Instance.new("Sound", Torso) | |
3795 | s.Name = "BGMusic" | |
3796 | s.SoundId = "http://www.roblox.com/asset/?id=573970890" | |
3797 | - | v.BrickColor = BrickColor.new("Fossil") |
3797 | + | |
3798 | s.Volume = 8 | |
3799 | s.Looped = true | |
3800 | s.archivable = false | |
3801 | s:play() | |
3802 | - | maincolor = BrickColor.new("New Yeller") |
3802 | + | |
3803 | for i, v in pairs(ArmorColorParts) do | |
3804 | v.BrickColor = BrickColor.new("Really black") | |
3805 | v.Material = "Metal" | |
3806 | v.Transparency = 0 | |
3807 | - | s.SoundId = "http://www.roblox.com/asset/?id=939890932" |
3807 | + | |
3808 | for i, v in pairs(NeonColorParts) do | |
3809 | maincolor = BrickColor.new("Lime green") | |
3810 | v.BrickColor = maincolor | |
3811 | v.Material = "Neon" | |
3812 | v.Transparency = 0 | |
3813 | - | s.Volume = math.huge |
3813 | + | |
3814 | s.SoundId = "http://www.roblox.com/asset/?id=573970890" | |
3815 | - | CV="White" |
3815 | + | |
3816 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=192316062" | |
3817 | - | p = game.Players.LocalPlayer |
3817 | + | |
3818 | - | char = p.Character |
3818 | + | |
3819 | - | local txt = Instance.new("BillboardGui", char) |
3819 | + | |
3820 | - | txt.Adornee = char .Head |
3820 | + | s.Volume = 8 |
3821 | - | txt.Name = "_status" |
3821 | + | function chat(...) |
3822 | - | txt.Size = UDim2.new(2, 0, 1.2, 0) |
3822 | + | local txxt = {...} |
3823 | - | txt.StudsOffset = Vector3.new(-9, 8.5, 0) |
3823 | + | local ch = coroutine.wrap(function() |
3824 | - | local text = Instance.new("TextLabel", txt) |
3824 | + | if chara:FindFirstChild("Chatt")~= nil then |
3825 | - | text.Size = UDim2.new(10, 0, 7, 0) |
3825 | + | Character:FindFirstChild("Chatt"):destroy() |
3826 | - | text.FontSize = "Size24" |
3826 | + | |
3827 | - | text.TextScaled = true |
3827 | + | local txt = Instance.new("BillboardGui", chara) |
3828 | - | text.TextTransparency = 0 |
3828 | + | txt.Adornee = chara.Head |
3829 | - | text.BackgroundTransparency = 1 |
3829 | + | txt.Name = "Chatt" |
3830 | - | text.TextTransparency = 0 |
3830 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
3831 | - | text.TextStrokeTransparency = 1 |
3831 | + | txt.StudsOffset = Vector3.new(-9, 7, 0) |
3832 | - | text.Font = "SciFi" |
3832 | + | local text = Instance.new("TextLabel", txt) |
3833 | - | text.TextStrokeColor3 = Color3.new(255,0,0) |
3833 | + | text.Size = UDim2.new(10, 0, 7, 0) |
3834 | text.TextSize = 24 | |
3835 | - | v=Instance.new("Part") |
3835 | + | text.Font = Enum.Font.Cartoon |
3836 | - | v.Name = "ColorBrick" |
3836 | + | text.TextScaled = false |
3837 | - | v.Parent=p.Character |
3837 | + | text.BackgroundTransparency = 1 |
3838 | - | v.FormFactor="Symmetric" |
3838 | + | text.TextColor3 = Color3.new(0,255,0) |
3839 | - | v.Anchored=true |
3839 | + | text.TextStrokeTransparency = 0 |
3840 | - | v.CanCollide=false |
3840 | + | text.TextStrokeColor3 = Color3.new(50,50,50) |
3841 | - | v.BottomSurface="Smooth" |
3841 | + | text.Text = "" |
3842 | - | v.TopSurface="Smooth" |
3842 | + | txxt = table.concat(txxt,"\t") |
3843 | - | v.Size=Vector3.new(20,15,13) |
3843 | + | for i = 1, #txxt do |
3844 | - | v.Transparency=1 |
3844 | + | text.Text = txxt:sub(1,i) |
3845 | - | v.CFrame=char.Torso.CFrame |
3845 | + | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=417445954", Character, 12, .7) |
3846 | - | v.BrickColor=BrickColor.new(CV) |
3846 | + | wait() |
3847 | - | v.Transparency=1 |
3847 | + | |
3848 | - | text.TextColor3 = Color3.new(255,255,0) |
3848 | + | |
3849 | - | v.Shape="Block" |
3849 | + | for trans = 0,1,.1 do |
3850 | - | text.Text = "Prototype Umbra Subject - 011" |
3850 | + | text.TextTransparency = trans |
3851 | - | coroutine.wrap(function() |
3851 | + | text.TextStrokeTransparency = trans |
3852 | - | while wait() do |
3852 | + | wait() |
3853 | - | wait(3) |
3853 | + | |
3854 | - | text.Text = "Im broken" |
3854 | + | |
3855 | txt:destroy() | |
3856 | - | text.Text = "Prototype Umbra Subject - 011"; |
3856 | + | end) |
3857 | ||
3858 | - | local str = "" |
3858 | + | ch(...) |
3859 | - | for i = 1, math.random(3,25) do |
3859 | + | |
3860 | - | str = str..string.char(math.random(65,122)) |
3860 | + | Player.Chatted:connect(chat) |
3861 | CFuncs = { | |
3862 | - | text.Text = str |
3862 | + | ["Part"] = { |
3863 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
3864 | - | str = "" |
3864 | + | local Part = Create("Part"){ |
3865 | - | for i = 1, math.random(12,25) do |
3865 | + | Parent = Parent, |
3866 | - | str = str..string.char(math.random(48,122)) |
3866 | + | Reflectance = Reflectance, |
3867 | Transparency = Transparency, | |
3868 | CanCollide = false, | |
3869 | - | text.Text = str |
3869 | + | Locked = true, |
3870 | BrickColor = BrickColor.new(tostring(BColor)), | |
3871 | - | text.Text = "Prototype Umbra Subject - 011"; |
3871 | + | Name = Name, |
3872 | - | wait(1) |
3872 | + | Size = Size, |
3873 | - | text.Text = "THE PAIN" |
3873 | + | Material = Material, |
3874 | } | |
3875 | - | text.Text = "Guinnie Pig" |
3875 | + | RemoveOutlines(Part) |
3876 | return Part | |
3877 | - | text.Text = "Prototype Umbra Subject - 011"; |
3877 | + | end; |
3878 | }; | |
3879 | - | text.Text = "You made me do this."; |
3879 | + | |
3880 | ["Mesh"] = { | |
3881 | - | text.Text = "Run"; |
3881 | + | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) |
3882 | local Msh = Create(Mesh){ | |
3883 | - | for i = 1, math.random(12,25) do |
3883 | + | Parent = Part, |
3884 | - | str = str..string.char(math.random(48,57)) |
3884 | + | Offset = OffSet, |
3885 | Scale = Scale, | |
3886 | - | text.Text = str |
3886 | + | } |
3887 | if Mesh == "SpecialMesh" then | |
3888 | - | text.Text = "Prototype Umbra Subject - 011"; |
3888 | + | Msh.MeshType = MeshType |
3889 | Msh.MeshId = MeshId | |
3890 | end | |
3891 | - | end)() |
3891 | + | return Msh |
3892 | end; | |
3893 | - | |
3893 | + | }; |
3894 | ||
3895 | ["Mesh"] = { | |
3896 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
3897 | local Msh = Create(Mesh){ | |
3898 | - | s.SoundId = "http://www.roblox.com/asset/?id=433582179" |
3898 | + | Parent = Part, |
3899 | Offset = OffSet, | |
3900 | Scale = Scale, | |
3901 | } | |
3902 | if Mesh == "SpecialMesh" then | |
3903 | Msh.MeshType = MeshType | |
3904 | Msh.MeshId = MeshId | |
3905 | end | |
3906 | - | RoHead.BrickColor = BrickColor.new("Fossil") |
3906 | + | return Msh |
3907 | end; | |
3908 | }; | |
3909 | ||
3910 | ["Weld"] = { | |
3911 | Create = function(Parent, Part0, Part1, C0, C1) | |
3912 | local Weld = Create("Weld"){ | |
3913 | Parent = Parent, | |
3914 | Part0 = Part0, | |
3915 | Part1 = Part1, | |
3916 | C0 = C0, | |
3917 | C1 = C1, | |
3918 | } | |
3919 | return Weld | |
3920 | end; | |
3921 | }; | |
3922 | ||
3923 | ["Sound"] = { | |
3924 | Create = function(id, par, vol, pit) | |
3925 | coroutine.resume(coroutine.create(function() | |
3926 | local S = Create("Sound"){ | |
3927 | Volume = vol, | |
3928 | Pitch = pit or 1, | |
3929 | SoundId = id, | |
3930 | Parent = par or workspace, | |
3931 | } | |
3932 | wait() | |
3933 | S:play() | |
3934 | game:GetService("Debris"):AddItem(S, 6) | |
3935 | end)) | |
3936 | end; | |
3937 | - | v.BrickColor = BrickColor.new("Fossil") |
3937 | + | }; |
3938 | ||
3939 | ["ParticleEmitter"] = { | |
3940 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
3941 | local fp = Create("ParticleEmitter"){ | |
3942 | Parent = Parent, | |
3943 | Color = ColorSequence.new(Color1, Color2), | |
3944 | LightEmission = LightEmission, | |
3945 | Size = Size, | |
3946 | Texture = Texture, | |
3947 | Transparency = Transparency, | |
3948 | ZOffset = ZOffset, | |
3949 | Acceleration = Accel, | |
3950 | Drag = Drag, | |
3951 | LockedToPart = LockedToPart, | |
3952 | VelocityInheritance = VelocityInheritance, | |
3953 | EmissionDirection = EmissionDirection, | |
3954 | Enabled = Enabled, | |
3955 | - | s.SoundId = "http://www.roblox.com/asset/?id=925065735" |
3955 | + | Lifetime = LifeTime, |
3956 | Rate = Rate, | |
3957 | Rotation = Rotation, | |
3958 | - | v.BrickColor = BrickColor.new("Fossil") |
3958 | + | RotSpeed = RotSpeed, |
3959 | Speed = Speed, | |
3960 | VelocitySpread = VelocitySpread, | |
3961 | } | |
3962 | return fp | |
3963 | - | maincolor = BrickColor.new("New Yeller") |
3963 | + | end; |
3964 | }; | |
3965 | ||
3966 | CreateTemplate = { | |
3967 | ||
3968 | }; | |
3969 | } | |
3970 | ||
3971 | function rayCast(Position, Direction, Range, Ignore) | |
3972 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
3973 | end | |
3974 | ||
3975 | - | s.SoundId = "http://www.roblox.com/asset/?id=598734476" |
3975 | + | |
3976 | shirt = Instance.new("Shirt", Character) | |
3977 | shirt.Name = "Shirt" | |
3978 | pants = Instance.new("Pants", Character) | |
3979 | pants.Name = "Pants" | |
3980 | - | v.BrickColor = BrickColor.new("Fossil") |
3980 | + | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=691135228" |
3981 | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=691102036" | |
3982 | end | |
3983 | elementwait = false | |
3984 | mouse.KeyDown:connect(function(key) | |
3985 | - | maincolor = BrickColor.new("New Yeller") |
3985 | + | |
3986 | if key == "q" and elementmode == "Mode 1" then | |
3987 | elementmode = "Mode 2" | |
3988 | s.SoundId = "http://www.roblox.com/asset/?id=622820644" | |
3989 | s:play() | |
3990 | RoHead = Instance.new("Part") | |
3991 | RoHead.Parent = Character | |
3992 | RoHead.Size = Vector3.new(0.2, 0.2, 0.2) | |
3993 | RoHead.Archivable = true | |
3994 | RoHead.Transparency = 0 | |
3995 | RoHead.Shape = "Ball" | |
3996 | - | s.SoundId = "http://www.roblox.com/asset/?id=414264200" |
3996 | + | RoHead.BrickColor = BrickColor.new("Lime green") |
3997 | - | s:play() |
3997 | + | |
3998 | RoHead.CanCollide = false | |
3999 | - | v.BrickColor = BrickColor.new("Fossil") |
3999 | + | |
4000 | mesh.MeshId = "rbxassetid://1098615373" | |
4001 | mesh.Scale = Vector3.new(1, 1, 1) | |
4002 | local weld2en = Instance.new("Weld") | |
4003 | weld2en.Parent = Character.Head | |
4004 | weld2en.Part0 = Character.Head | |
4005 | weld2en.Part1 = RoHead | |
4006 | weld2en.C1 = cn(0, -0.01, 0) * angles(math.rad(0), math.rad(180), math.rad(0)) | |
4007 | local eye2 = Instance.new("Part") | |
4008 | eye2.Parent = RoHead | |
4009 | eye2.Size = Vector3.new(0.2, 0.2, 0.2) | |
4010 | - | eye1.BrickColor = BrickColor.new("Plum") |
4010 | + | |
4011 | - | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1167338363" |
4011 | + | |
4012 | eye2.Shape = "Ball" | |
4013 | eye2.BrickColor = maincolor | |
4014 | eye2.Material = "Neon" | |
4015 | eye2.CanCollide = false | |
4016 | local mesh = Instance.new("SpecialMesh", eye2) | |
4017 | mesh.MeshType = "Sphere" | |
4018 | - | s.SoundId = "http://www.roblox.com/asset/?id=888239387" |
4018 | + | |
4019 | local weld3en = Instance.new("Weld") | |
4020 | weld3en.Parent = Character.Head | |
4021 | weld3en.Part0 = Character.Head | |
4022 | - | v.BrickColor = BrickColor.new("Fossil") |
4022 | + | |
4023 | weld3en.C1 = CFrame.new(-0.48, -0.2, 0.3275) | |
4024 | table.insert(NeonColorParts, eye2) | |
4025 | BC.HeadColor = BrickColor.new("Really black") | |
4026 | for i, v in pairs(ArmorColorParts) do | |
4027 | v.BrickColor = BrickColor.new("Really black") | |
4028 | v.Material = "Metal" | |
4029 | v.Transparency = 0 | |
4030 | end | |
4031 | for i, v in pairs(NeonColorParts) do | |
4032 | - | s.Volume = math.huge |
4032 | + | maincolor = BrickColor.new("Lime green") |
4033 | v.BrickColor = maincolor | |
4034 | v.Material = "Neon" | |
4035 | v.Transparency = 0 | |
4036 | end | |
4037 | elseif key == "q" and elementmode == "Mode 2" then | |
4038 | elementmode = "Mode 1" | |
4039 | resetmode() | |
4040 | BC.HeadColor = BCsave.HeadColor | |
4041 | RoHead:Destroy() | |
4042 | end | |
4043 | if key == "e" and elementmode == "Mode 1" then | |
4044 | elementmode = "Mode 3" | |
4045 | s.SoundId = "http://www.roblox.com/asset/?id=238523921" | |
4046 | s:play() | |
4047 | for i, v in pairs(ArmorColorParts) do | |
4048 | v.BrickColor = BrickColor.new("Really black") | |
4049 | v.Material = "Plastic" | |
4050 | v.Transparency = 0 | |
4051 | - | bg2.D = 0 |
4051 | + | |
4052 | - | bg2.P = 100 |
4052 | + | |
4053 | maincolor = BrickColor.new("Lime green") | |
4054 | v.BrickColor = maincolor | |
4055 | v.Material = "Neon" | |
4056 | v.Transparency = 0 | |
4057 | end | |
4058 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=1048000294" | |
4059 | elseif key == "e" and elementmode == "Mode 3" then | |
4060 | elementmode = "Mode 1" | |
4061 | resetmode() | |
4062 | end | |
4063 | if key == "r" and elementmode == "Mode 1" then | |
4064 | elementmode = "Mode 4" | |
4065 | s.SoundId = "http://www.roblox.com/asset/?id=926771068" | |
4066 | - | bg2.D = 0 |
4066 | + | |
4067 | - | bg2.P = 50 |
4067 | + | |
4068 | Character.Head.face.Transparency = 0 | |
4069 | for i, v in pairs(ArmorColorParts) do | |
4070 | v.BrickColor = BrickColor.new("Really black") | |
4071 | v.Material = "Granite" | |
4072 | v.Transparency = 0.2 | |
4073 | end | |
4074 | for i, v in pairs(NeonColorParts) do | |
4075 | maincolor = BrickColor.new("Lime green") | |
4076 | v.BrickColor = maincolor | |
4077 | v.Material = "Neon" | |
4078 | v.Transparency = 0 | |
4079 | end | |
4080 | - | bg2.D = 0 |
4080 | + | |
4081 | - | bg2.P = 25 |
4081 | + | |
4082 | resetmode() | |
4083 | end | |
4084 | if key == "t" and elementmode == "Mode 1" then | |
4085 | elementmode = "Mode 5" | |
4086 | s.SoundId = "http://www.roblox.com/asset/?id=173494388" | |
4087 | s:play() | |
4088 | for i, v in pairs(ArmorColorParts) do | |
4089 | v.BrickColor = BrickColor.new("Really black") | |
4090 | v.Material = "Slate" | |
4091 | v.Transparency = 0.01 | |
4092 | end | |
4093 | for i, v in pairs(NeonColorParts) do | |
4094 | maincolor = BrickColor.new("Really red") | |
4095 | v.BrickColor = maincolor | |
4096 | v.Material = "Neon" | |
4097 | v.Transparency = 0 | |
4098 | end | |
4099 | eye1.Material = "Neon" | |
4100 | eye1.BrickColor = BrickColor.new("Really red") | |
4101 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=508723120" | |
4102 | elseif key == "t" and elementmode == "Mode 5" then | |
4103 | elementmode = "Mode 1" | |
4104 | resetmode() | |
4105 | end | |
4106 | if key == "y" and elementmode == "Mode 1" then | |
4107 | elementmode = "Mode 6" | |
4108 | s.SoundId = "http://www.roblox.com/asset/?id=681311208" | |
4109 | s:play() | |
4110 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=508723120" | |
4111 | for i, v in pairs(ArmorColorParts) do | |
4112 | v.BrickColor = BrickColor.new("Really black") | |
4113 | v.Material = "Slate" | |
4114 | v.Transparency = 0 | |
4115 | end | |
4116 | for i, v in pairs(NeonColorParts) do | |
4117 | maincolor = BrickColor.new("Really red") | |
4118 | v.BrickColor = maincolor | |
4119 | v.Material = "Neon" | |
4120 | v.Transparency = 0 | |
4121 | end | |
4122 | s.Volume = 8 | |
4123 | elseif key == "y" and elementmode == "Mode 6" then | |
4124 | - | Effects.Sphere.Create(BrickColor.new("New Yeller"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -40, 3, -40, 0.05) |
4124 | + | |
4125 | resetmode() | |
4126 | end | |
4127 | end | |
4128 | end) | |
4129 | attackz = false | |
4130 | attackx = false | |
4131 | attackc = false | |
4132 | mouse.KeyDown:connect(function(key) | |
4133 | if elementmode == "Mode 2" then | |
4134 | if key == "z" and attack == false and attackz == false then | |
4135 | attack = true | |
4136 | attackz = true | |
4137 | local bg2 = Instance.new("BodyGyro", game.Players.LocalPlayer.Character.HumanoidRootPart) | |
4138 | Humanoid.WalkSpeed = 4 | |
4139 | for i = 0, 2, 0.1 do | |
4140 | swait() | |
4141 | bg2.D = 500 | |
4142 | bg2.P = 9999 | |
4143 | bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge | |
4144 | bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z)) | |
4145 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.3) | |
4146 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.2) | |
4147 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, -0.2) * angles(math.rad(140), math.rad(0), math.rad(5)), 0.2) | |
4148 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(120), math.rad(0), math.rad(25)), 0.1) | |
4149 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3) | |
4150 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3) | |
4151 | end | |
4152 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=698823472", SwHandle, 1, 1.1) | |
4153 | Humanoid.WalkSpeed = 2 | |
4154 | for i = 0, 3, 0.1 do | |
4155 | swait() | |
4156 | bg2.D = 500 | |
4157 | bg2.P = 9999 | |
4158 | bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge | |
4159 | bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z)) | |
4160 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1) | |
4161 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1) | |
4162 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, -0.2) * angles(math.rad(90), math.rad(0), math.rad(25)), 0.2) | |
4163 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.2) | |
4164 | RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1) | |
4165 | LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1) | |
4166 | end | |
4167 | game:GetService("Debris"):AddItem(bg2, 1.5) | |
4168 | for i = 0, 17 do | |
4169 | Humanoid.WalkSpeed = 0 | |
4170 | bg2.D = 50 | |
4171 | bg2.P = 9999 | |
4172 | bg2.maxTorque = Vector3.new(100000, 1, 100000) * math.huge | |
4173 | bg2.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(game.Players.LocalPlayer:GetMouse().hit.p.x, game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, game.Players.LocalPlayer:GetMouse().hit.p.z)) | |
4174 | for i = 0, 0.3, 0.1 do | |
4175 | swait() | |
4176 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1) | |
4177 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1) | |
4178 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, -0.2) * angles(math.rad(90), math.rad(0), math.rad(25)), 0.4) | |
4179 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.2) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.4) | |
4180 | RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1) | |
4181 | LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1) | |
4182 | end | |
4183 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=397307108", RightArm, 1.4, 1.2) | |
4184 | shoottraildd2(mouse.Hit.p, RightArm, 0.55) | |
4185 | BlockEffect(BrickColor.new("Really red"), RightArm.CFrame * cn(0, -1.5, 0), 2, 2, 2, 2, 2, 2, 0.05, 1) | |
4186 | BlockEffect(BrickColor.new("White"), RightArm.CFrame * cn(0, -1.5, 0), 2, 2, 2, 1, 1, 1, 0.06, 1) | |
4187 | Effects.Sphere.Create(BrickColor.new("Really red"), RightArm.CFrame * cn(0, -1, 0), 10, 0.01, 10, 3, 0, 3, 0.05) | |
4188 | for i = 0, 0.1, 0.1 do | |
4189 | swait() | |
4190 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1) | |
4191 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1) | |
4192 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(120), math.rad(0), math.rad(25)), 0.2) | |
4193 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.3) * angles(math.rad(120), math.rad(0), math.rad(45)), 0.2) | |
4194 | RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1) | |
4195 | LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1) | |
4196 | end | |
4197 | end | |
4198 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=698824317", SwHandle, 1, 1.1) | |
4199 | for i = 0, 2, 0.1 do | |
4200 | swait() | |
4201 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(25)), 0.1) | |
4202 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-25), math.rad(-25)), 0.1) | |
4203 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(40), math.rad(0), math.rad(25)), 0.2) | |
4204 | LW.C0 = clerp(LW.C0, CFrame.new(-0.6, 0.5, -0.3) * angles(math.rad(40), math.rad(0), math.rad(45)), 0.2) | |
4205 | RH.C0 = clerp(RH.C0, cn(1.1, -0.2, -0.3) * RHCF * angles(math.rad(0), math.rad(-25), math.rad(0)), 0.1) | |
4206 | LH.C0 = clerp(LH.C0, cn(-0.9, -1.5, -0.8) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(90)), 0.1) | |
4207 | end | |
4208 | attack = false | |
4209 | Humanoid.WalkSpeed = 16 | |
4210 | wait(1.5) | |
4211 | attackz = false | |
4212 | end | |
4213 | if key == "x" and attack == false and attackx == false then | |
4214 | Effects.Sphere.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -40, 3, -40, 0.05) | |
4215 | BlockEffect(BrickColor.new("White"), RightLeg.CFrame * cn(0, -1.5, 0), 23, 23, 23, 17, 17, 17, 0.1, 1) | |
4216 | BlockEffect(BrickColor.new("White"), LeftLeg.CFrame * cn(0, -1.5, 0), 23, 23, 23, 17, 17, 17, 0.1, 1) | |
4217 | attack = true | |
4218 | attackx = true | |
4219 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=874376217", Torso, 2, 1) | |
4220 | local bodyVelocity = Create("BodyVelocity")({ | |
4221 | velocity = Vector3.new(0, 200, 0) + RootPart.CFrame.lookVector * 40, | |
4222 | P = 5000, | |
4223 | maxForce = Vector3.new(80000, 80000, 80000), | |
4224 | Parent = RootPart | |
4225 | }) | |
4226 | game:GetService("Debris"):AddItem(bodyVelocity, 0.2) | |
4227 | for i = 0, 2, 0.1 do | |
4228 | swait() | |
4229 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.5) | |
4230 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4231 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.4) * angles(math.rad(80), math.rad(0 * math.cos(sine / 25)), math.rad(-45)), 0.2) | |
4232 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.4) * angles(math.rad(70), math.rad(0), math.rad(55)), 0.2) | |
4233 | RH.C0 = clerp(RH.C0, cn(1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2) | |
4234 | LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4235 | end | |
4236 | for i = 0, 1, 0.1 do | |
4237 | swait() | |
4238 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4239 | velocity = Vector3.new(0, 0, 0) + RootPart.CFrame.lookVector * 0, | |
4240 | P = 5000, | |
4241 | maxForce = Vector3.new(8000, 8000, 8000), | |
4242 | Parent = RootPart | |
4243 | }) | |
4244 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.01) | |
4245 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.5) | |
4246 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4247 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.4) * angles(math.rad(80), math.rad(0 * math.cos(sine / 25)), math.rad(-45)), 0.2) | |
4248 | LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.4) * angles(math.rad(70), math.rad(0), math.rad(55)), 0.2) | |
4249 | RH.C0 = clerp(RH.C0, cn(1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2) | |
4250 | LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.2) | |
4251 | end | |
4252 | for i = 0, 20 do | |
4253 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=287142895", Torso, 1, 0.8) | |
4254 | local targeto1 = RootPart.Position | |
4255 | shoottraildd3(targeto1, RootPart, 15) | |
4256 | for i = 0, 0.5, 0.1 do | |
4257 | swait() | |
4258 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4259 | velocity = Vector3.new(0, -10, 0) + RootPart.CFrame.lookVector * 50, | |
4260 | P = 5000, | |
4261 | maxForce = Vector3.new(8000, 8000, 8000), | |
4262 | Parent = RootPart | |
4263 | }) | |
4264 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.01) | |
4265 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
4266 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4267 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(90)), 0.5) | |
4268 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5) | |
4269 | RH.C0 = clerp(RH.C0, cn(1, -0.6 - 0.01 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 2 * math.cos(sine / 25))), 0.2) | |
4270 | LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.01 * math.cos(sine / 25), -0.2) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(5 + 1 * math.cos(sine / 25))), 0.2) | |
4271 | end | |
4272 | end | |
4273 | while inair == true do | |
4274 | swait() | |
4275 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4276 | velocity = Vector3.new(0, -130, 0) + RootPart.CFrame.lookVector * 30, | |
4277 | P = 5000, | |
4278 | maxForce = Vector3.new(8000, 8000, 8000), | |
4279 | Parent = RootPart | |
4280 | }) | |
4281 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.01) | |
4282 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4283 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4284 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0 * math.cos(sine / 25)), math.rad(90)), 0.05) | |
4285 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.05) | |
4286 | RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.1 * math.cos(sine / 25), -0.4) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 1 * math.cos(sine / 25))), 0.05) | |
4287 | LH.C0 = clerp(LH.C0, cn(-1, -0.1 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 2 * math.cos(sine / 25))), 0.05) | |
4288 | end | |
4289 | MagniDamage(Torso, 12, 40, 60, 10, "Normal") | |
4290 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=174580476", Torso, 2, 2) | |
4291 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -20, 4, -20, 0.05) | |
4292 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -40, 3, -40, 0.05) | |
4293 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -60, 2, -60, 0.05) | |
4294 | Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.97, 0), 60, 0.1, 60, -80, 1, -80, 0.05) | |
4295 | for i = 0, 2, 0.1 do | |
4296 | swait() | |
4297 | local bodyVelocity3 = Create("BodyVelocity")({ | |
4298 | velocity = Vector3.new(0, 0, 0) + RootPart.CFrame.lookVector * 0, | |
4299 | P = 5000, | |
4300 | maxForce = Vector3.new(8000, 8000, 8000), | |
4301 | Parent = RootPart | |
4302 | }) | |
4303 | game:GetService("Debris"):AddItem(bodyVelocity3, 0.1) | |
4304 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
4305 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45), math.rad(0), math.rad(0)), 0.1) | |
4306 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0 * math.cos(sine / 25)), math.rad(10)), 0.2) | |
4307 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
4308 | RH.C0 = clerp(RH.C0, cn(1, 0 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 2 * math.cos(sine / 25))), 0.2) | |
4309 | LH.C0 = clerp(LH.C0, cn(-1, -1.5 - 0.1 * math.cos(sine / 25), -0.6) * LHCF * angles(math.rad(-1 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(90 + 1 * math.cos(sine / 25))), 0.2) | |
4310 | end | |
4311 | attack = false | |
4312 | attackx = false | |
4313 | end | |
4314 | if key == "c" and attack == false and attackc == false then | |
4315 | attack = true | |
4316 | attackc = true | |
4317 | Humanoid.WalkSpeed = 0.1 | |
4318 | for i = 0, 1, 0.1 do | |
4319 | swait() | |
4320 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
4321 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3) | |
4322 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(110 - 0 * math.cos(sine / 25)), math.rad(45), math.rad(90 + 0 * math.cos(sine / 25))), 0.3) | |
4323 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(0 - 0 * math.cos(sine / 25))), 0.3) | |
4324 | RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.6) * RHCF * angles(math.rad(0), math.rad(20), math.rad(20)), 0.3) | |
4325 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(10)), 0.3) | |
4326 | end | |
4327 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=178452241", RightArm, 2, 2) | |
4328 | for i = 0, 1, 0.1 do | |
4329 | swait() | |
4330 | BlockEffect(maincolor, RightArm.CFrame * cn(0, -1 - i * 5, 0 + i * 5), 10 + i * 15, 10 + i * 15, 10 + i * 15, 6 + i * 3, 6 + i * 3, 6 + i * 3, 0.2 - i / 6) | |
4331 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4332 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1) | |
4333 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-15 + 0 * math.cos(sine / 25))), 0.3) | |
4334 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 0 * math.cos(sine / 25))), 0.1) | |
4335 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.4) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4336 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
4337 | end | |
4338 | local Hitboxpart2 = Instance.new("Part", EffectModel) | |
4339 | RemoveOutlines(Hitboxpart2) | |
4340 | Hitboxpart2.Size = Vector3.new(1, 1, 1) | |
4341 | Hitboxpart2.CanCollide = false | |
4342 | Hitboxpart2.Transparency = 1 | |
4343 | Hitboxpart2.Anchored = true | |
4344 | Hitboxpart2.CFrame = RootPart.CFrame * cn(0, 0, 0) | |
4345 | game:GetService("Debris"):AddItem(Hitboxpart2, 6) | |
4346 | for i = 0, 1, 0.1 do | |
4347 | swait() | |
4348 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.15) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4349 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1) | |
4350 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(20 + 0 * math.cos(sine / 25))), 0.05) | |
4351 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0 - 0 * math.cos(sine / 25)), math.rad(0), math.rad(-20 - 0 * math.cos(sine / 25))), 0.1) | |
4352 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.4) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4353 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
4354 | end | |
4355 | local targetV1 = RootPart.Position + RootPart.CFrame.lookVector * 2 | |
4356 | attack = false | |
4357 | Humanoid.WalkSpeed = 16 | |
4358 | for i = 0, 5, 0.1 do | |
4359 | swait() | |
4360 | targetV1 = targetV1 + Hitboxpart2.CFrame.lookVector * i | |
4361 | shoottraildd(targetV1, RootPart, 0) | |
4362 | end | |
4363 | attackc = false | |
4364 | end | |
4365 | end | |
4366 | if elementmode == "Mode 4" and key == "z" and attack == false and attackz == false then | |
4367 | attack = true | |
4368 | attackz = true | |
4369 | Humanoid.WalkSpeed = 1 | |
4370 | for i = 0, 3, 0.1 do | |
4371 | swait() | |
4372 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1) | |
4373 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-25)), 0.1) | |
4374 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -0.4) * angles(math.rad(20), math.rad(0), math.rad(-5)), 0.1) | |
4375 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.3) * angles(math.rad(50), math.rad(0), math.rad(45)), 0.1) | |
4376 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.2) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.1) | |
4377 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.1) | |
4378 | end | |
4379 | coroutine.resume(coroutine.create(function() | |
4380 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=168513088", SwHandle, 1, 0.8) | |
4381 | wait(0.4) | |
4382 | HitboxFunction(RootPart.CFrame * cn(0, 0, -3), 0.5, 1, 1, 1, 10, 10, 20, 3, "Freeze") | |
4383 | BlockEffect(maincolor, Hitboxpart.CFrame, 55, 55, 55, -5, -5, -5, 0.08, 3) | |
4384 | BlockEffect(maincolor, Hitboxpart.CFrame, 77, 77, 77, -7, -7, -7, 0.08, 3) | |
4385 | wait() | |
4386 | BlockEffect(maincolor, Hitboxpart.CFrame, 77, 77, 77, -30, -30, -30, 0.08, 1) | |
4387 | end)) | |
4388 | for i = 0, 3.5, 0.1 do | |
4389 | swait() | |
4390 | BlockEffect(maincolor, RightArm.CFrame * cn(0, -1.5, 0), -8, -8, -8, -1, -1, -1, 0.08, 3) | |
4391 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1) | |
4392 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-25)), 0.01) | |
4393 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(75)), 0.05) | |
4394 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -0.3) * angles(math.rad(50), math.rad(0), math.rad(45)), 0.3) | |
4395 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.2) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.1) | |
4396 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.1) | |
4397 | end | |
4398 | Humanoid.WalkSpeed = 16 | |
4399 | attack = false | |
4400 | wait(1) | |
4401 | attackz = false | |
4402 | end | |
4403 | if elementmode == "Mode 5" then | |
4404 | if key == "z" and attack == false and attackz == false then | |
4405 | attack = true | |
4406 | attackz = true | |
4407 | coroutine.resume(coroutine.create(function() | |
4408 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=565207203", RightArm, 5, 0.6) | |
4409 | shoottraildd5(mouse.hit.p, RootPart, 0) | |
4410 | end)) | |
4411 | attack = false | |
4412 | wait(10) | |
4413 | attackz = false | |
4414 | end | |
4415 | if key == "x" and attack == false and attackx == false then | |
4416 | attack = true | |
4417 | attackc = true | |
4418 | Humanoid.WalkSpeed = 0.1 | |
4419 | for i = 0, 2, 0.1 do | |
4420 | swait() | |
4421 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4422 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(0)), 0.1) | |
4423 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4424 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4425 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4426 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4427 | end | |
4428 | for i = 0, 4, 0.1 do | |
4429 | swait() | |
4430 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4431 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(30)), 0.1) | |
4432 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.1) | |
4433 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.1) | |
4434 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4435 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4436 | end | |
4437 | do | |
4438 | local ModelArm02 = New("Model", Character, "Arm", {}) | |
4439 | local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {}) | |
4440 | local Arm02 = LeftArm:Clone() | |
4441 | LeftArm.Transparency = 1 | |
4442 | Arm02.Parent = ModelArm02 | |
4443 | for i, v in pairs(Arm02:GetChildren()) do | |
4444 | v:Destroy() | |
4445 | end | |
4446 | local weldArm02 = Instance.new("Weld") | |
4447 | weldArm02.Parent = Arm02 | |
4448 | weldArm02.Part0 = LeftArm | |
4449 | weldArm02.Part1 = Arm02 | |
4450 | weldArm02.C1 = CFrame.new(0, 0, 0) | |
4451 | for i, v in pairs(Character:GetChildren()) do | |
4452 | if v:IsA("Shirt") then | |
4453 | v:clone().Parent = ModelArm02 | |
4454 | end | |
4455 | end | |
4456 | local BE1 = Blood1:Clone() | |
4457 | BE1.Parent = LeftArm | |
4458 | game:GetService("Debris"):AddItem(BE1, 3) | |
4459 | BE1.Rate = 0 | |
4460 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=180083298", Arm02, 3, 0.4) | |
4461 | for i = 0, 2, 0.1 do | |
4462 | swait() | |
4463 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4464 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.05) | |
4465 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(91), math.rad(0), math.rad(-70)), 0.1) | |
4466 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.1) | |
4467 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4468 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4469 | end | |
4470 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=704141469", Arm02, 3, 0.8) | |
4471 | BE1.Rate = 255 | |
4472 | weldArm02.Part0 = RightArm | |
4473 | weldArm02.C1 = CFrame.new(1.5, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)) | |
4474 | for i = 0, 2, 0.1 do | |
4475 | swait() | |
4476 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4477 | - | BlockEffect(BrickColor.new("Plum"), eye1.CFrame, 6, 6, 6, -0.1, -0.1, -0.1, 0.1, 1) |
4477 | + | |
4478 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(91), math.rad(0), math.rad(0)), 0.05) | |
4479 | LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1) | |
4480 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4481 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4482 | end | |
4483 | for i = 0, 2, 0.1 do | |
4484 | swait() | |
4485 | - | BlockEffect(BrickColor.new("Plum"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2) |
4485 | + | |
4486 | - | BlockEffect(BrickColor.new("Plum"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2) |
4486 | + | |
4487 | - | BlockEffect(BrickColor.new("Plum"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2) |
4487 | + | |
4488 | - | BlockEffect(BrickColor.new("Plum"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) |
4488 | + | |
4489 | - | BlockEffect(BrickColor.new("Plum"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) |
4489 | + | |
4490 | - | BlockEffect(BrickColor.new("Plum"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) |
4490 | + | |
4491 | - | BlockEffect(BrickColor.new("Plum"), LeftLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) |
4491 | + | |
4492 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(10)), 0.1) | |
4493 | end | |
4494 | BE1.Rate = 0 | |
4495 | for i = 0, 0.2, 0.1 do | |
4496 | swait() | |
4497 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
4498 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.1) | |
4499 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.51, 0.3) * angles(math.rad(45), math.rad(0), math.rad(-40)), 0.4) | |
4500 | LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, -0.3) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1) | |
4501 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(-2), math.rad(-40), math.rad(20)), 0.3) | |
4502 | LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.3) * LHCF * angles(math.rad(-2), math.rad(-40), math.rad(10)), 0.3) | |
4503 | end | |
4504 | weldArm02:Destroy() | |
4505 | - | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=723023934", Torso, 20, 1) |
4505 | + | |
4506 | local bodyVelocity2 = Create("BodyVelocity")({ | |
4507 | velocity = Vector3.new(0, 10, 0) + RootPart.CFrame.lookVector * 50, | |
4508 | P = 5000, | |
4509 | maxForce = Vector3.new(8000, 8000, 8000), | |
4510 | Parent = Arm02 | |
4511 | }) | |
4512 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05) | |
4513 | for i = 0, 2, 0.1 do | |
4514 | swait() | |
4515 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3) | |
4516 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.1) | |
4517 | RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.51, 0.3) * angles(math.rad(45), math.rad(0), math.rad(-40)), 0.4) | |
4518 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.3) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1) | |
4519 | RH.C0 = clerp(RH.C0, cn(1, -1, 0.3) * RHCF * angles(math.rad(-2), math.rad(-40), math.rad(20)), 0.3) | |
4520 | LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.3) * LHCF * angles(math.rad(-2), math.rad(-40), math.rad(10)), 0.3) | |
4521 | end | |
4522 | for i = 0, 3, 0.1 do | |
4523 | swait() | |
4524 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
4525 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.1) | |
4526 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(21), math.rad(0), math.rad(0)), 0.1) | |
4527 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) | |
4528 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4529 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4530 | end | |
4531 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=301928691", LeftArm, 2, 2) | |
4532 | BlockEffect(BrickColor.new("Really black"), LeftArm.CFrame, 21, 41, 21, 0.5, 1, 0.5, 0.03, 2) | |
4533 | LeftArm.Transparency = 0 | |
4534 | for i = 0, 4, 0.1 do | |
4535 | swait() | |
4536 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4537 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(15)), 0.1) | |
4538 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(21), math.rad(0), math.rad(0)), 0.1) | |
4539 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.1) | |
4540 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.1) | |
4541 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.4) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.1) | |
4542 | end | |
4543 | coroutine.resume(coroutine.create(function() | |
4544 | ModelArm02.Parent = workspace | |
4545 | wait(0.7) | |
4546 | if ModelArm02 ~= nil then | |
4547 | Effects.Sphere.Create(BrickColor.new("Really black"), Arm02.CFrame * cn(0, 0, 0), 60, 0.05, 60, -60, -10, -60, 0.088) | |
4548 | Effects.Sphere.Create(maincolor, Arm02.CFrame * cn(0, 0, 0), -55, -55, -55, -55, -55, -55, 0.09) | |
4549 | Effects.Sphere.Create(BrickColor.new("Really black"), Arm02.CFrame * cn(0, 0, 0), -55, -55, -55, -56, -56, -56, 0.04) | |
4550 | MagniDamage(Arm02, 20, 45, 45, 0, "UltSlice") | |
4551 | Arm02.Transparency = 1 | |
4552 | - | local BloodColor = Color3.new("Plum") |
4552 | + | |
4553 | Arm02.Anchored = true | |
4554 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=174580476", Arm02, 5, 0.7) | |
4555 | end | |
4556 | end)) | |
4557 | game:GetService("Debris"):AddItem(ModelArm02, 4) | |
4558 | Humanoid.WalkSpeed = 16 | |
4559 | LeftArm.Transparency = 0 | |
4560 | attack = false | |
4561 | attackc = false | |
4562 | end | |
4563 | end | |
4564 | if key == "c" and attack == false and attackc == false then | |
4565 | attack = true | |
4566 | attackc = true | |
4567 | BlockEffect(BrickColor.new("Lime green"), eye1.CFrame, 6, 6, 6, -0.1, -0.1, -0.1, 0.1, 1) | |
4568 | Humanoid.WalkSpeed = 5 | |
4569 | shoottraildd4(mouse.Hit.p, RightArm, 0) | |
4570 | wait() | |
4571 | if lasthit ~= nil then | |
4572 | print("hit") | |
4573 | local lastplace = RootPart.CFrame | |
4574 | local tp1 = lasthit.CFrame + lasthit.CFrame.lookVector * -4 | |
4575 | BlockEffect(BrickColor.new("Lime green"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2) | |
4576 | BlockEffect(BrickColor.new("Really black"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2) | |
4577 | BlockEffect(BrickColor.new("Really black"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2) | |
4578 | BlockEffect(BrickColor.new("Really black"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4579 | BlockEffect(BrickColor.new("Lime green"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4580 | BlockEffect(BrickColor.new("Lime green"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4581 | BlockEffect(BrickColor.new("Really black"), LeftLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4582 | RootPart.CFrame = tp1 | |
4583 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=301928691", Torso, 3, 0.5) | |
4584 | for i = 0, 3, 0.1 do | |
4585 | swait() | |
4586 | RootPart.CFrame = tp1 | |
4587 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4588 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
4589 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(50), math.rad(0), math.rad(0)), 0.2) | |
4590 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
4591 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4592 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.3) | |
4593 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.3) | |
4594 | end | |
4595 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=617500399", Torso, 7, 0.5) | |
4596 | for i = 0, 1, 0.1 do | |
4597 | swait() | |
4598 | RootPart.CFrame = tp1 | |
4599 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4600 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
4601 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(0)), 0.05) | |
4602 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2) | |
4603 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1) | |
4604 | RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.3) | |
4605 | LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10)), 0.3) | |
4606 | end | |
4607 | for i = 0, 3, 0.1 do | |
4608 | swait() | |
4609 | RootPart.CFrame = tp1 | |
4610 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4611 | - | BlockEffect(BrickColor.new("Plum"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2) |
4611 | + | |
4612 | - | BlockEffect(BrickColor.new("Plum"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2) |
4612 | + | |
4613 | - | BlockEffect(BrickColor.new("Plum"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2) |
4613 | + | |
4614 | - | BlockEffect(BrickColor.new("Plum"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) |
4614 | + | |
4615 | - | BlockEffect(BrickColor.new("Plum"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) |
4615 | + | |
4616 | - | BlockEffect(BrickColor.new("Plum"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) |
4616 | + | |
4617 | - | BlockEffect(BrickColor.new("Plum"), LeftLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) |
4617 | + | |
4618 | for i = 0, 8, 0.1 do | |
4619 | swait() | |
4620 | RootPart.CFrame = tp1 | |
4621 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4622 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.05) | |
4623 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(40)), 0.05) | |
4624 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.05) | |
4625 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4626 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.05) | |
4627 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(20)), 0.05) | |
4628 | end | |
4629 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=444667859", RightArm, 2, 1) | |
4630 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=144884872", RightArm, 2, 1) | |
4631 | for i = 0, 0.1, 0.1 do | |
4632 | swait() | |
4633 | RootPart.CFrame = tp1 | |
4634 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4635 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -2.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(40)), 1) | |
4636 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(-40)), 1) | |
4637 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 1) | |
4638 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
4639 | RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.4) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1) | |
4640 | LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1) | |
4641 | end | |
4642 | local BloodColor = Color3.new("Lime green") | |
4643 | local PE1 = Blood1:Clone() | |
4644 | local PE2 = Blood2:Clone() | |
4645 | local OrbHeart = Instance.new("Part") | |
4646 | OrbHeart.Parent = workspace | |
4647 | OrbHeart.Size = Vector3.new(1, 1, 1) | |
4648 | OrbHeart.Archivable = true | |
4649 | OrbHeart.Transparency = 0 | |
4650 | OrbHeart.BrickColor = BrickColor.new("Really red") | |
4651 | OrbHeart.Material = "Granite" | |
4652 | OrbHeart.CanCollide = true | |
4653 | local mesh = Instance.new("SpecialMesh", OrbHeart) | |
4654 | mesh.MeshType = "Sphere" | |
4655 | mesh.Scale = Vector3.new(1, 1, 1) | |
4656 | local weld1OrbHeart = Instance.new("Weld") | |
4657 | weld1OrbHeart.Parent = RightArm | |
4658 | weld1OrbHeart.Part0 = RightArm | |
4659 | - | Effects.Sphere.Create(BrickColor.new("Plum"), RootPart.CFrame * cn(0, -2.97, 0), 10, 5, 10, 15, -0.1, 15, 0.05) |
4659 | + | |
4660 | weld1OrbHeart.C1 = CFrame.new(0, 1.2, 0) | |
4661 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=131038747", Torso, 7, 1) | |
4662 | PE1.Parent = RightArm | |
4663 | PE2.Parent = OrbHeart | |
4664 | game:GetService("Debris"):AddItem(PE1, 3) | |
4665 | game:GetService("Debris"):AddItem(weld1OrbHeart, 1.5) | |
4666 | game:GetService("Debris"):AddItem(OrbHeart, 8) | |
4667 | for i = 0, 8, 0.1 do | |
4668 | swait() | |
4669 | RootPart.CFrame = tp1 | |
4670 | lasthit.CFrame = tp1 + lasthit.CFrame.lookVector * 4 | |
4671 | lasthit.Anchored = true | |
4672 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -2.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(40)), 1) | |
4673 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(-40)), 1) | |
4674 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 1) | |
4675 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
4676 | RH.C0 = clerp(RH.C0, cn(1, -0.8, -0.4) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1) | |
4677 | LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 1) | |
4678 | end | |
4679 | MagniKILL(RightArm, 4, 999, 999, 0, "Normal") | |
4680 | PE1.Rate = 0 | |
4681 | for i = 0, 8, 0.1 do | |
4682 | swait() | |
4683 | RootPart.CFrame = tp1 | |
4684 | lasthit.Anchored = false | |
4685 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(1.2, -1.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4686 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(20), math.rad(-30)), 0.05) | |
4687 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.51, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.05) | |
4688 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05) | |
4689 | RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05) | |
4690 | LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(0)), 0.05) | |
4691 | end | |
4692 | lasthit = nil | |
4693 | for i = 0, 4, 0.1 do | |
4694 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.1 + 0.02 * math.cos(sine / 8)) * angles(math.rad(10), math.rad(1), math.rad(0)), 0.1) | |
4695 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(45 + 1 * math.cos(sine / 1)), math.rad(0), math.rad(5 * math.cos(sine / 1))), 0.1) | |
4696 | RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(10 - 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1) | |
4697 | LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(110 + 4 * math.cos(sine / 1)), math.rad(0), math.rad(30)), 0.1) | |
4698 | RH.C0 = clerp(RH.C0, cn(1, -0.2 - 0.02 * math.cos(sine / 8), -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(40 + 0.05 * math.cos(sine / 25))), 0.1) | |
4699 | LH.C0 = clerp(LH.C0, cn(-1, -0.2 - 0.02 * math.cos(sine / 8), -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20 + 0.05 * math.cos(sine / 25))), 0.1) | |
4700 | end | |
4701 | BlockEffect(BrickColor.new("Lime green"), eye1.CFrame, 6, 6, 2, 0, 0, 0, 0.006, 2) | |
4702 | BlockEffect(BrickColor.new("Really black"), Head.CFrame, 21, 21, 21, 0, 0, 0, 0.005, 2) | |
4703 | BlockEffect(BrickColor.new("Really black"), Torso.CFrame, 41, 41, 21, 0, 0, 0, 0.005, 2) | |
4704 | BlockEffect(BrickColor.new("Really black"), RightArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4705 | BlockEffect(BrickColor.new("Lime green"), LeftArm.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4706 | BlockEffect(BrickColor.new("Lime green"), RightLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4707 | BlockEffect(BrickColor.new("Really black"), LeftLeg.CFrame, 21, 41, 21, 0, 0, 0, 0.005, 2) | |
4708 | RootPart.CFrame = lastplace | |
4709 | end | |
4710 | attack = false | |
4711 | attackc = false | |
4712 | end | |
4713 | end | |
4714 | end) | |
4715 | coroutine.resume(coroutine.create(function() | |
4716 | BillboardGui0 = Instance.new("BillboardGui") | |
4717 | ImageLabel1 = Instance.new("ImageLabel") | |
4718 | BillboardGui0.Name = "Healthbar" | |
4719 | BillboardGui0.Size = UDim2.new(2, 0, 0.4, 0) | |
4720 | BillboardGui0.AlwaysOnTop = true | |
4721 | BillboardGui0.StudsOffset = Vector3.new(0, 5, 0) | |
4722 | ImageLabel1.Parent = BillboardGui0 | |
4723 | ImageLabel1.Transparency = 1 | |
4724 | ImageLabel1.Size = UDim2.new(1, 0, 5, 0) | |
4725 | ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1) | |
4726 | ImageLabel1.BackgroundTransparency = 1 | |
4727 | ImageLabel1.ImageTransparency = 1 | |
4728 | ImageLabel1.Image = "rbxassetid://278806942" | |
4729 | BillboardGui0.Parent = Torso | |
4730 | end)) | |
4731 | humHsave = Humanoid.Health | |
4732 | function GainCharge(Humanoid) | |
4733 | if Humanoid.Health == 0 then | |
4734 | equipped = false | |
4735 | end | |
4736 | if blocking == true then | |
4737 | humDsave = Humanoid.Health | |
4738 | humDsave = humHsave - humDsave | |
4739 | if humDsave > 0.01 then | |
4740 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Torso, 1, 0.5) | |
4741 | BlockEffect(maincolor, Torso.CFrame, 42, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4742 | BlockEffect(maincolor, RightArm.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4743 | BlockEffect(maincolor, LeftArm.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4744 | BlockEffect(maincolor, RightLeg.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4745 | BlockEffect(maincolor, LeftLeg.CFrame, 22, 42, 22, 0.1, 0.1, 0.1, 0.02, 2) | |
4746 | humDsave = humDsave / 3 | |
4747 | end | |
4748 | if 0 > humDsave then | |
4749 | Effects.Sphere.Create(BrickColor.new("Lime green"), RootPart.CFrame * cn(0, -2.97, 0), 10, 5, 10, 15, -0.1, 15, 0.05) | |
4750 | humDsave = humDsave * 2.5 | |
4751 | end | |
4752 | humHsave = humHsave - humDsave | |
4753 | end | |
4754 | end | |
4755 | Humanoid.HealthChanged:connect(function() | |
4756 | GainCharge(Humanoid) | |
4757 | end) | |
4758 | function OnDeath() | |
4759 | equipped = false | |
4760 | end | |
4761 | Humanoid.Died:connect(function() | |
4762 | OnDeath(Character) | |
4763 | end) | |
4764 | Removeface = false | |
4765 | function newface() | |
4766 | Character.Head.face.Texture = "http://www.roblox.com/asset/?id=192316062" | |
4767 | if Removeface == true then | |
4768 | Character.Head.face:Destroy() | |
4769 | end | |
4770 | end | |
4771 | ||
4772 | resetmode() | |
4773 | newface() | |
4774 | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
4775 | ff.Visible = false | |
4776 | Humanoid.Name = "God Mode" | |
4777 | Humanoid.MaxHealth = 1.0E298 | |
4778 | Humanoid.Health = 1.0E298 | |
4779 | game:GetService("RunService"):BindToRenderStep("ew", 0, function() | |
4780 | if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then | |
4781 | Humanoid.MaxHealth = 1.0E298 | |
4782 | Humanoid.Health = 1.0E298 | |
4783 | end | |
4784 | end) | |
4785 | BodyParts = {} | |
4786 | for _, v in pairs(Character:GetChildren()) do | |
4787 | if v:IsA("Part") then | |
4788 | table.insert(BodyParts, v) | |
4789 | end | |
4790 | end | |
4791 | Bounding = {} | |
4792 | for _, v in pairs(BodyParts) do | |
4793 | local temp = { | |
4794 | X = nil, | |
4795 | Y = nil, | |
4796 | Z = nil | |
4797 | } | |
4798 | temp.X = v.Size.X / 2 * 35 | |
4799 | temp.Y = v.Size.Y / 2 * 35 | |
4800 | temp.Z = v.Size.Z / 2 * 35 | |
4801 | Bounding[v.Name] = temp | |
4802 | end | |
4803 | coroutine.resume(coroutine.create(function() | |
4804 | while wait(0.1) do | |
4805 | if elementmode == "Mode 4" and attack == false then | |
4806 | Snow("Pastel light blue", Torso.CFrame * cn(math.random(-10, 10), math.random(5, 7), math.random(-10, 10)), 0.3, 0.2, 0.3, 0, 0, 0, 0.01) | |
4807 | ImageLabel1.ImageTransparency = 0.5 | |
4808 | else | |
4809 | ImageLabel1.ImageTransparency = 1 | |
4810 | end | |
4811 | end | |
4812 | end)) | |
4813 | coroutine.resume(coroutine.create(function() | |
4814 | while wait(0.3) do | |
4815 | if elementmode == "Mode 4" and attack == false then | |
4816 | coroutine.resume(coroutine.create(function() | |
4817 | HitboxFunction(RootPart.CFrame * cn(0, -1, 0), 0, 1, 1, 1, 11, 0.6, 1, 3, "Slowness") | |
4818 | end)) | |
4819 | end | |
4820 | if elementmode == "Mode 3" and attack == false then | |
4821 | local Body1 = NeonColorParts2[math.random(#NeonColorParts2)] | |
4822 | local Body2 = ArmorColorParts[math.random(#ArmorColorParts)] | |
4823 | local Pos1 = Vector3.new(math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X) / 55, math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y) / 55, math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z) / 55) | |
4824 | local Pos2 = Vector3.new(math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X) / 55, math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y) / 55, math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z) / 55) | |
4825 | local SPos1 = Body1.Position + Pos1 | |
4826 | local SPos2 = Body2.Position + Pos2 | |
4827 | Lightning(SPos1, SPos2, 4, 3, maincolor, 0.1, 0.05, -0.15) | |
4828 | end | |
4829 | if elementmode == "Mode 6" then | |
4830 | local Body1 = BodyParts[math.random(#BodyParts)] | |
4831 | local Body2 = BodyParts[math.random(#BodyParts)] | |
4832 | local Pos1 = Vector3.new(math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X) / 55, math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y) / 55, math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z) / 55) | |
4833 | local Pos2 = Vector3.new(math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X) / 55, math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y) / 55, math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z) / 55) | |
4834 | local SPos1 = Body1.Position + Pos1 | |
4835 | local SPos2 = Body2.Position + Pos2 | |
4836 | Lightning(SPos1, SPos2, 4, 3, maincolor, 0.05, 0.05, -0.1) | |
4837 | end | |
4838 | end | |
4839 | end)) |