SHOW:
|
|
- or go back to the newest paste.
1 | - | function game.Players.PLAYER.Name:remove() |
1 | + | local Player = game.Players.contentdeleted93726 |
2 | - | spawn(function() |
2 | + | |
3 | - | local function game.Players.PLAYER.Name:remove() |
3 | + | |
4 | - | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then |
4 | + | |
5 | - | local SP = Instance.new('SkateboardPlatform', PLAYER.Character) SP.Position = Vector3.new(1000000, 1000000, 1000000) SP.Transparency = 1 |
5 | + | |
6 | - | PLAYER.Character.HumanoidRootPart.CFrame = SP.CFrame |
6 | + | |
7 | - | PLAYER.Character.Torso.Anchored = true |
7 | + | |
8 | effect.Name = "Effects" | |
9 | Hammer = {} | |
10 | - | spawn(function() |
10 | + | |
11 | - | repeat wait() |
11 | + | |
12 | - | if PLAYER ~= nil then |
12 | + | |
13 | - | game.Players.PLAYER.Name:remove() |
13 | + | |
14 | local RightLeg = Character["Right Leg"] | |
15 | - | until not game:GetService('Players'):FindFirstChild(PLAYER.Name) |
15 | + | |
16 | - | if not game:GetService('Players'):FindFirstChild(PLAYER.Name) then |
16 | + | |
17 | - | print('REMOVED ' .. PLAYER.Name) |
17 | + | |
18 | local cam = game.Workspace.CurrentCamera | |
19 | - | end) |
19 | + | |
20 | - | end) |
20 | + | |
21 | local equipped = false | |
22 | local attack = false | |
23 | - | wait(0.016666666666667) |
23 | + | |
24 | - | Effects = {} |
24 | + | |
25 | - | local Player = game.Players.localPlayer |
25 | + | |
26 | local attacktype = 1 | |
27 | local attacktype2 = 1 | |
28 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
29 | local velocity = RootPart.Velocity.y | |
30 | local sine = 0 | |
31 | local change = 1 | |
32 | local mana = 100 | |
33 | local it = Instance.new | |
34 | local vt = Vector3.new | |
35 | local grabbed = false | |
36 | local cf = CFrame.new | |
37 | local mr = math.rad | |
38 | local angles = CFrame.Angles | |
39 | local ud = UDim2.new | |
40 | local c3 = Color3.new | |
41 | Anim = Instance.new("StringValue") | |
42 | Anim.Name = "Animation" | |
43 | Anim.Parent = Character | |
44 | Anim.Value = "Walking" | |
45 | local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
46 | xenabled = true | |
47 | cenabled = true | |
48 | venabled = true | |
49 | zenabled = true | |
50 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
51 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
52 | local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0)) | |
53 | RSH = nil | |
54 | RW = Instance.new("Weld") | |
55 | LW = Instance.new("Weld") | |
56 | RH = Torso["Right Hip"] | |
57 | LH = Torso["Left Hip"] | |
58 | RSH = Torso["Right Shoulder"] | |
59 | LSH = Torso["Left Shoulder"] | |
60 | RSH.Parent = nil | |
61 | LSH.Parent = nil | |
62 | RW.Name = "RW" | |
63 | RW.Part0 = Torso | |
64 | RW.C0 = cf(1.5, 0.5, 0) | |
65 | RW.C1 = cf(0, 0.5, 0) | |
66 | RW.Part1 = RightArm | |
67 | RW.Parent = Torso | |
68 | LW.Name = "LW" | |
69 | LW.Part0 = Torso | |
70 | LW.C0 = cf(-1.5, 0.5, 0) | |
71 | LW.C1 = cf(0, 0.5, 0) | |
72 | LW.Part1 = LeftArm | |
73 | LW.Parent = Torso | |
74 | function clerp(a,b,t) | |
75 | local qa = {QuaternionFromCFrame(a)} | |
76 | local qb = {QuaternionFromCFrame(b)} | |
77 | local ax, ay, az = a.x, a.y, a.z | |
78 | local bx, by, bz = b.x, b.y, b.z | |
79 | local _t = 1-t | |
80 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
81 | end | |
82 | ||
83 | function QuaternionFromCFrame(cf) | |
84 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
85 | local trace = m00 + m11 + m22 | |
86 | if trace > 0 then | |
87 | local s = math.sqrt(1 + trace) | |
88 | local recip = 0.5/s | |
89 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
90 | else | |
91 | local i = 0 | |
92 | if m11 > m00 then | |
93 | i = 1 | |
94 | end | |
95 | if m22 > (i == 0 and m00 or m11) then | |
96 | i = 2 | |
97 | end | |
98 | if i == 0 then | |
99 | local s = math.sqrt(m00-m11-m22+1) | |
100 | local recip = 0.5/s | |
101 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
102 | elseif i == 1 then | |
103 | local s = math.sqrt(m11-m22-m00+1) | |
104 | local recip = 0.5/s | |
105 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
106 | elseif i == 2 then | |
107 | local s = math.sqrt(m22-m00-m11+1) | |
108 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
109 | end | |
110 | end | |
111 | end | |
112 | ||
113 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
114 | local xs, ys, zs = x + x, y + y, z + z | |
115 | local wx, wy, wz = w*xs, w*ys, w*zs | |
116 | local xx = x*xs | |
117 | local xy = x*ys | |
118 | local xz = x*zs | |
119 | local yy = y*ys | |
120 | local yz = y*zs | |
121 | local zz = z*zs | |
122 | 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)) | |
123 | end | |
124 | ||
125 | function QuaternionSlerp(a, b, t) | |
126 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
127 | local startInterp, finishInterp; | |
128 | if cosTheta >= 0.0001 then | |
129 | if (1 - cosTheta) > 0.0001 then | |
130 | local theta = math.acos(cosTheta) | |
131 | local invSinTheta = 1/math.sin(theta) | |
132 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
133 | finishInterp = math.sin(t*theta)*invSinTheta | |
134 | else | |
135 | startInterp = 1-t | |
136 | finishInterp = t | |
137 | end | |
138 | else | |
139 | if (1+cosTheta) > 0.0001 then | |
140 | local theta = math.acos(-cosTheta) | |
141 | local invSinTheta = 1/math.sin(theta) | |
142 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
143 | finishInterp = math.sin(t*theta)*invSinTheta | |
144 | else | |
145 | startInterp = t-1 | |
146 | finishInterp = t | |
147 | end | |
148 | end | |
149 | 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 | |
150 | end | |
151 | ||
152 | local RbxUtility = LoadLibrary("RbxUtility") | |
153 | local Create = RbxUtility.Create | |
154 | RemoveOutlines = function(part) | |
155 | part.TopSurface = 10 | |
156 | end | |
157 | ||
158 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
159 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
160 | RemoveOutlines(Part) | |
161 | return Part | |
162 | end | |
163 | ||
164 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
165 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
166 | if Mesh == "SpecialMesh" then | |
167 | Msh.MeshType = MeshType | |
168 | Msh.MeshId = MeshId | |
169 | end | |
170 | return Msh | |
171 | end | |
172 | ||
173 | ArtificialHB = Instance.new("BindableEvent", script) | |
174 | ArtificialHB.Name = "Heartbeat" | |
175 | script:WaitForChild("Heartbeat") | |
176 | frame = 0.016666666666667 | |
177 | tf = 0 | |
178 | allowframeloss = false | |
179 | tossremainder = false | |
180 | lastframe = tick() | |
181 | script.Heartbeat:Fire() | |
182 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
183 | tf = tf + s | |
184 | if frame <= tf then | |
185 | if allowframeloss then | |
186 | script.Heartbeat:Fire() | |
187 | lastframe = tick() | |
188 | else | |
189 | for i = 1, math.floor(tf / frame) do | |
190 | script.Heartbeat:Fire() | |
191 | end | |
192 | lastframe = tick() | |
193 | end | |
194 | if tossremainder then | |
195 | tf = 0 | |
196 | else | |
197 | tf = tf - frame * math.floor(tf / frame) | |
198 | end | |
199 | end | |
200 | end | |
201 | ) | |
202 | swait = function(num) | |
203 | if num == 0 or num == nil then | |
204 | ArtificialHB.Event:wait() | |
205 | else | |
206 | for i = 0, num do | |
207 | ArtificialHB.Event:wait() | |
208 | end | |
209 | end | |
210 | end | |
211 | ||
212 | local fengui = it("GuiMain") | |
213 | fengui.Parent = Player.PlayerGui | |
214 | fengui.Name = "WeaponGUI" | |
215 | local fenframe = it("Frame") | |
216 | fenframe.Parent = fengui | |
217 | fenframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
218 | fenframe.BackgroundTransparency = 1 | |
219 | fenframe.BorderColor3 = Color3.new(17, 17, 17) | |
220 | fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
221 | fenframe.Position = UDim2.new(0.4, 0, 0.1, 0) | |
222 | local fenbarmana1 = it("TextLabel") | |
223 | fenbarmana1.Parent = fenframe | |
224 | fenbarmana1.Text = " " | |
225 | fenbarmana1.BackgroundTransparency = 0 | |
226 | fenbarmana1.BackgroundColor3 = Color3.new(0, 0, 0) | |
227 | fenbarmana1.SizeConstraint = "RelativeXY" | |
228 | fenbarmana1.TextXAlignment = "Center" | |
229 | fenbarmana1.TextYAlignment = "Center" | |
230 | fenbarmana1.Position = UDim2.new(0, 0, 0, 0) | |
231 | fenbarmana1.Size = UDim2.new(4, 0, 0.2, 0) | |
232 | local fenbarmana2 = it("TextLabel") | |
233 | fenbarmana2.Parent = fenframe | |
234 | fenbarmana2.Text = " " | |
235 | fenbarmana2.BackgroundTransparency = 0 | |
236 | fenbarmana2.BackgroundColor3 = Torso.Color | |
237 | fenbarmana2.SizeConstraint = "RelativeXY" | |
238 | fenbarmana2.TextXAlignment = "Center" | |
239 | fenbarmana2.TextYAlignment = "Center" | |
240 | fenbarmana2.Position = UDim2.new(0, 0, 0, 0) | |
241 | fenbarmana2.Size = UDim2.new(4 * mana / 100, 0, 0.2, 0) | |
242 | local fenbarmana3 = it("TextLabel") | |
243 | fenbarmana3.Parent = fenframe | |
244 | fenbarmana3.Text = " " | |
245 | fenbarmana3.BackgroundTransparency = 0 | |
246 | fenbarmana3.BackgroundColor3 = Color3.new(Col1, Col2, Col3) | |
247 | fenbarmana3.SizeConstraint = "RelativeXY" | |
248 | fenbarmana3.TextXAlignment = "Center" | |
249 | fenbarmana3.TextYAlignment = "Center" | |
250 | fenbarmana3.Position = UDim2.new(0, 0, 0, 0) | |
251 | fenbarmana3.Size = UDim2.new(0, 0, 0.2, 0) | |
252 | local fenbarmana4 = it("TextLabel") | |
253 | fenbarmana4.Parent = fenframe | |
254 | fenbarmana4.Text = "Energy(" .. mana .. ")" | |
255 | fenbarmana4.BackgroundTransparency = 1 | |
256 | fenbarmana4.BackgroundColor3 = Color3.new(0, 0, 0) | |
257 | fenbarmana4.SizeConstraint = "RelativeXY" | |
258 | fenbarmana4.TextXAlignment = "Center" | |
259 | fenbarmana4.TextYAlignment = "Center" | |
260 | fenbarmana4.Position = UDim2.new(0, 0, -0.3, 0) | |
261 | fenbarmana4.Size = UDim2.new(4, 0, 0.2, 0) | |
262 | fenbarmana4.FontSize = "Size9" | |
263 | fenbarmana4.TextStrokeTransparency = 0 | |
264 | fenbarmana4.TextColor = BrickColor.new("White") | |
265 | local fengui = it("GuiMain") | |
266 | fengui.Parent = Player.PlayerGui | |
267 | fengui.Name = "WeaponGUI" | |
268 | local fenframe1 = it("TextLabel") | |
269 | fenframe1.Parent = fengui | |
270 | fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) | |
271 | fenframe1.BackgroundTransparency = 0.3 | |
272 | fenframe1.BorderSizePixel = 5 | |
273 | fenframe1.BorderColor3 = Color3.new(1, 1, 1) | |
274 | fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0) | |
275 | fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0) | |
276 | fenframe1.Text = "Z" | |
277 | fenframe1.TextWrapped = true | |
278 | fenframe1.FontSize = 7 | |
279 | fenframe1.TextColor3 = Color3.new(1, 1, 1) | |
280 | local fenframe1a = it("TextLabel") | |
281 | fenframe1a.Parent = fengui | |
282 | fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) | |
283 | fenframe1a.BackgroundTransparency = 0.3 | |
284 | fenframe1a.BorderSizePixel = 5 | |
285 | fenframe1a.BorderColor3 = Color3.new(1, 1, 1) | |
286 | fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0) | |
287 | fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0) | |
288 | fenframe1a.Text = "" | |
289 | local fenframe2 = it("TextLabel") | |
290 | fenframe2.Parent = fengui | |
291 | fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) | |
292 | fenframe2.BackgroundTransparency = 0.3 | |
293 | fenframe2.BorderSizePixel = 5 | |
294 | fenframe2.BorderColor3 = Color3.new(1, 1, 1) | |
295 | fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0) | |
296 | fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0) | |
297 | fenframe2.Text = "X" | |
298 | fenframe2.TextWrapped = true | |
299 | fenframe2.FontSize = 7 | |
300 | fenframe2.TextColor3 = Color3.new(1, 1, 1) | |
301 | local fenframe2a = it("TextLabel") | |
302 | fenframe2a.Parent = fengui | |
303 | fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) | |
304 | fenframe2a.BackgroundTransparency = 0.3 | |
305 | fenframe2a.BorderSizePixel = 5 | |
306 | fenframe2a.BorderColor3 = Color3.new(1, 1, 1) | |
307 | fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0) | |
308 | fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0) | |
309 | fenframe2a.Text = "" | |
310 | local fenframe3 = it("TextLabel") | |
311 | fenframe3.Parent = fengui | |
312 | fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) | |
313 | fenframe3.BackgroundTransparency = 0.3 | |
314 | fenframe3.BorderSizePixel = 5 | |
315 | fenframe3.BorderColor3 = Color3.new(1, 1, 1) | |
316 | fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0) | |
317 | fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0) | |
318 | fenframe3.Text = "C" | |
319 | fenframe3.TextWrapped = true | |
320 | fenframe3.FontSize = 7 | |
321 | fenframe3.TextColor3 = Color3.new(1, 1, 1) | |
322 | local fenframe3a = it("TextLabel") | |
323 | fenframe3a.Parent = fengui | |
324 | fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) | |
325 | fenframe3a.BackgroundTransparency = 0.3 | |
326 | fenframe3a.BorderSizePixel = 5 | |
327 | fenframe3a.BorderColor3 = Color3.new(1, 1, 1) | |
328 | fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0) | |
329 | fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0) | |
330 | fenframe3a.Text = "" | |
331 | local fenframe4 = it("TextLabel") | |
332 | fenframe4.Parent = fengui | |
333 | fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) | |
334 | fenframe4.BackgroundTransparency = 0.3 | |
335 | fenframe4.BorderSizePixel = 5 | |
336 | fenframe4.BorderColor3 = Color3.new(1, 1, 1) | |
337 | fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0) | |
338 | fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0) | |
339 | fenframe4.Text = "V" | |
340 | fenframe4.TextWrapped = true | |
341 | fenframe4.FontSize = 7 | |
342 | fenframe4.TextColor3 = Color3.new(1, 1, 1) | |
343 | local fenframe4a = it("TextLabel") | |
344 | fenframe4a.Parent = fengui | |
345 | fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) | |
346 | fenframe4a.BackgroundTransparency = 0.3 | |
347 | fenframe4a.BorderSizePixel = 5 | |
348 | fenframe4a.BorderColor3 = Color3.new(1, 1, 1) | |
349 | fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0) | |
350 | fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0) | |
351 | fenframe4a.Text = "" | |
352 | fenframe1a.Size = UDim2.new(0, 0, 0.1, 0) | |
353 | fenframe2a.Size = UDim2.new(0, 0, 0.1, 0) | |
354 | fenframe3a.Size = UDim2.new(0, 0, 0.1, 0) | |
355 | fenframe4a.Size = UDim2.new(0, 0, 0.1, 0) | |
356 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
357 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
358 | return Weld | |
359 | end | |
360 | ||
361 | rayCast = function(Position, Direction, Range, Ignore) | |
362 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
363 | end | |
364 | ||
365 | CreateSound = function(id, par, vol, pit) | |
366 | coroutine.resume(coroutine.create(function() | |
367 | local sou = Instance.new("Sound", par or workspace) | |
368 | sou.Volume = vol | |
369 | sou.Pitch = pit or 1 | |
370 | sou.SoundId = id | |
371 | swait() | |
372 | sou:play() | |
373 | game:GetService("Debris"):AddItem(sou, 6) | |
374 | end | |
375 | )) | |
376 | end | |
377 | ||
378 | local getclosest = function(obj, distance) | |
379 | local last, lastx = distance + 1, nil | |
380 | for i,v in pairs(workspace:GetChildren()) do | |
381 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
382 | local t = v.Torso | |
383 | local dist = t.Position - obj.Position.magnitude | |
384 | if dist <= distance and dist < last then | |
385 | last = dist | |
386 | lastx = v | |
387 | end | |
388 | end | |
389 | end | |
390 | return lastx | |
391 | end | |
392 | ||
393 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098)) | |
394 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.971689701, -0.108011246, 0.0337958336, 7.52883196e-008, -1, 5.96046377e-008, 1.49776653e-008, -5.96046377e-008, -1, 1, 7.52883196e-008, 1.497766e-008)) | |
395 | CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
396 | FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098)) | |
397 | FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1)) | |
398 | CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
399 | Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "Hitbox", Vector3.new(3, 5.2300005, 2.70000005)) | |
400 | HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100002289, -0.0249986649, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
401 | CreateMesh("CylinderMesh", Hitbox, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
402 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976)) | |
403 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500193, 0.0100011826, -2.64999771, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008)) | |
404 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1)) | |
405 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976)) | |
406 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500288, 0.0100007057, 2.60000563, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008)) | |
407 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1)) | |
408 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976)) | |
409 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499594, 0.0100002289, -1.46000004, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008)) | |
410 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1)) | |
411 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005)) | |
412 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999927521, -2.06000137, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
413 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
414 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005)) | |
415 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100007057, 2.06999922, -5.90500736, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
416 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
417 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009)) | |
418 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0049996376, 1.21000218, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
419 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
420 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.15999997, 1.44999993, 0.399999976)) | |
421 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.91499901, -0.0250031948, 0.0100007057, -6.23954073e-015, 1, 4.37113883e-008, 1, 1.08930461e-014, -5.96046448e-008, -5.96046448e-008, 4.37113883e-008, -1)) | |
422 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 15)) | |
423 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009)) | |
424 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0400049686, -0.0049996376, -5.91499901, 1, 5.96046377e-008, 1.42108547e-014, 1.42108547e-014, -4.37113883e-008, -1, -5.96046377e-008, 1, -4.37113883e-008)) | |
425 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
426 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009)) | |
427 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00500011444, -1.22999811, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014)) | |
428 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
429 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 9.44000053, 0.51000011)) | |
430 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.724998236, -0.0100002289, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1)) | |
431 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
432 | Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976)) | |
433 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499784, 0.00999975204, 1.47000384, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008)) | |
434 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1)) | |
435 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.360000014)) | |
436 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, -5.46746063, -2.75282335, -5.96046235e-008, -1.59872116e-014, -1, -0.499999762, 0.866025686, 2.98022833e-008, 0.866025686, 0.499999732, -5.16191392e-008)) | |
437 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
438 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129)) | |
439 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00500011444, -0.0100033283, 4.05498981, -2.08616257e-007, 4.37113954e-008, 1, 1, 7.80494105e-015, 2.08616257e-007, 4.94211283e-015, 1, -4.37113954e-008)) | |
440 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
441 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.350000024)) | |
442 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0200004578, -5.48171663, 2.72313046, -5.96046235e-008, -1.59872116e-014, -1, 0.500000298, 0.866025209, -2.98023437e-008, 0.866025209, -0.500000298, -5.1619093e-008)) | |
443 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
444 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.650000036)) | |
445 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199995041, 0.0192580223, -5.73387241, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014)) | |
446 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
447 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.240000024)) | |
448 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, 0.0192596912, -6.29887009, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014)) | |
449 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
450 | for _,c in pairs(m:children()) do | |
451 | if c.className == "Part" then | |
452 | table.insert(Hammer, c) | |
453 | end | |
454 | end | |
455 | for _,c in pairs(m:children()) do | |
456 | if c.className == "Weld" then | |
457 | table.insert(HammerWelds, c) | |
458 | print(c) | |
459 | end | |
460 | end | |
461 | local model2 = (Instance.new("Model")) | |
462 | model2.Parent = nil | |
463 | model2.Name = "Chakkran" | |
464 | DBlade = {} | |
465 | DBladeWelds = {} | |
466 | Handle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011)) | |
467 | Handle2Weld = CreateWeld(model2, Character["Right Arm"], Handle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.949001789, 0.258885384, 0.0171251297, 0.000207733654, -0.99935025, 0.0360427685, -0.00575854396, -0.036043372, -0.999333739, 0.99998337, 4.13686969e-008, -0.00576228928)) | |
468 | FakeHandle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011)) | |
469 | FakeHandle2Weld = CreateWeld(model2, Handle2, FakeHandle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994)) | |
470 | Part = CreatePart(model2, Enum.Material.Plastic, 0.20000000298023, 0, "Black", "Part", Vector3.new(1, 1, 1)) | |
471 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.92499352, -0.0200054646, -0.0200014114, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994)) | |
472 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.20000005)) | |
473 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
474 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -8.08396149, 2.38490152, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007)) | |
475 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
476 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
477 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.08396339, 2.48509741, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007)) | |
478 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
479 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 4.19999981, 0.430000037)) | |
480 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.0473937988, 8.07886314, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007)) | |
481 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
482 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.19999981, 0.430000037)) | |
483 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -5.36886501, -0.00739479065, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
484 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
485 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.0999999, 0.430000037)) | |
486 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.097391963, 9.86886406, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007)) | |
487 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
488 | Part = CreatePart(model2, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1, 1, 1)) | |
489 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.77499247, -0.0200061798, -0.0100002289, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994)) | |
490 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 3)) | |
491 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
492 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.87396622, 3.47510171, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007)) | |
493 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
494 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
495 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.8739624, 3.23490095, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007)) | |
496 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
497 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037)) | |
498 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -1.59739149, 8.96886349, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007)) | |
499 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
500 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129)) | |
501 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0149993896, -0.0100066662, 1.40500164, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007)) | |
502 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
503 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
504 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.97396851, 3.07490206, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007)) | |
505 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
506 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 2.69000053, 0.51000011)) | |
507 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994)) | |
508 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
509 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019)) | |
510 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.9739666, 3.09509993, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007)) | |
511 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
512 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033)) | |
513 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -6.23282051, -6.55576801, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007)) | |
514 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5)) | |
515 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129)) | |
516 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, 0.749990344, -1.77499676, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007)) | |
517 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
518 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033)) | |
519 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -1.96886635, -0.0223923922, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
520 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5)) | |
521 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033)) | |
522 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -9.13886261, -0.0223926306, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
523 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5)) | |
524 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033)) | |
525 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 6.25878143, -6.52980947, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008)) | |
526 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5)) | |
527 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033)) | |
528 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -8.84886265, -0.0223910809, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
529 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5)) | |
530 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033)) | |
531 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.67886019, -0.0223929882, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
532 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5)) | |
533 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037)) | |
534 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, 1.59260416, 8.96886063, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007)) | |
535 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
536 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129)) | |
537 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, -0.780008078, -1.7750001, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007)) | |
538 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
539 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.309999585, 0.430000037)) | |
540 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -9.56385708, -0.00739264488, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
541 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
542 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033)) | |
543 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 1.18883181, -1.45985472, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008)) | |
544 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5)) | |
545 | Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033)) | |
546 | PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.16286898, -1.48581553, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007)) | |
547 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5)) | |
548 | Hitbox2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 1, "Black", "Hitbox2", Vector3.new(0.219999999, 7.46999931, 2.97999978)) | |
549 | Hitbox2Weld = CreateWeld(model2, FakeHandle2, Hitbox2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -6.36385679, -0.112392664, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008)) | |
550 | CreateMesh("SpecialMesh", Hitbox2, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1)) | |
551 | for _,c in pairs(model2:children()) do | |
552 | if c.className == "Part" then | |
553 | table.insert(DBlade, c) | |
554 | end | |
555 | end | |
556 | for _,c in pairs(model2:children()) do | |
557 | if c.className == "Weld" then | |
558 | table.insert(DBladeWelds, c) | |
559 | print(c) | |
560 | end | |
561 | end | |
562 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
563 | if hit.Parent == nil then | |
564 | return | |
565 | end | |
566 | local h = hit.Parent:FindFirstChild("Humanoid") | |
567 | for _,v in pairs(hit.Parent:children()) do | |
568 | if v:IsA("Humanoid") then | |
569 | kplayer = hit.Parent | |
570 | KICK(game.Players:FindFirstChild(kplayer.Name)) | |
571 | h = v | |
572 | end | |
573 | end | |
574 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
575 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
576 | return | |
577 | end | |
578 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").contentdeleted93726, Parent = h}) | |
579 | game:GetService("Debris"):AddItem(c, 0.5) | |
580 | if HitSound ~= nil and HitPitch ~= nil then | |
581 | CreateSound(HitSound, hit, 1, HitPitch) | |
582 | end | |
583 | local Damage = math.random(minim, maxim) | |
584 | local blocked = false | |
585 | local block = hit.Parent:findFirstChild("Block") | |
586 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
587 | blocked = true | |
588 | block.Value = block.Value - 1 | |
589 | print(block.Value) | |
590 | end | |
591 | if blocked == false then | |
592 | h.Health = h.Health - Damage | |
593 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
594 | else | |
595 | h.Health = h.Health - Damage / 2 | |
596 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
597 | end | |
598 | if Type == "Knockdown" then | |
599 | local hum = hit.Parent.Humanoid | |
600 | hum.PlatformStand = true | |
601 | coroutine.resume(coroutine.create(function(HHumanoid) | |
602 | - | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h}) |
602 | + | |
603 | HHumanoid.PlatformStand = false | |
604 | end | |
605 | ), hum) | |
606 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
607 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
608 | local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit}) | |
609 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
610 | game:GetService("Debris"):AddItem(rl, 0.5) | |
611 | else | |
612 | do | |
613 | if Type == "Normal" then | |
614 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05}) | |
615 | if knockback > 0 then | |
616 | vp.Parent = hit.Parent.Torso | |
617 | end | |
618 | game:GetService("Debris"):AddItem(vp, 0.5) | |
619 | else | |
620 | do | |
621 | if Type == "Up" then | |
622 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
623 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
624 | else | |
625 | do | |
626 | if Type == "DarkUp" then | |
627 | coroutine.resume(coroutine.create(function() | |
628 | for i = 0, 1, 0.1 do | |
629 | swait() | |
630 | BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1) | |
631 | end | |
632 | end | |
633 | )) | |
634 | local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
635 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
636 | else | |
637 | do | |
638 | if Type == "Snare" then | |
639 | local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) | |
640 | game:GetService("Debris"):AddItem(bp, 1) | |
641 | else | |
642 | do | |
643 | if Type == "Freeze" then | |
644 | local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) | |
645 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame}) | |
646 | hit.Parent.Torso.Anchored = true | |
647 | coroutine.resume(coroutine.create(function(Part) | |
648 | swait(1.5) | |
649 | Part.Anchored = false | |
650 | end | |
651 | ), hit.Parent.Torso) | |
652 | game:GetService("Debris"):AddItem(BodPos, 3) | |
653 | game:GetService("Debris"):AddItem(BodGy, 3) | |
654 | end | |
655 | do | |
656 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true}) | |
657 | game:GetService("Debris"):AddItem(debounce, Delay) | |
658 | c = Instance.new("ObjectValue") | |
659 | c.Name = "creator" | |
660 | c.Value = Player | |
661 | c.Parent = h | |
662 | game:GetService("Debris"):AddItem(c, 0.5) | |
663 | end | |
664 | end | |
665 | end | |
666 | end | |
667 | end | |
668 | end | |
669 | end | |
670 | end | |
671 | end | |
672 | end | |
673 | end | |
674 | end | |
675 | end | |
676 | ||
677 | ShowDamage = function(Pos, Text, Time, Color) | |
678 | local Rate = 0.033333333333333 | |
679 | if not Pos then | |
680 | local Pos = Vector3.new(0, 0, 0) | |
681 | end | |
682 | local Text = Text or "" | |
683 | local Time = Time or 2 | |
684 | if not Color then | |
685 | local Color = Color3.new(1, 0, 1) | |
686 | end | |
687 | local EffectPart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) | |
688 | EffectPart.Anchored = true | |
689 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart}) | |
690 | local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui}) | |
691 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
692 | EffectPart.Parent = game:GetService("Workspace") | |
693 | delay(0, function() | |
694 | local Frames = Time / Rate | |
695 | for Frame = 1, Frames do | |
696 | wait(Rate) | |
697 | local Percent = Frame / Frames | |
698 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
699 | TextLabel.TextTransparency = Percent | |
700 | end | |
701 | if EffectPart and EffectPart.Parent then | |
702 | EffectPart:Destroy() | |
703 | end | |
704 | end | |
705 | ) | |
706 | end | |
707 | ||
708 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
709 | for _,c in pairs(workspace:children()) do | |
710 | local hum = c:findFirstChild("Humanoid") | |
711 | if hum ~= nil then | |
712 | local head = c:findFirstChild("Torso") | |
713 | if head ~= nil then | |
714 | local targ = head.Position - Part.Position | |
715 | local mag = targ.magnitude | |
716 | if mag <= magni and c.Name ~= Player.Name then | |
717 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
718 | end | |
719 | end | |
720 | end | |
721 | end | |
722 | end | |
723 | ||
724 | BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
725 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
726 | prt.Anchored = true | |
727 | prt.CFrame = cframe | |
728 | local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
729 | game:GetService("Debris"):AddItem(prt, 10) | |
730 | if Type == 1 or Type == nil then | |
731 | table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh}) | |
732 | else | |
733 | if Type == 2 then | |
734 | table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh}) | |
735 | end | |
736 | end | |
737 | end | |
738 | ||
739 | SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
740 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
741 | prt.Anchored = true | |
742 | prt.CFrame = cframe | |
743 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
744 | game:GetService("Debris"):AddItem(prt, 10) | |
745 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
746 | end | |
747 | ||
748 | RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
749 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
750 | prt.Anchored = true | |
751 | prt.CFrame = cframe | |
752 | msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1)) | |
753 | game:GetService("Debris"):AddItem(prt, 2) | |
754 | coroutine.resume(coroutine.create(function(Part, Mesh, num) | |
755 | for i = 0, 1, delay do | |
756 | swait() | |
757 | Part.Transparency = i | |
758 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
759 | end | |
760 | Part.Parent = nil | |
761 | end | |
762 | ), prt, msh, (math.random(0, 1) + math.random()) / 5) | |
763 | end | |
764 | ||
765 | CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
766 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
767 | prt.Anchored = true | |
768 | prt.CFrame = cframe | |
769 | local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
770 | game:GetService("Debris"):AddItem(prt, 10) | |
771 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
772 | end | |
773 | ||
774 | WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
775 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
776 | prt.Anchored = true | |
777 | prt.CFrame = cframe | |
778 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
779 | game:GetService("Debris"):AddItem(prt, 10) | |
780 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
781 | end | |
782 | ||
783 | SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
784 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
785 | prt.Anchored = true | |
786 | prt.CFrame = cframe | |
787 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
788 | game:GetService("Debris"):AddItem(prt, 10) | |
789 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
790 | end | |
791 | ||
792 | CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
793 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
794 | prt.Anchored = true | |
795 | prt.CFrame = cframe | |
796 | local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
797 | game:GetService("Debris"):AddItem(prt, 10) | |
798 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
799 | end | |
800 | ||
801 | BreakEffect = function(brickcolor, cframe, x1, y1, z1) | |
802 | local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
803 | prt.Anchored = true | |
804 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
805 | local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
806 | local num = math.random(10, 50) / 1000 | |
807 | game:GetService("Debris"):AddItem(prt, 10) | |
808 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100}) | |
809 | end | |
810 | ||
811 | battackone = function() | |
812 | attack = true | |
813 | local con = Hitbox2.Touched:connect(function(hit) | |
814 | Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
815 | end | |
816 | ) | |
817 | CreateSound("http://roblox.com/asset/?id=189505665", Hitbox2, 1, 0.85) | |
818 | for i = 0, 1, 0.1 do | |
819 | swait() | |
820 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) | |
821 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) | |
822 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
823 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
824 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
825 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
826 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
827 | end | |
828 | CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1) | |
829 | for i = 0, 1, 0.1 do | |
830 | swait() | |
831 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
832 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
833 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(70)), 0.3) | |
834 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3) | |
835 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
836 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
837 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3) | |
838 | end | |
839 | attack = false | |
840 | con:disconnect() | |
841 | end | |
842 | ||
843 | HadesKnife = function() | |
844 | attack = true | |
845 | local con = Hitbox2.Touched:connect(function(hit) | |
846 | Damagefunc(Hitbox2, hit, 5, 10, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
847 | end | |
848 | ) | |
849 | CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1) | |
850 | for i = 0, 1, 0.1 do | |
851 | swait() | |
852 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
853 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3) | |
854 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3) | |
855 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
856 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
857 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
858 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3) | |
859 | end | |
860 | CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2) | |
861 | for i = 0, 1, 0.1 do | |
862 | swait() | |
863 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3) | |
864 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3) | |
865 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
866 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
867 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
868 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
869 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
870 | end | |
871 | CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2) | |
872 | for i = 0, 1, 0.1 do | |
873 | swait() | |
874 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3) | |
875 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(80)), 0.3) | |
876 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
877 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
878 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
879 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
880 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
881 | end | |
882 | CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2) | |
883 | for i = 0, 1, 0.1 do | |
884 | swait() | |
885 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3) | |
886 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3) | |
887 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3) | |
888 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3) | |
889 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3) | |
890 | LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3) | |
891 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
892 | end | |
893 | con:disconnect() | |
894 | attack = false | |
895 | end | |
896 | ||
897 | HellFromAbove = function() | |
898 | attack = true | |
899 | for i = 0, 1, 0.1 do | |
900 | swait() | |
901 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3) | |
902 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3) | |
903 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3) | |
904 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3) | |
905 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3) | |
906 | LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3) | |
907 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
908 | end | |
909 | RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05) | |
910 | RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05) | |
911 | CreateSound("http://roblox.com/asset/?id=231917970", RootPart, 1, 1) | |
912 | for i = 0, 1, 0.1 do | |
913 | swait() | |
914 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 100) * angles(math.rad(0), math.rad(0), math.rad(-55)), 0.37) | |
915 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.37) | |
916 | RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(15)), 0.37) | |
917 | LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.37) | |
918 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35) | |
919 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35) | |
920 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.37) | |
921 | end | |
922 | coroutine.resume(coroutine.create(function() | |
923 | invisle() | |
924 | end | |
925 | )) | |
926 | end | |
927 | ||
928 | spread = 0 | |
929 | range = 100 | |
930 | rangepower = 25 | |
931 | shoottrail3 = function(mouse, baseprt) | |
932 | coroutine.resume(coroutine.create(function(v) | |
933 | local spreadvector = Vector3.new(math.random(-spread, spread), math.random(-spread, spread), math.random(-spread, spread)) * baseprt.Position - mouse.Hit.p.magnitude / 100 | |
934 | local dir = CFrame.new((baseprt.Position + mouse.Hit.p) / 2, mouse.Hit.p + spreadvector) | |
935 | local hit, pos = rayCast(baseprt.Position, dir.lookVector, 10, Character) | |
936 | local rangepos = range * 50 | |
937 | local drawtrail = function(From, To) | |
938 | local effectsmsh = Instance.new("SpecialMesh") | |
939 | effectsmsh.Scale = Vector3.new(1, 1, 1) | |
940 | effectsmsh.Name = "Mesh" | |
941 | effectsmsh.MeshType = "Sphere" | |
942 | effectsmsh.Scale = Vector3.new(5, 5, 5) | |
943 | local effectsg = Instance.new("Part") | |
944 | effectsg.formFactor = 3 | |
945 | effectsg.CanCollide = false | |
946 | effectsg.Name = "Eff" | |
947 | effectsg.Locked = true | |
948 | effectsg.Anchored = true | |
949 | effectsg.Size = Vector3.new(0.2, 0.2, 0.2) | |
950 | effectsg.Parent = effect | |
951 | effectsmsh.Parent = effectsg | |
952 | effectsg.BrickColor = BrickColor.new("Black") | |
953 | effectsg.Reflectance = 0.25 | |
954 | local LP = From | |
955 | local point1 = To | |
956 | local mg = LP - point1.magnitude | |
957 | effectsmsh.Scale = Vector3.new(20, 20, 20) | |
958 | effectsg.CFrame = CFrame.new((LP + point1) / 2, point1) * CFrame.Angles(math.rad(90), 0, 0) | |
959 | coroutine.resume(coroutine.create(function() | |
960 | swait() | |
961 | effectsg.Parent = nil | |
962 | end | |
963 | )) | |
964 | end | |
965 | ||
966 | local newpos = baseprt.Position | |
967 | local inc = rangepower / 10 | |
968 | repeat | |
969 | swait() | |
970 | rangepos = rangepos - 10 | |
971 | hit = rayCast(newpos, dir.lookVector, inc, Character) | |
972 | drawtrail(newpos, pos) | |
973 | local list = (effect:children()) | |
974 | local torso = nil | |
975 | local dist = 10 | |
976 | local temp, human, temp2 = nil, nil, nil | |
977 | for x = 1, #list do | |
978 | temp2 = list[x] | |
979 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
980 | temp = temp2:findFirstChild("Torso") | |
981 | human = temp2:findFirstChild("Humanoid") | |
982 | if temp ~= nil and human ~= nil and human.Health > 0 and temp.Position - pos.magnitude < dist then | |
983 | torso = temp | |
984 | dist = temp.Position - pos.magnitude | |
985 | end | |
986 | end | |
987 | end | |
988 | if torso ~= nil then | |
989 | dir = CFrame.new(pos, torso.Position) | |
990 | end | |
991 | newpos = newpos + dir.lookVector * inc | |
992 | if hit ~= nil then | |
993 | rangepos = 0 | |
994 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then | |
995 | hum = hit.Parent.Humanoid | |
996 | tTorso = hit.Parent.Torso | |
997 | MagniDamage(hit, 10, 10, 15, 0, "Knockdown") | |
998 | attackdebounce = false | |
999 | else | |
1000 | if hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then | |
1001 | hum = hit.Parent.Parent.Humanoid | |
1002 | tTorso = hit.Parent.Parent.Torso | |
1003 | MagniDamage(hit.Parent.Parent.Torso, 10, 10, 15, 0, "Knockdown") | |
1004 | attackdebounce = false | |
1005 | end | |
1006 | end | |
1007 | for i = 1, math.random(3, 6) do | |
1008 | BreakEffect(BrickColor.new("Black"), CFrame.new(newpos), 0.5, math.random(5, 20), 0.5) | |
1009 | end | |
1010 | CreateSound("http://roblox.com/asset/?id=3264793", hit, 1, math.random() + math.random() + 1) | |
1011 | SphereEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 3, 3, 3, 0.07) | |
1012 | BlockEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 2, 2, 2, 0.07, 1) | |
1013 | end | |
1014 | until rangepos <= 0 | |
1015 | end | |
1016 | )) | |
1017 | end | |
1018 | ||
1019 | PlaySound = function(id, pitch, parent, volume) | |
1020 | if volume == nil then | |
1021 | volume = tonumber(1) | |
1022 | end | |
1023 | local epicsound = Instance.new("Sound") | |
1024 | epicsound.Name = "Epicosound" | |
1025 | epicsound.SoundId = "rbxassetid://" .. id | |
1026 | epicsound.Volume = volume | |
1027 | epicsound.Pitch = pitch | |
1028 | epicsound.Looped = false | |
1029 | epicsound.Parent = parent | |
1030 | wait() | |
1031 | epicsound:Play() | |
1032 | game:service("Debris"):AddItem(epicsound, 8) | |
1033 | end | |
1034 | ||
1035 | Shots = {263609809, 263609836, 263609864, 263609874, 263609898} | |
1036 | Shot = function(part) | |
1037 | local shot = math.random(1, #Shots) | |
1038 | PlaySound(Shots[shot], 1, part) | |
1039 | end | |
1040 | ||
1041 | invisle = function() | |
1042 | invisy = true | |
1043 | Humanoid.WalkSpeed = 125 | |
1044 | coroutine.resume(coroutine.create(function() | |
1045 | for i,v in pairs(Character:children()) do | |
1046 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1047 | v.Transparency = 1 | |
1048 | end | |
1049 | if v:IsA("Hat") then | |
1050 | v.Handle.Transparency = 1 | |
1051 | end | |
1052 | Head.face.Transparency = 1 | |
1053 | end | |
1054 | for i,v in pairs(model2:children()) do | |
1055 | if v:IsA("BasePart") then | |
1056 | v.Transparency = 1 | |
1057 | Handle2.TransParency = 1 | |
1058 | FakeHandle2.TransParency = 1 | |
1059 | end | |
1060 | end | |
1061 | end | |
1062 | )) | |
1063 | coroutine.resume(coroutine.create(function() | |
1064 | while invisy == true do | |
1065 | wait(0.5) | |
1066 | for i = 1, 3 do | |
1067 | local orb = CreatePart(Character, "SmoothPlastic", 0, 0.5, BrickColor.new("Black"), "Orb", vt()) | |
1068 | orb.Anchored = true | |
1069 | Shot(orb) | |
1070 | local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", vt(0, 0, 0), vt(10, 10, 10)) | |
1071 | orb.CFrame = cf(RootPart.Position + vt(math.random(-10, 10), 1, math.random(-10, 10))) | |
1072 | SphereEffect(BrickColor.new("Black"), orb.CFrame, 10, 10, 10, 1, 1, 1, 0.1) | |
1073 | coroutine.resume(coroutine.create(function(Part, Mesh, Weld) | |
1074 | wait(1) | |
1075 | Part.Parent = nil | |
1076 | local spread = vt(0, 0, 0) * (Part.Position - (Part.Position + vt(0, -1, 0))).magnitude / 100 | |
1077 | local TheHit = Part.Position + vt(0, -1, 0) | |
1078 | local MouseLook = cf((Part.Position + TheHit) / 2, TheHit + spread) | |
1079 | local hit, pos = rayCast(Part.Position, MouseLook.lookVector, 999, Character) | |
1080 | local mag = (Part.Position - pos).magnitude | |
1081 | CylinderEffect(BrickColor.new("Black"), CFrame.new((Part.Position + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 10, 1, 0.5, 100, 0.5, 0.05) | |
1082 | RingEffect(BrickColor.new("Black"), Player.Character["Right Leg"].CFrame * angles(1.57, math.random(-100, 100) / 100, math.random(-100, 100) / 100), 1, 1, 1, 2, 2, 2, 0.05) | |
1083 | do | |
1084 | local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt()) | |
1085 | ref.CFrame = Player.Character["Right Leg"].CFrame | |
1086 | CreateSound("http://roblox.com/asset/?id=231917788", ref, 1, 1.4) | |
1087 | coroutine.resume(coroutine.create(function(Part) | |
1088 | wait(1) | |
1089 | Part.Parent = nil | |
1090 | end | |
1091 | ), ref) | |
1092 | MagniDamage(ref, 15, 5, 10, 0, "Normal") | |
1093 | if hit ~= nil then | |
1094 | end | |
1095 | end | |
1096 | end | |
1097 | ), orb, omsh) | |
1098 | end | |
1099 | wait(0.5) | |
1100 | local n = 2 | |
1101 | for i = 0, 1, 0.1 do | |
1102 | wait() | |
1103 | n = n - 0.1 | |
1104 | end | |
1105 | RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05) | |
1106 | end | |
1107 | end | |
1108 | )) | |
1109 | coroutine.resume(coroutine.create(function() | |
1110 | while invisy == true do | |
1111 | wait(0.1) | |
1112 | Torso.Velocity = RootPart.CFrame.lookVector * 50 | |
1113 | WaveEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1, 1, 1, 0.5, 0.5, 0.5, 0.05) | |
1114 | end | |
1115 | end | |
1116 | )) | |
1117 | for i = 1, 100 do | |
1118 | wait() | |
1119 | end | |
1120 | SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05) | |
1121 | SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05) | |
1122 | BlockEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 1, 1, 1, 1, 0.05, 1) | |
1123 | CreateSound("http://roblox.com/asset/?id=231917806", Torso, 1, 1) | |
1124 | MagniDamage(Hitbox, 10, 15, 25, 10, "Normal") | |
1125 | coroutine.resume(coroutine.create(function() | |
1126 | for i,v in pairs(Character:children()) do | |
1127 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then | |
1128 | v.Transparency = 0 | |
1129 | end | |
1130 | if v:IsA("Hat") then | |
1131 | v.Handle.Transparency = 0 | |
1132 | end | |
1133 | Head.face.Transparency = 0 | |
1134 | end | |
1135 | for i,v in pairs(model2:children()) do | |
1136 | if v:IsA("BasePart") then | |
1137 | v.Transparency = 0 | |
1138 | end | |
1139 | end | |
1140 | Hitbox2.Transparency = 1 | |
1141 | Handle2.Transparency = 1 | |
1142 | FakeHandle2.Transparency = 1 | |
1143 | end | |
1144 | )) | |
1145 | Humanoid.WalkSpeed = 100 | |
1146 | attack = false | |
1147 | invisy = false | |
1148 | end | |
1149 | ||
1150 | battacktwo = function() | |
1151 | attack = true | |
1152 | local con = Hitbox2.Touched:connect(function(hit) | |
1153 | Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
1154 | end | |
1155 | ) | |
1156 | CreateSound("http://roblox.com/asset/?id=320557453", Handle2, 1, 1) | |
1157 | for i = 0, 1, 0.1 do | |
1158 | swait() | |
1159 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
1160 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3) | |
1161 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3) | |
1162 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
1163 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1164 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1165 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3) | |
1166 | end | |
1167 | CreateSound("http://roblox.com/asset/?id=189505639", Hitbox2, 1, 0.85) | |
1168 | for i = 0, 1, 0.1 do | |
1169 | swait() | |
1170 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
1171 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3) | |
1172 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1173 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
1174 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1175 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1176 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
1177 | end | |
1178 | attack = false | |
1179 | con:disconnect() | |
1180 | end | |
1181 | ||
1182 | HadesArrow = function() | |
1183 | attack = true | |
1184 | CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1) | |
1185 | for i = 0, 1, 0.1 do | |
1186 | swait() | |
1187 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) | |
1188 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) | |
1189 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1190 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
1191 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1192 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1193 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
1194 | end | |
1195 | for i = 0, 1, 0.1 do | |
1196 | swait() | |
1197 | BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, 0, 0), 1, 1, 1, 1, 1, 1, 0.05) | |
1198 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) | |
1199 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) | |
1200 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1201 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
1202 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1203 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1204 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
1205 | end | |
1206 | shoottrail3(mouse, LeftArm) | |
1207 | attack = false | |
1208 | end | |
1209 | ||
1210 | battackthree = function() | |
1211 | attack = true | |
1212 | CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1) | |
1213 | for i = 0, 1, 0.1 do | |
1214 | swait() | |
1215 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) | |
1216 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) | |
1217 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1218 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
1219 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1220 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1221 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
1222 | end | |
1223 | coroutine.resume(coroutine.create(function() | |
1224 | for i = 1, 1 do | |
1225 | swait() | |
1226 | local ef = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt()) | |
1227 | CreateSound("http://www.roblox.com/asset/?id=192410089", ef, 1, 1) | |
1228 | ef.Anchored = true | |
1229 | ef.CFrame = RootPart.CFrame * cf(0, 0, -7.5) | |
1230 | MagniDamage(ef, 7, 10, 15, 10, "Knockdown") | |
1231 | SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -7.5), 1, 1, 1, 5, 5, 5, 0.05) | |
1232 | game:GetService("Debris"):AddItem(ef, 0.5) | |
1233 | WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2, -7.5), 1, 1, 1, 1, 1, 1, 0.08) | |
1234 | end | |
1235 | end | |
1236 | )) | |
1237 | for i = 0, 1, 0.1 do | |
1238 | swait() | |
1239 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1240 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
1241 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(90)), 0.3) | |
1242 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
1243 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1244 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1245 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3) | |
1246 | end | |
1247 | attack = false | |
1248 | end | |
1249 | ||
1250 | attackone = function() | |
1251 | attack = true | |
1252 | CreateSound("http://roblox.com/asset/?id=320557453", Handle, 1, 1) | |
1253 | local con = Hitbox.Touched:connect(function(hit) | |
1254 | Damagefunc(Hitbox, hit, 5, 13, math.random(5, 10), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
1255 | end | |
1256 | ) | |
1257 | for i = 0, 1, 0.1 do | |
1258 | swait() | |
1259 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3) | |
1260 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3) | |
1261 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3) | |
1262 | LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3) | |
1263 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1264 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1265 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3) | |
1266 | end | |
1267 | CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1) | |
1268 | for i = 0, 1, 0.1 do | |
1269 | swait() | |
1270 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3) | |
1271 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
1272 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3) | |
1273 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
1274 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1275 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1276 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3) | |
1277 | end | |
1278 | con:disconnect() | |
1279 | attack = false | |
1280 | end | |
1281 | ||
1282 | attacktwo = function() | |
1283 | attack = true | |
1284 | local con = Hitbox.Touched:connect(function(hit) | |
1285 | Damagefunc(Hitbox, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
1286 | end | |
1287 | ) | |
1288 | CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1) | |
1289 | for i = 0, 1, 0.1 do | |
1290 | swait() | |
1291 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3) | |
1292 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) | |
1293 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3) | |
1294 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
1295 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1296 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1297 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3) | |
1298 | end | |
1299 | CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1.1) | |
1300 | for i = 0, 1, 0.1 do | |
1301 | swait() | |
1302 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3) | |
1303 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3) | |
1304 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3) | |
1305 | LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3) | |
1306 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1307 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1308 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3) | |
1309 | end | |
1310 | con:disconnect() | |
1311 | attack = false | |
1312 | end | |
1313 | ||
1314 | attackthree = function() | |
1315 | attack = true | |
1316 | local con = Hitbox.Touched:connect(function(hit) | |
1317 | Damagefunc(Hitbox, hit, 5, 13, math.random(1, 10), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
1318 | end | |
1319 | ) | |
1320 | CreateSound("http://roblox.com/asset/?id=320557518", Handle, 1, 1) | |
1321 | for i = 0, 1, 0.1 do | |
1322 | swait() | |
1323 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1324 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1325 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
1326 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3) | |
1327 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1328 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1329 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1330 | end | |
1331 | CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 0.9) | |
1332 | for i = 0, 1, 0.5 do | |
1333 | swait() | |
1334 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1335 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1336 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3) | |
1337 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3) | |
1338 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1339 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1340 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1341 | end | |
1342 | for i = 0, 1, 0.1 do | |
1343 | swait() | |
1344 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1345 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1346 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
1347 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
1348 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1349 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1350 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1351 | end | |
1352 | con:disconnect() | |
1353 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05) | |
1354 | attack = false | |
1355 | end | |
1356 | ||
1357 | BlackDeath = function() | |
1358 | attack = true | |
1359 | CreateSound("http://www.roblox.com/asset/?id=169445046", Handle, 1, 1) | |
1360 | for i = 0, 1, 0.1 do | |
1361 | swait() | |
1362 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
1363 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
1364 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1365 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
1366 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1367 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1368 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1369 | end | |
1370 | for i = 0, 1, 0.1 do | |
1371 | swait() | |
1372 | BlockEffect(BrickColor.new("Black"), LeftArm.CFrame, 5, 5, 5, 1, 1, 1, 0.07) | |
1373 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1374 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1375 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1376 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-180)), 0.3) | |
1377 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1378 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1379 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1380 | end | |
1381 | n = 2 | |
1382 | local cf2 = RootPart.CFrame * cf(0, 500, -20) | |
1383 | local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt()) | |
1384 | ref.CFrame = cf2 | |
1385 | ref.Anchored = true | |
1386 | local TheHit = ref.Position + vt(0, -1, 0) | |
1387 | local MouseLook = cf((ref.Position + TheHit) / 2, TheHit) | |
1388 | local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character) | |
1389 | local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt()) | |
1390 | ref2.CFrame = Player.Character["Right Leg"].CFrame | |
1391 | ref2.Anchored = true | |
1392 | local mag = (ref.Position - pos).magnitude | |
1393 | CylinderEffect(BrickColor.new("Black"), CFrame.new((ref.Position + pos) / 2, pos) * angles(1.57, 0, 0), 5, mag * 5, 5, 1, 0, 1, 0.05) | |
1394 | SphereEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 3, 3, 3, 0.02) | |
1395 | BlockEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 2, 2, 2, 0.02) | |
1396 | WaveEffect(BrickColor.new("Black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05) | |
1397 | RingEffect(BrickColor.new("Black"), cf(ref2.Position) * angles(1.57, 0, 0), 5, 5, 5, 1, 1, 1, 0.05) | |
1398 | MagniDamage(ref2, 10, 10, 15, 30, "Knockdown") | |
1399 | CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.9) | |
1400 | CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.8) | |
1401 | game:GetService("Debris"):AddItem(ref, 2) | |
1402 | game:GetService("Debris"):AddItem(ref2, 2) | |
1403 | for i = 0, 1, 0.1 do | |
1404 | swait() | |
1405 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) | |
1406 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(70)), 0.3) | |
1407 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1408 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)), 0.3) | |
1409 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1410 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1411 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1412 | end | |
1413 | attack = false | |
1414 | end | |
1415 | ||
1416 | HadesHammer = function() | |
1417 | attack = true | |
1418 | local con = Hitbox.Touched:connect(function(hit) | |
1419 | Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
1420 | end | |
1421 | ) | |
1422 | Humanoid.Jump = true | |
1423 | CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1) | |
1424 | for i = 0, 1, 0.1 do | |
1425 | swait() | |
1426 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1427 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1428 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3) | |
1429 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3) | |
1430 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1431 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1432 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1433 | end | |
1434 | for i = 0, 1, 0.5 do | |
1435 | swait() | |
1436 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1437 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1438 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3) | |
1439 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3) | |
1440 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1441 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1442 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1443 | end | |
1444 | for i = 0, 1, 0.2 do | |
1445 | swait() | |
1446 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1447 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1448 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
1449 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
1450 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1451 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1452 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1453 | end | |
1454 | con:disconnect() | |
1455 | hit = nil | |
1456 | for i = 1, 1 do | |
1457 | if hit == nil then | |
1458 | swait() | |
1459 | end | |
1460 | hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character) | |
1461 | end | |
1462 | local hit = nil | |
1463 | while hit == nil do | |
1464 | swait() | |
1465 | hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
1466 | end | |
1467 | hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
1468 | do | |
1469 | if hit ~= nil then | |
1470 | local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt()) | |
1471 | ref.Anchored = true | |
1472 | ref.CFrame = Player.Character["Right Leg"].CFrame | |
1473 | game:GetService("Debris"):AddItem(ref, 3) | |
1474 | for i = 1, 10 do | |
1475 | Col = hit.BrickColor | |
1476 | local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100)) | |
1477 | groundpart.Anchored = true | |
1478 | groundpart.CanCollide = true | |
1479 | groundpart.CFrame = (Player.Character["Right Leg"].CFrame) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1480 | game:GetService("Debris"):AddItem(groundpart, 5) | |
1481 | end | |
1482 | CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2) | |
1483 | WaveEffect(hit.BrickColor, Player.Character["Right Leg"].CFrame, 1, 1, 1, 0.7, 0.7, 0.7, 0.05) | |
1484 | MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown") | |
1485 | end | |
1486 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 3, 0.5, 0.05) | |
1487 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 1, 1, 0.05) | |
1488 | attack = false | |
1489 | end | |
1490 | end | |
1491 | ||
1492 | Beast = function() | |
1493 | attack = true | |
1494 | for i = 0, 1, 0.05 do | |
1495 | swait() | |
1496 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1497 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1498 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1499 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1500 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
1501 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1502 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3) | |
1503 | end | |
1504 | CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1) | |
1505 | num = 0 | |
1506 | for i = 0, 1, 0.01 do | |
1507 | swait() | |
1508 | if num >= 10 then | |
1509 | num = 0 | |
1510 | WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05) | |
1511 | end | |
1512 | for i = 1, 2 do | |
1513 | if math.random(1, 5) == 1 then | |
1514 | BlockEffect(BrickColor.new("Black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1) | |
1515 | else | |
1516 | BlockEffect(BrickColor.new("Really black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1) | |
1517 | end | |
1518 | end | |
1519 | num = num + 1 | |
1520 | end | |
1521 | SphereEffect(BrickColor.new("Black"), Hitbox2.CFrame, 1, 5, 1, 2, 5, 2, 0.05) | |
1522 | for i = 0, 1, 0.1 do | |
1523 | swait() | |
1524 | end | |
1525 | model2.Parent = nil | |
1526 | for i = 0, 1, 0.05 do | |
1527 | swait() | |
1528 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1529 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1530 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3) | |
1531 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3) | |
1532 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
1533 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1534 | end | |
1535 | CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1) | |
1536 | SphereEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 5, 1, 2, 5, 2, 0.05) | |
1537 | for i = 0, 1, 0.1 do | |
1538 | swait() | |
1539 | end | |
1540 | model2.Parent = nil | |
1541 | m.Parent = Character | |
1542 | for i = 1, #Hammer do | |
1543 | Hammer[i].Parent = m | |
1544 | HammerWelds[i].Parent = Hammer[1] | |
1545 | end | |
1546 | for i = 0, 1, 0.05 do | |
1547 | swait() | |
1548 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1549 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1550 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1551 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1552 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
1553 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1554 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3) | |
1555 | end | |
1556 | WStyle = "Hammer" | |
1557 | attack = false | |
1558 | end | |
1559 | ||
1560 | Beauty = function() | |
1561 | attack = true | |
1562 | for i = 0, 1, 0.05 do | |
1563 | swait() | |
1564 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1565 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1566 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1567 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1568 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
1569 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1570 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3) | |
1571 | end | |
1572 | num = 0 | |
1573 | CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1) | |
1574 | for i = 0, 1, 0.01 do | |
1575 | swait() | |
1576 | if num >= 10 then | |
1577 | num = 0 | |
1578 | WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05) | |
1579 | end | |
1580 | for i = 1, 2 do | |
1581 | if math.random(1, 5) == 1 then | |
1582 | BlockEffect(BrickColor.new("Black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1) | |
1583 | else | |
1584 | BlockEffect(BrickColor.new("Really black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1) | |
1585 | end | |
1586 | end | |
1587 | num = num + 1 | |
1588 | end | |
1589 | CreateSound("http://www.roblox.com/asset/?id=243711369", RootPart, 1, 1) | |
1590 | SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05) | |
1591 | for i = 0, 1, 0.1 do | |
1592 | swait() | |
1593 | end | |
1594 | m.Parent = nil | |
1595 | for i = 0, 1, 0.05 do | |
1596 | swait() | |
1597 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1598 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1599 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3) | |
1600 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3) | |
1601 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
1602 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1603 | end | |
1604 | CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1) | |
1605 | SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05) | |
1606 | for i = 0, 1, 0.1 do | |
1607 | swait() | |
1608 | end | |
1609 | m.Parent = nil | |
1610 | model2.Parent = Character | |
1611 | for i = 1, #DBlade do | |
1612 | DBlade[i].Parent = model2 | |
1613 | DBladeWelds[i].Parent = DBlade[1] | |
1614 | end | |
1615 | m.Parent = nil | |
1616 | for i = 0, 1, 0.05 do | |
1617 | swait() | |
1618 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1619 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1620 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
1621 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1622 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
1623 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1624 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3) | |
1625 | end | |
1626 | WStyle = "Blade" | |
1627 | attack = false | |
1628 | end | |
1629 | ||
1630 | HadesStorm = function() | |
1631 | attack = true | |
1632 | CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1) | |
1633 | for i = 0, 1, 0.05 do | |
1634 | swait() | |
1635 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
1636 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
1637 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1, 0) * angles(math.rad(180), math.rad(0), math.rad(-50)), 0.3) | |
1638 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3) | |
1639 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3) | |
1640 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1641 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1642 | end | |
1643 | for i = 0, 1, 0.5 do | |
1644 | swait() | |
1645 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1646 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1647 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3) | |
1648 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3) | |
1649 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1650 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1651 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1652 | end | |
1653 | for i = 0, 1, 0.2 do | |
1654 | swait() | |
1655 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1656 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1657 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3) | |
1658 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
1659 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1660 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1661 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3) | |
1662 | end | |
1663 | hit = nil | |
1664 | for i = 1, 1 do | |
1665 | if hit == nil then | |
1666 | swait() | |
1667 | end | |
1668 | hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character) | |
1669 | end | |
1670 | local hit = nil | |
1671 | while hit == nil do | |
1672 | swait() | |
1673 | hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
1674 | end | |
1675 | hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character) | |
1676 | do | |
1677 | if hit ~= nil then | |
1678 | local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt()) | |
1679 | ref.Anchored = true | |
1680 | ref.CFrame = Player.Character["Right Leg"].CFrame | |
1681 | game:GetService("Debris"):AddItem(ref, 3) | |
1682 | for i = 1, 10 do | |
1683 | Col = hit.BrickColor | |
1684 | local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100)) | |
1685 | groundpart.Anchored = true | |
1686 | groundpart.CanCollide = true | |
1687 | groundpart.CFrame = (Player.Character["Right Leg"].CFrame) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1688 | game:GetService("Debris"):AddItem(groundpart, 5) | |
1689 | end | |
1690 | CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2) | |
1691 | WaveEffect(hit.BrickColor, (Player.Character["Right Leg"].CFrame), 1, 1, 1, 0.7, 0.7, 0.7, 0.05) | |
1692 | MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown") | |
1693 | end | |
1694 | local numb = -8 | |
1695 | local basecf = RootPart.CFrame | |
1696 | for i = 1, 4 do | |
1697 | swait() | |
1698 | local cf2 = basecf * cf(0, 0, numb) | |
1699 | local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt()) | |
1700 | ref.CFrame = cf2 | |
1701 | ref.Anchored = true | |
1702 | local TheHit = ref.Position + vt(0, -1, 0) | |
1703 | local MouseLook = cf((ref.Position + TheHit) / 2, TheHit) | |
1704 | local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character) | |
1705 | local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt()) | |
1706 | ref2.CFrame = Player.Character["Right Leg"].CFrame | |
1707 | ref2.Anchored = true | |
1708 | SphereEffect(BrickColor.new("Really black"), ref2.CFrame, 15, 15, 15, 5, 5, 5, 0.02) | |
1709 | WaveEffect(BrickColor.new("Really black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05) | |
1710 | MagniDamage(ref2, 20, 10, 15, math.random(5, 20), "Normal", RootPart) | |
1711 | CreateSound("http://www.roblox.com/asset/?id=161006093", ref2, 1, 0.6) | |
1712 | game:GetService("Debris"):AddItem(ref, 2) | |
1713 | game:GetService("Debris"):AddItem(ref2, 2) | |
1714 | numb = numb - 15 | |
1715 | wait(0.4) | |
1716 | end | |
1717 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 3, 1, 0.05) | |
1718 | CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 2, 1, 2, 0.05) | |
1719 | attack = false | |
1720 | end | |
1721 | end | |
1722 | ||
1723 | ob1u = function() | |
1724 | end | |
1725 | ||
1726 | ob1d = function() | |
1727 | if WStyle == "Hammer" then | |
1728 | if attack == false and attacktype == 1 then | |
1729 | attacktype = 2 | |
1730 | attackone() | |
1731 | else | |
1732 | if attack == false and attacktype == 2 then | |
1733 | attacktype = 3 | |
1734 | attacktwo() | |
1735 | else | |
1736 | if attack == false and attacktype == 3 then | |
1737 | attacktype = 1 | |
1738 | attackthree() | |
1739 | end | |
1740 | end | |
1741 | end | |
1742 | end | |
1743 | if WStyle == "Blade" then | |
1744 | if attack == false and attacktype2 == 1 then | |
1745 | attacktype2 = 2 | |
1746 | battackone() | |
1747 | else | |
1748 | if attack == false and attacktype2 == 2 then | |
1749 | attacktype2 = 3 | |
1750 | battacktwo() | |
1751 | else | |
1752 | if attack == false and attacktype2 == 3 then | |
1753 | attacktype2 = 1 | |
1754 | battackthree() | |
1755 | end | |
1756 | end | |
1757 | end | |
1758 | end | |
1759 | end | |
1760 | ||
1761 | key = function(k) | |
1762 | k = k:lower() | |
1763 | if attack == false and k == "z" and zenabled == true and mana >= 15 then | |
1764 | zenabled = false | |
1765 | mana = mana | |
1766 | coroutine.resume(coroutine.create(function() | |
1767 | for i = 1, 0, -0.02 do | |
1768 | swait() | |
1769 | fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) | |
1770 | end | |
1771 | zenabled = true | |
1772 | fenframe1a.Size = UDim2.new(0, 0, 0.1, 0) | |
1773 | end | |
1774 | )) | |
1775 | if WStyle == "Hammer" then | |
1776 | HadesHammer() | |
1777 | else | |
1778 | if WStyle == "Blade" then | |
1779 | HadesKnife() | |
1780 | end | |
1781 | end | |
1782 | else | |
1783 | if attack == false and k == "x" and mana >= 25 and xenabled == true then | |
1784 | xenabled = false | |
1785 | mana = mana | |
1786 | coroutine.resume(coroutine.create(function() | |
1787 | for i = 1, 0, -0.0025 do | |
1788 | swait() | |
1789 | fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) | |
1790 | end | |
1791 | xenabled = true | |
1792 | fenframe2a.Size = UDim2.new(0, 0, 0.1, 0) | |
1793 | end | |
1794 | )) | |
1795 | if WStyle == "Hammer" then | |
1796 | BlackDeath() | |
1797 | else | |
1798 | if WStyle == "Blade" then | |
1799 | HellFromAbove() | |
1800 | end | |
1801 | end | |
1802 | else | |
1803 | if attack == false and k == "c" and mana >= 35 and cenabled == true then | |
1804 | cenabled = false | |
1805 | mana = mana | |
1806 | coroutine.resume(coroutine.create(function() | |
1807 | for i = 1, 0, -0.0025 do | |
1808 | swait() | |
1809 | fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) | |
1810 | end | |
1811 | cenabled = true | |
1812 | fenframe3a.Size = UDim2.new(0, 0, 0.1, 0) | |
1813 | end | |
1814 | )) | |
1815 | if WStyle == "Hammer" then | |
1816 | HadesStorm() | |
1817 | else | |
1818 | if WStyle == "Blade" then | |
1819 | HadesArrow() | |
1820 | end | |
1821 | end | |
1822 | else | |
1823 | if attack == false and k == "v" and mana >= 25 and venabled == true then | |
1824 | venabled = false | |
1825 | mana = mana | |
1826 | coroutine.resume(coroutine.create(function() | |
1827 | for i = 1, 0, -0.025 do | |
1828 | swait() | |
1829 | fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) | |
1830 | end | |
1831 | venabled = true | |
1832 | fenframe4a.Size = UDim2.new(0, 0, 0.1, 0) | |
1833 | end | |
1834 | )) | |
1835 | if WStyle == "Hammer" then | |
1836 | Beauty() | |
1837 | else | |
1838 | if WStyle == "Blade" then | |
1839 | Beast() | |
1840 | end | |
1841 | end | |
1842 | end | |
1843 | end | |
1844 | end | |
1845 | end | |
1846 | end | |
1847 | ||
1848 | Bin = Instance.new("HopperBin", Player.Backpack) | |
1849 | ds = function(mouse) | |
1850 | end | |
1851 | ||
1852 | s = function(mouse) | |
1853 | print("Selected") | |
1854 | mouse.Button1Down:connect(function() | |
1855 | ob1d(mouse) | |
1856 | end | |
1857 | ) | |
1858 | mouse.Button1Up:connect(function() | |
1859 | ob1u(mouse) | |
1860 | end | |
1861 | ) | |
1862 | mouse.KeyDown:connect(key) | |
1863 | end | |
1864 | ||
1865 | Bin.Selected:connect(s) | |
1866 | Bin.Deselected:connect(ds) | |
1867 | while 1 do | |
1868 | while 1 do | |
1869 | while 1 do | |
1870 | swait() | |
1871 | Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
1872 | velocity = RootPart.Velocity.y | |
1873 | sine = sine + change | |
1874 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
1875 | if equipped == true or equipped == false then | |
1876 | if 1 < RootPart.Velocity.y and hit == nil then | |
1877 | Anim = "Jump" | |
1878 | if attack == false then | |
1879 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1880 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1881 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1882 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
1883 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1884 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1885 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1886 | end | |
1887 | else | |
1888 | if RootPart.Velocity.y < -1 and hit == nil then | |
1889 | Anim = "Fall" | |
1890 | if attack == false then | |
1891 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1892 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1893 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1894 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
1895 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1896 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1897 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1898 | end | |
1899 | else | |
1900 | if Torsovelocity.x < 1 or Torsovelocity.z <1 and hit ~= nil then | |
1901 | Anim = "Idle" | |
1902 | if attack == false then | |
1903 | if WStyle == "Hammer" then | |
1904 | change = 1 | |
1905 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
1906 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) | |
1907 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
1908 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
1909 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1910 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1911 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
1912 | else | |
1913 | if WStyle == "Blade" then | |
1914 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3) | |
1915 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3) | |
1916 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3) | |
1917 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
1918 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1919 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1920 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3) | |
1921 | end | |
1922 | end | |
1923 | end | |
1924 | else | |
1925 | if 2 < Torsovelocity.z or 2 < Torsovelocity.x and hit ~= nil then | |
1926 | Anim = "Walk" | |
1927 | if attack == false then | |
1928 | if WStyle == "Hammer" then | |
1929 | change = 1 | |
1930 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1931 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
1932 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3) | |
1933 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3) | |
1934 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1935 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1936 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(70), math.rad(0), math.rad(180)), 0.3) | |
1937 | else | |
1938 | if WStyle == "Blade" then | |
1939 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1940 | Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
1941 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3) | |
1942 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
1943 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1944 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
1945 | FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3) | |
1946 | end | |
1947 | end | |
1948 | end | |
1949 | end | |
1950 | end | |
1951 | end | |
1952 | end | |
1953 | end | |
1954 | ||
1955 | ||
1956 | end | |
1957 | end | |
1958 | mananum = 0 | |
1959 | mana = mana + 1 | |
1960 | end |