SHOW:
|
|
- or go back to the newest paste.
1 | ------------------------ | |
2 | Effects = {} --sound effects, for advanced players. | |
3 | local Player = game.Players.localPlayer | |
4 | local Character = Player.Character | |
5 | local Humanoid = Character.Humanoid | |
6 | z = Instance.new("Sound", Character) | |
7 | z.SoundId = "rbxassetid://222686023"-- | |
8 | z.Looped = true --False for a one-time song. | |
9 | z.Pitch = 1.0 | |
10 | z.Volume = 1.6 | |
11 | wait(.1) | |
12 | z:Play() | |
13 | ------------------------ | |
14 | ||
15 | --------------------------This is an Official script from Duelist-------------------------- | |
16 | ---{-------------------- -------------------}--- | |
17 | ---{-------------------- / \ -------------------}--- | |
18 | ---{-------------------- II -------------------}--- | |
19 | ---{-------------------- II -------------------}--- | |
20 | ---{-------------------- II -------------------}--- | |
21 | ---{-------------------- A========A -------------------}--- | |
22 | ---{-------------------- II -------------------}--- | |
23 | ---{-------------------- II -------------------}--- | |
24 | ---{-------------------- W -------------------}--- | |
25 | ------------------------------------------------------------------------------------------------------------- | |
26 | -- [ Fixed by all_suck | |
27 | -- xdddddddddddd | |
28 | wait(0.016666666666667) | |
29 | script.Name = "Chaos" | |
30 | local Player = game.Players.LocalPlayer | |
31 | local Character = Player.Character | |
32 | Effects = {} | |
33 | local Humanoid = Character.Humanoid | |
34 | local mouse = Player:GetMouse() | |
35 | local m = Instance.new("Model", Character) | |
36 | m.Name = "WeaponModel" | |
37 | local LeftArm = Character["Left Arm"] | |
38 | local RightArm = Character["Right Arm"] | |
39 | local LeftLeg = Character["Left Leg"] | |
40 | local RightLeg = Character["Right Leg"] | |
41 | local Head = Character.Head | |
42 | local Torso = Character.Torso | |
43 | local cam = game.Workspace.CurrentCamera | |
44 | local RootPart = Character.HumanoidRootPart | |
45 | local RootJoint = RootPart.RootJoint | |
46 | local equipped = false | |
47 | local attack = false | |
48 | local Anim = "Idle" | |
49 | local idle = 0 | |
50 | local attacktype = 1 | |
51 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
52 | local velocity = RootPart.Velocity.y | |
53 | local sine = 0 | |
54 | local change = 1 | |
55 | local grabbed = false | |
56 | local cn = CFrame.new | |
57 | local mr = math.rad | |
58 | local angles = CFrame.Angles | |
59 | local ud = UDim2.new | |
60 | local c3 = Color3.new | |
61 | Humanoid.Animator.Parent = nil | |
62 | Character.Animate.Parent = nil | |
63 | local newMotor = function(part0, part1, c0, c1) | |
64 | ||
65 | local w = Instance.new("Motor", part0) | |
66 | w.Part0 = part0 | |
67 | w.Part1 = part1 | |
68 | w.C0 = c0 | |
69 | w.C1 = c1 | |
70 | return w | |
71 | end | |
72 | ||
73 | clerp = function(a, b, t) | |
74 | ||
75 | return a:lerp(b, t) | |
76 | end | |
77 | --//Shirt And Pants\\-- | |
78 | Character.Shirt.ShirtTemplate = "rbxassetid://237906462" | |
79 | Character.Pants.PantsTemplate = "rbxassetid://237906462" | |
80 | ----------------------- | |
81 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
82 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
83 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
84 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
85 | local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0)) | |
86 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) | |
87 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
88 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
89 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
90 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
91 | local rarmc1 = RW.C1 | |
92 | local larmc1 = LW.C1 | |
93 | local rlegc1 = RH.C1 | |
94 | local llegc1 = LH.C1 | |
95 | local resetc1 = false | |
96 | PlayAnimationFromTable = function(table, speed, bool) | |
97 | ||
98 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
99 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
100 | RW.C0 = clerp(RW.C0, table[3], speed) | |
101 | LW.C0 = clerp(LW.C0, table[4], speed) | |
102 | RH.C0 = clerp(RH.C0, table[5], speed) | |
103 | LH.C0 = clerp(LH.C0, table[6], speed) | |
104 | if bool == true and resetc1 == false then | |
105 | resetc1 = true | |
106 | RootJoint.C1 = RootJoint.C1 | |
107 | Torso.Neck.C1 = Torso.Neck.C1 | |
108 | RW.C1 = rarmc1 | |
109 | LW.C1 = larmc1 | |
110 | RH.C1 = rlegc1 | |
111 | LH.C1 = llegc1 | |
112 | end | |
113 | end | |
114 | ||
115 | local co1 = 8 | |
116 | local co2 = 10 | |
117 | local co3 = 12 | |
118 | local co4 = 35 | |
119 | local cooldown1 = 0 | |
120 | local cooldown2 = 0 | |
121 | local cooldown3 = 0 | |
122 | local cooldown4 = 0 | |
123 | local skillcolorscheme = BrickColor.new("Really red").Color | |
124 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
125 | makeframe = function(par, trans, pos, size, color) | |
126 | ||
127 | local frame = Instance.new("Frame", par) | |
128 | frame.BackgroundTransparency = trans | |
129 | frame.BorderSizePixel = 0 | |
130 | frame.Position = pos | |
131 | frame.Size = size | |
132 | frame.BackgroundColor3 = color | |
133 | return frame | |
134 | end | |
135 | ||
136 | makelabel = function(par, text) | |
137 | ||
138 | local label = Instance.new("TextLabel", par) | |
139 | label.BackgroundTransparency = 1 | |
140 | label.Size = UDim2.new(1, 0, 1, 0) | |
141 | label.Position = UDim2.new(0, 0, 0, 0) | |
142 | label.TextColor3 = Color3.new(255, 255, 255) | |
143 | label.TextStrokeTransparency = 0 | |
144 | label.FontSize = Enum.FontSize.Size32 | |
145 | label.Font = Enum.Font.SourceSansLight | |
146 | label.BorderSizePixel = 0 | |
147 | label.TextScaled = true | |
148 | label.Text = text | |
149 | end | |
150 | ||
151 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
152 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
153 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
154 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
155 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
156 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
157 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
158 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
159 | text1 = Instance.new("TextLabel", framesk1) | |
160 | text1.BackgroundTransparency = 1 | |
161 | text1.Size = UDim2.new(1, 0, 1, 0) | |
162 | text1.Position = UDim2.new(0, 0, 0, 0) | |
163 | text1.TextColor3 = Color3.new(255, 255, 255) | |
164 | text1.TextStrokeTransparency = 0 | |
165 | text1.FontSize = Enum.FontSize.Size18 | |
166 | text1.Font = Enum.Font.SourceSansLight | |
167 | text1.BorderSizePixel = 0 | |
168 | text1.TextScaled = true | |
169 | text1.Text = "[Z]\n DemonicEscape" | |
170 | text2 = Instance.new("TextLabel", framesk2) | |
171 | text2.BackgroundTransparency = 1 | |
172 | text2.Size = UDim2.new(1, 0, 1, 0) | |
173 | text2.Position = UDim2.new(0, 0, 0, 0) | |
174 | text2.TextColor3 = Color3.new(255, 255, 255) | |
175 | text2.TextStrokeTransparency = 0 | |
176 | text2.FontSize = Enum.FontSize.Size18 | |
177 | text2.Font = Enum.Font.SourceSansLight | |
178 | text2.BorderSizePixel = 0 | |
179 | text2.TextScaled = true | |
180 | text2.Text = "[X]\n DemonCharge" | |
181 | text3 = Instance.new("TextLabel", framesk3) | |
182 | text3.BackgroundTransparency = 1 | |
183 | text3.Size = UDim2.new(1, 0, 1, 0) | |
184 | text3.Position = UDim2.new(0, 0, 0, 0) | |
185 | text3.TextColor3 = Color3.new(255, 255, 255) | |
186 | text3.TextStrokeTransparency = 0 | |
187 | text3.FontSize = Enum.FontSize.Size18 | |
188 | text3.Font = Enum.Font.SourceSansLight | |
189 | text3.BorderSizePixel = 0 | |
190 | text3.TextScaled = false | |
191 | text3.Text = "[C]\n DeathSpears" | |
192 | text4 = Instance.new("TextLabel", framesk4) | |
193 | text4.BackgroundTransparency = 1 | |
194 | text4.Size = UDim2.new(1, 0, 1, 0) | |
195 | text4.Position = UDim2.new(0, 0, 0, 0) | |
196 | text4.TextColor3 = Color3.new(255, 255, 255) | |
197 | text4.TextStrokeTransparency = 0 | |
198 | text4.FontSize = Enum.FontSize.Size18 | |
199 | text4.Font = Enum.Font.SourceSansLight | |
200 | text4.BorderSizePixel = 0 | |
201 | text4.TextScaled = true | |
202 | text4.Text = "[V]\n Satana of Hell" | |
203 | ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui) | |
204 | ArtificialHB.Name = "Heartbeat" | |
205 | Player.PlayerGui:WaitForChild("Heartbeat") | |
206 | frame = 0.033333333333333 | |
207 | tf = 0 | |
208 | allowframeloss = false | |
209 | tossremainder = false | |
210 | lastframe = tick() | |
211 | Player.PlayerGui.Heartbeat:Fire() | |
212 | local gg = false | |
213 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
214 | ||
215 | if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then | |
216 | gg = true | |
217 | end | |
218 | if gg == true then | |
219 | return | |
220 | end | |
221 | tf = tf + s | |
222 | if frame <= tf then | |
223 | if allowframeloss then | |
224 | Player.PlayerGui.Heartbeat:Fire() | |
225 | lastframe = tick() | |
226 | else | |
227 | for i = 1, math.floor(tf / frame) do | |
228 | Player.PlayerGui.Heartbeat:Fire() | |
229 | end | |
230 | lastframe = tick() | |
231 | end | |
232 | if tossremainder then | |
233 | tf = 0 | |
234 | else | |
235 | tf = tf - frame * math.floor(tf / frame) | |
236 | end | |
237 | end | |
238 | end | |
239 | ) | |
240 | swait = function(num) | |
241 | ||
242 | if num == 0 or num == nil then | |
243 | ArtificialHB.Event:wait() | |
244 | else | |
245 | for i = 0, num do | |
246 | ArtificialHB.Event:wait() | |
247 | end | |
248 | end | |
249 | end | |
250 | ||
251 | local RbxUtility = LoadLibrary("RbxUtility") | |
252 | local Create = RbxUtility.Create | |
253 | RemoveOutlines = function(part) | |
254 | ||
255 | part.TopSurface = 10 | |
256 | end | |
257 | ||
258 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size, MeshId) | |
259 | ||
260 | 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}) | |
261 | Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
262 | RemoveOutlines(Part) | |
263 | return Part | |
264 | end | |
265 | ||
266 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
267 | ||
268 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
269 | if Mesh == "SpecialMesh" then | |
270 | Msh.MeshType = MeshType | |
271 | Msh.MeshId = MeshId | |
272 | end | |
273 | return Msh | |
274 | end | |
275 | ||
276 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
277 | ||
278 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
279 | return Weld | |
280 | end | |
281 | ||
282 | CFuncs = { | |
283 | Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
284 | ||
285 | 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}) | |
286 | RemoveOutlines(Part) | |
287 | return Part | |
288 | end | |
289 | } | |
290 | , | |
291 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
292 | ||
293 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
294 | if Mesh == "SpecialMesh" then | |
295 | Msh.MeshType = MeshType | |
296 | Msh.MeshId = MeshId | |
297 | end | |
298 | return Msh | |
299 | end | |
300 | } | |
301 | , | |
302 | Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
303 | ||
304 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
305 | if Mesh == "SpecialMesh" then | |
306 | Msh.MeshType = MeshType | |
307 | Msh.MeshId = MeshId | |
308 | end | |
309 | return Msh | |
310 | end | |
311 | } | |
312 | , | |
313 | Weld = {Create = function(Parent, Part0, Part1, C0, C1) | |
314 | ||
315 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
316 | return Weld | |
317 | end | |
318 | } | |
319 | , | |
320 | Sound = {Create = function(id, par, vol, pit) | |
321 | ||
322 | coroutine.resume(coroutine.create(function() | |
323 | ||
324 | local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace}) | |
325 | wait() | |
326 | S:play() | |
327 | game:GetService("Debris"):AddItem(S, 6) | |
328 | end | |
329 | )) | |
330 | end | |
331 | } | |
332 | , | |
333 | ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
334 | ||
335 | local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread}) | |
336 | return fp | |
337 | end | |
338 | } | |
339 | } | |
340 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Handle", Vector3.new(0.268000007, 1.52800012, 0.34799999)) | |
341 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.00857186, -0.0434246063, 0.0811634064, 0.0158679951, 0.999872506, 0.00170899939, -0.00854000356, 0.00184468168, -0.999961853, -0.999837637, 0.0158527941, 0.00856818724)) | |
342 | CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
343 | FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "FakeHandle", Vector3.new(0.268000007, 1.52800012, 0.34799999)) | |
344 | FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
345 | CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
346 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.268000007, 1.52800012, 0.34799999)) | |
347 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
348 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
349 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.367999971, 0.237999976, 0.727999985)) | |
350 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.235487461, -2.03476524, 0.00560760498, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
351 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
352 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.367999971, 0.237999976, 0.727999985)) | |
353 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.264448643, -2.03568649, -0.00231933594, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
354 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
355 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Really red", "Part", Vector3.new(0.567999959, 0.24000001, 0.467999995)) | |
356 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000238418579, -1.87399673, 0.00186920166, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
357 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
358 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.617999971, 0.237999976, 0.727999985)) | |
359 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000238418579, -1.875, 0.00186729431, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
360 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
361 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.578000009, 0.927999973, 0.488000005)) | |
362 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.72598553, -1.8369503, 0.0207862854, 0.858431518, 0.512869179, 0.00778094959, -0.5128932, 0.858451426, 0.00133844838, -0.00599311572, -0.00513976067, 0.999968827)) | |
363 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
364 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Really red", "Part", Vector3.new(0.378000021, 0.937999964, 0.420000017)) | |
365 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.72597313, -1.83192253, 0.0207996368, 0.858431518, 0.512869179, 0.00778094959, -0.5128932, 0.858451426, 0.00133844838, -0.00599311572, -0.00513976067, 0.999968827)) | |
366 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
367 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Really red", "Part", Vector3.new(0.378000021, 0.937999964, 0.420000017)) | |
368 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.62661743, -0.938301086, 0.00325584412, 0.595930457, 0.803036034, -7.06641003e-07, -0.803035975, 0.595930576, 7.18422234e-06, 6.19143248e-06, -3.71411443e-06, 1)) | |
369 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
370 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.578000009, 0.927999973, 0.488000005)) | |
371 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.62660789, -0.943292618, 0.00325775146, 0.595930457, 0.803036034, -7.06641003e-07, -0.803035975, 0.595930576, 7.18422234e-06, 6.19143248e-06, -3.71411443e-06, 1)) | |
372 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
373 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799999, 1.38800001, 0.34799999)) | |
374 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.43730164e-06, -1.1499958, -1.33514404e-05, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
375 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
376 | Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Really red", "Hitbox", Vector3.new(1.08780003, 7.98000002, 0.899399996)) | |
377 | HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00870943069, -7.45451546, 0.0141220093, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
378 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799996, 0.579999983, 0.200000003)) | |
379 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.234712839, -2.29835129, -0.0240192413, 1, 2.94872734e-06, -6.02193177e-06, 2.94874189e-06, -1, 4.65661287e-08, -6.02565706e-06, -4.65661287e-08, -1)) | |
380 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.579999983)) | |
381 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799999, 0.200000003, 0.34799999)) | |
382 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00274038315, -1.37040901, -0.0240802765, 1, 2.94872734e-06, -6.02193177e-06, 2.94874189e-06, -1, 4.65661287e-08, -6.02565706e-06, -4.65661287e-08, -1)) | |
383 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.579999983, 1)) | |
384 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.231999978, 0.579999983, 0.200000003)) | |
385 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.17672205, -2.87833214, 0.023979187, -1, -2.94872734e-06, 6.02193177e-06, 2.94874189e-06, -1, 4.65661287e-08, 6.02565706e-06, 4.65661287e-08, 1)) | |
386 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.579999983)) | |
387 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.231999978, 0.579999983, 0.200000003)) | |
388 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171286821, -2.87835312, -0.0240135193, 1, 2.94872734e-06, -6.02193177e-06, 2.94874189e-06, -1, 4.65661287e-08, -6.02565706e-06, -4.65661287e-08, -1)) | |
389 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.579999983)) | |
390 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799999, 0.927999794, 0.34799999)) | |
391 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0027589798, -3.09290695, 0.0237236023, -1, 1.07867527e-06, 9.00402665e-06, -1.07870437e-06, -1, 1.98185444e-06, 9.00402665e-06, 1.98185444e-06, 1)) | |
392 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 1.65067995, 0.579999983)) | |
393 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799999, 0.927999794, 0.34799999)) | |
394 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00277066231, 1.42840195, 0.023765564, 1, -1.07867527e-06, -9.00402665e-06, 1.07870437e-06, 1, -1.98185444e-06, 9.00402665e-06, 1.98185444e-06, 1)) | |
395 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 0.361919999, 0.579999983)) | |
396 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799996, 0.579999983, 0.200000003)) | |
397 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.229280472, -2.29836273, -0.024017334, 1, 2.94872734e-06, -6.02193177e-06, 2.94874189e-06, -1, 4.65661287e-08, -6.02565706e-06, -4.65661287e-08, -1)) | |
398 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.579999983)) | |
399 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799999, 0.34799999, 0.34799999)) | |
400 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00114798546, -3.89809227, 0.00895118713, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
401 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(1.15999997, 0.867680013, 1.15999997)) | |
402 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.5079999, 0.860000014, 1.74799991)) | |
403 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00035238266, -0.00285339355, -2.71195602, 0.99999994, 5.82076609e-11, 0, 0, -2.1904707e-06, -1, 1.16415322e-10, 1, -2.1904707e-06)) | |
404 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
405 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.463999957, 0.579999983, 0.200000003)) | |
406 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.292733192, -1.71836472, 0.0240745544, -1, -2.94872734e-06, 6.02193177e-06, 2.94874189e-06, -1, 4.65661287e-08, 6.02565706e-06, 4.65661287e-08, 1)) | |
407 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.579999983)) | |
408 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799999, 1.12400031, 0.34799999)) | |
409 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0005235672, -7.07572746, 0.00452423096, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
410 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.870000005, 4.88244009, 0.870000005)) | |
411 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.34799999, 0.34799999, 0.34799999)) | |
412 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000386476517, -5.17789078, 0.00328445435, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
413 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.843319952, 1.90935993, 0.842159986)) | |
414 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.34799999, 0.34799999, 0.34799999)) | |
415 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00115633011, -3.78211975, 0.00893974304, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
416 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(1.24815989, 0.867680013, 1.23192)) | |
417 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.463999957, 0.579999983, 0.200000003)) | |
418 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.287252426, -1.7183876, -0.0240497589, 1, 2.94872734e-06, -6.02193177e-06, 2.94874189e-06, -1, 4.65661287e-08, -6.02565706e-06, -4.65661287e-08, -1)) | |
419 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.579999983)) | |
420 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.34799999, 0.232000008, 0.34799999)) | |
421 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000389099121, -5.23586655, 0.00325775146, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
422 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.782999933, 1.39431989, 0.778360009)) | |
423 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.34799999, 7.42399979, 0.34799999)) | |
424 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000364303589, -7.32356262, 0.00324821472, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
425 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.870000005, 5.19216013, 0.22040002)) | |
426 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.34799999, 0.927999794, 0.34799999)) | |
427 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0027589798, -3.09290695, 0.0237236023, -1, 1.07867527e-06, 9.00402665e-06, -1.07870437e-06, -1, 1.98185444e-06, 9.00402665e-06, 1.98185444e-06, 1)) | |
428 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.37816, 1.65067995, 0.58348)) | |
429 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.34799999, 0.34799999, 0.34799999)) | |
430 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00111436844, -4.22602654, 0.00867843628, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
431 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.91523993, 0.867680013, 0.907119989)) | |
432 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.34799999, 7.42399979, 0.34799999)) | |
433 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00319671631, -7.32356071, 0.000435590744, -5.18374145e-06, -9.19960439e-06, -1, 1.04594219e-05, 1.00000012, -9.19960439e-06, 1, -1.04596111e-05, -5.18374145e-06)) | |
434 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.870000005, 5.19216013, 0.22040002)) | |
435 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.68780005, 0.200000003, 1.69939995)) | |
436 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00173377991, -3.07436943, 0.0119018555, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
437 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.40999973, -0.0220399927, 0.964000046)) | |
438 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.34799999, 0.927999794, 0.34799999)) | |
439 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00275397301, 1.42835045, 0.0237636566, 0.99999994, 5.82076609e-11, 0, 5.82076609e-11, 1, 0, 0, 0, 1)) | |
440 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.305079967, 0.361919999, 0.591600001)) | |
441 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Really red", "Part", Vector3.new(1.43799984, 0.889999986, 1.74799991)) | |
442 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00035238266, -0.00285339355, -2.71195602, 0.99999994, 5.82076609e-11, 0, 0, -2.1904707e-06, -1, 1.16415322e-10, 1, -2.1904707e-06)) | |
443 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
444 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.5079999, 0.910000026, 1.36799991)) | |
445 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00035238266, -0.00285339355, -2.71195602, 0.99999994, 5.82076609e-11, 0, 0, -2.1904707e-06, -1, 1.16415322e-10, 1, -2.1904707e-06)) | |
446 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
447 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.232000008, 3.70000005, 0.34799999)) | |
448 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.624273062, 0.878850937, 0.0159015656, 1, -8.07837932e-06, -8.94442201e-06, -8.07830656e-06, -1, 5.87105751e-06, -8.94255936e-06, -5.87105751e-06, -1)) | |
449 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
450 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.232000008, 0.232000008, 0.232000008)) | |
451 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.624267817, -0.92908287, 0.0159187317, 1, -8.07837932e-06, -8.94442201e-06, -8.07829201e-06, -0.99999994, 8.87084752e-06, -8.94255936e-06, -8.87084752e-06, -1.00000012)) | |
452 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
453 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.34799999, 0.579999983, 0.34799999)) | |
454 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00274848938, -1.0224514, -0.0240879059, 1, 2.94872734e-06, -6.02193177e-06, 2.94874189e-06, -1, 4.65661287e-08, -6.02565706e-06, -4.65661287e-08, -1)) | |
455 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
456 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.232000008, 0.839999974, 0.34799999)) | |
457 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.11595154, -0.341424942, 0.0158958435, 0.500012338, 0.866018236, -1.66081009e-05, 0.866018295, -0.500012398, 4.09595668e-06, -4.75905836e-06, -1.64294615e-05, -1)) | |
458 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
459 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.5079999, 0.200000003, 1.5079999)) | |
460 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0028553009, -3.06696129, 0.000366926193, -1.19395554e-06, -2.19233334e-06, -1, 5.34905121e-06, 1, -2.19326466e-06, 1, -5.34910941e-06, -1.19395554e-06)) | |
461 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
462 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.5079999, 0.49000001, 1.3779999)) | |
463 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00284957886, -2.92195702, 0.000366449356, -1.19395554e-06, -2.19233334e-06, -1, 5.34905121e-06, 1, -2.19326466e-06, 1, -5.34910941e-06, -1.19395554e-06)) | |
464 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
465 | Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Really red", "Part", Vector3.new(1.32799995, 0.5, 1.28799999)) | |
466 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0028629303, -2.91696167, 0.000367164612, -1.19395554e-06, -2.19233334e-06, -1, 5.34905121e-06, 1, -2.19326466e-06, 1, -5.34910941e-06, -1.19395554e-06)) | |
467 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
468 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.24799991, 0.50999999, 1.14799988)) | |
469 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00285148621, -2.91196823, 0.000367164612, -1.19395554e-06, -2.19233334e-06, -1, 5.34905121e-06, 1, -2.19326466e-06, 1, -5.34910941e-06, -1.19395554e-06)) | |
470 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
471 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.237999916, 0.670000017, 0.58799994)) | |
472 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39991188, -2.73662758, 0.237309217, -1.19395554e-06, -2.19233334e-06, -1, 5.34905121e-06, 1, -2.19326466e-06, 1, -5.34910941e-06, -1.19395554e-06)) | |
473 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
474 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.370000035, 0.58799994)) | |
475 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.391384125, -2.60745811, -0.203097105, -1.19395554e-06, -2.19233334e-06, -1, 5.34905121e-06, 1, -2.19326466e-06, 1, -5.34910941e-06, -1.19395554e-06)) | |
476 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
477 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.232000008, 0.232000008, 0.232000008)) | |
478 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.236500502, 2.40663719, 0.400648117, 1, -8.07837932e-06, -8.94442201e-06, -8.07829201e-06, -0.99999994, 8.87084752e-06, -8.94255936e-06, -8.87084752e-06, -1.00000012)) | |
479 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
480 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.232000008, 0.232000008, 0.232000008)) | |
481 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.203836203, 2.45706749, 0.377010345, 1, -8.07837932e-06, -8.94442201e-06, -8.07829201e-06, -0.99999994, 8.87084752e-06, -8.94255936e-06, -8.87084752e-06, -1.00000012)) | |
482 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
483 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.232000008, 0.232000008, 0.232000008)) | |
484 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.127367973, 2.49600029, 0.301725388, -0.999994576, -0.00331067573, 5.13643026e-05, 0.00331092649, -0.99968338, 0.02494587, -3.12384218e-05, 0.0249459036, 0.999688804)) | |
485 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
486 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.370000035, 0.58799994)) | |
487 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.316099167, -2.64639854, -0.126652002, -3.98978591e-05, 0.0249554031, 0.999688625, -0.00329890079, 0.999683201, -0.0249553993, -0.999994516, -0.00329886912, 4.24403697e-05)) | |
488 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
489 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.237999916, 0.670000017, 0.58799994)) | |
490 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.331768036, -2.49601364, 0.0833206177, -3.98978591e-05, 0.0249554031, 0.999688625, -0.00329890079, 0.999683201, -0.0249553993, -0.999994516, -0.00329886912, 4.24403697e-05)) | |
491 | CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
492 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.232000008, 0.232000008, 0.232000008)) | |
493 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0825328827, 2.16601563, 0.332508087, -0.999994576, -0.00331067573, 5.13643026e-05, 0.00331092649, -0.99968338, 0.02494587, -3.12384218e-05, 0.0249459036, 0.999688804)) | |
494 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
495 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.463999987)) | |
496 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0240745544, 1.37039375, 0.287247181, -8.17514956e-06, -1.32042915e-05, -1, 1.1522774e-05, 1, -1.32042915e-05, 1, -1.15228468e-05, -8.17514956e-06)) | |
497 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 0.579999983, 1)) | |
498 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
499 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.023853302, -3.34229088, 0.229256868, 3.17767262e-06, 1.21947378e-05, 1.00000012, -2.50803714e-06, -1, 1.21956691e-05, 1, -2.50806625e-06, -3.17580998e-06)) | |
500 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 1, 1)) | |
501 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.463999987)) | |
502 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0237407684, 1.37044525, 0.292789936, 5.18374145e-06, 9.19960439e-06, 1, 1.04594219e-05, 1.00000012, -9.19960439e-06, -1, 1.04596111e-05, 5.18374145e-06)) | |
503 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 0.579999983, 1)) | |
504 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.579999983, 0.231999993)) | |
505 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0240745544, -1.71839714, 0.640760899, -9.16607678e-06, -1.82054937e-05, -1, -1.56015594e-05, -1, 1.8206425e-05, -1, 1.56017049e-05, 9.16421413e-06)) | |
506 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 1, 1)) | |
507 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.579999983, 0.232000008)) | |
508 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0239830017, -1.71838951, 0.635227203, 9.16980207e-06, 1.52057037e-05, 1, -1.45540544e-05, -1.00000012, 1.5206635e-05, 1, -1.45541708e-05, -9.16980207e-06)) | |
509 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 1, 1)) | |
510 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
511 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0240592957, -2.06639671, 0.461258411, 8.17514956e-06, 1.32042915e-05, 1, -4.52363747e-06, -1, 1.32052228e-05, 1, -4.52392851e-06, -8.17701221e-06)) | |
512 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 0.579999983, 0.579999983)) | |
513 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
514 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0238876343, -3.34229088, 0.234741688, -5.18374145e-06, -9.19960439e-06, -1, -1.46047387e-06, -1.00000012, 9.19960439e-06, -1, 1.46064849e-06, 5.18374145e-06)) | |
515 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 1, 1)) | |
516 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.579999983, 0.200000003)) | |
517 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0239772797, -2.8783474, 0.345261335, 5.18374145e-06, 9.19960439e-06, 1, -1.46047387e-06, -1.00000012, 9.19960439e-06, 1, -1.46064849e-06, -5.18374145e-06)) | |
518 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 1, 0.579999983)) | |
519 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.579999983, 0.200000003)) | |
520 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0240268707, -2.87837219, 0.350755215, -5.18374145e-06, -9.19960439e-06, -1, -1.24591315e-05, -1.00000012, 9.19960439e-06, -1, 1.24591897e-05, 5.18187881e-06)) | |
521 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 1, 0.579999983)) | |
522 | Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
523 | PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0240764618, -2.06640625, 0.466746569, -1.61863863e-05, -1.52112916e-05, -1.00000012, -5.55528095e-06, -1, 1.52112916e-05, -1, 5.55548468e-06, 1.61845237e-05)) | |
524 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.579999983, 0.579999983, 0.579999983)) | |
525 | rayCast = function(Position, Direction, Range, Ignore) | |
526 | ||
527 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
528 | end | |
529 | ||
530 | local GetNearest = function(obj, distance) | |
531 | ||
532 | local last, lastx = distance + 1, nil | |
533 | for i,v in pairs(workspace:GetChildren()) do | |
534 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
535 | local t = v.Torso | |
536 | local dist = t.Position - obj.Position.magnitude | |
537 | if dist <= distance and dist < last then | |
538 | last = dist | |
539 | lastx = v | |
540 | end | |
541 | end | |
542 | end | |
543 | return lastx | |
544 | end | |
545 | ||
546 | Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
547 | ||
548 | if hit.Parent == nil then | |
549 | return | |
550 | end | |
551 | local h = hit.Parent:FindFirstChild("Humanoid") | |
552 | for _,v in pairs(hit.Parent:children()) do | |
553 | if v:IsA("Humanoid") then | |
554 | h = v | |
555 | end | |
556 | end | |
557 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
558 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then | |
559 | return | |
560 | end | |
561 | local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h}) | |
562 | game:GetService("Debris"):AddItem(c, 0.5) | |
563 | if HitSound ~= nil and HitPitch ~= nil then | |
564 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
565 | end | |
566 | local Damage = math.random(minim, maxim) | |
567 | local blocked = false | |
568 | local block = hit.Parent:findFirstChild("Block") | |
569 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
570 | blocked = true | |
571 | block.Value = block.Value - 1 | |
572 | print(block.Value) | |
573 | end | |
574 | if blocked == false then | |
575 | HitHealth = h.Health | |
576 | h.Health = h.Health - Damage | |
577 | if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 then | |
578 | print("gained kill") | |
579 | Player.PlayerGui.Kills.Value = Player.PlayerGui.NinjaKills.Value + 1 | |
580 | end | |
581 | if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Hologram" then | |
582 | print("gained spree") | |
583 | game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1 | |
584 | end | |
585 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
586 | else | |
587 | h.Health = h.Health - Damage / 2 | |
588 | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) | |
589 | end | |
590 | if Type == "Knockdown" then | |
591 | local hum = hit.Parent.Humanoid | |
592 | hum.PlatformStand = true | |
593 | coroutine.resume(coroutine.create(function(HHumanoid) | |
594 | ||
595 | swait(1) | |
596 | HHumanoid.PlatformStand = false | |
597 | end | |
598 | ), hum) | |
599 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
600 | local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
601 | 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}) | |
602 | game:GetService("Debris"):AddItem(bodvol, 0.5) | |
603 | game:GetService("Debris"):AddItem(rl, 0.5) | |
604 | else | |
605 | do | |
606 | if Type == "Normal" then | |
607 | local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05}) | |
608 | if knockback > 0 then | |
609 | vp.Parent = hit.Parent.Torso | |
610 | end | |
611 | game:GetService("Debris"):AddItem(vp, 0.5) | |
612 | else | |
613 | do | |
614 | if Type == "Up" then | |
615 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
616 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5) | |
617 | local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) | |
618 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
619 | else | |
620 | do | |
621 | if Type == "Snare" then | |
622 | 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}) | |
623 | game:GetService("Debris"):AddItem(bp, 1) | |
624 | else | |
625 | do | |
626 | if Type == "Slashnare" then | |
627 | Effects.Block.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
628 | for i = 1, math.random(4, 5) do | |
629 | Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) | |
630 | end | |
631 | 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}) | |
632 | game:GetService("Debris"):AddItem(bp, 1) | |
633 | else | |
634 | do | |
635 | if Type == "Freeze" then | |
636 | 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}) | |
637 | local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame}) | |
638 | hit.Parent.Torso.Anchored = true | |
639 | coroutine.resume(coroutine.create(function(Part) | |
640 | ||
641 | swait(1.5) | |
642 | Part.Anchored = false | |
643 | end | |
644 | ), hit.Parent.Torso) | |
645 | game:GetService("Debris"):AddItem(BodPos, 3) | |
646 | game:GetService("Debris"):AddItem(BodGy, 3) | |
647 | end | |
648 | do | |
649 | local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true}) | |
650 | game:GetService("Debris"):AddItem(debounce, Delay) | |
651 | c = Instance.new("ObjectValue") | |
652 | c.Name = "creator" | |
653 | c.Value = Player | |
654 | c.Parent = h | |
655 | game:GetService("Debris"):AddItem(c, 0.5) | |
656 | end | |
657 | end | |
658 | end | |
659 | end | |
660 | end | |
661 | end | |
662 | end | |
663 | end | |
664 | end | |
665 | end | |
666 | end | |
667 | end | |
668 | end | |
669 | ||
670 | ShowDamage = function(Pos, Text, Time, Color) | |
671 | ||
672 | local Rate = 0.033333333333333 | |
673 | if not Pos then | |
674 | local Pos = Vector3.new(0, 0, 0) | |
675 | end | |
676 | local Text = Text or "" | |
677 | local Time = Time or 2 | |
678 | if not Color then | |
679 | local Color = Color3.new(1, 0, 1) | |
680 | end | |
681 | local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
682 | EffectPart.Anchored = true | |
683 | local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart}) | |
684 | 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}) | |
685 | game.Debris:AddItem(EffectPart, Time + 0.1) | |
686 | EffectPart.Parent = game:GetService("Workspace") | |
687 | delay(0, function() | |
688 | ||
689 | local Frames = Time / Rate | |
690 | for Frame = 1, Frames do | |
691 | wait(Rate) | |
692 | local Percent = Frame / Frames | |
693 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
694 | TextLabel.TextTransparency = Percent | |
695 | end | |
696 | if EffectPart and EffectPart.Parent then | |
697 | EffectPart:Destroy() | |
698 | end | |
699 | end | |
700 | ) | |
701 | end | |
702 | ||
703 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
704 | ||
705 | for _,c in pairs(workspace:children()) do | |
706 | local hum = c:findFirstChild("Humanoid") | |
707 | if hum ~= nil then | |
708 | local head = c:findFirstChild("Torso") | |
709 | if head ~= nil then | |
710 | local targ = head.Position - Part.Position | |
711 | local mag = targ.magnitude | |
712 | if mag <= magni and c.Name ~= Player.Name then | |
713 | Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) | |
714 | end | |
715 | end | |
716 | end | |
717 | end | |
718 | end | |
719 | ||
720 | EffectModel = Instance.new("Model", Character) | |
721 | EffectModel.Name = "Effects" | |
722 | Effects = { | |
723 | Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
724 | ||
725 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
726 | prt.Anchored = true | |
727 | prt.CFrame = cframe | |
728 | local msh = CFuncs.Mesh.Create("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 | , | |
740 | Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
741 | ||
742 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
743 | prt.Anchored = true | |
744 | prt.CFrame = cframe | |
745 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
746 | game:GetService("Debris"):AddItem(prt, 10) | |
747 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
748 | end | |
749 | } | |
750 | , | |
751 | Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
752 | ||
753 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
754 | prt.Anchored = true | |
755 | prt.CFrame = cframe | |
756 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
757 | game:GetService("Debris"):AddItem(prt, 10) | |
758 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
759 | end | |
760 | } | |
761 | , | |
762 | Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
763 | ||
764 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
765 | prt.Anchored = true | |
766 | prt.CFrame = cframe | |
767 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
768 | game:GetService("Debris"):AddItem(prt, 10) | |
769 | table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) | |
770 | end | |
771 | } | |
772 | , | |
773 | Break = {Create = function(brickcolor, cframe, x1, y1, z1) | |
774 | ||
775 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
776 | prt.Anchored = true | |
777 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
778 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
779 | local num = math.random(10, 50) / 1000 | |
780 | game:GetService("Debris"):AddItem(prt, 10) | |
781 | table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100}) | |
782 | end | |
783 | } | |
784 | } | |
785 | attackone = function() | |
786 | ||
787 | attack = true | |
788 | local con = Hitbox.Touched:connect(function(hit) | |
789 | ||
790 | Damagefunc(Hitbox, hit, 12, 15, 5, "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
791 | end | |
792 | ) | |
793 | for i = 0, 1, 0.1 do | |
794 | swait() | |
795 | PlayAnimationFromTable({CFrame.new(0, -0.0270718634, 0, 0.615661561, 0, -0.788010716, 0, 1, 0, 0.788010716, 0, 0.615661561), CFrame.new(-1.02818012e-06, 1.49999869, 1.47521496e-06, 0.618414938, -0.0920195207, 0.780445635, -0.0593911558, 0.98480773, 0.163175896, -0.783604264, -0.147261992, 0.603554785), CFrame.new(1.82513988, 0.444128782, 0.23494333, 0.0677939877, -0.991606176, -0.110096604, 0.997198641, 0.0638504475, 0.0389619842, -0.0316052213, -0.112429649, 0.993157029), CFrame.new(-1.86552405, 0.509515345, -0.557088196, 0.451754928, 0.877874494, -0.15891467, -0.348116636, 0.00945036858, -0.93740356, -0.821420848, 0.478797555, 0.309871972), CFrame.new(0.826178551, -1.97292817, 0.199097812, 0.954936206, -0.279742777, 0.0992010832, 0.270550072, 0.957839251, 0.0966777503, -0.122063607, -0.0654822364, 0.990359843), CFrame.new(-0.53729105, -1.97292781, -0.0773453712, 0.740154624, -0.163836688, 0.652172327, 0.0361034833, 0.978147566, 0.204753116, -0.671466827, -0.128003284, 0.729895592)}, 0.3, false) | |
796 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) | |
797 | end | |
798 | for i = 0, 1, 0.3 do | |
799 | swait() | |
800 | PlayAnimationFromTable({CFrame.new(-0.0340373144, -0.0270715281, 0.00341528282, 0.320976257, -0.310355872, 0.894792438, -0.074508965, 0.933580339, 0.350536883, -0.944151878, -0.17918402, 0.276532829), CFrame.new(0.134461269, 1.43055654, -0.0728043914, 0.310423523, 0.262093902, -0.913752794, -0.366326392, 0.919980526, 0.139430463, 0.87717855, 0.291449249, 0.381595463), CFrame.new(1.91506827, 0.814879715, -0.496201664, -0.030215472, -0.925463438, 0.377630025, 0.955258131, -0.137946591, -0.26163435, 0.294225812, 0.352828801, 0.888224721), CFrame.new(-0.496452063, 0.483130455, -1.07981288, 0.227236271, -0.712692022, -0.663651884, -0.646151066, 0.399520189, -0.650286317, 0.728596151, 0.576588035, -0.369721264), CFrame.new(0.676632524, -1.88460541, -0.465232372, 0.74594748, -0.133242995, -0.652540267, -0.133614525, 0.929922998, -0.342622697, 0.652464271, 0.342767358, 0.675870478), CFrame.new(-0.419274032, -2.19595146, 0.131036133, 0.99795264, -0.0593726039, 0.0237810165, 0.0532223433, 0.977098525, 0.206023782, -0.0354685634, -0.204336271, 0.978258014)}, 0.4, false) | |
801 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
802 | end | |
803 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=191395631", RootPart, 1, 1.3) | |
804 | for i = 0, 1, 0.15 do | |
805 | swait() | |
806 | PlayAnimationFromTable({CFrame.new(-6.30039722e-07, -0.0270712394, 3.81004065e-06, 0.772527516, -0.168243587, 0.612286925, -0.0745089501, 0.933580399, 0.350536883, -0.630594671, -0.316420197, 0.708680868), CFrame.new(-0.0763897151, 1.39069688, -0.0114668235, 0.765913725, 0.184902936, -0.615781605, -0.226541907, 0.973942935, 0.0106747746, 0.601709843, 0.131324425, 0.787844539), CFrame.new(1.91506755, 0.814878941, -0.496200085, -0.0509665981, -0.763669908, 0.64359194, 0.957570672, -0.220401704, -0.185692236, 0.283656389, 0.606820583, 0.74250102), CFrame.new(-1.07465756, 0.295047432, -0.701791108, 0.677316368, -0.400471896, -0.617142439, -0.528734267, 0.318307459, -0.786841989, 0.511549056, 0.85924542, 0.00385162234), CFrame.new(0.687618554, -1.76615047, -0.77837956, 0.979659677, -0.12746267, -0.154984415, 0.0578796118, 0.919011891, -0.389957786, 0.192137539, 0.373055547, 0.907696307), CFrame.new(0.111059621, -2.21021223, 0.281746477, 0.819298387, -0.342509478, 0.459823251, 0.22384733, 0.929400384, 0.293440491, -0.527866006, -0.137484998, 0.838126123)}, 0.3, false) | |
807 | end | |
808 | con:disconnect() | |
809 | attack = false | |
810 | end | |
811 | ||
812 | attacktwo = function() | |
813 | ||
814 | attack = true | |
815 | local con = Hitbox.Touched:connect(function(hit) | |
816 | ||
817 | Damagefunc(Hitbox, hit, 10, 15, 0, "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
818 | end | |
819 | ) | |
820 | for i = 0, 1, 0.1 do | |
821 | swait() | |
822 | PlayAnimationFromTable({CFrame.new(-2.58977525e-06, -0.0270727444, -2.55054329e-06, 0.394263327, -0.174312681, 0.902314484, 0.14179872, 0.981627166, 0.127676144, -0.907992005, 0.07760901, 0.411736935), CFrame.new(0.276021212, 1.5092113, -0.161527455, 0.919451475, 0.177900374, -0.350657135, -0.0858790949, 0.961122453, 0.262428284, 0.383710504, -0.211175948, 0.898983359), CFrame.new(0.550723791, 0.131975025, -1.28070414, 0.745899498, 0.591351449, 0.306491911, -0.0948514491, 0.549775183, -0.829909861, -0.659270048, 0.589958131, 0.46616751), CFrame.new(-1.20426571, 0.183089674, -0.778914571, 0.791108966, -0.0486358106, -0.609738469, -0.436987877, 0.65257138, -0.619024992, 0.428004682, 0.75616461, 0.495001882), CFrame.new(0.11358992, -2.05790162, 0.243254453, 0.911060691, 0.231901437, -0.340866715, -0.197240606, 0.971213937, 0.133564711, 0.362028301, -0.0544527918, 0.930575252), CFrame.new(-0.975479901, -1.83112597, -0.290757179, 0.897632599, 0.401073992, -0.182743639, -0.39338541, 0.916044056, 0.0781741142, 0.198754877, 0.00171705335, 0.980047703)}, 0.3, false) | |
823 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(80), math.rad(0), math.rad(0)), 0.3) | |
824 | end | |
825 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231917871", RootPart, 1, 1.5) | |
826 | for i = 0, 1, 0.3 do | |
827 | swait() | |
828 | PlayAnimationFromTable({CFrame.new(-4.45172191e-06, -0.0270722471, 0.200000688, 0.286420196, -0.109017313, -0.951881647, -0.0197784305, 0.992620945, -0.119634412, 0.957899928, 0.0530924201, 0.282150507), CFrame.new(-0.0296679214, 1.48893058, -0.17945087, 0.447498083, -0.096144475, 0.889101744, -0.0579893664, 0.988991916, 0.136133164, -0.892402768, -0.112477764, 0.436996609), CFrame.new(2.15547228, 0.642337859, -0.410955667, 0.456475139, -0.872380018, 0.174881235, -0.22365734, -0.302750647, -0.926455259, 0.861166596, 0.383790404, -0.333312333), CFrame.new(-1.60240173, -0.0276645161, 0.791693926, 0.555146813, 0.750788093, 0.357951403, -0.675034761, 0.658121884, -0.333471894, -0.485942394, -0.0565037727, 0.872162461), CFrame.new(0.525445342, -1.97169781, 0.0450227559, 0.969161212, -0.0517726243, 0.240927249, -0.0285320543, 0.947530985, 0.318387926, -0.244769841, -0.315443397, 0.916833282), CFrame.new(-0.586783051, -1.9659344, 0.276722312, 0.23790808, -0.139451712, 0.961224675, -0.340144068, 0.915008962, 0.216934264, -0.909781098, -0.378565311, 0.17025438)}, 0.35, false) | |
829 | end | |
830 | for i = 0, 1, 0.1 do | |
831 | swait() | |
832 | PlayAnimationFromTable({CFrame.new(-1.71363354e-06, -0.0270718914, 0.200000435, 0.596768022, -0.0842840895, -0.797975004, -0.0197784305, 0.992620945, -0.119634412, 0.802169979, 0.0871766657, 0.590697408), CFrame.new(-0.0296681225, 1.48893046, -0.179451019, 0.725802779, -0.0938166827, 0.681475461, -0.0277295355, 0.985861182, 0.165253758, -0.687343717, -0.138838649, 0.712939262), CFrame.new(1.99610436, 0.672978759, -0.13037236, 0.412521422, -0.889217854, 0.197781771, -0.221838623, -0.308642894, -0.924947083, 0.883523464, 0.3376849, -0.324584663), CFrame.new(-1.77330041, -0.102336511, 0.200406581, 0.791432619, 0.54863894, -0.269498885, -0.611241341, 0.713439107, -0.342620254, 0.00429621339, 0.435889661, 0.899989903), CFrame.new(0.56150198, -1.94969869, 0.221590936, 0.995001256, 0.0185029656, -0.0981321037, 0.0134100243, 0.949026585, 0.314910412, 0.0989566445, -0.314652264, 0.944034696), CFrame.new(-0.562550783, -1.99135828, 0.0617625713, 0.614901066, -0.0156128258, 0.788449645, -0.31035766, 0.914330602, 0.260149151, -0.724965394, -0.404667377, 0.557377279)}, 0.3, false) | |
833 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(50)), 0.3) | |
834 | end | |
835 | con:disconnect() | |
836 | attack = false | |
837 | end | |
838 | ||
839 | attackthree = function() | |
840 | ||
841 | attack = true | |
842 | local con = Hitbox.Touched:connect(function(hit) | |
843 | ||
844 | Damagefunc(Hitbox, hit, 10, 15, 0, "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
845 | end | |
846 | ) | |
847 | for i = 0, 1, 0.13 do | |
848 | swait() | |
849 | PlayAnimationFromTable({CFrame.new(0.155323431, -0.144087031, -8.64267349e-07, 0.406246662, -0.275637358, -0.871199012, 0.116489358, 0.96126169, -0.24981229, 0.906307817, 0, 0.422618181), CFrame.new(0.113615446, 1.50106311, -0.243649721, 0.9835186, 0.1655581, 0.0726746619, -0.180805683, 0.899150789, 0.398543715, 0.000636637211, -0.405115128, 0.914265513), CFrame.new(-0.109570846, 0.529211998, -1.46188736, 0.423202425, 0.873479426, -0.240693778, -0.422557652, -0.0447135977, -0.90523243, -0.8014642, 0.484803557, 0.35017249), CFrame.new(-1.38824522, 0.346579611, 0.580068588, 0.288678229, 0.956147075, 0.0494741946, -0.616419733, 0.225150868, -0.754541993, -0.732592285, 0.187323064, 0.654384077), CFrame.new(0.274086177, -1.94841671, 0.0596515536, 0.997818112, -0.0576558411, 0.0321674645, 0.0479254872, 0.967640102, 0.247741193, -0.0454101861, -0.245658994, 0.968292117), CFrame.new(-0.625153482, -1.61169934, 0.935997665, 0.485346854, 0.260189712, 0.834709346, -0.606308222, 0.788010776, 0.106908455, -0.62994349, -0.557978809, 0.540213704)}, 0.3, false) | |
850 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(-30)), 0.3) | |
851 | end | |
852 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231917871", RootPart, 1, 1) | |
853 | for i = 0, 1, 0.3 do | |
854 | swait() | |
855 | PlayAnimationFromTable({CFrame.new(-0.441604793, -0.144087106, -0.636744976, -0.955402374, 0.177176386, 0.236251652, 0.0371798053, 0.865823209, -0.498966873, -0.292957306, -0.467930377, -0.833796918), CFrame.new(0.083763659, 1.52721262, -0.383999497, 0.700288057, 0.193824261, -0.687043548, 0.279806316, 0.810894012, 0.513964415, 0.656738341, -0.55216223, 0.513626158), CFrame.new(-0.000674039125, 0.443139404, -0.956957042, 0.419927776, 0.893170595, -0.160956964, -0.594279408, 0.136573553, -0.792577922, -0.685924768, 0.428478837, 0.588143826), CFrame.new(-1.38513887, 0.405978233, 0.548083305, 0.302514493, 0.944289148, 0.129626393, -0.770496845, 0.322330981, -0.549943149, -0.561087966, 0.0664891005, 0.825081587), CFrame.new(0.415211976, -1.84344959, 0.5516361, 0.975719452, -0.212571129, 0.0527739972, 0.115966327, 0.705797195, 0.698857784, -0.185804725, -0.675769091, 0.713311136), CFrame.new(-0.469997197, -1.33982611, 1.3595823, 0.554393649, -0.104707211, 0.825641632, -0.662577748, 0.544796586, 0.513991773, -0.503625393, -0.832005501, 0.232655138)}, 0.3, false) | |
856 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(-30)), 0.3) | |
857 | end | |
858 | for i = 0, 1, 0.3 do | |
859 | swait() | |
860 | PlayAnimationFromTable({CFrame.new(-0.441606015, -0.144086838, -0.636745632, -0.123825595, 0.0171479285, 0.99215591, -0.0261279643, 0.999447703, -0.0205348432, -0.991959929, -0.0284657627, -0.12330918), CFrame.new(0.0784170479, 1.51956046, -0.0166353062, 0.336368769, 0.147857398, -0.930050611, -0.0312923454, 0.988807261, 0.145880938, 0.941210389, -0.0199663173, 0.337230653), CFrame.new(1.69904339, 0.60697031, 0.0534643605, 0.501960516, -0.864889324, 0.00142141059, -0.126057982, -0.0747866929, -0.989199877, 0.855654836, 0.496360123, -0.146566212), CFrame.new(-1.46310771, 0.00369340181, 0.749422252, -0.654872715, 0.57437408, 0.491157889, -0.40632236, 0.280383438, -0.869647801, -0.637215793, -0.769077122, 0.0497655347), CFrame.new(0.844428539, -1.84085441, -0.291732132, 0.867913544, -0.11015515, -0.484346807, 0.260894418, 0.930860817, 0.255797416, 0.422682106, -0.348373473, 0.836645603), CFrame.new(-0.411517441, -1.86681676, 0.0428021997, 0.899920642, 0.0469176397, 0.433522254, -0.0757952482, 0.995891094, 0.0495587885, -0.429415762, -0.0774579123, 0.89977926)}, 0.3, false) | |
861 | end | |
862 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=191395631", RootPart, 1, 1.3) | |
863 | for i = 0, 1, 0.3 do | |
864 | swait() | |
865 | PlayAnimationFromTable({CFrame.new(0.206958145, -0.722649097, -1.54270411, 0.892398119, -0.219169945, -0.394449234, 0.45119065, 0.419316888, 0.787781954, -0.00725887716, -0.880986869, 0.473085046), CFrame.new(0.157380432, 1.51298261, 0.0400565863, 0.968339324, 0.141109496, -0.205929399, -0.245546564, 0.389667004, -0.887618423, -0.045007512, 0.910081327, 0.4119789), CFrame.new(1.72624826, 0.514459193, 0.115863413, 0.199539766, -0.963090003, 0.180669799, -0.120583862, -0.207110405, -0.970857739, 0.972442031, 0.171938851, -0.157459885), CFrame.new(-1.47602046, 0.582929492, -0.838781595, 0.891536295, 0.447038978, -0.0729332417, -0.213925451, 0.273644924, -0.937738895, -0.399248034, 0.851630569, 0.339597374), CFrame.new(0.311297417, -1.40983462, -1.59857512, 0.697655559, -0.200266466, -0.687873662, -0.616478801, 0.321360111, -0.718805671, 0.365007877, 0.925538301, 0.100738645), CFrame.new(-0.824397802, -2.13644457, -0.585844278, 0.899634957, 0.0500209071, 0.433768362, -0.10999392, 0.987341821, 0.114269882, -0.422561705, -0.150513083, 0.893749177)}, 0.3, false) | |
866 | end | |
867 | for i = 0, 1, 0.1 do | |
868 | swait() | |
869 | PlayAnimationFromTable({CFrame.new(0.063688755, -0.902920604, -0.945114851, 0.786958516, -0.333099604, -0.519365907, 0.616986454, 0.418158412, 0.666686773, -0.00489589572, -0.845096588, 0.534591258), CFrame.new(-0.11525283, 1.46556234, 0.0511787534, 0.726795495, 0.682753146, -0.0749427229, -0.542242527, 0.503376901, -0.672744274, -0.421593845, 0.529584646, 0.736069858), CFrame.new(1.51439726, 0.197605133, 0.148403615, 0.0714123771, -0.682260334, -0.72761327, 0.460320026, 0.669690549, -0.582769394, 0.884876013, -0.293318033, 0.361882329), CFrame.new(-2.02454305, 0.599654615, -0.545007944, 0.741491616, 0.635336459, -0.21572572, -0.481140077, 0.279392928, -0.830929458, -0.467647582, 0.719921589, 0.512853324), CFrame.new(-0.230306968, -1.70381415, -0.516020358, 0.929731727, 0.362013578, -0.0674173683, -0.364456266, 0.930801153, -0.0279432535, 0.0526362807, 0.050550431, 0.997333407), CFrame.new(-0.983596802, -1.0339855, -0.577523232, 0.929843903, 0.170333728, 0.326154411, -0.294988543, 0.8749125, 0.384070188, -0.21993646, -0.453337133, 0.863778472)}, 0.3, false) | |
870 | end | |
871 | con:disconnect() | |
872 | attack = false | |
873 | end | |
874 | ||
875 | local joj = false | |
876 | local ready = false | |
877 | zoop = function() | |
878 | ||
879 | attack = true | |
880 | local con = Hitbox.Touched:connect(function(hit) | |
881 | ||
882 | Damagefunc(Hitbox, hit, 10, 18, 0, "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
883 | end | |
884 | ) | |
885 | for i = 0, 1, 0.05 do | |
886 | swait() | |
887 | PlayAnimationFromTable({CFrame.new(-8.21892172e-08, -0.0270716809, 5.68572432e-07, 0.939692676, 0, -0.342020065, 0.0942735076, 0.96126169, 0.259014398, 0.328770787, -0.275637358, 0.90329057), CFrame.new(-0.0747114494, 1.4150219, -0.205254331, 0.93649441, 0.0533779934, 0.346596301, -0.059423767, 0.998209476, 0.00683102012, -0.345611066, -0.0269932896, 0.937989533), CFrame.new(1.5288465, 0.156006366, 0.579257131, 0.919719398, -0.382889539, 0.0866706222, 0.384513795, 0.923116505, -0.00222876668, -0.0791536793, 0.0353758931, 0.996234536), CFrame.new(-1.43597341, -0.000696308911, 0.175896466, 0.998440027, 0.0515920818, -0.0213468373, -0.0414076224, 0.9406811, 0.336755693, 0.0374544859, -0.335346431, 0.941350102), CFrame.new(0.610377252, -1.97191846, -0.520978212, 0.980857611, -0.194223747, -0.0139841139, 0.181246847, 0.936856329, -0.299081475, 0.0711898208, 0.290821761, 0.954125166), CFrame.new(-0.683053017, -1.83179462, -0.531770229, 0.939692676, -0.0885213315, 0.330365986, 0, 0.965925813, 0.258819103, -0.342020065, -0.243210435, 0.907673359)}, 0.3, false) | |
888 | end | |
889 | ready = true | |
890 | MagniDamage(RootPart, 10, 10, 10, 5, "Normal") | |
891 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588734356", RootPart, 1, 1) | |
892 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
893 | Effects.Ring.Create(BrickColor.new("Realyl black"), RootPart.CFrame * cn(0, 0, 15) * angles(1.57, 0, 0), 1, 150, 1, 1, 0, 1, 0.07) | |
894 | RootPart.CFrame = RootPart.CFrame * cn(0, 0, 30) | |
895 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
896 | Effects.Wave.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 7, 5, 7, 0.5, -0.5, 0.5, 0.1) | |
897 | MagniDamage(RootPart, 10, 10, 16, 5, "Normal") | |
898 | for i = 0, 1, 0.1 do | |
899 | swait() | |
900 | PlayAnimationFromTable({CFrame.new(-1.7080456e-06, -0.027070839, -1.86264515e-06, 0.939692676, 0, -0.342020065, -0.171010017, 0.866025448, -0.469846308, 0.29619807, 0.49999997, 0.813797712), CFrame.new(-0.13803795, 1.4990375, -0.379249156, 0.951581001, -0.191467702, 0.240486383, -0.044493448, 0.688300848, 0.724059641, -0.304161012, -0.699701488, 0.646454871), CFrame.new(1.43031168, 0.616256595, 0.308542341, 0.800035, -0.599798083, -0.0136421025, 0.439878434, 0.570961535, 0.69318825, -0.40798384, -0.560575724, 0.720627487), CFrame.new(-1.40177703, -0.23487623, 0.269860268, 0.96701771, 0.254529893, -0.00954677165, -0.249975219, 0.941186786, -0.227332294, -0.0488775596, 0.222220778, 0.973770499), CFrame.new(0.612152696, -1.97538888, -0.516110063, 0.970890999, -0.239506602, -0.00271621346, 0.235481992, 0.956527591, -0.172056109, 0.0438066423, 0.166408092, 0.985083461), CFrame.new(-0.499943197, -1.45715618, -0.0286798477, 0.939692676, -0.299137473, 0.165814608, 0, 0.484809607, 0.874619722, -0.342020065, -0.821873724, 0.455571949)}, 0.3, false) | |
901 | end | |
902 | if joj == true then | |
903 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588694789", RootPart, 1, 1) | |
904 | for i = 0, 1, 0.05 do | |
905 | swait() | |
906 | Effects.Block.Create(BrickColor.new("Really black"), Hitbox.CFrame * cn(0, 0, 0), 5, 5, 5, 3, 3, 3, 0.07) | |
907 | Torso.Velocity = RootPart.CFrame.lookVector * 75 | |
908 | PlayAnimationFromTable({CFrame.new(1.20420009e-06, -0.0270722248, -1.65402889e-06, 0.72652334, -0.522110581, 0.446726382, 0.129286349, 0.742377043, 0.65738982, -0.674869597, -0.419853389, 0.606855989), CFrame.new(0.228101492, 1.48572242, -0.201490074, 0.714258611, 0.280593693, -0.64117229, -0.567323327, 0.768599868, -0.295632333, 0.409852386, 0.574909925, 0.708166361), CFrame.new(2.05665827, 1.177531, -1.21075952, 0.649708867, -0.695274889, -0.30736208, -0.65385735, -0.304882586, -0.692471802, 0.387748957, 0.650875926, -0.652695417), CFrame.new(-1.55677617, 0.741790771, 0.243534133, 0.861166596, 0.251710802, -0.441626281, -0.255574256, -0.536594629, -0.804206371, -0.439401686, 0.805424094, -0.39776659), CFrame.new(0.469701946, -2.23308897, -0.571746588, 0.654707849, 0.481663972, -0.582543969, -0.251532853, 0.865587473, 0.433000475, 0.712803483, -0.136959851, 0.687861323), CFrame.new(-1.01862133, -1.86787975, -0.235115618, 0.623873472, 0.440259665, -0.645719349, -0.515446305, 0.852846563, 0.0834739208, 0.587449729, 0.280756474, 0.758998513)}, 0.4, false) | |
909 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) | |
910 | end | |
911 | joj = false | |
912 | end | |
913 | con:disconnect() | |
914 | ready = false | |
915 | attack = false | |
916 | end | |
917 | ||
918 | heejoj = function() | |
919 | ||
920 | attack = true | |
921 | local con = Hitbox.Touched:connect(function(hit) | |
922 | ||
923 | Damagefunc(Hitbox, hit, 10, 15, 0, "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
924 | end | |
925 | ) | |
926 | for i = 0, 1, 0.1 do | |
927 | swait() | |
928 | PlayAnimationFromTable({CFrame.new(-1.79256313e-06, -0.0270714033, 1.67009421e-06, 0.642787695, 0, -0.766044378, 0.198266879, 0.965925813, 0.166365698, 0.739942014, -0.258819044, 0.620885253), CFrame.new(-0.0378372967, 1.50758672, -0.292824298, 0.627311528, 0.217882916, 0.747667909, -0.0565776452, 0.970278203, -0.235285223, -0.77671051, 0.105295844, 0.620994031), CFrame.new(1.8476584, 0.186620533, 0.586286902, 0.6190449, -0.781989336, 0.0726369843, 0.161759645, 0.217464238, 0.962571084, -0.768516362, -0.584124982, 0.261114448), CFrame.new(-1.30358613, 0.0453797728, 0.74618268, 0.663731039, 0.704093337, 0.252415478, -0.368127674, 0.601269066, -0.709194899, -0.65110904, 0.37779358, 0.658277333), CFrame.new(0.674198151, -2.13181162, -0.285085171, 0.78805989, -0.41771692, 0.452188075, 0.282821476, 0.89811337, 0.336755693, -0.546784699, -0.13749516, 0.825906515), CFrame.new(-0.819713354, -1.86144137, -0.0744840205, 0.761511803, 0.198266879, 0.617081761, -0.044943437, 0.965925813, -0.254886985, -0.646590889, 0.166365698, 0.744474769)}, 0.3, false) | |
929 | end | |
930 | for i = 0, 1, 0.5 do | |
931 | swait() | |
932 | PlayAnimationFromTable({CFrame.new(0.200001687, -0.0270722415, -0.199997902, 0.668698847, -0.257401168, 0.697557449, 0.198266849, 0.965925813, 0.166365698, -0.716611505, 0.0270539522, 0.696947634), CFrame.new(0.0817526728, 1.45255125, -0.115808435, 0.770571828, 0.279056966, -0.573014915, -0.31525144, 0.948252678, 0.0378569812, 0.553927243, 0.151472256, 0.818670094), CFrame.new(1.78999507, 0.43440184, -0.783623338, -0.69361645, -0.687593877, 0.214734226, 0.240016431, 0.0604618192, 0.96888411, -0.679182112, 0.723573685, 0.123096548), CFrame.new(-1.38332152, -0.0702918023, -0.29045409, 0.146217704, -0.0701204538, -0.986764193, -0.943539739, -0.309601337, -0.117812246, -0.297242463, 0.948277414, -0.111430585), CFrame.new(0.00148749352, -2.02540302, -0.101188421, 0.563800275, 0.491174042, -0.663985848, 0.0933390856, 0.76090014, 0.64212054, 0.820619762, -0.424003541, 0.383149981), CFrame.new(-1.43315196, -1.71085823, -0.217718303, 0.428590536, 0.5400635, 0.724321485, -0.220708072, 0.839979529, -0.495703727, -0.876126707, 0.0525902361, 0.479203612)}, 0.4, false) | |
933 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4) | |
934 | end | |
935 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=191395657", RootPart, 1, 1) | |
936 | for i = 0, 1, 0.1 do | |
937 | swait() | |
938 | PlayAnimationFromTable({CFrame.new(0.200001687, -0.0270722415, -0.199997902, 0.668698847, -0.257401168, 0.697557449, 0.198266849, 0.965925813, 0.166365698, -0.716611505, 0.0270539522, 0.696947634), CFrame.new(0.0817526728, 1.45255125, -0.115808435, 0.770571828, 0.279056966, -0.573014915, -0.31525144, 0.948252678, 0.0378569812, 0.553927243, 0.151472256, 0.818670094), CFrame.new(1.78999507, 0.43440184, -0.783623338, -0.69361645, -0.687593877, 0.214734226, 0.240016431, 0.0604618192, 0.96888411, -0.679182112, 0.723573685, 0.123096548), CFrame.new(-1.38332152, -0.0702918023, -0.29045409, 0.146217704, -0.0701204538, -0.986764193, -0.943539739, -0.309601337, -0.117812246, -0.297242463, 0.948277414, -0.111430585), CFrame.new(0.00148749352, -2.02540302, -0.101188421, 0.563800275, 0.491174042, -0.663985848, 0.0933390856, 0.76090014, 0.64212054, 0.820619762, -0.424003541, 0.383149981), CFrame.new(-1.43315196, -1.71085823, -0.217718303, 0.428590536, 0.5400635, 0.724321485, -0.220708072, 0.839979529, -0.495703727, -0.876126707, 0.0525902361, 0.479203612)}, 0.3, false) | |
939 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(-20, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
940 | end | |
941 | MagniDamage(RootPart, 15, 10, 16, 5, "Normal") | |
942 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588734356", RootPart, 1, 1.3) | |
943 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
944 | Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, -15) * angles(1.57, 0, 0), 1, 150, 1, 1, 0, 1, 0.07) | |
945 | RootPart.CFrame = RootPart.CFrame * cn(0, 0, -30) | |
946 | Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0) * angles(0, 0, 0), 1, 999, 1, 1, 0, 1, 0.07) | |
947 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.03) | |
948 | Effects.Wave.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 7, 5, 7, 0.5, -0.01, 0.5, 0.03) | |
949 | MagniDamage(RootPart, 15, 14, 20, 5, "Normal") | |
950 | for i = 0, 1, 0.1 do | |
951 | swait() | |
952 | PlayAnimationFromTable({CFrame.new(-6.2584877e-07, -0.0270718187, -0.19999969, 0.84866941, -0.0842632726, -0.522168517, 0.198266849, 0.965925813, 0.166365713, 0.490357548, -0.244718194, 0.836458266), CFrame.new(-0.186376497, 1.51597893, -0.164528131, 0.739302933, 0.0507401377, 0.671458602, -0.150561482, 0.98436749, 0.0913885236, -0.656324863, -0.168659583, 0.735385239), CFrame.new(1.28547716, 0.294949383, 0.627302945, 0.0859732926, -0.966667414, 0.241169363, 0.133077711, 0.251038611, 0.958785653, -0.987369716, -0.0503356159, 0.150224492), CFrame.new(-0.463301182, 0.451087564, -0.807519853, -0.0318430364, -0.998630762, -0.0415049493, -0.986184657, 0.0381458551, -0.161197573, 0.162560061, 0.0357985497, -0.986049056), CFrame.new(0.0999828875, -1.92969251, -0.774268389, 0.936049879, -0.294846416, 0.192031473, 0.20724605, 0.903023183, 0.376295269, -0.284358174, -0.312433392, 0.906380534), CFrame.new(-1.26163387, -1.74956322, -0.1973975, 0.696691692, 0.547443509, 0.4636015, -0.315688938, 0.814277291, -0.487127274, -0.644174814, 0.193023607, 0.74012202)}, 0.3, false) | |
953 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(0)), 0.3) | |
954 | end | |
955 | con:disconnect() | |
956 | attack = false | |
957 | end | |
958 | ||
959 | odinstab = function() | |
960 | ||
961 | attack = true | |
962 | local con = Hitbox.Touched:connect(function(hit) | |
963 | ||
964 | Damagefunc(Hitbox, hit, 10, 15, 0, "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) | |
965 | end | |
966 | ) | |
967 | for i = 0, 1, 0.1 do | |
968 | swait() | |
969 | PlayAnimationFromTable({CFrame.new(0, -0.0270718634, 0, -0.0871556252, 0, -0.99619472, 0, 1, 0, 0.99619472, 0, -0.0871556252), CFrame.new(2.08616257e-07, 1.49999869, 1.7657876e-06, -0.0821366832, -0.167731255, 0.982405126, -0.0593911558, 0.98480773, 0.163175896, -0.994849861, -0.0449434556, -0.0908505991), CFrame.new(1.73787284, 0.444129229, -0.592253327, 0.987387776, -0.145726413, 0.0618805997, 0.0691050515, 0.045041725, -0.996592104, 0.142442584, 0.988299131, 0.05454408), CFrame.new(-1.3458128, 0.509518027, 0.829994023, -0.160585091, 0.964372694, 0.210232496, -0.751449883, 0.018646583, -0.659526646, -0.63994956, -0.263889313, 0.721683443), CFrame.new(0.615802288, -1.97292757, -0.276885957, 0.98480767, -0.173648164, -5.96046448e-08, 0.173648149, 0.98480773, 0, 6.70552254e-08, -1.02445483e-08, 1), CFrame.new(-0.666765034, -1.97292793, -0.0776501894, 0.829037428, 0, 0.559193134, 0, 1, 0, -0.559193134, 0, 0.829037428)}, 0.3, false) | |
970 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
971 | end | |
972 | for i = 0, 1, 0.2 do | |
973 | swait() | |
974 | PlayAnimationFromTable({CFrame.new(-1.06636435e-07, -0.0270720962, 9.14151315e-08, 0.341551125, 0.0523359627, 0.938404858, -0.0178999417, 0.99862963, -0.0491797179, -0.939692616, 0, 0.342019856), CFrame.new(-0.0951612741, 1.48747587, -0.26145345, 0.337419063, 0.155992284, -0.92833966, -0.00706681982, 0.986566484, 0.163207814, 0.941327989, -0.0485090092, 0.333988696), CFrame.new(2.00339293, 0.468823731, -0.240100741, 0.116273239, -0.993038177, -0.0188574344, 0.119839877, 0.0328743085, -0.992248833, 0.985960841, 0.113112122, 0.122827962), CFrame.new(-1.31988633, 0.0769075155, -0.18481046, 0.264241844, 0.0966371894, -0.959602654, -0.901967108, 0.377078831, -0.210397139, 0.341513574, 0.921125829, 0.186803535), CFrame.new(0.717200935, -1.95047832, 0.249806836, 0.938002765, -0.225702524, -0.26307559, 0.269097418, 0.952550948, 0.142244279, 0.218488008, -0.204218507, 0.954231441), CFrame.new(-0.572963059, -1.98043752, 0.111036211, 0.945510209, -0.0178999417, 0.325099587, 0.000913365744, 0.99862963, 0.0523279905, -0.32559076, -0.0491797179, 0.944230795)}, 0.3, false) | |
975 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
976 | end | |
977 | for i = 0, 1, 0.3 do | |
978 | swait() | |
979 | PlayAnimationFromTable({CFrame.new(-1.39581971e-07, -0.0270720962, 1.3737008e-08, 0.818767846, 0.0428711064, 0.572521746, -0.0178999417, 0.99862963, -0.0491797179, -0.573845387, 0.0300186761, 0.818413138), CFrame.new(0.0540623069, 1.48445809, -0.0147518963, 0.815573931, 0.124637283, -0.565070152, -0.016368283, 0.981105924, 0.192777559, 0.578421116, -0.147975117, 0.802204549), CFrame.new(1.55006099, 0.500976622, -0.582725525, 0.803313017, -0.593712687, 0.046830669, 0.112401314, 0.0739220977, -0.990909338, 0.584853888, 0.801274359, 0.126116663), CFrame.new(-1.49412107, 0.26261878, 0.448909432, 0.185153246, 0.665037036, -0.723493576, -0.982693493, 0.12918815, -0.132739276, 0.00518957525, 0.735550404, 0.677448928), CFrame.new(0.68195051, -1.97171557, -0.168603122, 0.900324583, -0.27811414, 0.334764957, 0.239774927, 0.958892524, 0.151766926, -0.363212049, -0.0563712865, 0.92999953), CFrame.new(-0.455221474, -1.96128821, 0.45702365, 0.588047087, -0.0178999417, 0.80862838, -0.0292659178, 0.99862963, 0.0433884598, -0.8082968, -0.0491797179, 0.586717486)}, 0.4, false) | |
980 | end | |
981 | MagniDamage(RootPart, 10, 5, 10, 5, "Normal") | |
982 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588697948", RootPart, 1, 1) | |
983 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
984 | Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, -10) * angles(1.57, 0, 0), 1, 100, 1, 1, 0, 1, 0.07) | |
985 | RootPart.CFrame = RootPart.CFrame * cn(0, 0, -20) | |
986 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
987 | Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2.5, 0), 7, 5, 7, 0.5, -0.01, 0.5, 0.07) | |
988 | MagniDamage(RootPart, 10, 10, 16, 5, "Normal") | |
989 | for i = 0, 1, 0.15 do | |
990 | swait() | |
991 | PlayAnimationFromTable({CFrame.new(0, -0.0270718634, 0, -0.0871556252, 0, -0.99619472, 0, 1, 0, 0.99619472, 0, -0.0871556252), CFrame.new(2.08616257e-07, 1.49999869, 1.7657876e-06, -0.0821366832, -0.167731255, 0.982405126, -0.0593911558, 0.98480773, 0.163175896, -0.994849861, -0.0449434556, -0.0908505991), CFrame.new(1.73787284, 0.444129229, -0.592253327, 0.987387776, -0.145726413, 0.0618805997, 0.0691050515, 0.045041725, -0.996592104, 0.142442584, 0.988299131, 0.05454408), CFrame.new(-1.3458128, 0.509518027, 0.829994023, -0.160585091, 0.964372694, 0.210232496, -0.751449883, 0.018646583, -0.659526646, -0.63994956, -0.263889313, 0.721683443), CFrame.new(0.615802288, -1.97292757, -0.276885957, 0.98480767, -0.173648164, -5.96046448e-08, 0.173648149, 0.98480773, 0, 6.70552254e-08, -1.02445483e-08, 1), CFrame.new(-0.666765034, -1.97292793, -0.0776501894, 0.829037428, 0, 0.559193134, 0, 1, 0, -0.559193134, 0, 0.829037428)}, 0.3, false) | |
992 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
993 | end | |
994 | for i = 0, 1, 0.3 do | |
995 | swait() | |
996 | PlayAnimationFromTable({CFrame.new(5.49247488e-07, -0.0270719025, -6.70435838e-07, 0.340146244, -0.104528464, 0.934544921, 0.0357508101, 0.994521916, 0.098224625, -0.939692616, 0, 0.342019856), CFrame.new(-0.0144042522, 1.51268756, -0.0395751446, 0.33283025, 0.208744526, -0.919592023, -0.163408518, 0.973204792, 0.16177161, 0.928720355, 0.0964266807, 0.35802269), CFrame.new(1.93257201, 0.391157776, -0.142297551, 0.118616343, -0.990296662, -0.0724052712, -0.0327931866, 0.0689732656, -0.997079372, 0.992398441, 0.120644331, -0.0242936239), CFrame.new(-1.31313968, 0.173747525, -0.166273028, 0.00302574039, 0.229341313, -0.973341227, -0.831912994, -0.539532602, -0.129712224, -0.554897726, 0.810127795, 0.189159513), CFrame.new(0.610821784, -2.00155902, -0.0424677283, 0.950185061, -0.173604414, -0.258861899, 0.183479935, 0.982919514, 0.0142961815, 0.251958519, -0.0610799752, 0.965808451), CFrame.new(-0.678537905, -1.94172156, -0.179028675, 0.945485651, 0.0357508101, 0.323694915, -0.00182422786, 0.994521916, -0.104512542, -0.325658113, 0.098224625, 0.940371454)}, 0.4, false) | |
997 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
998 | end | |
999 | for i = 0, 1, 0.3 do | |
1000 | swait() | |
1001 | PlayAnimationFromTable({CFrame.new(-1.39581971e-07, -0.0270720962, 1.3737008e-08, 0.818767846, 0.0428711064, 0.572521746, -0.0178999417, 0.99862963, -0.0491797179, -0.573845387, 0.0300186761, 0.818413138), CFrame.new(0.0540623069, 1.48445809, -0.0147518963, 0.815573931, 0.124637283, -0.565070152, -0.016368283, 0.981105924, 0.192777559, 0.578421116, -0.147975117, 0.802204549), CFrame.new(1.55006099, 0.500976622, -0.582725525, 0.803313017, -0.593712687, 0.046830669, 0.112401314, 0.0739220977, -0.990909338, 0.584853888, 0.801274359, 0.126116663), CFrame.new(-1.49412107, 0.26261878, 0.448909432, 0.185153246, 0.665037036, -0.723493576, -0.982693493, 0.12918815, -0.132739276, 0.00518957525, 0.735550404, 0.677448928), CFrame.new(0.68195051, -1.97171557, -0.168603122, 0.900324583, -0.27811414, 0.334764957, 0.239774927, 0.958892524, 0.151766926, -0.363212049, -0.0563712865, 0.92999953), CFrame.new(-0.455221474, -1.96128821, 0.45702365, 0.588047087, -0.0178999417, 0.80862838, -0.0292659178, 0.99862963, 0.0433884598, -0.8082968, -0.0491797179, 0.586717486)}, 0.4, false) | |
1002 | end | |
1003 | MagniDamage(RootPart, 10, 5, 10, 5, "Normal") | |
1004 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588697948", RootPart, 1, 1) | |
1005 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
1006 | Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, -10) * angles(1.57, 0, 0), 1, 100, 1, 1, 0, 1, 0.07) | |
1007 | RootPart.CFrame = RootPart.CFrame * cn(0, 0, -20) | |
1008 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
1009 | Effects.Wave.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 7, 5, 7, 0.5, -0.01, 0.5, 0.07) | |
1010 | MagniDamage(RootPart, 10, 10, 16, 5, "Normal") | |
1011 | for i = 0, 1, 0.15 do | |
1012 | swait() | |
1013 | PlayAnimationFromTable({CFrame.new(0, -0.0270718634, 0, -0.0871556252, 0, -0.99619472, 0, 1, 0, 0.99619472, 0, -0.0871556252), CFrame.new(2.08616257e-07, 1.49999869, 1.7657876e-06, -0.0821366832, -0.167731255, 0.982405126, -0.0593911558, 0.98480773, 0.163175896, -0.994849861, -0.0449434556, -0.0908505991), CFrame.new(1.73787284, 0.444129229, -0.592253327, 0.987387776, -0.145726413, 0.0618805997, 0.0691050515, 0.045041725, -0.996592104, 0.142442584, 0.988299131, 0.05454408), CFrame.new(-1.3458128, 0.509518027, 0.829994023, -0.160585091, 0.964372694, 0.210232496, -0.751449883, 0.018646583, -0.659526646, -0.63994956, -0.263889313, 0.721683443), CFrame.new(0.615802288, -1.97292757, -0.276885957, 0.98480767, -0.173648164, -5.96046448e-08, 0.173648149, 0.98480773, 0, 6.70552254e-08, -1.02445483e-08, 1), CFrame.new(-0.666765034, -1.97292793, -0.0776501894, 0.829037428, 0, 0.559193134, 0, 1, 0, -0.559193134, 0, 0.829037428)}, 0.3, false) | |
1014 | end | |
1015 | for i = 0, 1, 0.3 do | |
1016 | swait() | |
1017 | PlayAnimationFromTable({CFrame.new(-2.31713057e-06, -0.0270706639, -0.299997628, 0.890663505, 0.0382761098, 0.453049064, -0.193990245, 0.93318975, 0.302530497, -0.41120106, -0.357339978, 0.838583231), CFrame.new(-0.152385831, 1.38705075, -0.282952547, 0.898593962, -0.0710474178, -0.432990283, -0.0189598743, 0.979594529, -0.200085267, 0.438370645, 0.188004807, 0.878911138), CFrame.new(1.67528212, 0.780888259, -1.18863964, 0.757884502, -0.61437571, 0.219439179, 0.0202042982, -0.314097434, -0.949175715, 0.652075768, 0.723799229, -0.225636542), CFrame.new(-1.73397326, 0.0918349028, 0.196237594, 0.556634367, 0.749881744, -0.357533753, -0.778973937, 0.321578234, -0.538316011, -0.28869915, 0.578158557, 0.76314187), CFrame.new(0.913151681, -1.77470183, -0.137166709, 0.892044067, -0.402605206, -0.205338836, 0.352004051, 0.903890967, -0.243050635, 0.283456951, 0.144532204, 0.948030651), CFrame.new(-0.354864955, -2.17688394, -0.406858772, 0.912877381, -0.0337441713, 0.40683648, 0.0234508961, 0.999266803, 0.0302620083, -0.407559186, -0.0180848241, 0.912999392)}, 0.4, false) | |
1018 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3) | |
1019 | end | |
1020 | MagniDamage(RootPart, 10, 5, 10, 5, "Normal") | |
1021 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588697948", RootPart, 1, 1) | |
1022 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
1023 | Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, -10) * angles(1.57, 0, 0), 1, 100, 1, 1, 0, 1, 0.07) | |
1024 | RootPart.CFrame = RootPart.CFrame * cn(0, 0, -20) | |
1025 | Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07) | |
1026 | Effects.Wave.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 7, 5, 7, 0.5, -0.01, 0.5, 0.07) | |
1027 | MagniDamage(RootPart, 10, 10, 16, 5, "Normal") | |
1028 | for i = 0, 1, 0.15 do | |
1029 | swait() | |
1030 | PlayAnimationFromTable({CFrame.new(-1.39581971e-07, -0.0270720962, 1.3737008e-08, 0.818767846, 0.0428711064, 0.572521746, -0.0178999417, 0.99862963, -0.0491797179, -0.573845387, 0.0300186761, 0.818413138), CFrame.new(0.0540623069, 1.48445809, -0.0147518963, 0.815573931, 0.124637283, -0.565070152, -0.016368283, 0.981105924, 0.192777559, 0.578421116, -0.147975117, 0.802204549), CFrame.new(1.55006099, 0.500976622, -0.582725525, 0.803313017, -0.593712687, 0.046830669, 0.112401314, 0.0739220977, -0.990909338, 0.584853888, 0.801274359, 0.126116663), CFrame.new(-1.49412107, 0.26261878, 0.448909432, 0.185153246, 0.665037036, -0.723493576, -0.982693493, 0.12918815, -0.132739276, 0.00518957525, 0.735550404, 0.677448928), CFrame.new(0.68195051, -1.97171557, -0.168603122, 0.900324583, -0.27811414, 0.334764957, 0.239774927, 0.958892524, 0.151766926, -0.363212049, -0.0563712865, 0.92999953), CFrame.new(-0.455221474, -1.96128821, 0.45702365, 0.588047087, -0.0178999417, 0.80862838, -0.0292659178, 0.99862963, 0.0433884598, -0.8082968, -0.0491797179, 0.586717486)}, 0.3, false) | |
1031 | end | |
1032 | con:disconnect() | |
1033 | attack = false | |
1034 | end | |
1035 | ||
1036 | ult = function() | |
1037 | ||
1038 | attack = true | |
1039 | Humanoid.WalkSpeed = 5 | |
1040 | for i = 0, 1, 0.15 do | |
1041 | swait() | |
1042 | PlayAnimationFromTable({CFrame.new(1.34110451e-06, 0.772929192, -0.199998364, 0.939692616, 0, -0.342020065, 0.171010092, 0.866025329, 0.469846487, 0.29619804, -0.500000179, 0.813797593), CFrame.new(-0.108089298, 1.45262718, -0.296966434, 0.940046847, -0.00586986542, 0.340994745, -0.059296906, 0.981809974, 0.180369139, -0.335850775, -0.189775437, 0.922599375), CFrame.new(1.59015477, -0.206811339, 0.747691751, 0.969214976, -0.17657733, 0.17158933, 0.106850728, 0.929507375, 0.352985889, -0.221822873, -0.323784769, 0.91975975), CFrame.new(0.102686562, 0.687961221, -0.859506786, -0.154195338, -0.980461597, -0.122142926, -0.460864604, 0.180721149, -0.868875027, 0.873972297, -0.0776851773, -0.479726374), CFrame.new(0.304265916, -2.03201532, -0.777241766, 0.999069273, -0.00251470134, -0.043058604, -0.0180283189, 0.882564008, -0.469846487, 0.0391835272, 0.470185518, 0.881697297), CFrame.new(-0.774355471, -1.18585086, -0.782621741, 0.939692616, 0.0942736194, 0.328770757, 0, 0.96126169, -0.275637686, -0.342020065, 0.259014726, 0.90329051)}, 0.3, false) | |
1043 | end | |
1044 | MagniDamage(RootPart, 20, 10, 16, 5, "Snare") | |
1045 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588736245", RootPart, 1, 1) | |
1046 | Effects.Block.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, 0, 0), 65, 65, 65, -1, -1, -1, 0.03) | |
1047 | Effects.Wave.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 7, 5, 7, 0.5, -0.01, 0.5, 0.07) | |
1048 | for i = 0, 1, 0.025 do | |
1049 | swait() | |
1050 | PlayAnimationFromTable({CFrame.new(-3.01003456e-06, 1.27292681, -0.200001091, 0.939692616, 0, -0.342020065, 0.258125871, 0.656058908, 0.709195137, 0.224385306, -0.754709721, 0.616493702), CFrame.new(-0.0369468927, 1.49610376, -0.10151881, 0.942503333, -0.0463336706, 0.330969125, -0.0581336431, 0.952514052, 0.298893809, -0.329101563, -0.300948918, 0.895054162), CFrame.new(1.54390359, -0.60135293, 0.620606184, 0.978820086, -0.0662810802, 0.193696067, 0.0609695949, 0.997585297, 0.0332623422, -0.195433006, -0.0207482576, 0.980497539), CFrame.new(0.116250128, 0.70518136, -0.822244346, -0.219833538, -0.952729285, -0.209714472, -0.685964167, 0.303816944, -0.661172211, 0.693632841, -0.00149124861, -0.720327199), CFrame.new(0.291622132, -2.39664435, -0.811994672, 0.996715426, -0.080019936, -0.0124502778, 0.0740799904, 0.963028312, -0.259014606, 0.0327162892, 0.257241577, 0.965793014), CFrame.new(-0.887762189, -0.795588255, -1.09420419, 0.939692616, 0.196174756, 0.280166388, 0, 0.819151878, -0.573576689, -0.342020065, 0.538985848, 0.769750953)}, 0.3, false) | |
1051 | end | |
1052 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588737452", RootPart, 1, 1) | |
1053 | Effects.Wave.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 7, 5, 7, 1, 0.01, 1, 0.03) | |
1054 | for i = 0, 1, 0.1 do | |
1055 | swait() | |
1056 | PlayAnimationFromTable({CFrame.new(1.90734863e-06, 1.27292776, -0.19999975, 0.939692616, 0, -0.342020065, -0.224385366, 0.754709482, -0.616493881, 0.258125812, 0.656059146, 0.709194899), CFrame.new(0.0819925666, 1.40090227, 0.225270301, 0.928992093, 0.181448728, 0.322567761, -0.0534228981, 0.928186715, -0.368260026, -0.366223425, 0.324878156, 0.871971607), CFrame.new(1.77592981, 0.235168919, 0.38096261, 0.882252753, -0.46385923, -0.0804027468, 0.419258475, 0.696480691, 0.582354665, -0.214131638, -0.547493458, 0.808948874), CFrame.new(-1.8240087, 0.254641324, -0.013066411, 0.640882611, 0.754053295, 0.143781319, -0.371170729, 0.468349636, -0.801798522, -0.671938717, 0.4604913, 0.58003968), CFrame.new(1.37679744, -1.33562589, 0.415228426, 0.844270229, -0.482710302, -0.232805595, 0.371639937, 0.214359313, 0.90329051, -0.386123657, -0.849141121, 0.36037156), CFrame.new(-0.0928204954, -1.55826092, 1.0898807, 0.939692616, -0.280166447, 0.196174681, 0, 0.57357645, 0.819152057, -0.342020065, -0.769751132, 0.53898555)}, 0.3, false) | |
1057 | end | |
1058 | for i = 0, 1, 0.15 do | |
1059 | swait() | |
1060 | PlayAnimationFromTable({CFrame.new(1.51991844e-06, 3.87292838, -0.199998558, 0.939692616, 0, -0.342020065, 0.0711098462, 0.978147686, 0.19537279, 0.334546149, -0.207911372, 0.919158101), CFrame.new(-0.0342681259, 1.45257032, -0.094140172, 0.940400481, -0.0117209554, 0.339866847, -0.0591845848, 0.978513062, 0.197507605, -0.33487916, -0.205851108, 0.919500411), CFrame.new(1.80113983, 0.642123997, 0.45021385, -0.196062714, -0.943597972, 0.266800016, 0.886763275, -0.0544715077, 0.459002972, -0.418581247, 0.326581836, 0.847427845), CFrame.new(-1.67493212, 0.563465118, 0.396517366, 0.595636845, 0.78792882, -0.156156614, 0.105838209, -0.269694984, -0.957111776, -0.796250582, 0.553563595, -0.244033277), CFrame.new(0.880483627, -1.68711877, -0.948387742, 0.955872178, -0.293006092, -0.0213468671, 0.282821625, 0.898113251, 0.336755931, -0.0794996619, -0.327932924, 0.941349804), CFrame.new(-0.560358524, -1.89054406, -0.194669917, 0.939692616, -0.0119364113, 0.341811746, 0, 0.999390841, 0.0348996967, -0.342020065, -0.0327949524, 0.939120173)}, 0.3, false) | |
1061 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3) | |
1062 | end | |
1063 | for i = 0, 1, 0.1 do | |
1064 | swait() | |
1065 | PlayAnimationFromTable({CFrame.new(3.78489494e-06, -0.696341276, -0.552602053, 0.919060171, 0.32625109, 0.22110787, -0.349970549, 0.417582273, 0.838537812, 0.181243137, -0.848047912, 0.497961462), CFrame.new(-0.0618956462, 1.5270232, -0.186815977, 0.932735503, -0.176500976, -0.31440711, 0.270765573, 0.918702185, 0.287527859, 0.238097563, -0.353318036, 0.904696584), CFrame.new(1.22168672, 1.77261066, -0.735344827, -0.544422209, 0.184251964, 0.818324983, 0.368350506, -0.823964655, 0.430581152, 0.753606319, 0.53584826, 0.38071537), CFrame.new(-1.70730913, 0.267066121, -0.124613583, 0.879326046, 0.373947769, 0.294870853, 0.315185666, 0.00717321038, -0.949002922, -0.356992662, 0.927421927, -0.111555398), CFrame.new(1.45572913, -1.68373132, -0.618854046, 0.362936735, -0.842303097, -0.398500293, 0.776399791, 0.509830236, -0.370508313, 0.515247822, -0.174924448, 0.838999987), CFrame.new(-0.112115644, -1.0413568, -1.43462062, 0.919060171, -0.389910668, 0.0574295148, 0.32625109, 0.670929193, -0.665893614, 0.22110787, 0.630732775, 0.743833005)}, 0.3, false) | |
1066 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) | |
1067 | end | |
1068 | Humanoid.WalkSpeed = 16 | |
1069 | MagniDamage(RootPart, 20, 20, 25, 5, "Knockdown") | |
1070 | CFuncs.Sound.Create("http://www.roblox.com/asset/?id=588737825", RootPart, 1, 1) | |
1071 | Effects.Sphere.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 50, 50, 50, 5, 5, 5, 0.03) | |
1072 | Effects.Wave.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 7, 5, 7, 1, 0.01, 1, 0.03) | |
1073 | Effects.Ring.Create(BrickColor.new("Really red"), RootPart.CFrame * cn(0, -2.5, 0), 20, 999, 20, 1, 0, 1, 0.03) | |
1074 | attack = false | |
1075 | end | |
1076 | ||
1077 | mouse.Button1Down:connect(function() | |
1078 | ||
1079 | if attack == false and attacktype == 1 then | |
1080 | attackone() | |
1081 | attacktype = 2 | |
1082 | else | |
1083 | if attack == false and attacktype == 2 then | |
1084 | attacktype = 3 | |
1085 | attacktwo() | |
1086 | else | |
1087 | if attack == false and attacktype == 3 then | |
1088 | attacktype = 1 | |
1089 | attackthree() | |
1090 | end | |
1091 | end | |
1092 | end | |
1093 | end | |
1094 | ) | |
1095 | mouse.KeyDown:connect(function(k) | |
1096 | ||
1097 | k = k:lower() | |
1098 | if attack == false and k == "z" and joj == false and co1 <= cooldown1 then | |
1099 | cooldown1 = 0 | |
1100 | zoop() | |
1101 | else | |
1102 | if attack == true and k == "z" and ready == true then | |
1103 | joj = true | |
1104 | else | |
1105 | if attack == false and k == "x" and joj == false and co2 <= cooldown2 then | |
1106 | cooldown2 = 0 | |
1107 | heejoj() | |
1108 | else | |
1109 | if attack == false and k == "c" and joj == false and co3 <= cooldown3 then | |
1110 | cooldown3 = 0 | |
1111 | odinstab() | |
1112 | else | |
1113 | if attack == false and k == "v" and joj == false and co4 <= cooldown4 then | |
1114 | cooldown4 = 0 | |
1115 | ult() | |
1116 | end | |
1117 | end | |
1118 | end | |
1119 | end | |
1120 | end | |
1121 | end | |
1122 | ) | |
1123 | updateskills = function() | |
1124 | ||
1125 | if ready == true then | |
1126 | text1.Text = "[Z]\n Purify" | |
1127 | else | |
1128 | text1.Text = "[Z]\n Light Escape" | |
1129 | end | |
1130 | if cooldown1 <= co1 then | |
1131 | - | cooldown1 = cooldown1 + 0.033333333333333 |
1131 | + | cooldown1 = cooldown1 + 100 |
1132 | end | |
1133 | if cooldown2 <= co2 then | |
1134 | - | cooldown2 = cooldown2 + 0.033333333333333 |
1134 | + | cooldown2 = cooldown2 + 100 |
1135 | end | |
1136 | if cooldown3 <= co3 then | |
1137 | - | cooldown3 = cooldown3 + 0.033333333333333 |
1137 | + | cooldown3 = cooldown3 + 100 |
1138 | end | |
1139 | if cooldown4 <= co4 then | |
1140 | - | cooldown4 = cooldown4 + 0.033333333333333 |
1140 | + | cooldown4 = cooldown4 + 100 |
1141 | end | |
1142 | end | |
1143 | ||
1144 | while true do | |
1145 | swait() | |
1146 | if Humanoid.Health ~= 0 then | |
1147 | if Character == nil then | |
1148 | break | |
1149 | end | |
1150 | updateskills() | |
1151 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5) | |
1152 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5) | |
1153 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5) | |
1154 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5) | |
1155 | for i,v in pairs(Character:GetChildren()) do | |
1156 | if v:IsA("Part") then | |
1157 | v.Material = "SmoothPlastic" | |
1158 | else | |
1159 | if v:IsA("Hat") then | |
1160 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
1161 | end | |
1162 | end | |
1163 | end | |
1164 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1165 | velocity = RootPart.Velocity.y | |
1166 | sine = sine + change | |
1167 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
1168 | if equipped == true or equipped == false then | |
1169 | if 1 < RootPart.Velocity.y and hit == nil then | |
1170 | Anim = "Jump" | |
1171 | if attack == false then | |
1172 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 12), 0) * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3) | |
1173 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3) | |
1174 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0 + 0.1 * math.cos((sine) / 14), 0.5) * angles(math.rad(-20), math.rad(10), math.rad(10)), 0.3) | |
1175 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0 + 0.1 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1176 | RH.C0 = clerp(RH.C0, CFrame.new(0.8, -2 - 0.1 * math.cos((sine) / 12), 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3) | |
1177 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1 - 0.1 * math.cos((sine) / 12), -1) * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3) | |
1178 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(-30)), 0.3) | |
1179 | end | |
1180 | else | |
1181 | if RootPart.Velocity.y < -1 and hit == nil then | |
1182 | Anim = "Fall" | |
1183 | if attack == false then | |
1184 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 12), 0) * angles(math.rad(10), math.rad(-20), math.rad(0)), 0.3) | |
1185 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-20), math.rad(20), math.rad(0)), 0.3) | |
1186 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0 + 0.1 * math.cos((sine) / 14), 0.5) * angles(math.rad(-20), math.rad(10), math.rad(10)), 0.3) | |
1187 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0 + 0.1 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1188 | RH.C0 = clerp(RH.C0, CFrame.new(0.8, -2 - 0.1 * math.cos((sine) / 12), 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3) | |
1189 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1 - 0.1 * math.cos((sine) / 12), -1) * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3) | |
1190 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(-30)), 0.3) | |
1191 | end | |
1192 | else | |
1193 | if Torsovelocity < 1 and hit ~= nil then | |
1194 | Anim = "Idle" | |
1195 | if attack == false then | |
1196 | change = 1 | |
1197 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 12), 0) * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3) | |
1198 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-10), math.rad(20), math.rad(0)), 0.3) | |
1199 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0 + 0.1 * math.cos((sine) / 14), 0.5) * angles(math.rad(-20), math.rad(10), math.rad(10)), 0.3) | |
1200 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0 + 0.1 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1201 | RH.C0 = clerp(RH.C0, CFrame.new(0.8, -2 - 0.1 * math.cos((sine) / 12), 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1202 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 - 0.1 * math.cos((sine) / 12), 0) * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3) | |
1203 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(-30)), 0.3) | |
1204 | end | |
1205 | else | |
1206 | if 2 < Torsovelocity and hit ~= nil then | |
1207 | Anim = "Walk" | |
1208 | if attack == false then | |
1209 | RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 12), 0) * angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.3) | |
1210 | Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(20), math.rad(20), math.rad(0)), 0.3) | |
1211 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0 + 0.1 * math.cos((sine) / 14), 0.5) * angles(math.rad(-20), math.rad(10), math.rad(10)), 0.3) | |
1212 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0 + 0.1 * math.cos((sine) / 15), 0.5) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3) | |
1213 | RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 - 0.1 * math.cos((sine) / 12), 0 + 1.2 * math.cos((sine) / 3)) * angles(math.rad(0 - 50 * math.cos((sine) / 3)), math.rad(10), math.rad(0)), 0.3) | |
1214 | LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 - 0.1 * math.cos((sine) / 12), 0 - 1.2 * math.cos((sine) / 3)) * angles(math.rad(0 + 50 * math.cos((sine) / 3)), math.rad(10), math.rad(0)), 0.3) | |
1215 | FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-80), math.rad(0), math.rad(-30)), 0.3) | |
1216 | end | |
1217 | end | |
1218 | end | |
1219 | end | |
1220 | end | |
1221 | end | |
1222 | if 0 < #Effects then | |
1223 | for e = 1, #Effects do | |
1224 | if Effects[e] ~= nil then | |
1225 | local Thing = Effects[e] | |
1226 | if Thing ~= nil then | |
1227 | local Part = Thing[1] | |
1228 | local Mode = Thing[2] | |
1229 | local Delay = Thing[3] | |
1230 | local IncX = Thing[4] | |
1231 | local IncY = Thing[5] | |
1232 | local IncZ = Thing[6] | |
1233 | if Thing[1].Transparency <= 1 then | |
1234 | if Thing[2] == "Block1" then | |
1235 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1236 | Mesh = Thing[1].Mesh | |
1237 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1238 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1239 | else | |
1240 | if Thing[2] == "Block2" then | |
1241 | Thing[1].CFrame = Thing[1].CFrame | |
1242 | Mesh = Thing[7] | |
1243 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1244 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1245 | else | |
1246 | if Thing[2] == "Cylinder" then | |
1247 | Mesh = Thing[1].Mesh | |
1248 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1249 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1250 | else | |
1251 | if Thing[2] == "Blood" then | |
1252 | Mesh = Thing[7] | |
1253 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
1254 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
1255 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1256 | else | |
1257 | if Thing[2] == "Elec" then | |
1258 | Mesh = Thing[1].Mesh | |
1259 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
1260 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1261 | else | |
1262 | if Thing[2] == "Disappear" then | |
1263 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1264 | else | |
1265 | if Thing[2] == "Shatter" then | |
1266 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
1267 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
1268 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
1269 | Thing[6] = Thing[6] + Thing[5] | |
1270 | end | |
1271 | end | |
1272 | end | |
1273 | end | |
1274 | end | |
1275 | end | |
1276 | end | |
1277 | else | |
1278 | Part.Parent = nil | |
1279 | table.remove(Effects, e) | |
1280 | end | |
1281 | end | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | end | |
1286 | end |