sawgamer1

Untitled

Apr 6th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 170.73 KB | None | 0 0
  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 print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6.  
  7. --Converted with ttyyuu12345's model to script plugin v4
  8. function sandbox(var,func)
  9. local env = getfenv(func)
  10. local newenv = setmetatable({},{
  11. __index = function(self,k)
  12. if k=="script" then
  13. return var
  14. else
  15. return env[k]
  16. end
  17. end,
  18. })
  19. setfenv(func,newenv)
  20. return func
  21. end
  22. cors = {}
  23. mas = Instance.new("Model",game:GetService("Lighting"))
  24. Model0 = Instance.new("Model")
  25. Part1 = Instance.new("Part")
  26. SpecialMesh2 = Instance.new("SpecialMesh")
  27. Decal3 = Instance.new("Decal")
  28. ParticleEmitter4 = Instance.new("ParticleEmitter")
  29. ParticleEmitter5 = Instance.new("ParticleEmitter")
  30. ParticleEmitter6 = Instance.new("ParticleEmitter")
  31. ParticleEmitter7 = Instance.new("ParticleEmitter")
  32. Weld8 = Instance.new("Weld")
  33. Part9 = Instance.new("Part")
  34. Motor6D10 = Instance.new("Motor6D")
  35. Motor6D11 = Instance.new("Motor6D")
  36. Motor6D12 = Instance.new("Motor6D")
  37. Motor6D13 = Instance.new("Motor6D")
  38. Motor6D14 = Instance.new("Motor6D")
  39. BillboardGui15 = Instance.new("BillboardGui")
  40. Frame16 = Instance.new("Frame")
  41. Frame17 = Instance.new("Frame")
  42. Frame18 = Instance.new("Frame")
  43. ParticleEmitter19 = Instance.new("ParticleEmitter")
  44. ParticleEmitter20 = Instance.new("ParticleEmitter")
  45. ParticleEmitter21 = Instance.new("ParticleEmitter")
  46. ParticleEmitter22 = Instance.new("ParticleEmitter")
  47. Part23 = Instance.new("Part")
  48. ParticleEmitter24 = Instance.new("ParticleEmitter")
  49. ParticleEmitter25 = Instance.new("ParticleEmitter")
  50. ParticleEmitter26 = Instance.new("ParticleEmitter")
  51. ParticleEmitter27 = Instance.new("ParticleEmitter")
  52. Part28 = Instance.new("Part")
  53. ParticleEmitter29 = Instance.new("ParticleEmitter")
  54. ParticleEmitter30 = Instance.new("ParticleEmitter")
  55. ParticleEmitter31 = Instance.new("ParticleEmitter")
  56. ParticleEmitter32 = Instance.new("ParticleEmitter")
  57. Part33 = Instance.new("Part")
  58. ParticleEmitter34 = Instance.new("ParticleEmitter")
  59. ParticleEmitter35 = Instance.new("ParticleEmitter")
  60. ParticleEmitter36 = Instance.new("ParticleEmitter")
  61. ParticleEmitter37 = Instance.new("ParticleEmitter")
  62. Part38 = Instance.new("Part")
  63. ParticleEmitter39 = Instance.new("ParticleEmitter")
  64. ParticleEmitter40 = Instance.new("ParticleEmitter")
  65. ParticleEmitter41 = Instance.new("ParticleEmitter")
  66. ParticleEmitter42 = Instance.new("ParticleEmitter")
  67. Humanoid43 = Instance.new("Humanoid")
  68. Part44 = Instance.new("Part")
  69. Motor6D45 = Instance.new("Motor6D")
  70. BoolValue46 = Instance.new("BoolValue")
  71. Configuration47 = Instance.new("Configuration")
  72. Script48 = Instance.new("Script")
  73. Script49 = Instance.new("Script")
  74. Script50 = Instance.new("Script")
  75. SpecialMesh51 = Instance.new("SpecialMesh")
  76. Script52 = Instance.new("Script")
  77. ObjectValue53 = Instance.new("ObjectValue")
  78. LocalScript54 = Instance.new("LocalScript")
  79. LocalScript55 = Instance.new("LocalScript")
  80. LocalScript56 = Instance.new("LocalScript")
  81. LocalScript57 = Instance.new("LocalScript")
  82. Sound58 = Instance.new("Sound")
  83. Sound59 = Instance.new("Sound")
  84. Sound60 = Instance.new("Sound")
  85. Animation61 = Instance.new("Animation")
  86. Sound62 = Instance.new("Sound")
  87. Sound63 = Instance.new("Sound")
  88. Sound64 = Instance.new("Sound")
  89. Sound65 = Instance.new("Sound")
  90. Sound66 = Instance.new("Sound")
  91. Sound67 = Instance.new("Sound")
  92. Sound68 = Instance.new("Sound")
  93. Sound69 = Instance.new("Sound")
  94. Sound70 = Instance.new("Sound")
  95. Sound71 = Instance.new("Sound")
  96. Sound72 = Instance.new("Sound")
  97. Sound73 = Instance.new("Sound")
  98. SpecialMesh74 = Instance.new("SpecialMesh")
  99. SpecialMesh75 = Instance.new("SpecialMesh")
  100. SpecialMesh76 = Instance.new("SpecialMesh")
  101. Animation77 = Instance.new("Animation")
  102. Animation78 = Instance.new("Animation")
  103. Animation79 = Instance.new("Animation")
  104. Sound80 = Instance.new("Sound")
  105. Script81 = Instance.new("Script")
  106. StringValue82 = Instance.new("StringValue")
  107. Animation83 = Instance.new("Animation")
  108. StringValue84 = Instance.new("StringValue")
  109. Animation85 = Instance.new("Animation")
  110. StringValue86 = Instance.new("StringValue")
  111. Animation87 = Instance.new("Animation")
  112. NumberValue88 = Instance.new("NumberValue")
  113. Animation89 = Instance.new("Animation")
  114. NumberValue90 = Instance.new("NumberValue")
  115. StringValue91 = Instance.new("StringValue")
  116. Animation92 = Instance.new("Animation")
  117. StringValue93 = Instance.new("StringValue")
  118. Animation94 = Instance.new("Animation")
  119. StringValue95 = Instance.new("StringValue")
  120. Animation96 = Instance.new("Animation")
  121. StringValue97 = Instance.new("StringValue")
  122. Animation98 = Instance.new("Animation")
  123. StringValue99 = Instance.new("StringValue")
  124. Animation100 = Instance.new("Animation")
  125. Sound101 = Instance.new("Sound")
  126. Script102 = Instance.new("Script")
  127. Hat103 = Instance.new("Hat")
  128. Part104 = Instance.new("Part")
  129. SpecialMesh105 = Instance.new("SpecialMesh")
  130. Pants106 = Instance.new("Pants")
  131. Shirt107 = Instance.new("Shirt")
  132. Script108 = Instance.new("Script")
  133. Model0.Name = "Shaggy"
  134. Model0.Parent = mas
  135. Model0.PrimaryPart = Part1
  136. Part1.Name = "Head"
  137. Part1.Parent = Model0
  138. Part1.CFrame = CFrame.new(-59.6656265, 4.50001097, 6.45593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
  139. Part1.Orientation = Vector3.new(0, -90, 0)
  140. Part1.Position = Vector3.new(-59.6656265, 4.50001097, 6.45593214)
  141. Part1.Rotation = Vector3.new(0, -90, 0)
  142. Part1.Color = Color3.new(1, 0.8, 0.6)
  143. Part1.Size = Vector3.new(2, 1, 1)
  144. Part1.BrickColor = BrickColor.new("Pastel brown")
  145. Part1.TopSurface = Enum.SurfaceType.Smooth
  146. Part1.brickColor = BrickColor.new("Pastel brown")
  147. Part1.FormFactor = Enum.FormFactor.Symmetric
  148. Part1.formFactor = Enum.FormFactor.Symmetric
  149. SpecialMesh2.Parent = Part1
  150. SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  151. Decal3.Name = "face"
  152. Decal3.Parent = Part1
  153. Decal3.Texture = "rbxassetid://1096273237"
  154. ParticleEmitter4.Name = "small"
  155. ParticleEmitter4.Parent = Part1
  156. ParticleEmitter4.Speed = NumberRange.new(0.5, 0.5)
  157. ParticleEmitter4.LightEmission = 0.5
  158. ParticleEmitter4.Texture = "rbxassetid://243740013"
  159. ParticleEmitter4.Transparency = NumberSequence.new(0,1)
  160. ParticleEmitter4.ZOffset = 2
  161. ParticleEmitter4.Size = NumberSequence.new(0.0099999997764826,0)
  162. ParticleEmitter4.Lifetime = NumberRange.new(2, 2)
  163. ParticleEmitter4.LockedToPart = true
  164. ParticleEmitter4.Rate = 10
  165. ParticleEmitter4.RotSpeed = NumberRange.new(-100, 100)
  166. ParticleEmitter4.SpreadAngle = Vector2.new(7, 7)
  167. ParticleEmitter4.VelocitySpread = 7
  168. ParticleEmitter5.Name = "aura3"
  169. ParticleEmitter5.Parent = Part1
  170. ParticleEmitter5.Speed = NumberRange.new(0.5, 0.5)
  171. ParticleEmitter5.LightEmission = 0.30000001192093
  172. ParticleEmitter5.LightInfluence = 1
  173. ParticleEmitter5.Texture = "rbxassetid://833874434"
  174. ParticleEmitter5.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  175. ParticleEmitter5.ZOffset = -1
  176. ParticleEmitter5.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
  177. ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
  178. ParticleEmitter5.LockedToPart = true
  179. ParticleEmitter5.Rate = 30
  180. ParticleEmitter5.RotSpeed = NumberRange.new(-100, 100)
  181. ParticleEmitter6.Name = "aura2"
  182. ParticleEmitter6.Parent = Part1
  183. ParticleEmitter6.Speed = NumberRange.new(0.5, 0.5)
  184. ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
  185. ParticleEmitter6.LightEmission = 0.30000001192093
  186. ParticleEmitter6.LightInfluence = 1
  187. ParticleEmitter6.Texture = "rbxassetid://833874434"
  188. ParticleEmitter6.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  189. ParticleEmitter6.ZOffset = -3
  190. ParticleEmitter6.Lifetime = NumberRange.new(1, 1)
  191. ParticleEmitter6.LockedToPart = true
  192. ParticleEmitter6.Rate = 50
  193. ParticleEmitter6.RotSpeed = NumberRange.new(-100, 100)
  194. ParticleEmitter7.Name = "aura"
  195. ParticleEmitter7.Parent = Part1
  196. ParticleEmitter7.Speed = NumberRange.new(0.5, 0.5)
  197. ParticleEmitter7.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
  198. ParticleEmitter7.LightEmission = 0.30000001192093
  199. ParticleEmitter7.LightInfluence = 1
  200. ParticleEmitter7.Texture = "rbxassetid://833874434"
  201. ParticleEmitter7.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  202. ParticleEmitter7.ZOffset = -2
  203. ParticleEmitter7.Lifetime = NumberRange.new(1, 1)
  204. ParticleEmitter7.LockedToPart = true
  205. ParticleEmitter7.Rate = 50
  206. ParticleEmitter7.RotSpeed = NumberRange.new(-100, 100)
  207. Weld8.Name = "HeadWeld"
  208. Weld8.Parent = Part1
  209. Weld8.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  210. Weld8.C1 = CFrame.new(0.119999997, 0.300000012, -0.0700000003, 0.980619192, 0, -0.19592388, 0, 1, 0, 0.19592391, -0, 0.980619073)
  211. Weld8.Part0 = Part1
  212. Weld8.Part1 = Part104
  213. Weld8.part1 = Part104
  214. Part9.Name = "Torso"
  215. Part9.Parent = Model0
  216. Part9.CFrame = CFrame.new(-59.6656265, 3.00001097, 6.45593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
  217. Part9.Orientation = Vector3.new(0, -90, 0)
  218. Part9.Position = Vector3.new(-59.6656265, 3.00001097, 6.45593214)
  219. Part9.Rotation = Vector3.new(0, -90, 0)
  220. Part9.Color = Color3.new(1, 0.8, 0.6)
  221. Part9.Size = Vector3.new(2, 2, 1)
  222. Part9.BrickColor = BrickColor.new("Pastel brown")
  223. Part9.LeftParamA = 0
  224. Part9.LeftParamB = 0
  225. Part9.LeftSurface = Enum.SurfaceType.Weld
  226. Part9.RightParamA = 0
  227. Part9.RightParamB = 0
  228. Part9.RightSurface = Enum.SurfaceType.Weld
  229. Part9.brickColor = BrickColor.new("Pastel brown")
  230. Part9.FormFactor = Enum.FormFactor.Symmetric
  231. Part9.formFactor = Enum.FormFactor.Symmetric
  232. Motor6D10.Name = "Right Shoulder"
  233. Motor6D10.Parent = Part9
  234. Motor6D10.MaxVelocity = 0.10000000149012
  235. Motor6D10.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  236. Motor6D10.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  237. Motor6D10.Part0 = Part9
  238. Motor6D10.Part1 = Part28
  239. Motor6D10.part1 = Part28
  240. Motor6D11.Name = "Left Shoulder"
  241. Motor6D11.Parent = Part9
  242. Motor6D11.MaxVelocity = 0.10000000149012
  243. Motor6D11.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  244. Motor6D11.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  245. Motor6D11.Part0 = Part9
  246. Motor6D11.Part1 = Part23
  247. Motor6D11.part1 = Part23
  248. Motor6D12.Name = "Right Hip"
  249. Motor6D12.Parent = Part9
  250. Motor6D12.MaxVelocity = 0.10000000149012
  251. Motor6D12.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  252. Motor6D12.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  253. Motor6D12.Part0 = Part9
  254. Motor6D12.Part1 = Part38
  255. Motor6D12.part1 = Part38
  256. Motor6D13.Name = "Left Hip"
  257. Motor6D13.Parent = Part9
  258. Motor6D13.MaxVelocity = 0.10000000149012
  259. Motor6D13.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  260. Motor6D13.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  261. Motor6D13.Part0 = Part9
  262. Motor6D13.Part1 = Part33
  263. Motor6D13.part1 = Part33
  264. Motor6D14.Name = "Neck"
  265. Motor6D14.Parent = Part9
  266. Motor6D14.MaxVelocity = 0.10000000149012
  267. Motor6D14.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  268. Motor6D14.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  269. Motor6D14.Part0 = Part9
  270. Motor6D14.Part1 = Part1
  271. Motor6D14.part1 = Part1
  272. BillboardGui15.Name = "Healthbar"
  273. BillboardGui15.Parent = Part9
  274. BillboardGui15.Size = UDim2.new(25, 0, 1, 0)
  275. BillboardGui15.AlwaysOnTop = true
  276. BillboardGui15.StudsOffset = Vector3.new(0, 7.5, 0)
  277. Frame16.Parent = BillboardGui15
  278. Frame16.Size = UDim2.new(1, 0, 1, 0)
  279. Frame16.BackgroundColor = BrickColor.new("Really black")
  280. Frame16.BackgroundColor3 = Color3.new(0, 0, 0)
  281. Frame16.BorderColor = BrickColor.new("Really black")
  282. Frame16.BorderColor3 = Color3.new(0, 0, 0)
  283. Frame17.Name = "Full"
  284. Frame17.Parent = Frame16
  285. Frame17.Size = UDim2.new(1, 0, 1, 0)
  286. Frame17.BackgroundColor = BrickColor.new("Lime green")
  287. Frame17.BackgroundColor3 = Color3.new(0, 0.784314, 0)
  288. Frame17.BorderColor = BrickColor.new("Really black")
  289. Frame17.BorderColor3 = Color3.new(0, 0, 0)
  290. Frame17.BorderSizePixel = 0
  291. Frame18.Name = "Reflec"
  292. Frame18.Parent = Frame17
  293. Frame18.Size = UDim2.new(1, 0, 0.370000005, 0)
  294. Frame18.BackgroundColor = BrickColor.new("Institutional white")
  295. Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
  296. Frame18.BackgroundTransparency = 0.625
  297. Frame18.BorderSizePixel = 0
  298. ParticleEmitter19.Name = "small"
  299. ParticleEmitter19.Parent = Part9
  300. ParticleEmitter19.Speed = NumberRange.new(0.5, 0.5)
  301. ParticleEmitter19.LightEmission = 0.5
  302. ParticleEmitter19.Texture = "rbxassetid://243740013"
  303. ParticleEmitter19.Transparency = NumberSequence.new(0,1)
  304. ParticleEmitter19.ZOffset = 2
  305. ParticleEmitter19.Size = NumberSequence.new(0.0099999997764826,0)
  306. ParticleEmitter19.Lifetime = NumberRange.new(2, 2)
  307. ParticleEmitter19.LockedToPart = true
  308. ParticleEmitter19.Rate = 10
  309. ParticleEmitter19.RotSpeed = NumberRange.new(-100, 100)
  310. ParticleEmitter19.SpreadAngle = Vector2.new(7, 7)
  311. ParticleEmitter19.VelocitySpread = 7
  312. ParticleEmitter20.Name = "aura3"
  313. ParticleEmitter20.Parent = Part9
  314. ParticleEmitter20.Speed = NumberRange.new(0.5, 0.5)
  315. ParticleEmitter20.LightEmission = 0.30000001192093
  316. ParticleEmitter20.LightInfluence = 1
  317. ParticleEmitter20.Texture = "rbxassetid://833874434"
  318. ParticleEmitter20.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  319. ParticleEmitter20.ZOffset = -1
  320. ParticleEmitter20.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
  321. ParticleEmitter20.Lifetime = NumberRange.new(1, 1)
  322. ParticleEmitter20.LockedToPart = true
  323. ParticleEmitter20.Rate = 30
  324. ParticleEmitter20.RotSpeed = NumberRange.new(-100, 100)
  325. ParticleEmitter21.Name = "aura2"
  326. ParticleEmitter21.Parent = Part9
  327. ParticleEmitter21.Speed = NumberRange.new(0.5, 0.5)
  328. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
  329. ParticleEmitter21.LightEmission = 0.30000001192093
  330. ParticleEmitter21.LightInfluence = 1
  331. ParticleEmitter21.Texture = "rbxassetid://833874434"
  332. ParticleEmitter21.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  333. ParticleEmitter21.ZOffset = -3
  334. ParticleEmitter21.Lifetime = NumberRange.new(1, 1)
  335. ParticleEmitter21.LockedToPart = true
  336. ParticleEmitter21.Rate = 50
  337. ParticleEmitter21.RotSpeed = NumberRange.new(-100, 100)
  338. ParticleEmitter22.Name = "aura"
  339. ParticleEmitter22.Parent = Part9
  340. ParticleEmitter22.Speed = NumberRange.new(0.5, 0.5)
  341. ParticleEmitter22.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
  342. ParticleEmitter22.LightEmission = 0.30000001192093
  343. ParticleEmitter22.LightInfluence = 1
  344. ParticleEmitter22.Texture = "rbxassetid://833874434"
  345. ParticleEmitter22.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  346. ParticleEmitter22.ZOffset = -2
  347. ParticleEmitter22.Lifetime = NumberRange.new(1, 1)
  348. ParticleEmitter22.LockedToPart = true
  349. ParticleEmitter22.Rate = 50
  350. ParticleEmitter22.RotSpeed = NumberRange.new(-100, 100)
  351. Part23.Name = "Left Arm"
  352. Part23.Parent = Model0
  353. Part23.CFrame = CFrame.new(-59.6656265, 3.00001097, 4.95593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
  354. Part23.Orientation = Vector3.new(0, -90, 0)
  355. Part23.Position = Vector3.new(-59.6656265, 3.00001097, 4.95593214)
  356. Part23.Rotation = Vector3.new(0, -90, 0)
  357. Part23.Color = Color3.new(1, 0.8, 0.6)
  358. Part23.Size = Vector3.new(1, 2, 1)
  359. Part23.BrickColor = BrickColor.new("Pastel brown")
  360. Part23.CanCollide = false
  361. Part23.brickColor = BrickColor.new("Pastel brown")
  362. Part23.FormFactor = Enum.FormFactor.Symmetric
  363. Part23.formFactor = Enum.FormFactor.Symmetric
  364. ParticleEmitter24.Name = "small"
  365. ParticleEmitter24.Parent = Part23
  366. ParticleEmitter24.Speed = NumberRange.new(0.5, 0.5)
  367. ParticleEmitter24.LightEmission = 0.5
  368. ParticleEmitter24.Texture = "rbxassetid://243740013"
  369. ParticleEmitter24.Transparency = NumberSequence.new(0,1)
  370. ParticleEmitter24.ZOffset = 2
  371. ParticleEmitter24.Size = NumberSequence.new(0.0099999997764826,0)
  372. ParticleEmitter24.Lifetime = NumberRange.new(2, 2)
  373. ParticleEmitter24.LockedToPart = true
  374. ParticleEmitter24.Rate = 10
  375. ParticleEmitter24.RotSpeed = NumberRange.new(-100, 100)
  376. ParticleEmitter24.SpreadAngle = Vector2.new(7, 7)
  377. ParticleEmitter24.VelocitySpread = 7
  378. ParticleEmitter25.Name = "aura3"
  379. ParticleEmitter25.Parent = Part23
  380. ParticleEmitter25.Speed = NumberRange.new(0.5, 0.5)
  381. ParticleEmitter25.LightEmission = 0.30000001192093
  382. ParticleEmitter25.LightInfluence = 1
  383. ParticleEmitter25.Texture = "rbxassetid://833874434"
  384. ParticleEmitter25.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  385. ParticleEmitter25.ZOffset = -1
  386. ParticleEmitter25.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
  387. ParticleEmitter25.Lifetime = NumberRange.new(1, 1)
  388. ParticleEmitter25.LockedToPart = true
  389. ParticleEmitter25.Rate = 30
  390. ParticleEmitter25.RotSpeed = NumberRange.new(-100, 100)
  391. ParticleEmitter26.Name = "aura2"
  392. ParticleEmitter26.Parent = Part23
  393. ParticleEmitter26.Speed = NumberRange.new(0.5, 0.5)
  394. ParticleEmitter26.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
  395. ParticleEmitter26.LightEmission = 0.30000001192093
  396. ParticleEmitter26.LightInfluence = 1
  397. ParticleEmitter26.Texture = "rbxassetid://833874434"
  398. ParticleEmitter26.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  399. ParticleEmitter26.ZOffset = -3
  400. ParticleEmitter26.Lifetime = NumberRange.new(1, 1)
  401. ParticleEmitter26.LockedToPart = true
  402. ParticleEmitter26.Rate = 50
  403. ParticleEmitter26.RotSpeed = NumberRange.new(-100, 100)
  404. ParticleEmitter27.Name = "aura"
  405. ParticleEmitter27.Parent = Part23
  406. ParticleEmitter27.Speed = NumberRange.new(0.5, 0.5)
  407. ParticleEmitter27.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
  408. ParticleEmitter27.LightEmission = 0.30000001192093
  409. ParticleEmitter27.LightInfluence = 1
  410. ParticleEmitter27.Texture = "rbxassetid://833874434"
  411. ParticleEmitter27.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  412. ParticleEmitter27.ZOffset = -2
  413. ParticleEmitter27.Lifetime = NumberRange.new(1, 1)
  414. ParticleEmitter27.LockedToPart = true
  415. ParticleEmitter27.Rate = 50
  416. ParticleEmitter27.RotSpeed = NumberRange.new(-100, 100)
  417. Part28.Name = "Right Arm"
  418. Part28.Parent = Model0
  419. Part28.CFrame = CFrame.new(-59.6656265, 3.00001097, 7.95593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
  420. Part28.Orientation = Vector3.new(0, -90, 0)
  421. Part28.Position = Vector3.new(-59.6656265, 3.00001097, 7.95593214)
  422. Part28.Rotation = Vector3.new(0, -90, 0)
  423. Part28.Color = Color3.new(1, 0.8, 0.6)
  424. Part28.Size = Vector3.new(1, 2, 1)
  425. Part28.BrickColor = BrickColor.new("Pastel brown")
  426. Part28.CanCollide = false
  427. Part28.brickColor = BrickColor.new("Pastel brown")
  428. Part28.FormFactor = Enum.FormFactor.Symmetric
  429. Part28.formFactor = Enum.FormFactor.Symmetric
  430. ParticleEmitter29.Name = "small"
  431. ParticleEmitter29.Parent = Part28
  432. ParticleEmitter29.Speed = NumberRange.new(0.5, 0.5)
  433. ParticleEmitter29.LightEmission = 0.5
  434. ParticleEmitter29.Texture = "rbxassetid://243740013"
  435. ParticleEmitter29.Transparency = NumberSequence.new(0,1)
  436. ParticleEmitter29.ZOffset = 2
  437. ParticleEmitter29.Size = NumberSequence.new(0.0099999997764826,0)
  438. ParticleEmitter29.Lifetime = NumberRange.new(2, 2)
  439. ParticleEmitter29.LockedToPart = true
  440. ParticleEmitter29.Rate = 10
  441. ParticleEmitter29.RotSpeed = NumberRange.new(-100, 100)
  442. ParticleEmitter29.SpreadAngle = Vector2.new(7, 7)
  443. ParticleEmitter29.VelocitySpread = 7
  444. ParticleEmitter30.Name = "aura3"
  445. ParticleEmitter30.Parent = Part28
  446. ParticleEmitter30.Speed = NumberRange.new(0.5, 0.5)
  447. ParticleEmitter30.LightEmission = 0.30000001192093
  448. ParticleEmitter30.LightInfluence = 1
  449. ParticleEmitter30.Texture = "rbxassetid://833874434"
  450. ParticleEmitter30.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  451. ParticleEmitter30.ZOffset = -1
  452. ParticleEmitter30.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
  453. ParticleEmitter30.Lifetime = NumberRange.new(1, 1)
  454. ParticleEmitter30.LockedToPart = true
  455. ParticleEmitter30.Rate = 30
  456. ParticleEmitter30.RotSpeed = NumberRange.new(-100, 100)
  457. ParticleEmitter31.Name = "aura2"
  458. ParticleEmitter31.Parent = Part28
  459. ParticleEmitter31.Speed = NumberRange.new(0.5, 0.5)
  460. ParticleEmitter31.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
  461. ParticleEmitter31.LightEmission = 0.30000001192093
  462. ParticleEmitter31.LightInfluence = 1
  463. ParticleEmitter31.Texture = "rbxassetid://833874434"
  464. ParticleEmitter31.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  465. ParticleEmitter31.ZOffset = -3
  466. ParticleEmitter31.Lifetime = NumberRange.new(1, 1)
  467. ParticleEmitter31.LockedToPart = true
  468. ParticleEmitter31.Rate = 50
  469. ParticleEmitter31.RotSpeed = NumberRange.new(-100, 100)
  470. ParticleEmitter32.Name = "aura"
  471. ParticleEmitter32.Parent = Part28
  472. ParticleEmitter32.Speed = NumberRange.new(0.5, 0.5)
  473. ParticleEmitter32.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
  474. ParticleEmitter32.LightEmission = 0.30000001192093
  475. ParticleEmitter32.LightInfluence = 1
  476. ParticleEmitter32.Texture = "rbxassetid://833874434"
  477. ParticleEmitter32.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  478. ParticleEmitter32.ZOffset = -2
  479. ParticleEmitter32.Lifetime = NumberRange.new(1, 1)
  480. ParticleEmitter32.LockedToPart = true
  481. ParticleEmitter32.Rate = 50
  482. ParticleEmitter32.RotSpeed = NumberRange.new(-100, 100)
  483. Part33.Name = "Left Leg"
  484. Part33.Parent = Model0
  485. Part33.CFrame = CFrame.new(-59.6656265, 1.00001097, 5.95593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
  486. Part33.Orientation = Vector3.new(0, -90, 0)
  487. Part33.Position = Vector3.new(-59.6656265, 1.00001097, 5.95593214)
  488. Part33.Rotation = Vector3.new(0, -90, 0)
  489. Part33.Color = Color3.new(1, 0.8, 0.6)
  490. Part33.Size = Vector3.new(1, 2, 1)
  491. Part33.BottomSurface = Enum.SurfaceType.Smooth
  492. Part33.BrickColor = BrickColor.new("Pastel brown")
  493. Part33.CanCollide = false
  494. Part33.brickColor = BrickColor.new("Pastel brown")
  495. Part33.FormFactor = Enum.FormFactor.Symmetric
  496. Part33.formFactor = Enum.FormFactor.Symmetric
  497. ParticleEmitter34.Name = "small"
  498. ParticleEmitter34.Parent = Part33
  499. ParticleEmitter34.Speed = NumberRange.new(0.5, 0.5)
  500. ParticleEmitter34.LightEmission = 0.5
  501. ParticleEmitter34.Texture = "rbxassetid://243740013"
  502. ParticleEmitter34.Transparency = NumberSequence.new(0,1)
  503. ParticleEmitter34.ZOffset = 2
  504. ParticleEmitter34.Size = NumberSequence.new(0.0099999997764826,0)
  505. ParticleEmitter34.Lifetime = NumberRange.new(2, 2)
  506. ParticleEmitter34.LockedToPart = true
  507. ParticleEmitter34.Rate = 10
  508. ParticleEmitter34.RotSpeed = NumberRange.new(-100, 100)
  509. ParticleEmitter34.SpreadAngle = Vector2.new(7, 7)
  510. ParticleEmitter34.VelocitySpread = 7
  511. ParticleEmitter35.Name = "aura3"
  512. ParticleEmitter35.Parent = Part33
  513. ParticleEmitter35.Speed = NumberRange.new(0.5, 0.5)
  514. ParticleEmitter35.LightEmission = 0.30000001192093
  515. ParticleEmitter35.LightInfluence = 1
  516. ParticleEmitter35.Texture = "rbxassetid://833874434"
  517. ParticleEmitter35.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  518. ParticleEmitter35.ZOffset = -1
  519. ParticleEmitter35.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
  520. ParticleEmitter35.Lifetime = NumberRange.new(1, 1)
  521. ParticleEmitter35.LockedToPart = true
  522. ParticleEmitter35.Rate = 30
  523. ParticleEmitter35.RotSpeed = NumberRange.new(-100, 100)
  524. ParticleEmitter36.Name = "aura2"
  525. ParticleEmitter36.Parent = Part33
  526. ParticleEmitter36.Speed = NumberRange.new(0.5, 0.5)
  527. ParticleEmitter36.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
  528. ParticleEmitter36.LightEmission = 0.30000001192093
  529. ParticleEmitter36.LightInfluence = 1
  530. ParticleEmitter36.Texture = "rbxassetid://833874434"
  531. ParticleEmitter36.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  532. ParticleEmitter36.ZOffset = -3
  533. ParticleEmitter36.Lifetime = NumberRange.new(1, 1)
  534. ParticleEmitter36.LockedToPart = true
  535. ParticleEmitter36.Rate = 50
  536. ParticleEmitter36.RotSpeed = NumberRange.new(-100, 100)
  537. ParticleEmitter37.Name = "aura"
  538. ParticleEmitter37.Parent = Part33
  539. ParticleEmitter37.Speed = NumberRange.new(0.5, 0.5)
  540. ParticleEmitter37.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
  541. ParticleEmitter37.LightEmission = 0.30000001192093
  542. ParticleEmitter37.LightInfluence = 1
  543. ParticleEmitter37.Texture = "rbxassetid://833874434"
  544. ParticleEmitter37.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  545. ParticleEmitter37.ZOffset = -2
  546. ParticleEmitter37.Lifetime = NumberRange.new(1, 1)
  547. ParticleEmitter37.LockedToPart = true
  548. ParticleEmitter37.Rate = 50
  549. ParticleEmitter37.RotSpeed = NumberRange.new(-100, 100)
  550. Part38.Name = "Right Leg"
  551. Part38.Parent = Model0
  552. Part38.CFrame = CFrame.new(-59.6656265, 1.00001097, 6.95593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
  553. Part38.Orientation = Vector3.new(0, -90, 0)
  554. Part38.Position = Vector3.new(-59.6656265, 1.00001097, 6.95593214)
  555. Part38.Rotation = Vector3.new(0, -90, 0)
  556. Part38.Color = Color3.new(1, 0.8, 0.6)
  557. Part38.Size = Vector3.new(1, 2, 1)
  558. Part38.BottomSurface = Enum.SurfaceType.Smooth
  559. Part38.BrickColor = BrickColor.new("Pastel brown")
  560. Part38.CanCollide = false
  561. Part38.brickColor = BrickColor.new("Pastel brown")
  562. Part38.FormFactor = Enum.FormFactor.Symmetric
  563. Part38.formFactor = Enum.FormFactor.Symmetric
  564. ParticleEmitter39.Name = "small"
  565. ParticleEmitter39.Parent = Part38
  566. ParticleEmitter39.Speed = NumberRange.new(0.5, 0.5)
  567. ParticleEmitter39.LightEmission = 0.5
  568. ParticleEmitter39.Texture = "rbxassetid://243740013"
  569. ParticleEmitter39.Transparency = NumberSequence.new(0,1)
  570. ParticleEmitter39.ZOffset = 2
  571. ParticleEmitter39.Size = NumberSequence.new(0.0099999997764826,0)
  572. ParticleEmitter39.Lifetime = NumberRange.new(2, 2)
  573. ParticleEmitter39.LockedToPart = true
  574. ParticleEmitter39.Rate = 10
  575. ParticleEmitter39.RotSpeed = NumberRange.new(-100, 100)
  576. ParticleEmitter39.SpreadAngle = Vector2.new(7, 7)
  577. ParticleEmitter39.VelocitySpread = 7
  578. ParticleEmitter40.Name = "aura3"
  579. ParticleEmitter40.Parent = Part38
  580. ParticleEmitter40.Speed = NumberRange.new(0.5, 0.5)
  581. ParticleEmitter40.LightEmission = 0.30000001192093
  582. ParticleEmitter40.LightInfluence = 1
  583. ParticleEmitter40.Texture = "rbxassetid://833874434"
  584. ParticleEmitter40.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  585. ParticleEmitter40.ZOffset = -1
  586. ParticleEmitter40.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
  587. ParticleEmitter40.Lifetime = NumberRange.new(1, 1)
  588. ParticleEmitter40.LockedToPart = true
  589. ParticleEmitter40.Rate = 30
  590. ParticleEmitter40.RotSpeed = NumberRange.new(-100, 100)
  591. ParticleEmitter41.Name = "aura2"
  592. ParticleEmitter41.Parent = Part38
  593. ParticleEmitter41.Speed = NumberRange.new(0.5, 0.5)
  594. ParticleEmitter41.Color = ColorSequence.new(Color3.new(0.333333, 0, 1),Color3.new(0.333333, 0, 1))
  595. ParticleEmitter41.LightEmission = 0.30000001192093
  596. ParticleEmitter41.LightInfluence = 1
  597. ParticleEmitter41.Texture = "rbxassetid://833874434"
  598. ParticleEmitter41.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  599. ParticleEmitter41.ZOffset = -3
  600. ParticleEmitter41.Lifetime = NumberRange.new(1, 1)
  601. ParticleEmitter41.LockedToPart = true
  602. ParticleEmitter41.Rate = 50
  603. ParticleEmitter41.RotSpeed = NumberRange.new(-100, 100)
  604. ParticleEmitter42.Name = "aura"
  605. ParticleEmitter42.Parent = Part38
  606. ParticleEmitter42.Speed = NumberRange.new(0.5, 0.5)
  607. ParticleEmitter42.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(0, 0.666667, 1))
  608. ParticleEmitter42.LightEmission = 0.30000001192093
  609. ParticleEmitter42.LightInfluence = 1
  610. ParticleEmitter42.Texture = "rbxassetid://833874434"
  611. ParticleEmitter42.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  612. ParticleEmitter42.ZOffset = -2
  613. ParticleEmitter42.Lifetime = NumberRange.new(1, 1)
  614. ParticleEmitter42.LockedToPart = true
  615. ParticleEmitter42.Rate = 50
  616. ParticleEmitter42.RotSpeed = NumberRange.new(-100, 100)
  617. Humanoid43.Parent = Model0
  618. Humanoid43.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  619. Humanoid43.Health = 1337
  620. Humanoid43.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOn
  621. Humanoid43.LeftLeg = Part33
  622. Humanoid43.MaxHealth = 1337
  623. Humanoid43.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  624. Humanoid43.RightLeg = Part38
  625. Humanoid43.Torso = Part44
  626. Humanoid43.WalkSpeed = 10
  627. Humanoid43.maxHealth = 1337
  628. Part44.Name = "HumanoidRootPart"
  629. Part44.Parent = Model0
  630. Part44.CFrame = CFrame.new(-59.6656265, 3.00001097, 6.45593214, 0, 0, -1, 1.61394169e-35, 1, 0, 1, 1.61394169e-35, 0)
  631. Part44.Orientation = Vector3.new(0, -90, 0)
  632. Part44.Position = Vector3.new(-59.6656265, 3.00001097, 6.45593214)
  633. Part44.Rotation = Vector3.new(0, -90, 0)
  634. Part44.Color = Color3.new(0.905882, 0.905882, 0.92549)
  635. Part44.Transparency = 1
  636. Part44.Size = Vector3.new(2, 2, 1)
  637. Part44.BottomSurface = Enum.SurfaceType.Smooth
  638. Part44.BrickColor = BrickColor.new("Pearl")
  639. Part44.CanCollide = false
  640. Part44.LeftParamA = 0
  641. Part44.LeftParamB = 0
  642. Part44.RightParamA = 0
  643. Part44.RightParamB = 0
  644. Part44.TopSurface = Enum.SurfaceType.Smooth
  645. Part44.brickColor = BrickColor.new("Pearl")
  646. Part44.FormFactor = Enum.FormFactor.Symmetric
  647. Part44.formFactor = Enum.FormFactor.Symmetric
  648. Motor6D45.Name = "RootJoint"
  649. Motor6D45.Parent = Part44
  650. Motor6D45.MaxVelocity = 0.10000000149012
  651. Motor6D45.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  652. Motor6D45.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  653. Motor6D45.Part0 = Part44
  654. Motor6D45.Part1 = Part9
  655. Motor6D45.part1 = Part9
  656. BoolValue46.Name = "canAttack"
  657. BoolValue46.Parent = Model0
  658. Configuration47.Name = "Pack"
  659. Configuration47.Parent = Model0
  660. Script48.Name = "Sound"
  661. Script48.Parent = Model0
  662. table.insert(cors,sandbox(Script48,function()
  663. -- util
  664.  
  665. function waitForChild(parent, childName)
  666. local child = parent:findFirstChild(childName)
  667. if child then return child end
  668. while true do
  669. child = parent.ChildAdded:wait()
  670. if child.Name==childName then return child end
  671. end
  672. end
  673.  
  674. function newSound(id)
  675. local sound = Instance.new("Sound")
  676. sound.SoundId = id
  677. sound.archivable = false
  678. sound.Parent = script.Parent.Head
  679. return sound
  680. end
  681.  
  682. -- declarations
  683.  
  684. local sFallingDown = newSound("rbxasset://sounds/splat.wav")
  685. local sGettingUp = newSound("rbxasset://sounds/action_get_up.mp3")
  686. local sDied = newSound("rbxasset://sounds/uuhhh.mp3")
  687. local sFreeFalling = newSound("rbxasset://sounds/action_falling.mp3")
  688. local sJumping = newSound("rbxasset://sounds/action_jump.mp3")
  689. local sLanding = newSound("rbxasset://sounds/action_jump_land.mp3")
  690. local sSplash = newSound("rbxasset://sounds/impact_water.mp3")
  691. local sRunning = newSound("rbxasset://sounds/action_footsteps_plastic.mp3")
  692. sRunning.Looped = true
  693. local sSwimming = newSound("rbxasset://sounds/action_swim.mp3")
  694. sSwimming.Looped = true
  695. local sClimbing = newSound("rbxasset://sounds/action_footsteps_plastic.mp3")
  696. sClimbing.Looped = true
  697.  
  698. local Figure = script.Parent
  699. local Head = waitForChild(Figure, "Head")
  700. local Humanoid = waitForChild(Figure, "Humanoid")
  701.  
  702. local prevState = "None"
  703.  
  704. -- functions
  705.  
  706. function onDied()
  707. stopLoopedSounds()
  708. sDied:Play()
  709. end
  710.  
  711. local fallCount = 0
  712. local fallSpeed = 0
  713. function onStateFall(state, sound)
  714. fallCount = fallCount + 1
  715. if state then
  716. sound.Volume = 0
  717. sound:Play()
  718. Spawn( function()
  719. local t = 0
  720. local thisFall = fallCount
  721. while t < 1.5 and fallCount == thisFall do
  722. local vol = math.max(t - 0.3 , 0)
  723. sound.Volume = vol
  724. wait(0.1)
  725. t = t + 0.1
  726. end
  727. end)
  728. else
  729. sound:Stop()
  730. end
  731. fallSpeed = math.max(fallSpeed, math.abs(Head.Velocity.Y))
  732. end
  733.  
  734.  
  735. function onStateNoStop(state, sound)
  736. if state then
  737. sound:Play()
  738. end
  739. end
  740.  
  741.  
  742. function onRunning(speed)
  743. sClimbing:Stop()
  744. sSwimming:Stop()
  745. if (prevState == "FreeFall" and fallSpeed > 0.1) then
  746. local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110))
  747. sLanding.Volume = vol
  748. sLanding:Play()
  749. fallSpeed = 0
  750. end
  751. if speed>0.5 then
  752. sRunning:Play()
  753. sRunning.Pitch = 1.6
  754. else
  755. sRunning:Stop()
  756. end
  757. prevState = "Run"
  758. end
  759.  
  760. function onSwimming(speed)
  761. if (prevState ~= "Swim" and speed > 0.1) then
  762. local volume = math.min(1.0, speed / 350)
  763. sSplash.Volume = volume
  764. sSplash:Play()
  765. prevState = "Swim"
  766. end
  767. sClimbing:Stop()
  768. sRunning:Stop()
  769. sSwimming.Pitch = 1.6
  770. sSwimming:Play()
  771. end
  772.  
  773. function onClimbing(speed)
  774. sRunning:Stop()
  775. sSwimming:Stop()
  776. if speed>0.01 then
  777. sClimbing:Play()
  778. sClimbing.Pitch = speed / 5.5
  779. else
  780. sClimbing:Stop()
  781. end
  782. prevState = "Climb"
  783. end
  784. -- connect up
  785.  
  786. function stopLoopedSounds()
  787. sRunning:Stop()
  788. sClimbing:Stop()
  789. sSwimming:Stop()
  790. end
  791.  
  792. Humanoid.Died:connect(onDied)
  793. Humanoid.Running:connect(onRunning)
  794. Humanoid.Swimming:connect(onSwimming)
  795. Humanoid.Climbing:connect(onClimbing)
  796. Humanoid.Jumping:connect(function(state) onStateNoStop(state, sJumping) prevState = "Jump" end)
  797. Humanoid.GettingUp:connect(function(state) stopLoopedSounds() onStateNoStop(state, sGettingUp) prevState = "GetUp" end)
  798. Humanoid.FreeFalling:connect(function(state) stopLoopedSounds() onStateFall(state, sFreeFalling) prevState = "FreeFall" end)
  799. Humanoid.FallingDown:connect(function(state) stopLoopedSounds() onStateNoStop(state, sFallingDown) prevState = "Falling" end)
  800. Humanoid.StateChanged:connect(function(old, new)
  801. if not (new.Name == "Dead" or
  802. new.Name == "Running" or
  803. new.Name == "RunningNoPhysics" or
  804. new.Name == "Swimming" or
  805. new.Name == "Jumping" or
  806. new.Name == "GettingUp" or
  807. new.Name == "Freefall" or
  808. new.Name == "FallingDown") then
  809. stopLoopedSounds()
  810. end
  811. end)
  812.  
  813. end))
  814. Script49.Name = "Deity"
  815. Script49.Parent = Model0
  816. table.insert(cors,sandbox(Script49,function()
  817. me=script.Parent
  818. Torso=me.Torso
  819. Humanoid=me.Humanoid
  820.  
  821. wait()
  822. for _,v in pairs(script:children()) do
  823. if v.className=="Sound" then
  824. v:Stop()
  825. end
  826. end
  827. Charge,Maximum,ChargeAnims,Charging,OverE,EColor,EColor2=0,5000,{},false,0,"White","Black"
  828. CUR=1
  829. Abilities={}
  830. DCCOLS={BrickColor.new(EColor)}
  831. Contact = false
  832. Corrupt = false
  833. CanAnim=true
  834. DCCO1=function(Torso,ti)
  835. for i=1, ti do
  836. if Torso.Parent==nil then
  837. return
  838. end
  839. p=Instance.new("Part")
  840. p.Name="BlastRing"
  841. p.TopSurface=0
  842. p.BottomSurface=0
  843. p.CanCollide=false
  844. p.Anchored=true
  845. p.BrickColor=BrickColor.new(EColor2)
  846. p.Size=Vector3.new(1,1,1)
  847. p.CFrame=Torso.CFrame*CFrame.new(0,4,0)*CFrame.fromEulerAnglesXYZ(math.pi,0,0)
  848. p.Parent=workspace
  849. script.BlastMesh:clone().Parent=p
  850. coroutine.resume(coroutine.create(function(par) for lol=1, 9 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,.7,1) par.Transparency=lol*.1 par.CFrame=par.CFrame*CFrame.new(0,.3,0) wait() end par.Parent=nil end),p)
  851. wait(.05)
  852. end
  853. end
  854. DCCO2=function(Torso,ti)
  855. for o=1, ti do
  856. if Torso.Parent==nil then
  857. return
  858. end
  859. p2=Instance.new("Part")
  860. p2.Name="Blast"
  861. p2.TopSurface=0
  862. p2.BottomSurface=0
  863. p2.CanCollide=false
  864. p2.Anchored=true
  865. p2.BrickColor=BrickColor.new(EColor)
  866. p2.Size=Vector3.new(10,10,10)
  867. p2.formFactor="Symmetric"
  868. p2.CFrame=Torso.CFrame*CFrame.new(0,.25,0)
  869. p2.Parent=workspace
  870. m=Instance.new("BlockMesh")
  871. m.Parent=p2
  872. m.Name="BlastMesh"
  873. coroutine.resume(coroutine.create(function(part) for loll=1, 9 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll*.1 part.CFrame=part.CFrame*CFrame.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2)
  874. wait(.025)
  875. end
  876. end
  877. DCCO3=function(Torso,ti)
  878. for o=1, ti do
  879. if Torso.Parent==nil then
  880. return
  881. end
  882. p2=Instance.new("Part")
  883. p2.Name="Blast"
  884. p2.TopSurface=0
  885. p2.BottomSurface=0
  886. p2.CanCollide=false
  887. p2.Anchored=true
  888. p2.BrickColor=BrickColor.new(EColor)
  889. p2.Size=Vector3.new(3,3,3)
  890. p2.formFactor="Symmetric"
  891. p2.CFrame=Torso.CFrame*CFrame.new(0,.25,0)
  892. p2.Parent=workspace
  893. m=Instance.new("BlockMesh")
  894. m.Parent=p2
  895. m.Name="BlastMesh"
  896. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  897. wait(.025)
  898. end
  899. end
  900.  
  901. ----Corrupt State Area--------------------------------------------------------------------------------------------------------
  902. ----Corrupt State Area--------------------------------------------------------------------------------------------------------
  903. ----Corrupt State Area--------------------------------------------------------------------------------------------------------
  904.  
  905. --this replaces Overcharging.
  906. --it still owns everyone around you in one shot (breaking them).
  907.  
  908. LimitBreak=function(part)
  909. e=Instance.new("Part")
  910. e.TopSurface=0
  911. e.BottomSurface=0
  912. e.Anchored=true
  913. e.CanCollide=false
  914. e.formFactor="Plate"
  915. e.Size=Vector3.new(1,.4,1)
  916. e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  917. e.Name="Effect"
  918. e.BrickColor=BrickColor.new(EColor2)
  919. r=script.RingMesh:clone()
  920. r.Parent=e
  921. e.Parent=Torso.Parent
  922. coroutine.resume(coroutine.create(function(mesh) for l=1, 20 do r.Parent.Transparency=l/20 r.Scale=r.Scale+Vector3.new(25/l,25/l,.02) wait() end r.Parent.Parent=nil end),r)
  923. PWN={}
  924. for _,v in pairs(workspace:children()) do
  925. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  926. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  927. if v~=me and (v.Torso.Position-me.Torso.Position).magnitude<=40 then
  928. table.insert(PWN,v.Torso)
  929. end
  930. end
  931. end
  932. end
  933. wait(.45)
  934. for _,l in pairs(PWN) do
  935. v=Instance.new("BodyVelocity")
  936. v.P=3000
  937. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  938. v.velocity=(l.Position-me.Torso.Position).unit*30+Vector3.new(0,50,0)
  939. v.Parent=l
  940. local ra=Instance.new("BodyAngularVelocity")
  941. ra.P=3000
  942. ra.maxTorque=Vector3.new(5000,5000,5000)*50000
  943. ra.angularvelocity=Vector3.new(math.random(-20,20),math.random(-30,30),math.random(-20,20))
  944. ra.Parent=l
  945. game:GetService("Debris"):AddItem(v,.2)
  946. game:GetService("Debris"):AddItem(ra,.2)
  947. end
  948. wait(.25)
  949. for _,v in pairs(PWN) do
  950. coroutine.resume(coroutine.create(Break),v)
  951. end
  952. end
  953.  
  954. doStartup=function(mouse)
  955. local anim=Humanoid:LoadAnimation(script.darkcorruptstartanim1)
  956. anim:Play()
  957. wait(.25)
  958. for darkowns=1, 17 do
  959. p=Instance.new("Part")
  960. p.TopSurface=0
  961. p.BottomSurface=0
  962. p.Anchored=true
  963. p.CanCollide=false
  964. p.BrickColor=BrickColor.new(EColor2)
  965. p.Size=Vector3.new(1,1,1)
  966. p.formFactor="Symmetric"
  967. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  968. p.Parent=me
  969. Instance.new("BlockMesh").Parent=p
  970. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
  971. wait(.05)
  972. end
  973. coroutine.resume(coroutine.create(LimitBreak),Torso)
  974. Corrupt=true
  975. pt=Instance.new("BodyPosition")
  976. pt.P=5000
  977. pt.D=700
  978. pt.maxForce=Vector3.new(0,math.huge,0)
  979. pt.position=Torso.Position+Vector3.new(0,4,0)
  980. pt.Parent=Torso
  981. wait(1.2)
  982. local CurElapsed=0
  983. CurrentHealth=Humanoid.Health
  984. LastHealth=CurrentHealth
  985. local CANIM="idle"
  986. anim:Stop()
  987. anim:Remove()
  988. local animloaded=Humanoid:LoadAnimation(script.darkcorruptidleanim)
  989. animloaded:Play()
  990. local humanoidFunction=Humanoid.Changed:connect(function(Change)
  991. if Change=="Health" then
  992. local Dif=LastHealth-Humanoid.Health
  993. if Dif>0 then
  994. Humanoid.Health=Humanoid.Health+Dif/2
  995. print("DAMAGE HALVED.")
  996. else
  997. Humanoid.Health=LastHealth
  998. print("NOHEALING")
  999. end
  1000. CurrentHealth=Humanoid.Health
  1001. LastHealth=CurrentHealth
  1002. end
  1003. end)
  1004. local Tilt=Instance.new("BodyGyro")
  1005. Tilt.P=80000
  1006. Tilt.D=3000
  1007. Tilt.maxTorque=Vector3.new(500000000000000000000000,500000000000000000000000,500000000000000000000000)*50000
  1008. Tilt.cframe=Torso.CFrame
  1009. Tilt.Parent=Torso
  1010. local Cam=workspace.CurrentCamera
  1011. vPush=Instance.new("BodyVelocity")
  1012. vPush.P=3000
  1013. vPush.maxForce=Vector3.new(math.huge,0,math.huge)
  1014. vPush.velocity=Vector3.new(0,0,0)
  1015. vPush.Parent=Torso
  1016. coroutine.resume(coroutine.create(function()
  1017. while Corrupt==true do
  1018. wait(.085)
  1019. if vPush.P>0 then
  1020. p=Instance.new("Part")
  1021. p.Name="BlastRing"
  1022. p.TopSurface=0
  1023. p.BottomSurface=0
  1024. p.CanCollide=false
  1025. p.Anchored=true
  1026. p.BrickColor=BrickColor.new(EColor2)
  1027. p.Size=Vector3.new(1,1,1)
  1028. p.CFrame=CFrame.new(Torso.Position)-Vector3.new(0,6,0)
  1029. p.Parent=workspace
  1030. script.BlastMesh:clone().Parent=p
  1031. p.BlastMesh.Scale=Vector3.new(2,1,2)
  1032. coroutine.resume(coroutine.create(function(par,int) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.2+int/5,int/5,.2+int/5) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/20*lol,0) wait() end par.Parent=nil end),p,.5)
  1033. p=Instance.new("Part")
  1034. p.TopSurface=0
  1035. p.BottomSurface=0
  1036. p.Anchored=true
  1037. p.CanCollide=false
  1038. p.BrickColor=BrickColor.new(EColor2)
  1039. p.Size=Vector3.new(1,1,1)
  1040. p.formFactor="Symmetric"
  1041. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)
  1042. p.Parent=me
  1043. Instance.new("BlockMesh").Parent=p
  1044. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,Charge/160)
  1045. p=Instance.new("Part")
  1046. p.TopSurface=0
  1047. p.BottomSurface=0
  1048. p.Anchored=true
  1049. p.CanCollide=false
  1050. p.BrickColor=BrickColor.new(EColor2)
  1051. p.Size=Vector3.new(1,1,1)
  1052. p.formFactor="Symmetric"
  1053. p.CFrame=me["Left Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)
  1054. p.Parent=me
  1055. Instance.new("BlockMesh").Parent=p
  1056. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,Charge/160)
  1057. end
  1058. end
  1059. end))
  1060. while Charge>0 do
  1061. Vel=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
  1062. local Vell=(Vel-Vector3.new(0,0,0)).magnitude
  1063. if CanAnim==true then
  1064. if Vell>=10 and Vell<120 then
  1065. if toload~="move" then
  1066. toload="move"
  1067. animloaded:Stop()
  1068. animloaded:Remove()
  1069. animloaded=Humanoid:LoadAnimation(script.darkcorruptmoveanim)
  1070. animloaded:Play()
  1071. Tilt.Parent=Torso
  1072. vPush.P=3000
  1073. pt.maxForce=Vector3.new(0,math.huge,0)
  1074. vPush.Parent=Torso
  1075. Tilt.maxTorque=Vector3.new(500000000000000000000000,500000000000000000000000,500000000000000000000000)*50000
  1076. end
  1077. else
  1078. if toload~="idle" then
  1079. toload="idle"
  1080. animloaded:Stop()
  1081. animloaded:Remove()
  1082. animloaded=Humanoid:LoadAnimation(script.darkcorruptidleanim)
  1083. animloaded:Play()
  1084. Tilt.Parent=Torso
  1085. vPush.P=3000
  1086. pt.maxForce=Vector3.new(0,math.huge,0)
  1087. vPush.Parent=Torso
  1088. Tilt.maxTorque=Vector3.new(500000000000000000000000,500000000000000000000000,500000000000000000000000)*50000
  1089. end
  1090. end
  1091. else
  1092. toload="nil"
  1093. animloaded:Stop()
  1094. animloaded:Remove()
  1095. Tilt.cframe=CFrame.new(Torso.Position,Torso.Position+Vector3.new(Torso.CFrame.lookVector.x,0,Torso.CFrame.lookVector.z))
  1096. print(">_>")
  1097. vPush.P=0
  1098. vPush.Parent=nil
  1099. pt.maxForce=Vector3.new(0,0,0)
  1100. wait(.5)
  1101. end
  1102. local look=Cam.CoordinateFrame
  1103. Tilt.cframe=look
  1104. local mmmm=Vector3.new(Torso.CFrame.lookVector.x,0,Torso.CFrame.lookVector.z)
  1105. local intt=((mouse.ViewSizeY-mouse.Y)/10+.5)/170
  1106. --CFrame.new(Torso.Position,Torso.Position+mmmm*30)*CFrame.fromEulerAnglesXYZ(-math.pi/10,0,0)
  1107. if toload=="idle" then
  1108. Tilt.cframe=Tilt.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/14 - intt,0,0)
  1109. else
  1110. Tilt.cframe=Tilt.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/6 - intt,0,0)
  1111. end
  1112. local vii=Torso.CFrame.lookVector*((mouse.ViewSizeY-mouse.Y)/5-20)
  1113. vPush.velocity=Vector3.new(vii.x*1.3,0,vii.z*1.3)
  1114. wait()
  1115. end
  1116. animloaded:Stop()
  1117. animloaded:Remove()
  1118. humanoidFunction:disconnect()
  1119. anim=Humanoid:LoadAnimation(script.darkcorruptstartanim2)
  1120. anim:Play()
  1121. pt.position=Torso.Position-Vector3.new(0,4,0)
  1122. pt.Parent=nil
  1123. Tilt.Parent=nil
  1124. vPush.Parent=nil
  1125. Corrupt=false
  1126. wait(2)
  1127. anim:Stop()
  1128. anim:Remove()
  1129. p.Parent=nil
  1130. end
  1131.  
  1132.  
  1133.  
  1134. ----Corrupt State Area--------------------------------------------------------------------------------------------------------
  1135. ----Corrupt State Area--------------------------------------------------------------------------------------------------------
  1136. ----Corrupt State Area--------------------------------------------------------------------------------------------------------
  1137.  
  1138.  
  1139. SHAKE2=function(CHAR)
  1140. if game.Players:GetPlayerFromCharacter(CHAR)~=nil then
  1141. s=script.Shake2:clone()
  1142. s.Disabled=false
  1143. s.Parent=me.Pack
  1144. end
  1145. end
  1146. SHAKE3=function(CHAR)
  1147. if game.Players:GetPlayerFromCharacter(CHAR)~=nil then
  1148. s=script.Shake3:clone()
  1149. s.Disabled=false
  1150. s.Parent=me.Pack
  1151. end
  1152. end
  1153.  
  1154. DCContact=function(hit,Tors)
  1155. if hit.Parent==nil then
  1156. return
  1157. end
  1158. h=hit.Parent:FindFirstChild("Humanoid")
  1159. t=hit.Parent:FindFirstChild("Torso")
  1160. if h~=nil and t~=nil then
  1161. print(Contact)
  1162. if Contact==false then
  1163. Contact=true
  1164. print("CONTINUE!")
  1165. end
  1166. if h.Health>0 then
  1167. if h.Parent==me then
  1168. return
  1169. end
  1170. h:TakeDamage(5)
  1171. vl=Instance.new("BodyVelocity")
  1172. vl.P=4000
  1173. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1174. vl.velocity=Tors.BodyVelocity.velocity/1.1+Vector3.new(0,18,0)
  1175. vl.Parent=t
  1176. game:GetService("Debris"):AddItem(vl,.2)
  1177. rl=Instance.new("BodyAngularVelocity")
  1178. rl.P=3000
  1179. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  1180. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+Tors.RotVelocity*1.1
  1181. rl.Parent=t
  1182. game:GetService("Debris"):AddItem(rl,.2)
  1183. end
  1184. end
  1185. end
  1186. GBConnect=function(hit,vel)
  1187. if hit.Parent==nil then
  1188. return
  1189. end
  1190. h=hit.Parent:FindFirstChild("Humanoid")
  1191. t=hit.Parent:FindFirstChild("Torso")
  1192. if h~=nil and t~=nil then
  1193. if h.Health>0 then
  1194. if h.Parent==me then
  1195. return
  1196. end
  1197. h:TakeDamage(El/13)
  1198. vl=Instance.new("BodyVelocity")
  1199. vl.P=4000
  1200. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1201. vl.velocity=vel*(5*El*2)+Vector3.new(0,7,0)
  1202. vl.Parent=t
  1203. game:GetService("Debris"):AddItem(vl,.2)
  1204. rl=Instance.new("BodyAngularVelocity")
  1205. rl.P=3000
  1206. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  1207. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1208. rl.Parent=t
  1209. game:GetService("Debris"):AddItem(rl,.2)
  1210. end
  1211. end
  1212. end
  1213.  
  1214.  
  1215.  
  1216. DBExplode=function(D)
  1217. pf=Instance.new("Part")
  1218. pf.TopSurface=0
  1219. pf.BottomSurface=0
  1220. pf.Anchored=false
  1221. pf.CanCollide=false
  1222. pf.Shape="Ball"
  1223. pf.BrickColor=BrickColor.new(EColor2)
  1224. pf.Size=Vector3.new(4,4,4)
  1225. pf.formFactor="Symmetric"
  1226. pf.CFrame=D.CFrame
  1227. pf.Parent=workspace
  1228. vp=Instance.new("BodyPosition")
  1229. vp.P=4000
  1230. vp.maxForce=Vector3.new(50000,50000,50000)*5000000000
  1231. vp.position=pf.Position
  1232. vp.Parent=pf
  1233. pf.Touched:connect(function(hit)
  1234. if hit.Parent==nil then
  1235. return
  1236. end
  1237. h=hit.Parent:FindFirstChild("Humanoid")
  1238. t=hit.Parent:FindFirstChild("Torso")
  1239. if h~=nil and t~=nil then
  1240. if h.Parent==me then
  1241. return
  1242. end
  1243. if Corrupt==false then
  1244. h:TakeDamage(5)
  1245. else
  1246. h:TakeDamage(6)
  1247. end
  1248. vl=Instance.new("BodyVelocity")
  1249. vl.P=4500
  1250. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1251. vl.velocity=(pf.Position-t.Position).unit*30+Vector3.new(0,10,0)
  1252. vl.Parent=t
  1253. game:GetService("Debris"):AddItem(vl,.2)
  1254. rl=Instance.new("BodyAngularVelocity")
  1255. rl.P=3000
  1256. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1257. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1258. rl.Parent=t
  1259. game:GetService("Debris"):AddItem(rl,.2)
  1260. end
  1261. end)
  1262. c=pf.CFrame
  1263. r=Instance.new("Part")
  1264. r.Anchored=true
  1265. r.Name="Ring"
  1266. r.CanCollide=false
  1267. r.TopSurface=0
  1268. r.BottomSurface=0
  1269. r.CFrame=CFrame.new(c.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  1270. r.Parent=workspace
  1271. script.RingMesh:clone().Parent=r
  1272. r.RingMesh.Scale=Vector3.new(3,3,3)
  1273. r.BrickColor=BrickColor.new(EColor)
  1274. coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(5,5,.1) wait() end par.Parent=nil end),r)
  1275. r=Instance.new("Part")
  1276. r.Anchored=true
  1277. r.Name="Ring"
  1278. r.CanCollide=false
  1279. r.TopSurface=0
  1280. r.BottomSurface=0
  1281. r.CFrame=CFrame.new(c.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  1282. r.Parent=workspace
  1283. script.RingMesh:clone().Parent=r
  1284. r.RingMesh.Scale=Vector3.new(3,3,3)
  1285. r.BrickColor=BrickColor.new(EColor)
  1286. coroutine.resume(coroutine.create(function(par) for i=1, 7 do par.Transparency=i/7 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(12,12,.3) wait() end par.Parent=nil end),r)
  1287. D.Parent=nil
  1288. p=Instance.new("Part")
  1289. p.Name="BlastRing"
  1290. p.TopSurface=0
  1291. p.BottomSurface=0
  1292. p.CanCollide=false
  1293. p.Anchored=true
  1294. p.BrickColor=BrickColor.new(EColor2)
  1295. p.Size=Vector3.new(1,1,1)
  1296. p.CFrame=r.CFrame*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
  1297. p.CFrame=p.CFrame-Vector3.new(0,5,0)
  1298. p.Parent=workspace
  1299. script.BlastMesh:clone().Parent=p
  1300. p.BlastMesh.Scale=Vector3.new(5,5,1)
  1301. coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,1,1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(2,1.3,2) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) wait() end par.Parent=nil end),p)
  1302. s=script.DBExplode:clone()
  1303. s.Parent=pf
  1304. s:Play()
  1305. for grow=1, 15 do
  1306. if Corrupt==false then
  1307. pf.Size=pf.Size+Vector3.new(3,3,3)
  1308. else
  1309. pf.Size=pf.Size+Vector3.new(4,4,4)
  1310. end
  1311. pf.Transparency=grow/15
  1312. pf.CFrame=c
  1313. wait()
  1314. end
  1315. pf.Parent=nil
  1316. end
  1317. DBHit=function(hit,DB)
  1318. if hit.Parent==nil then
  1319. return
  1320. end
  1321. h=hit.Parent:FindFirstChild("Humanoid")
  1322. t=hit.Parent:FindFirstChild("Torso")
  1323. if h~=nil and t~=nil then
  1324. if h.Parent==me then
  1325. return
  1326. end
  1327. h:TakeDamage(5)
  1328. vl=Instance.new("BodyVelocity")
  1329. vl.P=4500
  1330. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1331. vl.velocity=DB.BodyVelocity.velocity*1.05+Vector3.new(0,3,0)
  1332. vl.Parent=t
  1333. game:GetService("Debris"):AddItem(vl,.2)
  1334. rl=Instance.new("BodyAngularVelocity")
  1335. rl.P=3000
  1336. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1337. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1338. rl.Parent=t
  1339. game:GetService("Debris"):AddItem(rl,.2)
  1340. else
  1341. if hit.CanCollide==false then
  1342. return
  1343. end
  1344. DBCon:disconnect()
  1345. DBExplode(DB)
  1346. end
  1347. end
  1348. PunchHit=function(hit)
  1349. if hit.Parent==nil then
  1350. return
  1351. end
  1352. h=hit.Parent:FindFirstChild("Humanoid")
  1353. t=hit.Parent:FindFirstChild("Torso")
  1354. if h~=nil and t~=nil then
  1355. if h.Parent==me then
  1356. return
  1357. end
  1358. PAWNSH:disconnect()
  1359. if Corrupt==false then
  1360. h:TakeDamage(40)
  1361. vl=Instance.new("BodyVelocity")
  1362. vl.P=4500
  1363. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1364. vl.velocity=me.Torso.Velocity/2+Vector3.new(0,15,0)
  1365. vl.Parent=t
  1366. game:GetService("Debris"):AddItem(vl,.4)
  1367. rl=Instance.new("BodyAngularVelocity")
  1368. rl.P=3000
  1369. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1370. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1371. rl.Parent=t
  1372. game:GetService("Debris"):AddItem(rl,.5)
  1373. else
  1374. h:TakeDamage(75)
  1375. vl=Instance.new("BodyVelocity")
  1376. vl.P=4500
  1377. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1378. vl.velocity=me.Torso.Velocity/1.5+Vector3.new(0,10,0)
  1379. vl.Parent=t
  1380. game:GetService("Debris"):AddItem(vl,.3)
  1381. rl=Instance.new("BodyAngularVelocity")
  1382. rl.P=3000
  1383. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1384. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))*2
  1385. rl.Parent=t
  1386. game:GetService("Debris"):AddItem(rl,.5)
  1387. end
  1388. end
  1389. end
  1390. SmashHit=function(hit)
  1391. if hit.Parent==nil then
  1392. return
  1393. end
  1394. h=hit.Parent:FindFirstChild("Humanoid")
  1395. t=hit.Parent:FindFirstChild("Torso")
  1396. if h~=nil and t~=nil then
  1397. if h.Parent==me then
  1398. return
  1399. end
  1400. s=script.DSHit:clone()
  1401. s.Parent=hit
  1402. s:Play()
  1403. game:GetService("Debris"):AddItem(s,2)
  1404. LOLOHAX:disconnect()
  1405. h:TakeDamage(40)
  1406. vl=Instance.new("BodyVelocity")
  1407. vl.P=4500
  1408. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1409. vl.velocity=me.Torso.Velocity/2+Vector3.new(0,2,0)+me.Torso.CFrame.lookVector*20
  1410. vl.Parent=t
  1411. game:GetService("Debris"):AddItem(vl,.2)
  1412. rl=Instance.new("BodyAngularVelocity")
  1413. rl.P=3000
  1414. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1415. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1416. rl.Parent=t
  1417. game:GetService("Debris"):AddItem(rl,.2)
  1418. end
  1419. end
  1420. Land=function(hit)
  1421. if hit.Parent==nil or hit.CanCollide==false then
  1422. return
  1423. end
  1424. if hit.Parent:FindFirstChild("Humanoid")==true then
  1425. return
  1426. end
  1427. nCont:disconnect()
  1428. Contact=true
  1429. PWN={}
  1430. for _,v in pairs(workspace:children()) do
  1431. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  1432. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  1433. if v~=me and (v.Torso.Position-me.Torso.Position).magnitude<=50 then
  1434. table.insert(PWN,v.Torso)
  1435. end
  1436. end
  1437. end
  1438. end
  1439. p=Instance.new("Part")
  1440. p.Name="BlastRing"
  1441. p.TopSurface=0
  1442. p.BottomSurface=0
  1443. p.CanCollide=false
  1444. p.Anchored=true
  1445. p.BrickColor=BrickColor.new(EColor2)
  1446. p.Size=Vector3.new(1,1,1)
  1447. p.CFrame=CFrame.new(Torso.Parent.Head.CFrame.p)-Vector3.new(0,4,0)
  1448. p.Parent=workspace
  1449. script.BlastMesh:clone().Parent=p
  1450. p.BlastMesh.Scale=Vector3.new(2,3,2)
  1451. if Corrupt==false then
  1452. coroutine.resume(coroutine.create(function(par) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(2,.4,2) par.Transparency=lol*.1 par.CFrame=par.CFrame*CFrame.new(0,.2,0) wait() end par.Parent=nil end),p)
  1453. else
  1454. coroutine.resume(coroutine.create(function(par) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(4,.7,4) par.Transparency=lol*.1 par.CFrame=par.CFrame*CFrame.new(0,.35,0) wait() end par.Parent=nil end),p)
  1455. end
  1456.  
  1457. for _,t in pairs(PWN) do
  1458. if Corrupt==false then
  1459. Mag=(me.Torso.Position-t.Position).magnitude/10
  1460. t.Parent.Humanoid:TakeDamage(2)
  1461. else
  1462. Mag=(me.Torso.Position-t.Position).magnitude/7
  1463. t.Parent.Humanoid:TakeDamage(10)
  1464. end
  1465. vl=Instance.new("BodyVelocity")
  1466. vl.P=4000
  1467. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1468. vl.velocity=Vector3.new(0,math.random(40,60),0)+(t.Position-me.Torso.Position).unit*(30/Mag)
  1469. vl.Parent=t
  1470. game:GetService("Debris"):AddItem(vl,.2)
  1471. rl=Instance.new("BodyAngularVelocity")
  1472. rl.P=3000
  1473. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  1474. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1475. rl.Parent=t
  1476. game:GetService("Debris"):AddItem(rl,.2)
  1477. end
  1478. end
  1479. doArms=function(Com)
  1480. if Com==true then
  1481. Torso=me.Torso
  1482. RA=Torso:FindFirstChild("Right Shoulder")
  1483. if RA==nil then
  1484. return
  1485. end
  1486. LA=Torso:FindFirstChild("Left Shoulder")
  1487. if LA==nil then
  1488. return
  1489. end
  1490. RightS=Instance.new("Motor")
  1491. RightS.Name="Right_Shoulder"
  1492. RightS.C0=RA.C0
  1493. RightS.C1=RA.C1
  1494. RightS.Part0=RA.Part0
  1495. RightS.Part1=RA.Part1
  1496. RightS.MaxVelocity=.35
  1497. RightS.Parent=Torso
  1498. LeftS=Instance.new("Motor")
  1499. LeftS.Name="Left_Shoulder"
  1500. LeftS.C0=LA.C0
  1501. LeftS.C1=LA.C1
  1502. LeftS.Part0=LA.Part0
  1503. LeftS.Part1=LA.Part1
  1504. LeftS.MaxVelocity=.35
  1505. LeftS.Parent=Torso
  1506. RA.Parent=nil
  1507. LA.Parent=nil
  1508. RA.Part1=nil
  1509. LA.Part1=nil
  1510. else
  1511. RightS.Part1=nil
  1512. LeftS.Part1=nil
  1513. RightS.Parent=nil
  1514. LeftS.Parent=nil
  1515. RA.Parent=Torso
  1516. LA.Parent=Torso
  1517. RA.Part1=nil
  1518. LA.Part1=nil
  1519. RA.Part1=me["Right Arm"]
  1520. LA.Part1=me["Left Arm"]
  1521. wait(.2)
  1522. RA.Part0=Torso
  1523. LA.Part0=Torso
  1524. RA.Part1=me["Right Arm"]
  1525. LA.Part1=me["Left Arm"]
  1526. end
  1527. end
  1528.  
  1529. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1530. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1531. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1532. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1533. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1534. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1535. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1536. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1537. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1538. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1539. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1540. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1541. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1542. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1543. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1544. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1545. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1546. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1547. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1548. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1549. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1550. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1551. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1552. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1553. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1554. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1555. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1556. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1557. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1558. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  1559.  
  1560. --these moves require extreme power. Only jj363 can harness enough dark energy to perform these.
  1561.  
  1562. SPIKEHIT=function(hit,p,BOOST)
  1563. if hit.Parent==nil then
  1564. return
  1565. end
  1566. h=hit.Parent:FindFirstChild("Humanoid")
  1567. if h~=nil and hit.Parent~=me and hit.Parent:FindFirstChild("Torso")~=nil then
  1568. if h.Health>0 then
  1569. h:TakeDamage(3*BOOST)
  1570. vl=Instance.new("BodyVelocity")
  1571. vl.P=4000
  1572. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1573. vl.velocity=Vector3.new(0,(BOOST*20),0)+(hit.Parent.Torso.Position-p).unit*(50/BOOST)
  1574. vl.Parent=hit.Parent.Torso
  1575. game:GetService("Debris"):AddItem(vl,.2)
  1576. rl=Instance.new("BodyAngularVelocity")
  1577. rl.P=3000
  1578. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  1579. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1580. rl.Parent=hit.Parent.Torso
  1581. game:GetService("Debris"):AddItem(rl,.2)
  1582. ss=script.DCHHIT:clone()
  1583. ss.Parent=hit.Parent.Torso
  1584. ss:Play()
  1585. end
  1586. end
  1587. end
  1588.  
  1589. MakeSpike=function(Location,PO,b)
  1590. Spike=Instance.new("Part")
  1591. Spike.BrickColor=BrickColor.new(EColor)
  1592. Spike.CanCollide=false
  1593. script.SpikeMesh:clone().Parent=Spike
  1594. Spike.formFactor="Symmetric"
  1595. Spike.Size=Vector3.new(5+b*3,11+b*4,5+b*3)
  1596. Spike.CFrame=CFrame.new(Location-Vector3.new(0,3*b*1.5,0))
  1597. Spike.SpikeMesh.Scale=(Spike.SpikeMesh.Scale*(b/2))*1.5
  1598. v=Instance.new("BodyPosition")
  1599. v.P=4000
  1600. v.maxForce=Vector3.new(5000,math.huge,5000)
  1601. v.position=Spike.Position+Vector3.new(0,28+b*18,0)
  1602. v.Parent=Spike
  1603. Spike.Parent=workspace
  1604. coroutine.resume(coroutine.create(function(BANANA) for i=1, 12 do BANANA.SpikeMesh.Scale=BANANA.SpikeMesh.Scale-Vector3.new(.6,0,.6) BANANA.Transparency=i/12 wait() end BANANA.Parent=nil end),Spike)
  1605. Spike.Touched:connect(function(hit) SPIKEHIT(hit,PO,b) end)
  1606. ss=script.LOL:clone()
  1607. ss.Pitch=.8/b
  1608. ss.Parent=Spike
  1609. ss:Play()
  1610. end
  1611.  
  1612. DarkChaser=function()
  1613. Torso=me:FindFirstChild("Torso")
  1614. if Torso.Velocity.y>5 or Torso.Velocity.y<-5 then
  1615. return
  1616. end
  1617. if Charge>=80 then
  1618. Charge=Charge-80
  1619. else
  1620. return
  1621. end
  1622. Pos=Torso.Position
  1623. Dir=Torso.CFrame.lookVector
  1624. Start=Torso.Position+Dir*7
  1625. b=1
  1626. for t=1, 12 do
  1627. for i=1, 12 do
  1628. if t==12 then
  1629. b=2
  1630. end
  1631. coroutine.resume(coroutine.create(MakeSpike),Pos+Vector3.new(math.cos(i)*(6*t),0,math.sin(i)*(6*t)),Pos,b)
  1632. end
  1633. wait(.1)
  1634. end
  1635. end
  1636.  
  1637. DarkSmash=function()
  1638. if Charge>=70 then
  1639. Charge=Charge-70
  1640. else
  1641. e=Instance.new("Part")
  1642. e.TopSurface=0
  1643. e.BottomSurface=0
  1644. e.CanCollide=false
  1645. e.Anchored=true
  1646. e.Shape="Ball"
  1647. e.Size=Vector3.new(1,1,1)
  1648. e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  1649. e.Name="Effect"
  1650. e.BrickColor=BrickColor.new(EColor2)
  1651. e.Parent=Torso.Parent
  1652. m=script.BlastMesh:clone()
  1653. m.Scale=Vector3.new(2,2,.1)
  1654. m.Parent=e
  1655. coroutine.resume(coroutine.create(function(m) for i=1, 5 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,.7,0) m.Scale=m.Scale+Vector3.new(1,.3,1) m.Parent.Transparency=i/6 wait() end m.Parent.Parent=nil end),e.BlastMesh)
  1656. pu=Instance.new("BodyVelocity")
  1657. pu.maxForce=Vector3.new(math.huge,0,math.huge)
  1658. pu.velocity=Torso.CFrame.lookVector*3
  1659. pu.Parent=Torso
  1660. wait(.1)
  1661. pu.Parent=nil
  1662. return
  1663. end
  1664. e=Instance.new("Part")
  1665. e.TopSurface=0
  1666. e.BottomSurface=0
  1667. e.CanCollide=false
  1668. e.Anchored=true
  1669. e.Shape="Ball"
  1670. e.Size=Vector3.new(1,1,1)
  1671. e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Torso.CFrame.lookVector*3
  1672. e.Name="Effect"
  1673. e.BrickColor=BrickColor.new(EColor2)
  1674. e.Parent=Torso.Parent
  1675. m=script.BlastMesh:clone()
  1676. m.Scale=Vector3.new(2,2,.1)
  1677. m.Parent=e
  1678. coroutine.resume(coroutine.create(function(m) for i=1, 6 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,.8,0) m.Scale=m.Scale+Vector3.new(1.4,.35,1.4) m.Parent.Transparency=i/6 wait() end m.Parent.Parent=nil end),e.BlastMesh)
  1679. pu=Instance.new("BodyVelocity")
  1680. pu.P=9000
  1681. pu.maxForce=Vector3.new(math.huge,0,math.huge)
  1682. pu.velocity=Torso.CFrame.lookVector*70
  1683. pu.Parent=Torso
  1684. g=Instance.new("BodyGyro")
  1685. g.Parent=Torso
  1686. for forward=1, 6 do
  1687. for _,v in pairs(Torso.Parent:children()) do
  1688. if v.className=="Part" and v.Name~="Effect" then
  1689. n=v:clone()
  1690. n.archivable=true
  1691. n.Anchored=true
  1692. n.CanCollide=false
  1693. n.Name="TRAILER"
  1694. n.BrickColor=BrickColor.new(EColor)
  1695. n.CFrame=n.CFrame+Torso.CFrame.lookVector*(2+forward)
  1696. n.Parent=workspace
  1697. coroutine.resume(coroutine.create(function(ne,m) for i=1, m do ne.Transparency=i/m wait() end ne.Parent=nil end),n,5+forward)
  1698. elseif v.className=="Hat" then
  1699. n=v.Handle:clone()
  1700. n.archivable=true
  1701. n.Anchored=true
  1702. n.CanCollide=false
  1703. n.Mesh.VertexColor=Vector3.new(0,0,0)
  1704. n.Name="TRAILER"
  1705. n.BrickColor=BrickColor.new(EColor)
  1706. n.CFrame=n.CFrame+Torso.CFrame.lookVector*(2+forward)
  1707. n.Parent=workspace
  1708. coroutine.resume(coroutine.create(function(ne,m) for i=1, m do ne.Transparency=i/m wait() end ne.Parent=nil end),n,5+forward)
  1709. end
  1710. end
  1711. end
  1712. sgb=script.DS:clone()
  1713. sgb.Parent=Torso
  1714. sgb:Play()
  1715. Dist=Torso.CFrame.lookVector*12.5
  1716. Pos=Torso.Position+Dist
  1717. r=Instance.new("Part")
  1718. r.Anchored=true
  1719. r.Name="Ring"
  1720. r.CanCollide=false
  1721. r.TopSurface=0
  1722. r.BottomSurface=0
  1723. r.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,0)+Dist
  1724. r.Parent=workspace
  1725. script.RingMesh:clone().Parent=r
  1726. r.RingMesh.Scale=Vector3.new(3,3,3)
  1727. r.BrickColor=BrickColor.new(EColor)
  1728. coroutine.resume(coroutine.create(function(par) for i=1, 8 do par.Transparency=i/8 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1.5,1.5,.3) par.CFrame=par.CFrame*CFrame.new(0,0,.4) wait() end par.Parent=nil end),r)
  1729. e=Instance.new("Part")
  1730. e.TopSurface=0
  1731. e.BottomSurface=0
  1732. e.CanCollide=false
  1733. e.Anchored=true
  1734. e.Shape="Ball"
  1735. e.Size=Vector3.new(1,1,1)
  1736. e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Dist
  1737. e.Name="Effect"
  1738. e.BrickColor=BrickColor.new(EColor2)
  1739. e.Parent=Torso.Parent
  1740. m=script.BlastMesh:clone()
  1741. m.Scale=Vector3.new(2,2,.1)
  1742. m.Parent=e
  1743. coroutine.resume(coroutine.create(function(m) for i=1, 5 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,.3,0) m.Scale=m.Scale+Vector3.new(1,.6,1) m.Parent.Transparency=i/5 wait() end m.Parent.Parent=nil end),e.BlastMesh)
  1744.  
  1745. PWN={}
  1746. for _,v in pairs(workspace:children()) do
  1747. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil and v~=Torso.Parent and v:FindFirstChild("Torso")~=nil then
  1748. if (v.Torso.Position-Torso.Position).magnitude<=13 then
  1749. vv=Instance.new("BodyVelocity")
  1750. vv.P=800
  1751. vv.maxForce=Vector3.new(5000000,0,5000000)
  1752. vv.velocity=(v.Torso.Position-Torso.Position).unit*2+Torso.CFrame.lookVector*4
  1753. vv.Parent=v.Torso
  1754. game:GetService("Debris"):AddItem(vv,.2)
  1755. vv=Instance.new("BodyAngularVelocity")
  1756. vv.P=400
  1757. vv.maxTorque=Vector3.new(50000,50000,50000)
  1758. vv.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1759. vv.Parent=v.Torso
  1760. game:GetService("Debris"):AddItem(vv,.2)
  1761. v.Humanoid:TakeDamage(3)
  1762. table.insert(PWN,v)
  1763. end
  1764. end
  1765. end
  1766. for _,v in pairs(PWN) do
  1767. if game.Players:GetPlayerFromCharacter(v)~=nil then
  1768. s=script.Shake4:clone()
  1769. s.Disabled=false
  1770. s.Parent=v
  1771. end
  1772. end
  1773. s=script.Shake4:clone()
  1774. s.Disabled=false
  1775. s.Parent=Torso.Parent
  1776. connector=Instance.new("Part")
  1777. connector.Name="HITSPACE"
  1778. connector.formFactor="Symmetric"
  1779. connector.Size=Vector3.new(4,5,2)
  1780. connector.CanCollide=false
  1781. connector.CFrame=Torso.CFrame
  1782. connector.Transparency=1
  1783. connector.Parent=workspace
  1784. v=Instance.new("BodyVelocity")
  1785. v.P=9000
  1786. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1787. v.velocity=Torso.CFrame.lookVector*100
  1788. v.Parent=connector
  1789. LOLOHAX=connector.Touched:connect(function(hit) SmashHit(hit) end)
  1790. game:GetService("Debris"):AddItem(connector,.2)
  1791.  
  1792. wait(.125)
  1793. r=Instance.new("Part")
  1794. r.Anchored=true
  1795. r.Name="Ring"
  1796. r.CanCollide=false
  1797. r.TopSurface=0
  1798. r.BottomSurface=0
  1799. r.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,0)+Dist-Torso.CFrame.lookVector*3
  1800. r.Parent=workspace
  1801. script.RingMesh:clone().Parent=r
  1802. r.RingMesh.Scale=Vector3.new(3,3,3)
  1803. r.BrickColor=BrickColor.new(EColor)
  1804. coroutine.resume(coroutine.create(function(par) for i=1, 7 do par.Transparency=i/7 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1.3,1.3,.1) par.CFrame=par.CFrame*CFrame.new(0,0,.3) wait() end par.Parent=nil end),r)
  1805. e=Instance.new("Part")
  1806. e.TopSurface=0
  1807. e.BottomSurface=0
  1808. e.CanCollide=false
  1809. e.Anchored=true
  1810. e.Shape="Ball"
  1811. e.Size=Vector3.new(1,1,1)
  1812. e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  1813. e.Name="Effect"
  1814. e.BrickColor=BrickColor.new(EColor2)
  1815. e.Parent=Torso.Parent
  1816. m=script.BlastMesh:clone()
  1817. m.Scale=Vector3.new(1,1,.1)
  1818. m.Parent=e
  1819. coroutine.resume(coroutine.create(function(m) for i=1, 7 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,1.2,0) m.Scale=m.Scale+Vector3.new(1.2,.1,1.2) m.Parent.Transparency=i/7 wait() end m.Parent.Parent=nil end),e.BlastMesh)
  1820. pu.Parent=nil
  1821. wait(.2)
  1822. g.Parent=nil
  1823. sgb.Parent=nil
  1824. end
  1825.  
  1826.  
  1827. DPunisherGrab=function(hit)
  1828. if hit.Parent==nil then
  1829. return
  1830. end
  1831. h=hit.Parent:FindFirstChild("Humanoid")
  1832. t=hit.Parent:FindFirstChild("Torso")
  1833. print(hit.Parent.Name)
  1834. if h~=nil and t~=nil then
  1835. if h.Health<1 or h.Parent==me then
  1836. return
  1837. end
  1838. me.Torso.BodyVelocityM.velocity=Vector3.new(0,0,0)
  1839. Grabbed=t
  1840. DPG:disconnect()
  1841. end
  1842. end
  1843.  
  1844. DarkDPunisher=function()
  1845. Torso=me.Torso
  1846. RA=Torso:FindFirstChild("Right Shoulder")
  1847. if RA==nil then
  1848. return
  1849. end
  1850. LA=Torso:FindFirstChild("Left Shoulder")
  1851. if LA==nil then
  1852. return
  1853. end
  1854. doArms(true)
  1855. RightS.MaxVelocity=.3
  1856. LeftS.MaxVelocity=.2
  1857. RightS.DesiredAngle=-1.5
  1858. LeftS.DesiredAngle=-.6
  1859. wait(.5)
  1860. RightS.MaxVelocity=1
  1861. LeftS.MaxVelocity=.4
  1862. RightS.DesiredAngle=1.6
  1863. LeftS.DesiredAngle=1.2
  1864. v=Instance.new("BodyVelocity")
  1865. v.Name="BodyVelocityM"
  1866. v.P=3000
  1867. v.maxForce=Vector3.new(math.huge,50000000000000000000,math.huge)
  1868. v.velocity=Torso.CFrame.lookVector*160
  1869. if Corrupt==true then v.velocity=Torso.CFrame.lookVector*200 end
  1870. v.Parent=Torso
  1871. g=Instance.new("BodyGyro")
  1872. g.P=95000
  1873. g.D=100
  1874. g.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1875. g.cframe=Torso.CFrame
  1876. g.Parent=Torso
  1877. Grabbed=nil
  1878. DidGrab=false
  1879. sa=Instance.new("Part")
  1880. sa.Name="StrikeArea"
  1881. sa.TopSurface=0
  1882. sa.BottomSurface=0
  1883. sa.CFrame=Torso.Parent.Head.CFrame
  1884. sa.formFactor="Symmetric"
  1885. sa.Transparency=1
  1886. sa.CanCollide=false
  1887. sa.Size=Vector3.new(2,2,2)
  1888. sa.Parent=me
  1889. ww=Instance.new("Weld")
  1890. ww.Part0=me["Right Arm"]
  1891. ww.Part1=sa
  1892. ww.Parent=sa
  1893. ww.C0=CFrame.new(0,-1.3,0)
  1894. DPG=sa.Touched:connect(DPunisherGrab)
  1895. for i=1, 7 do
  1896. if Grabbed~=nil then
  1897. DidGrab=true
  1898. break
  1899. end
  1900. wait()
  1901. end
  1902. if DidGrab==false or Charge<60 then
  1903. print("No grab.")
  1904. v.Parent=nil
  1905. else
  1906. Charge=Charge-60
  1907. v.Parent=nil
  1908. pt=Instance.new("BodyPosition")
  1909. pt.P=5000
  1910. pt.maxForce=Vector3.new(0,500000000000000000000000000,0)
  1911. pt.position=Torso.Position
  1912. pt.Parent=Torso
  1913. game:GetService("Debris"):AddItem(pt,4)
  1914. Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(-math.pi/7,0,0)
  1915. g.cframe=CFrame.new(Torso.Position,Torso.Position+Torso.CFrame.lookVector*10)
  1916. print(Grabbed)
  1917. w=Instance.new("Weld")
  1918. w.Part0=Torso
  1919. w.Part1=Grabbed
  1920. w.C0=CFrame.new(1.5,1.75,-1.45)*CFrame.fromEulerAnglesXYZ(math.pi/6,math.pi,0)
  1921. w.Parent=me["Torso"]
  1922. RightS.MaxVelocity=.2
  1923. RightS.CurrentAngle=1.6
  1924. RightS.DesiredAngle=2.4
  1925. LeftS.DesiredAngle=.2
  1926. wait(.25)
  1927. s=script.DBC:clone()
  1928. s.Pitch=.375
  1929. s.Parent=Torso
  1930. s:Play()
  1931. for darkowns=1, 12 do
  1932. s.Pitch=s.Pitch+.075
  1933. Grabbed.Parent.Humanoid.Health=Grabbed.Parent.Humanoid.Health-1.5
  1934. p=Instance.new("Part")
  1935. p.TopSurface=0
  1936. p.BottomSurface=0
  1937. p.Anchored=true
  1938. p.CanCollide=false
  1939. p.BrickColor=BrickColor.new(EColor2)
  1940. p.Size=Vector3.new(1,1,1)
  1941. p.formFactor="Symmetric"
  1942. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.4,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  1943. p.Parent=me
  1944. Instance.new("BlockMesh").Parent=p
  1945. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/1.5)
  1946. wait(.05)
  1947. end
  1948. s:Stop()
  1949. s.Parent=nil
  1950. s=script.DBExplode:clone()
  1951. s.Pitch=.425
  1952. s.Parent=Grabbed
  1953. s:Play()
  1954. ww.C0=CFrame.new(0,-2,0)
  1955. p=Instance.new("Part")
  1956. p.Name="BlastRing"
  1957. p.TopSurface=0
  1958. p.BottomSurface=0
  1959. p.CanCollide=false
  1960. p.Anchored=true
  1961. p.BrickColor=BrickColor.new(EColor2)
  1962. p.Size=Vector3.new(1,1,1)
  1963. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(math.pi,0,0)
  1964. p.Parent=workspace
  1965. script.BlastMesh:clone().Parent=p
  1966. p.BlastMesh.Scale=Vector3.new(1,1,1)
  1967. coroutine.resume(coroutine.create(function(par) for lol=1, 11 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.6,1.8,.6) par.Transparency=lol/11 par.CFrame=par.CFrame*CFrame.new(0,1,0) wait() end par.Parent=nil end),p)
  1968. coroutine.resume(coroutine.create(DCCO2),sa,4)
  1969. coroutine.resume(coroutine.create(DCCO3),sa,8)
  1970. r=Instance.new("Part")
  1971. r.Anchored=true
  1972. r.Name="Ring"
  1973. r.CanCollide=false
  1974. r.TopSurface=0
  1975. r.BottomSurface=0
  1976. r.CFrame=sa.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  1977. r.Parent=workspace
  1978. script.RingMesh:clone().Parent=r
  1979. r.RingMesh.Scale=Vector3.new(3,3,3)
  1980. r.BrickColor=BrickColor.new(EColor)
  1981. coroutine.resume(coroutine.create(function(par) for i=1, 15 do par.Transparency=i/15 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1.5,1.5,.5) par.CFrame=par.CFrame*CFrame.new(0,0,.4) wait() end par.Parent=nil end),r)
  1982. RightS.DesiredAngle=RightS.DesiredAngle+.5
  1983. Dir=(me["Right Arm"].Position-(( me["Right Arm"].CFrame * CFrame.new(0,50,0) ).p)).unit
  1984. vlo=Instance.new("BodyVelocity")
  1985. vlo.Name="BodyVelocity"
  1986. vlo.P=4500
  1987. vlo.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1988. vlo.velocity=Dir*20
  1989. if Corrupt==true then vlo.velocity=vlo.velocity*5-Vector3.new(0,60,0) end
  1990. vlo.Parent=Grabbed
  1991. game:GetService("Debris"):AddItem(vlo,.2)
  1992. rl=Instance.new("BodyAngularVelocity")
  1993. rl.P=3000
  1994. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1995. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1996. rl.Parent=Grabbed
  1997. game:GetService("Debris"):AddItem(rl,.2)
  1998. Grabbed.Parent.Humanoid.Health=Grabbed.Parent.Humanoid.Health-70
  1999. p.Parent=nil
  2000. w.Parent=nil
  2001. game:GetService("Debris"):AddItem(s,2)
  2002. pt.Parent=nil
  2003. coroutine.resume(coroutine.create(DCCO3),Grabbed,6)
  2004. wait(.6)
  2005. Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(math.pi/7,0,0)
  2006. end
  2007. wait(.3)
  2008. sa.Parent=nil
  2009. g.Parent=nil
  2010. doArms(false)
  2011. end
  2012.  
  2013. DarkHide=function()
  2014. Torso=me.Torso
  2015. RA=Torso:FindFirstChild("Right Shoulder")
  2016. if RA==nil then
  2017. return
  2018. end
  2019. LA=Torso:FindFirstChild("Left Shoulder")
  2020. if LA==nil then
  2021. return
  2022. end
  2023. if Charge>=20 then
  2024. Charge=Charge-20
  2025. else
  2026. return
  2027. end
  2028. doArms(true)
  2029. OR=RA.C0
  2030. RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
  2031. RightS.DesiredAngle=2
  2032. LeftS.DesiredAngle=.3
  2033. RightS.MaxVelocity=.2
  2034. LeftS.MaxVelocity=.1
  2035. s=script.DBC:clone()
  2036. s.Pitch=.9
  2037. s.Parent=Torso
  2038. s:Play()
  2039. for darkowns=1, 12 do
  2040. s.Pitch=s.Pitch-.06
  2041. p=Instance.new("Part")
  2042. p.TopSurface=0
  2043. p.BottomSurface=0
  2044. p.Anchored=true
  2045. p.CanCollide=false
  2046. p.BrickColor=BrickColor.new(EColor2)
  2047. p.Size=Vector3.new(1,1,1)
  2048. p.formFactor="Symmetric"
  2049. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2050. p.Parent=me
  2051. Instance.new("BlockMesh").Parent=p
  2052. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
  2053. wait(.05)
  2054. end
  2055. for _,v in pairs(me:children()) do
  2056. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2057. coroutine.resume(coroutine.create(function(PAR) for i=1, 5 do PAR.Transparency=i*.2 wait(.02) end end),v)
  2058. elseif v.className=="Hat" and v:FindFirstChild("Handle")~=nil then
  2059. coroutine.resume(coroutine.create(function(PAR) for i=1, 5 do PAR.Transparency=i*.2 wait(.02) end end),v.Handle)
  2060. end
  2061. end
  2062. for darkowns=1, 12 do
  2063. s.Pitch=s.Pitch-.03
  2064. p=Instance.new("Part")
  2065. p.TopSurface=0
  2066. p.BottomSurface=0
  2067. p.Anchored=true
  2068. p.CanCollide=false
  2069. p.BrickColor=BrickColor.new(EColor2)
  2070. p.Size=Vector3.new(1,1,1)
  2071. p.formFactor="Symmetric"
  2072. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2073. p.Parent=me
  2074. Instance.new("BlockMesh").Parent=p
  2075. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
  2076. wait(.05)
  2077. end
  2078. RightS.DesiredAngle=-1
  2079. LeftS.DesiredAngle=1
  2080. RightS.MaxVelocity=.4
  2081. LeftS.MaxVelocity=.4
  2082. s:Stop()
  2083. s.Parent=nil
  2084. wait(1)
  2085. doArms(false)
  2086. wait(10)
  2087. for _,v in pairs(me:children()) do
  2088. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2089. coroutine.resume(coroutine.create(function(PAR) for i=1, 5 do PAR.Transparency=PAR.Transparency-.2 wait(.02) end end),v)
  2090. elseif v.className=="Hat" and v:FindFirstChild("Handle")~=nil then
  2091. coroutine.resume(coroutine.create(function(PAR) for i=1, 5 do PAR.Transparency=PAR.Transparency-.2 wait(.02) end end),v.Handle)
  2092. end
  2093. end
  2094. end
  2095.  
  2096. DoTornado=function(nVel,Pwn)
  2097. t=Instance.new("Part")
  2098. t.BrickColor=BrickColor.new(EColor)
  2099. g=Instance.new("BodyGyro")
  2100. g.P=5000
  2101. g.D=50
  2102. g.cframe=CFrame.new(0,0,0)
  2103. g.maxTorque=Vector3.new(5000000000,0,5000000000)*50000000000
  2104. g.Parent=t
  2105. t.formFactor="Symmetric"
  2106. t.Size=Vector3.new(2,2,2)
  2107. t.CanCollide=false
  2108. t.CFrame=CFrame.new(me.Torso.CFrame.p+me.Torso.CFrame.lookVector*5+Vector3.new(0,3,0))*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  2109. vm=Instance.new("BodyVelocity")
  2110. vm.P=3000
  2111. vm.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2112. vm.velocity=me.Torso.CFrame.lookVector*40+Vector3.new(math.random(-5,5),0,math.random(-5,5))+nVel
  2113. vm.Parent=t
  2114. vl=Instance.new("BodyPosition")
  2115. vl.P=3000
  2116. vl.maxForce=Vector3.new(0,5000000,0)
  2117. vl.position=t.Position
  2118. vl.Parent=t
  2119. r=Instance.new("BodyAngularVelocity")
  2120. r.P=1450
  2121. r.maxTorque=Vector3.new(0,50000000000000000000000000,0)*5000
  2122. r.angularvelocity=Vector3.new(0,250,0)
  2123. r.Parent=t
  2124. s=Instance.new("Sound")
  2125. s.Volume=1
  2126. s.Pitch=.4
  2127. s.SoundId="http://www.roblox.com/asset?id=2101157"
  2128. s.Parent=t
  2129. s:Play()
  2130. script.NadoMesh:clone().Parent=t
  2131. t.Name="'Nado"
  2132. t.Parent=workspace
  2133. s=script.TORNADO:clone()
  2134. s.VP.Value=me
  2135. s.Disabled=false
  2136. s.Parent=t
  2137. s.VP.Value=me
  2138. end
  2139.  
  2140. DarkStorm=function()
  2141. Torso=me.Torso
  2142. RA=Torso:FindFirstChild("Right Shoulder")
  2143. if RA==nil then
  2144. return
  2145. end
  2146. LA=Torso:FindFirstChild("Left Shoulder")
  2147. if LA==nil then
  2148. return
  2149. end
  2150. if Charge>=50 then
  2151. Charge=Charge-50
  2152. else
  2153. return
  2154. end
  2155. doArms(true)
  2156. OR=RA.C0
  2157. RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
  2158. RightS.DesiredAngle=2
  2159. LeftS.DesiredAngle=.3
  2160. RightS.MaxVelocity=.2
  2161. LeftS.MaxVelocity=.1
  2162. ss=script.DBC:clone()
  2163. ss.Pitch=.7
  2164. ss.Parent=Torso
  2165. ss:Play()
  2166. lolocaik=8
  2167. if Corrupt==true then lolocaik=4 end
  2168. for darkowns=1, lolocaik do
  2169. p=Instance.new("Part")
  2170. p.TopSurface=0
  2171. p.BottomSurface=0
  2172. p.Anchored=true
  2173. p.CanCollide=false
  2174. p.BrickColor=BrickColor.new(EColor2)
  2175. p.Size=Vector3.new(1,1,1)
  2176. p.formFactor="Symmetric"
  2177. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2178. p.Parent=me
  2179. Instance.new("BlockMesh").Parent=p
  2180. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
  2181. wait(.05)
  2182. end
  2183. coroutine.resume(coroutine.create(DoTornado),Vector3.new(0,0,0),PWN)
  2184.  
  2185. Pos=me.Torso.CFrame*CFrame.new(3,0,0)
  2186.  
  2187. for i=1,10 do
  2188. wait(.1)
  2189. nDir=(me.Torso.Position-Pos.p).unit*i*5
  2190. coroutine.resume(coroutine.create(DoTornado),nDir,PWN)
  2191. nDir=(me.Torso.Position-Pos.p).unit*i*-5
  2192. coroutine.resume(coroutine.create(DoTornado),nDir,PWN)
  2193. end
  2194.  
  2195. RightS.DesiredAngle=-1
  2196. LeftS.DesiredAngle=1
  2197. RightS.MaxVelocity=.4
  2198. LeftS.MaxVelocity=.4
  2199. ss:Stop()
  2200. ss.Parent=nil
  2201. wait(.4)
  2202. doArms(false)
  2203. end
  2204.  
  2205. DarkWave=function()
  2206. Torso=me.Torso
  2207. RA=Torso:FindFirstChild("Right Shoulder")
  2208. if RA==nil then
  2209. return
  2210. end
  2211. LA=Torso:FindFirstChild("Left Shoulder")
  2212. if LA==nil then
  2213. return
  2214. end
  2215. if Charge>=50 then
  2216. Charge=Charge-50
  2217. else
  2218. return
  2219. end
  2220. doArms(true)
  2221. OR=RA.C0
  2222. RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
  2223. RightS.DesiredAngle=2
  2224. LeftS.DesiredAngle=.3
  2225. RightS.MaxVelocity=.2
  2226. LeftS.MaxVelocity=.1
  2227. ss=script.DBC:clone()
  2228. ss.Pitch=.8
  2229. ss.Parent=Torso
  2230. ss:Play()
  2231. for darkowns=1, 22 do
  2232. p=Instance.new("Part")
  2233. ss.Pitch=ss.Pitch-.02
  2234. p.TopSurface=0
  2235. p.BottomSurface=0
  2236. p.Anchored=true
  2237. p.CanCollide=false
  2238. p.BrickColor=BrickColor.new(EColor2)
  2239. p.Size=Vector3.new(1,1,1)
  2240. p.formFactor="Symmetric"
  2241. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2242. p.Parent=me
  2243. Instance.new("BlockMesh").Parent=p
  2244. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
  2245. wait(.05)
  2246. end
  2247. RightS.DesiredAngle=-1
  2248. LeftS.DesiredAngle=1
  2249. RightS.MaxVelocity=.4
  2250. LeftS.MaxVelocity=.4
  2251. ss:Stop()
  2252. ss.Parent=nil
  2253. Dir=Torso.CFrame.lookVector
  2254. coroutine.resume(coroutine.create(function(Dir)
  2255. for i=1, 20 do
  2256. p=Instance.new("Part")
  2257. p.Name="BlastRing"
  2258. p.TopSurface=0
  2259. p.BottomSurface=0
  2260. p.CanCollide=false
  2261. p.Anchored=true
  2262. p.BrickColor=BrickColor.new(EColor2)
  2263. p.Size=Vector3.new(2,2,2)
  2264. p.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,0)+Dir*(9*i+i)-Vector3.new(0,4,0)
  2265. p.Parent=workspace
  2266. script.BlastMesh:clone().Parent=p
  2267. p.BlastMesh.Scale=Vector3.new(2,1,2)
  2268. coroutine.resume(coroutine.create(function(par,int) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.5+int,.6+int,.5+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.4+int/3,0) wait() end par.Parent=nil end),p,i*.1)
  2269. PWN={}
  2270. for _,v in pairs(workspace:children()) do
  2271. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  2272. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  2273. if v~=me and (v.Torso.Position-p.Position).magnitude<=7+(i) then
  2274. table.insert(PWN,v.Torso)
  2275. end
  2276. end
  2277. end
  2278. end
  2279. for _,t in pairs(PWN) do
  2280. SHAKE2(t.Parent)
  2281. t.Parent.Humanoid:TakeDamage(5)
  2282. Mag=(p.Position-t.Position).magnitude/10
  2283. t.Parent.Humanoid:TakeDamage(2)
  2284. vl=Instance.new("BodyVelocity")
  2285. vl.P=4000
  2286. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2287. vl.velocity=Vector3.new(0,math.random(45,50),0)+(t.Position-p.Position).unit*(5/Mag)+Dir*(32)
  2288. if i==12 then
  2289. vl.velocity=vl.velocity+Vector3.new(0,40,0)+(t.Position-p.Position).unit*(20/Mag)
  2290. t.Parent.Humanoid:TakeDamage(5)
  2291. SHAKE3(t.Parent)
  2292. end
  2293. vl.Parent=t
  2294. game:GetService("Debris"):AddItem(vl,.2)
  2295. rl=Instance.new("BodyAngularVelocity")
  2296. rl.P=3000
  2297. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  2298. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2299. rl.Parent=t
  2300. game:GetService("Debris"):AddItem(rl,.2)
  2301. end
  2302.  
  2303. wait(.1)
  2304. end
  2305. end),Dir)
  2306. wait(.4)
  2307. doArms(false)
  2308. end
  2309.  
  2310. GBKEYDOWN=false
  2311. DarkGBuster=function()
  2312. Torso=me.Torso
  2313. RA=Torso:FindFirstChild("Right Shoulder")
  2314. if RA==nil then
  2315. return
  2316. end
  2317. LA=Torso:FindFirstChild("Left Shoulder")
  2318. if LA==nil then
  2319. return
  2320. end
  2321. if Charge>=150 then
  2322. Charge=Charge-150
  2323. else
  2324. return
  2325. end
  2326. doArms(true)
  2327. VDIR=Torso.CFrame.lookVector
  2328. OR=RA.C0
  2329. RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
  2330. RightS.DesiredAngle=2
  2331. LeftS.DesiredAngle=.3
  2332. RightS.MaxVelocity=.2
  2333. LeftS.MaxVelocity=.1
  2334. ss=script.DBC:clone()
  2335. ss.Pitch=.3
  2336. ss.Parent=Torso
  2337. ss:Play()
  2338. Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/2)
  2339. g=Instance.new("BodyGyro")
  2340. g.P=20000
  2341. g.D=800
  2342. g.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2343. g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  2344. g.Parent=Torso
  2345. El=15
  2346. GBKEYDOWN=true
  2347. while El<60 and GBKEYDOWN==true do
  2348. El=El+1
  2349. p=Instance.new("Part")
  2350. ss.Pitch=ss.Pitch+.006
  2351. p.TopSurface=0
  2352. p.BottomSurface=0
  2353. p.Anchored=true
  2354. p.CanCollide=false
  2355. p.BrickColor=BrickColor.new(EColor2)
  2356. p.Size=Vector3.new(1,1,1)
  2357. p.formFactor="Symmetric"
  2358. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)
  2359. p.Parent=me
  2360. Instance.new("BlockMesh").Parent=p
  2361. coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,El)
  2362. wait(.04)
  2363. end
  2364. RightS.MaxVelocity=.4
  2365. RightS.DesiredAngle=0
  2366. LeftS.DesiredAngle=1
  2367. RightS.MaxVelocity=.8
  2368. LeftS.MaxVelocity=.4
  2369. for darkowns=1, 4 do
  2370. p=Instance.new("Part")
  2371. ss.Pitch=ss.Pitch+.005
  2372. p.TopSurface=0
  2373. p.BottomSurface=0
  2374. p.Anchored=true
  2375. p.CanCollide=false
  2376. p.BrickColor=BrickColor.new(EColor2)
  2377. p.Size=Vector3.new(1,1,1)
  2378. p.formFactor="Symmetric"
  2379. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2380. p.Parent=me
  2381. Instance.new("BlockMesh").Parent=p
  2382. coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,40)
  2383. wait(.04)
  2384. end
  2385. p=Instance.new("Part")
  2386. p.Name="BlastRing"
  2387. p.TopSurface=0
  2388. p.BottomSurface=0
  2389. p.CanCollide=false
  2390. p.Anchored=true
  2391. p.BrickColor=BrickColor.new(EColor2)
  2392. p.Size=Vector3.new(1,1,1)
  2393. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  2394. p.Parent=workspace
  2395. script.BlastMesh:clone().Parent=p
  2396. p.BlastMesh.Scale=Vector3.new(1,1,1)
  2397. coroutine.resume(coroutine.create(function(par) for lol=1, 11 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.6,1.8,.6) par.Transparency=lol/11 par.CFrame=par.CFrame*CFrame.new(0,1,0) wait() end par.Parent=nil end),p)
  2398. r=Instance.new("Part")
  2399. r.Anchored=true
  2400. r.Name="Ring"
  2401. r.CanCollide=false
  2402. r.TopSurface=0
  2403. r.BottomSurface=0
  2404. r.CFrame=me["Right Arm"].CFrame*CFrame.new(0,3,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  2405. r.Parent=workspace
  2406. script.RingMesh:clone().Parent=r
  2407. r.RingMesh.Scale=Vector3.new(3,3,3)
  2408. r.BrickColor=BrickColor.new(EColor)
  2409. coroutine.resume(coroutine.create(function(par) for i=1, 15 do par.Transparency=i/15 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1.5,1.5,.5) par.CFrame=par.CFrame*CFrame.new(0,0,.4) wait() end par.Parent=nil end),r)
  2410. bStart=Instance.new("Part")
  2411. bStart.Name="BlastStart"
  2412. bStart.TopSurface=0
  2413. bStart.BottomSurface=0
  2414. bStart.BrickColor=BrickColor.new(EColor)
  2415. bStart.formFactor="Symmetric"
  2416. bStart.Size=Vector3.new(El,El,30)
  2417. m=Instance.new("SpecialMesh")
  2418. m.MeshType="Sphere"
  2419. m.Scale=Vector3.new(1,1,1)
  2420. m.Parent=bStart
  2421. bStart.Anchored=false
  2422. bStart.CanCollide=false
  2423. bStart.CFrame=Torso.CFrame*CFrame.new(17,0,0)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  2424. pv=Instance.new("BodyPosition")
  2425. pv.P=2000
  2426. pv.D=20
  2427. pv.maxForce=Vector3.new(0,500000000000000000000000000000000000000000000000,0)
  2428. pv.position=bStart.Position
  2429. pv.Parent=bStart
  2430. bStart.Parent=workspace
  2431. b=Instance.new("Part")
  2432. b.Name="BlastStart"
  2433. b.TopSurface=0
  2434. b.BottomSurface=0
  2435. b.BrickColor=BrickColor.new(EColor)
  2436. b.formFactor="Symmetric"
  2437. b.Size=Vector3.new(El,200,El)
  2438. m=Instance.new("CylinderMesh")
  2439. m.Parent=b
  2440. b.Anchored=false
  2441. b.CanCollide=false
  2442. b.CFrame=bStart.CFrame*CFrame.new(0,0,217)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  2443. pv2=Instance.new("BodyPosition")
  2444. pv2.P=2000
  2445. pv2.D=20
  2446. pv2.maxForce=Vector3.new(0,50000000000000000000000000000000000000000000000,0)
  2447. pv2.position=b.Position
  2448. pv2.Parent=b
  2449. b.Parent=workspace
  2450. ss:Stop()
  2451. ss.Parent=nil
  2452. be=Instance.new("Part")
  2453. be.Name="BlastStart"
  2454. be.TopSurface=0
  2455. be.BottomSurface=0
  2456. be.BrickColor=BrickColor.new(EColor)
  2457. be.formFactor="Symmetric"
  2458. be.Size=Vector3.new(El,El,30)
  2459. m=Instance.new("SpecialMesh")
  2460. m.MeshType="Sphere"
  2461. m.Scale=Vector3.new(1,1,1)
  2462. m.Parent=be
  2463. be.Anchored=false
  2464. be.CanCollide=false
  2465. be.CFrame=bStart.CFrame*CFrame.new(0,0,210)
  2466. pv3=Instance.new("BodyPosition")
  2467. pv3.P=2000
  2468. pv3.D=20
  2469. pv3.maxForce=Vector3.new(0,5000000000000000000000000000000000000000,0)
  2470. pv3.position=be.Position
  2471. pv3.Parent=be
  2472. be.Parent=workspace
  2473. pv=Instance.new("BodyPosition")
  2474. pv.P=2000
  2475. pv.D=20
  2476. pv.maxForce=Vector3.new(0,5000000000000000,0)
  2477. pv.position=bStart.Position
  2478. pv.Parent=bStart
  2479. bStart.Parent=workspace
  2480. PUSH=Instance.new("BodyVelocity")
  2481. PUSH.maxForce=Vector3.new(math.huge,0,math.huge)
  2482. PUSH.velocity=-VDIR*(El/5)
  2483. PUSH.Parent=Torso
  2484. for s=1, 4 do
  2485. script["GB"..tostring(s)]:Play()
  2486. end
  2487. coroutine.resume(coroutine.create(function()
  2488. for i=1, 50 do
  2489. bStart.CFrame=Torso.CFrame*CFrame.new(17,0,0)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  2490. bStart.CFrame=bStart.CFrame*CFrame.new(math.random(-30,30)/40,math.random(-30,30)/40,0)
  2491. b.CFrame=bStart.CFrame*CFrame.new(0,0,100)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  2492. be.CFrame=bStart.CFrame*CFrame.new(0,0,200)
  2493. pv.position=bStart.Position
  2494. pv2.position=b.Position
  2495. pv3.position=be.Position
  2496. wait()
  2497. end
  2498. end))
  2499. for i=1, 4 do
  2500. wait(.15)
  2501. p=Instance.new("Part")
  2502. p.Name="BlastRing"
  2503. p.TopSurface=0
  2504. p.BottomSurface=0
  2505. p.CanCollide=false
  2506. p.Anchored=true
  2507. p.BrickColor=BrickColor.new(EColor2)
  2508. p.Size=Vector3.new(1,1,1)
  2509. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-3,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  2510. p.Parent=workspace
  2511. script.BlastMesh:clone().Parent=p
  2512. p.BlastMesh.Scale=Vector3.new(1,1,1)
  2513. coroutine.resume(coroutine.create(function(par) for lol=1, 11 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,.8,1) par.Transparency=lol/11 par.CFrame=par.CFrame*CFrame.new(0,.7,0) wait() end par.Parent=nil end),p)
  2514. r=Instance.new("Part")
  2515. r.Anchored=true
  2516. r.Name="Ring"
  2517. r.CanCollide=false
  2518. r.TopSurface=0
  2519. r.BottomSurface=0
  2520. r.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-i,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  2521. r.Parent=workspace
  2522. script.RingMesh:clone().Parent=r
  2523. r.RingMesh.Scale=Vector3.new(3,3,3)
  2524. r.BrickColor=BrickColor.new(EColor)
  2525. coroutine.resume(coroutine.create(function(par) for i=1, 11 do par.Transparency=i/11 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(1,1,.25) par.CFrame=par.CFrame*CFrame.new(0,0,-.4) wait() end par.Parent=nil end),r)
  2526. pv.position=bStart.Position
  2527. pv2.position=b.Position
  2528. connector=Instance.new("Part")
  2529. connector.Name="HITSPACE"
  2530. connector.formFactor="Symmetric"
  2531. connector.Size=Vector3.new(El/2,130,5)
  2532. connector.CanCollide=false
  2533. connector.CFrame=b.CFrame-Vector3.new(0,7.5,0)
  2534. push=Instance.new("BodyPosition")
  2535. push.P=3000
  2536. push.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2537. push.position=connector.Position+Vector3.new(0,15,0)
  2538. push.Parent=connector
  2539. connector.Transparency=1
  2540. connector.Parent=workspace
  2541. connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
  2542. game:GetService("Debris"):AddItem(connector,1)
  2543. connector=Instance.new("Part")
  2544. connector.Name="HITSPACE"
  2545. connector.formFactor="Symmetric"
  2546. connector.Size=Vector3.new(El/2,211,1)
  2547. connector.CanCollide=false
  2548. connector.CFrame=b.CFrame+Vector3.new(0,5,0)
  2549. connector.Transparency=1
  2550. connector.Parent=workspace
  2551. connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
  2552. game:GetService("Debris"):AddItem(connector,1)
  2553. connector=Instance.new("Part")
  2554. connector.Name="HITSPACE"
  2555. connector.formFactor="Symmetric"
  2556. connector.Size=Vector3.new(El/2,El/2,1)
  2557. connector.CanCollide=false
  2558. connector.CFrame=bStart.CFrame
  2559. connector.Transparency=1
  2560. connector.Parent=workspace
  2561. connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
  2562. v=Instance.new("BodyVelocity")
  2563. v.P=2000
  2564. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2565. v.velocity=VDIR*400
  2566. v.Parent=connector
  2567. game:GetService("Debris"):AddItem(connector,.7)
  2568. end
  2569. for i=1, 7 do
  2570. wait(.15)
  2571. p=Instance.new("Part")
  2572. p.Name="BlastRing"
  2573. p.TopSurface=0
  2574. p.BottomSurface=0
  2575. p.CanCollide=false
  2576. p.Anchored=true
  2577. p.BrickColor=BrickColor.new(EColor2)
  2578. p.Size=Vector3.new(1,1,1)
  2579. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-3,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  2580. p.Parent=workspace
  2581. script.BlastMesh:clone().Parent=p
  2582. p.BlastMesh.Scale=Vector3.new(1,1,1)
  2583. coroutine.resume(coroutine.create(function(par) for lol=1, 11 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,.8,1) par.Transparency=lol/11 par.CFrame=par.CFrame*CFrame.new(0,.7,0) wait() end par.Parent=nil end),p)
  2584. connector=Instance.new("Part")
  2585. connector.Name="HITSPACE"
  2586. connector.formFactor="Symmetric"
  2587. connector.Size=Vector3.new(El/2,211,5)
  2588. connector.CanCollide=false
  2589. connector.CFrame=b.CFrame-Vector3.new(0,5,0)
  2590. push=Instance.new("BodyPosition")
  2591. push.P=5000
  2592. push.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2593. push.position=connector.Position+Vector3.new(0,15,0)
  2594. push.Parent=connector
  2595. connector.Transparency=1
  2596. connector.Parent=workspace
  2597. connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
  2598. game:GetService("Debris"):AddItem(connector,.5)
  2599. connector=Instance.new("Part")
  2600. connector.Name="HITSPACE"
  2601. connector.formFactor="Symmetric"
  2602. connector.Size=Vector3.new(El/2,211,8)
  2603. connector.CanCollide=false
  2604. connector.CFrame=b.CFrame+Vector3.new(0,7.5,0)
  2605. connector.Transparency=1
  2606. connector.Parent=workspace
  2607. connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
  2608. game:GetService("Debris"):AddItem(connector,1)
  2609. connector=Instance.new("Part")
  2610. connector.Name="HITSPACE"
  2611. connector.formFactor="Symmetric"
  2612. connector.Size=Vector3.new(El/2,El/2,1)
  2613. connector.CanCollide=false
  2614. connector.CFrame=bStart.CFrame
  2615. connector.Transparency=1
  2616. connector.Parent=workspace
  2617. connector.Touched:connect(function(hit) GBConnect(hit,VDIR) end)
  2618. v=Instance.new("BodyVelocity")
  2619. v.P=2000
  2620. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2621. v.velocity=VDIR*300
  2622. v.Parent=connector
  2623. game:GetService("Debris"):AddItem(connector,.7)
  2624. end
  2625. bStart.Parent=nil
  2626. b.Parent=nil
  2627. be.Parent=nil
  2628. PUSH.Parent=nil
  2629. RightS.DesiredAngle=2
  2630. RightS.MaxVelocity=.6
  2631. wait(1)
  2632. LeftS.DesiredAngle=0
  2633. LeftS.MaxVelocity=.4
  2634. for i=1, 10 do
  2635. wait()
  2636. Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/20)
  2637. end
  2638. g.Parent=nil
  2639. doArms(false)
  2640. end
  2641.  
  2642.  
  2643. DarkCurse=function()
  2644. Torso=me.Torso
  2645. RA=Torso:FindFirstChild("Right Shoulder")
  2646. if RA==nil then
  2647. return
  2648. end
  2649. LA=Torso:FindFirstChild("Left Shoulder")
  2650. if LA==nil then
  2651. return
  2652. end
  2653. if Charge>=50 then
  2654. Charge=Charge-50
  2655. else
  2656. return
  2657. end
  2658. doArms(true)
  2659. VDIR=Torso.CFrame.lookVector
  2660. OR=RA.C0
  2661. RightS.DesiredAngle=-.9
  2662. LeftS.DesiredAngle=-.3
  2663. RightS.MaxVelocity=.3
  2664. LeftS.MaxVelocity=.1
  2665. ss=script.DBC:clone()
  2666. ss.Pitch=.3
  2667. ss.Parent=Torso
  2668. ss:Play()
  2669. for darkowns=1, 15 do
  2670. p=Instance.new("Part")
  2671. ss.Pitch=ss.Pitch+.007
  2672. p.TopSurface=0
  2673. p.BottomSurface=0
  2674. p.Anchored=true
  2675. p.CanCollide=false
  2676. p.BrickColor=BrickColor.new(EColor2)
  2677. p.Size=Vector3.new(1,1,1)
  2678. p.formFactor="Symmetric"
  2679. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2680. p.Parent=me
  2681. Instance.new("BlockMesh").Parent=p
  2682. coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/2)
  2683. wait(.04)
  2684. end
  2685. RightS.DesiredAngle=1.6
  2686. for darkowns=1, 17 do
  2687. p=Instance.new("Part")
  2688. ss.Pitch=ss.Pitch+.003
  2689. p.TopSurface=0
  2690. p.BottomSurface=0
  2691. p.Anchored=true
  2692. p.CanCollide=false
  2693. p.BrickColor=BrickColor.new(EColor2)
  2694. p.Size=Vector3.new(1,1,1)
  2695. p.formFactor="Symmetric"
  2696. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2697. p.Parent=me
  2698. Instance.new("BlockMesh").Parent=p
  2699. coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/5+7.5)
  2700. wait(.04)
  2701. end
  2702. ss:Stop()
  2703. ss.Parent=nil
  2704. ss=script.DBExplode:clone()
  2705. ss.Parent=Torso
  2706. ss.Pitch=1
  2707. ss:Play()
  2708. game:GetService("Debris"):AddItem(ss,2)
  2709. LeftS.DesiredAngle=.3
  2710. coroutine.resume(coroutine.create(DCCO2),p,1)
  2711. coroutine.resume(coroutine.create(DCCO3),p,3)
  2712. md=12
  2713. if Corrupt==true then md=17 end
  2714. PWN={}
  2715. for _,v in pairs(workspace:children()) do
  2716. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  2717. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  2718. if v~=me and (v.Torso.Position-p.Position).magnitude<=md then
  2719. table.insert(PWN,v.Torso)
  2720. end
  2721. end
  2722. end
  2723. end
  2724. for _,t in pairs(PWN) do
  2725. SHAKE3(t.Parent)
  2726. Num=0
  2727. for __,vv in pairs(t.Parent:children()) do
  2728. if vv.Name=="DC" then
  2729. Num=Num+1
  2730. end
  2731. end
  2732. ss=script.Curse:clone()
  2733. ss.Parent=t
  2734. game:GetService("Debris"):AddItem(ss,2)
  2735. if Num<=1 then
  2736. s=script.DC:clone()
  2737. s.Disabled=false
  2738. s.Parent=t.Parent
  2739. rl=Instance.new("BodyAngularVelocity")
  2740. rl.P=3000
  2741. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  2742. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/5
  2743. rl.Parent=t
  2744. game:GetService("Debris"):AddItem(rl,.1)
  2745. ss.Pitch=.5
  2746. ss:Play()
  2747. else
  2748. ss.Pitch=.37
  2749. ss:Play()
  2750. t.Parent.Humanoid:TakeDamage(8)
  2751. rl=Instance.new("BodyAngularVelocity")
  2752. rl.P=3000
  2753. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  2754. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))*2
  2755. rl.Parent=t
  2756. game:GetService("Debris"):AddItem(rl,.1)
  2757. end
  2758. if Corrupt==true then
  2759. t.Parent.Humanoid:TakeDamage(16)
  2760. rl=Instance.new("BodyAngularVelocity")
  2761. rl.P=3000
  2762. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  2763. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))*2
  2764. rl.Parent=t
  2765. game:GetService("Debris"):AddItem(rl,.1)
  2766. end
  2767. end
  2768. wait(.5)
  2769. doArms(false)
  2770. end
  2771.  
  2772. DarkRiftF=function(par)
  2773. coroutine.resume(coroutine.create(DCCO2),par,250)
  2774. coroutine.resume(coroutine.create(DCCO3),par,250)
  2775. if Corrupt==true then s=script.projPuller:clone() s.Disabled=false s.Parent=par end
  2776. for timelapse=1, 120 do
  2777. PWN={}
  2778. for _,v in pairs(workspace:children()) do
  2779. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  2780. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  2781. if v~=me and (v.Torso.Position-par.Position).magnitude<=25 then
  2782. table.insert(PWN,v.Torso)
  2783. end
  2784. end
  2785. end
  2786. end
  2787. for _,t in pairs(PWN) do
  2788. Mag=(par.Position-t.Position).magnitude/2
  2789. t.Parent.Humanoid:TakeDamage(.6)
  2790. rl=Instance.new("BodyAngularVelocity")
  2791. rl.P=3000
  2792. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  2793. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  2794. rl.Parent=t
  2795. game:GetService("Debris"):AddItem(rl,.1)
  2796. if Mag<=2 then
  2797. t.Parent.Humanoid.Health=t.Parent.Humanoid.Health-.3
  2798. SHAKE3(t.Parent)
  2799. else
  2800. vl=Instance.new("BodyVelocity")
  2801. vl.P=3000
  2802. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  2803. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  2804. vl.Parent=t
  2805. game:GetService("Debris"):AddItem(vl,.1)
  2806. end
  2807. end
  2808. wait(.08)
  2809. end
  2810. par.Parent=nil
  2811. end
  2812.  
  2813. DarkRift=function()
  2814. Torso=me.Torso
  2815. RA=Torso:FindFirstChild("Right Shoulder")
  2816. if RA==nil then
  2817. return
  2818. end
  2819. LA=Torso:FindFirstChild("Left Shoulder")
  2820. if LA==nil then
  2821. return
  2822. end
  2823. if Charge>=100 then
  2824. Charge=Charge-100
  2825. else
  2826. return
  2827. end
  2828. doArms(true)
  2829. OR=RA.C0
  2830. RightS.DesiredAngle=-.9
  2831. LeftS.DesiredAngle=-.3
  2832. RightS.MaxVelocity=.3
  2833. LeftS.MaxVelocity=.1
  2834. ss=script.DBC:clone()
  2835. ss.Pitch=.3
  2836. ss.Parent=Torso
  2837. ss:Play()
  2838. for darkowns=1, 5 do
  2839. p=Instance.new("Part")
  2840. ss.Pitch=ss.Pitch+.003
  2841. p.TopSurface=0
  2842. p.BottomSurface=0
  2843. p.Anchored=true
  2844. p.CanCollide=false
  2845. p.BrickColor=BrickColor.new(EColor2)
  2846. p.Size=Vector3.new(1,1,1)
  2847. p.formFactor="Symmetric"
  2848. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2849. p.Parent=me
  2850. Instance.new("BlockMesh").Parent=p
  2851. coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/2)
  2852. wait(.04)
  2853. end
  2854. RightS.DesiredAngle=1.6
  2855. for darkowns=1, 12 do
  2856. p=Instance.new("Part")
  2857. ss.Pitch=ss.Pitch+.002
  2858. p.TopSurface=0
  2859. p.BottomSurface=0
  2860. p.Anchored=true
  2861. p.CanCollide=false
  2862. p.BrickColor=BrickColor.new(EColor2)
  2863. p.Size=Vector3.new(1,1,1)
  2864. p.formFactor="Symmetric"
  2865. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/7.5)
  2866. p.Parent=me
  2867. Instance.new("BlockMesh").Parent=p
  2868. coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/70,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns/5+7.5)
  2869. wait(.04)
  2870. end
  2871. ss:Stop()
  2872. ss:Remove()
  2873. l=Instance.new("Part")
  2874. l.Name="Rift"
  2875. l.Transparency=0
  2876. l.Anchored=true
  2877. l.CanCollide=false
  2878. l.Size=Vector3.new(1,1,1)
  2879. l.CFrame=p.CFrame
  2880. l.Parent=workspace
  2881. coroutine.resume(coroutine.create(DarkRiftF),l)
  2882. s=script.GB4:clone()
  2883. s.Pitch=.5
  2884. s.Parent=l
  2885. s:Play()
  2886. wait(.5)
  2887. RightS.DesiredAngle=0
  2888. wait(.2)
  2889. doArms(false)
  2890. wait(.5)
  2891. end
  2892.  
  2893. DarkSUMMONWEEGEEXD=function(hit)
  2894. if hit==nil then
  2895. return
  2896. end
  2897. h=hit.Parent:FindFirstChild("Humanoid")
  2898. if h~=nil then
  2899. vv=game.Players:GetPlayerFromCharacter(hit.Parent)
  2900. if vv~=nil then
  2901. PLGUI=vv.PlayerGui
  2902. m=Instance.new("Message")
  2903. m.Text=PLGUI.Name
  2904. m.Parent=workspace
  2905. wait(1)
  2906. m.Parent=nil
  2907. S=script.OWNAGEgui:clone()
  2908. S.Parent=PLGUI
  2909. if Charge>=70 then
  2910. Charge=Charge-70
  2911. else
  2912. return
  2913. end
  2914. S.Script.Disabled=false
  2915. end
  2916. end
  2917. end
  2918.  
  2919. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  2920. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  2921. --------------------MegamanBlue only----------------------------------------------------------------------------------------------------------------------------------
  2922.  
  2923. DarkPunch=function()
  2924. Torso=me.Torso
  2925. RA=Torso:FindFirstChild("Right Shoulder")
  2926. if RA==nil then
  2927. return
  2928. end
  2929. LA=Torso:FindFirstChild("Left Shoulder")
  2930. if LA==nil then
  2931. return
  2932. end
  2933. if Charge>=40 then
  2934. Charge=Charge-40
  2935. else
  2936. return
  2937. end
  2938. doArms(true)
  2939. RightS.MaxVelocity=.3
  2940. LeftS.MaxVelocity=.2
  2941. RightS.DesiredAngle=-1.5
  2942. LeftS.DesiredAngle=-.6
  2943.  
  2944. for darkowns=1, 6 do
  2945. p=Instance.new("Part")
  2946. p.TopSurface=0
  2947. p.BottomSurface=0
  2948. p.Anchored=true
  2949. p.CanCollide=false
  2950. p.BrickColor=BrickColor.new(EColor2)
  2951. p.Size=Vector3.new(1,1,1)
  2952. p.formFactor="Symmetric"
  2953. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  2954. p.Parent=me
  2955. Instance.new("BlockMesh").Parent=p
  2956. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
  2957. wait(.05)
  2958. end
  2959.  
  2960. RightS.MaxVelocity=1
  2961. LeftS.MaxVelocity=.4
  2962. RightS.DesiredAngle=1.6
  2963. LeftS.DesiredAngle=1.2
  2964. v=Instance.new("BodyVelocity")
  2965. v.P=6000
  2966. v.maxForce=Vector3.new(math.huge,5000000000,math.huge)
  2967. v.velocity=Torso.CFrame.lookVector*60
  2968. v.Parent=Torso
  2969. print(v)
  2970. g=Instance.new("BodyGyro")
  2971. g.P=3000
  2972. g.maxTorque=Vector3.new(50000,50000,50000)*50000
  2973. g.cframe=Torso.CFrame
  2974. g.Parent=Torso
  2975. if Corrupt==true then v.velocity=Torso.CFrame.lookVector*120 end
  2976.  
  2977. sa=Instance.new("Part")
  2978. sa.Name="StrikeArea"
  2979. sa.TopSurface=0
  2980. sa.BottomSurface=0
  2981. sa.CFrame=Torso.Parent.Head.CFrame
  2982. sa.formFactor="Symmetric"
  2983. sa.Transparency=1
  2984. sa.CanCollide=false
  2985. sa.Size=Vector3.new(2,1,2)
  2986. sa.Parent=me
  2987. w=Instance.new("Weld")
  2988. w.Part0=me["Right Arm"]
  2989. w.Part1=sa
  2990. w.Parent=sa
  2991. w.C0=CFrame.new(0,-1.5,0)
  2992. PAWNSH=sa.Touched:connect(PunchHit)
  2993.  
  2994. p=Instance.new("Part")
  2995. p.Name="BlastRing"
  2996. p.TopSurface=0
  2997. p.BottomSurface=0
  2998. p.CanCollide=false
  2999. p.Anchored=true
  3000. p.BrickColor=BrickColor.new(EColor2)
  3001. p.Size=Vector3.new(1,1,1)
  3002. p.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Torso.CFrame.lookVector*-2
  3003. p.Parent=workspace
  3004. script.BlastMesh:clone().Parent=p
  3005. p.BlastMesh.Scale=Vector3.new(1,1,1)
  3006. coroutine.resume(coroutine.create(function(par) for lol=1, 9 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8,.8,.6) par.Transparency=lol/9 par.CFrame=par.CFrame*CFrame.new(0,.2,0) wait() end par.Parent=nil end),p)
  3007.  
  3008. wait(.2)
  3009. sa.Parent=nil
  3010. v.Parent=nil
  3011. wait(.5)
  3012. RightS.DesiredAngle=0
  3013. LeftS.DesiredAngle=0
  3014. wait(.5)
  3015. g.Parent=nil
  3016. doArms(false)
  3017. end
  3018. DarkBomb=function()
  3019. Torso=me.Torso
  3020. RA=Torso:FindFirstChild("Right Shoulder")
  3021. if RA==nil then
  3022. return
  3023. end
  3024. LA=Torso:FindFirstChild("Left Shoulder")
  3025. if LA==nil then
  3026. return
  3027. end
  3028. if Charge>=100 then
  3029. Charge=Charge-100
  3030. else
  3031. return
  3032. end
  3033. doArms(true)
  3034. OR=RA.C0
  3035. OL=LA.C0
  3036. RightS.C0=OR*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.2,-.5,0)
  3037. LeftS.C0=OL*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(-.2,-.5,0)
  3038. RightS.DesiredAngle=2
  3039. LeftS.DesiredAngle=-2
  3040. RightS.MaxVelocity=.2
  3041. LeftS.MaxVelocity=.2
  3042. Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(math.pi/9,0,0)
  3043. s=script.DBC:clone()
  3044. s.Parent=Torso
  3045. s:Play()
  3046. for darkowns=1, 25 do
  3047. p=Instance.new("Part")
  3048. p.TopSurface=0
  3049. p.BottomSurface=0
  3050. p.Anchored=true
  3051. p.CanCollide=false
  3052. p.BrickColor=BrickColor.new(EColor2)
  3053. p.Size=Vector3.new(1,1,1)
  3054. p.formFactor="Symmetric"
  3055. p.CFrame=me["Right Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  3056. p.Parent=me
  3057. Instance.new("BlockMesh").Parent=p
  3058. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
  3059. p=Instance.new("Part")
  3060. p.TopSurface=0
  3061. p.BottomSurface=0
  3062. p.Anchored=true
  3063. p.CanCollide=false
  3064. p.BrickColor=BrickColor.new(EColor2)
  3065. p.Size=Vector3.new(1,1,1)
  3066. p.formFactor="Symmetric"
  3067. p.CFrame=me["Left Arm"].CFrame*CFrame.new(0,-1.5,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20)+Torso.CFrame.lookVector*(darkowns/12)
  3068. p.Parent=me
  3069. Instance.new("BlockMesh").Parent=p
  3070. coroutine.resume(coroutine.create(function(par,int) for i=1, 13 do par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.05+int*.025,.05+int*.025,.05+int*.025) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/50,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),p,darkowns)
  3071. wait(.05)
  3072. end
  3073. RightS.DesiredAngle=-1
  3074. LeftS.DesiredAngle=1
  3075. RightS.MaxVelocity=.4
  3076. LeftS.MaxVelocity=.4
  3077. s.Parent=nil
  3078. Torso.Neck.C0=Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(-math.pi/9,0,0)
  3079.  
  3080. Dir=Torso.CFrame.lookVector
  3081. Vel=Dir*100
  3082. if Corrupt==true then Vel=Dir*150 end
  3083.  
  3084. bomb=Instance.new("Part")
  3085. bomb.Name="DarkBlast"
  3086. bomb.Transparency=1
  3087. bomb.TopSurface=0
  3088. bomb.BottomSurface=0
  3089. bomb.Anchored=false
  3090. bomb.CanCollide=false
  3091. bomb.Size=Vector3.new(7,1,7)
  3092. bomb.formFactor="Symmetric"
  3093. bomb.CFrame=CFrame.new(Torso.CFrame.p+Vector3.new(0,1,0)+Dir*6,Torso.Position+Dir*50)*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
  3094. bomb.Parent=workspace
  3095. DBCon=bomb.Touched:connect(function(hit) DBHit(hit,bomb) end)
  3096. v=Instance.new("BodyVelocity")
  3097. v.P=3000
  3098. v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3099. v.velocity=Vel
  3100. v.Parent=bomb
  3101. s=script.Abscond:clone()
  3102. s.Pitch=.6
  3103. s.Parent=bomb
  3104. s:Play()
  3105. coroutine.resume(coroutine.create(DCCO1),bomb,10)
  3106. coroutine.resume(coroutine.create(DCCO2),bomb,20)
  3107. for loopwait=1, 20 do
  3108. if bomb.Parent==nil then
  3109. return doArms(false)
  3110. end
  3111. wait(.025)
  3112. end
  3113. DBCon:disconnect()
  3114. DBExplode(bomb)
  3115. doArms(false)
  3116. end
  3117. DarkBoostStrike=function()
  3118. if Charge>=80 then
  3119. Charge=Charge-80
  3120. else
  3121. return
  3122. end
  3123. script.Defile:Play()
  3124. Contact=false
  3125. Torso=me.Torso
  3126. coroutine.resume(coroutine.create(DCCO1),Torso,5)
  3127. coroutine.resume(coroutine.create(DCCO2),Torso,10)
  3128. sa=Instance.new("Part")
  3129. sa.Name="StrikeArea"
  3130. sa.TopSurface=0
  3131. sa.BottomSurface=0
  3132. sa.CFrame=Torso.Parent.Head.CFrame
  3133. sa.formFactor="Symmetric"
  3134. sa.Transparency=1
  3135. sa.CanCollide=false
  3136. sa.Size=Vector3.new(8,1,8)
  3137. sa.Parent=me
  3138. w=Instance.new("Weld")
  3139. w.Part0=me.Torso
  3140. w.Part1=sa
  3141. w.Parent=sa
  3142. w.C0=CFrame.new(0,3,0)
  3143. Dir=Torso.CFrame.lookVector
  3144. Vel=Dir*150
  3145. if Corrupt==true then Vel=Dir*200 end
  3146. uv=Instance.new("BodyVelocity")
  3147. uv.P=4000
  3148. uv.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3149. uv.velocity=Vel
  3150. uv.Parent=Torso
  3151. g=Instance.new("BodyGyro")
  3152. g.P=4500
  3153. g.D=500
  3154. g.maxTorque=Vector3.new(5000000,5000000,5000000)*5000000000000000
  3155. g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
  3156. g.Parent=Torso
  3157. ContactF=sa.Touched:connect(function(hit) DCContact(hit,Torso) end)
  3158. coroutine.resume(coroutine.create(DCCO3),Torso,10)
  3159. for waitloop=1, 10 do
  3160. wait(.025)
  3161. end
  3162. if Contact==false or Charge<35 then
  3163. ContactF:disconnect()
  3164. uv.velocity=uv.velocity/10
  3165. wait()
  3166. uv.Parent=nil
  3167. g.Parent=nil
  3168. else
  3169. Charge=Charge-35
  3170. print("GOING ON!")
  3171. coroutine.resume(coroutine.create(DCCO1),Torso,5)
  3172. coroutine.resume(coroutine.create(DCCO2),Torso,10)
  3173. coroutine.resume(coroutine.create(DCCO3),Torso,10)
  3174. Contact=false
  3175. for rise=1, 20 do
  3176. uv.velocity=Dir*(100-(rise*3))+Vector3.new(0,(rise/4)*rise,0)
  3177. g.cframe=CFrame.new(Vector3.new(0,0,0),Torso.Velocity.unit)*CFrame.fromEulerAnglesXYZ(-math.pi/2,math.pi/10*rise,0)
  3178. wait(.25/10)
  3179. end
  3180. if Contact==false or Charge<35 then
  3181. print("DONE")
  3182. ContactF:disconnect()
  3183. uv.velocity=uv.velocity/10
  3184. wait()
  3185. uv.Parent=nil
  3186. g.Parent=nil
  3187. else
  3188. print("CONTINUE!")
  3189. ContactF:disconnect()
  3190. w.C0=CFrame.new(0,-3.5,0)
  3191. nCont=sa.Touched:connect(Land)
  3192. Contact=false
  3193. uv.P=0
  3194. doRing=false
  3195. while true do
  3196. if Torso.Velocity.y<=-10 and doRing==false then
  3197. doRing=true
  3198. coroutine.resume(coroutine.create(DCCO1),Torso,5)
  3199. coroutine.resume(coroutine.create(DCCO2),Torso,10)
  3200. end
  3201. if Contact==true then
  3202. break
  3203. end
  3204. g.cframe=CFrame.new(Vector3.new(0,0,0),Torso.Velocity.unit)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3205. wait()
  3206. end
  3207. Charge=Charge-35
  3208. uv.P=3000
  3209. uv.velocity=Vector3.new(0,0,0)
  3210. wait()
  3211. uv.Parent=nil
  3212. g.Parent=nil
  3213. end
  3214. end
  3215. sa.Parent=nil
  3216. end
  3217. HPHeal=function(part)
  3218. if part==nil then
  3219. return
  3220. end
  3221. h=part.Parent:FindFirstChild("Humanoid")
  3222. if h~=nil then
  3223. if h.Health<0 then
  3224. return
  3225. end
  3226. Torso=h.Parent:FindFirstChild("Torso")
  3227. if Torso~=nil then
  3228. if (Torso.Position-me.Torso.Position).magnitude>=20 then
  3229. return
  3230. end
  3231. if Charge>=20 then
  3232. Charge=Charge-20
  3233. else
  3234. return
  3235. end
  3236. s=script.Imbue:clone()
  3237. s.Pitch=1.2
  3238. s.Parent=Torso
  3239. s:Play()
  3240. game:GetService("Debris"):AddItem(s,2)
  3241. s=script.Imbue:clone()
  3242. s.Pitch=.8
  3243. s.Parent=me.Torso
  3244. s:Play()
  3245. game:GetService("Debris"):AddItem(s,2)
  3246. for i=1, 18 do
  3247. e=Instance.new("Part")
  3248. e.TopSurface=0
  3249. e.BottomSurface=0
  3250. e.CanCollide=false
  3251. e.formFactor="Plate"
  3252. e.Size=Vector3.new(1,.4,1)
  3253. e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+Vector3.new(math.cos(i)*5,0,math.sin(i)*5)+Vector3.new(0,6.4,0),part.Parent.Torso.CFrame.p+Vector3.new(0,6.4,0))
  3254. e.Name="Effect"
  3255. e.BrickColor=BrickColor.new(EColor2)
  3256. f=Instance.new("BodyVelocity")
  3257. f.P=500
  3258. f.maxForce=Vector3.new(0,math.huge,0)
  3259. f.velocity=Vector3.new(0,-20,0)
  3260. f.Parent=e
  3261. e.Parent=part.Parent
  3262. coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),e)
  3263. e=Instance.new("Part")
  3264. e.TopSurface=0
  3265. e.BottomSurface=0
  3266. e.CanCollide=false
  3267. e.formFactor="Plate"
  3268. e.Size=Vector3.new(1,.4,1)
  3269. e.CFrame=CFrame.new(me.Torso.CFrame.p+Vector3.new(-math.cos(i)*5,0,-math.sin(i)*5)-Vector3.new(0,3.2,0),me.Torso.CFrame.p-Vector3.new(0,3.2,0))
  3270. e.Name="Effect"
  3271. e.BrickColor=BrickColor.new(EColor2)
  3272. f=Instance.new("BodyVelocity")
  3273. f.P=500
  3274. f.maxForce=Vector3.new(0,math.huge,0)
  3275. f.velocity=Vector3.new(0,20,0)
  3276. f.Parent=e
  3277. e.Parent=part.Parent
  3278. coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),e)
  3279. part.Parent.Humanoid.Health=part.Parent.Humanoid.Health-10
  3280. me.Humanoid.Health=me.Humanoid.Health+1000
  3281. wait(.1)
  3282. end
  3283. end
  3284. end
  3285. end
  3286. HPSteal=function(part)
  3287. if part==nil then
  3288. return
  3289. end
  3290. h=part.Parent:FindFirstChild("Humanoid")
  3291. if h~=nil then
  3292. if h.Health<0 then
  3293. return
  3294. end
  3295. Torso=h.Parent:FindFirstChild("Torso")
  3296. if Torso~=nil then
  3297. if (Torso.Position-me.Torso.Position).magnitude>=40 then
  3298. return
  3299. end
  3300. if Charge>=60 then
  3301. Charge=Charge-60
  3302. else
  3303. return
  3304. end
  3305. s=script.Imbue:clone()
  3306. s.Pitch=.8
  3307. s.Parent=Torso
  3308. s:Play()
  3309. game:GetService("Debris"):AddItem(s,2)
  3310. s=script.Imbue:clone()
  3311. s.Pitch=1.2
  3312. s.Parent=me.Torso
  3313. s:Play()
  3314. game:GetService("Debris"):AddItem(s,2)
  3315. for i=1, 18 do
  3316. e=Instance.new("Part")
  3317. e.TopSurface=0
  3318. e.BottomSurface=0
  3319. e.CanCollide=false
  3320. e.formFactor="Plate"
  3321. e.Size=Vector3.new(1,.4,1)
  3322. e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+Vector3.new(math.cos(i)*5,0,math.sin(i)*5)-Vector3.new(0,3.2,0),part.Parent.Torso.CFrame.p-Vector3.new(0,3.2,0))
  3323. e.Name="Effect"
  3324. e.BrickColor=BrickColor.new(EColor2)
  3325. f=Instance.new("BodyVelocity")
  3326. f.P=500
  3327. f.maxForce=Vector3.new(0,math.huge,0)
  3328. f.velocity=Vector3.new(0,20,0)
  3329. f.Parent=e
  3330. e.Parent=part.Parent
  3331. coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),e)
  3332. e=Instance.new("Part")
  3333. e.TopSurface=0
  3334. e.BottomSurface=0
  3335. e.CanCollide=false
  3336. e.formFactor="Plate"
  3337. e.Size=Vector3.new(1,.4,1)
  3338. e.CFrame=CFrame.new(me.Torso.CFrame.p+Vector3.new(-math.cos(i)*5,0,-math.sin(i)*5)+Vector3.new(0,6.4,0),me.Torso.CFrame.p+Vector3.new(0,6.4,0))
  3339. e.Name="Effect"
  3340. e.BrickColor=BrickColor.new(EColor2)
  3341. f=Instance.new("BodyVelocity")
  3342. f.P=500
  3343. f.maxForce=Vector3.new(0,math.huge,0)
  3344. f.velocity=Vector3.new(0,-20,0)
  3345. f.Parent=e
  3346. e.Parent=part.Parent
  3347. coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),e)
  3348. part.Parent.Humanoid.Health=part.Parent.Humanoid.Health-2
  3349. me.Humanoid.Health=me.Humanoid.Health+2
  3350. wait(.1)
  3351. end
  3352. end
  3353. end
  3354. end
  3355. DarkDoubleJump=function()
  3356. Torso=me:FindFirstChild("Torso")
  3357. if Charge>=5 then
  3358. Charge=Charge-5
  3359. else
  3360. return
  3361. end
  3362. part=Torso
  3363. e=Instance.new("Part")
  3364. e.TopSurface=0
  3365. e.BottomSurface=0
  3366. e.CanCollide=false
  3367. e.Anchored=true
  3368. e.Shape="Ball"
  3369. e.Size=Vector3.new(1,1,1)
  3370. e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,math.pi)
  3371. e.Name="Effect"
  3372. e.BrickColor=BrickColor.new(EColor2)
  3373. e.Parent=Torso.Parent
  3374. m=script.BlastMesh:clone()
  3375. m.Parent=e
  3376. coroutine.resume(coroutine.create(function(m) for i=1, 6 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,.25,0) m.Scale=m.Scale+Vector3.new(1,.1,1) m.Parent.Transparency=i/6 wait() end m.Parent.Parent=nil end),e.BlastMesh)
  3377. v=Instance.new("BodyVelocity")
  3378. v.P=8000
  3379. v.maxForce=Vector3.new(0,math.huge,0)
  3380. v.velocity=Vector3.new(0,80,0)
  3381. v.Parent=Torso
  3382. g=Instance.new("BodyGyro")
  3383. g.P=3000
  3384. g.maxTorque=Vector3.new(50000,0,50000)*50
  3385. g.cframe=Torso.CFrame
  3386. g.Parent=Torso
  3387. game:GetService("Debris"):AddItem(v,.2)
  3388. s=script.Break:clone()
  3389. s.Pitch=4.5
  3390. s.Parent=Torso
  3391. s:Play()
  3392. wait(.5)
  3393. g:Remove()
  3394. wait(.1)
  3395. s:Remove()
  3396. end
  3397. DarkSpeedBreak=function()
  3398. if Charge>=3 then
  3399. Charge=Charge-3
  3400. else
  3401. return
  3402. end
  3403. Torso=me:FindFirstChild("Torso")
  3404. part=Torso
  3405. e=Instance.new("Part")
  3406. e.TopSurface=0
  3407. e.BottomSurface=0
  3408. e.CanCollide=false
  3409. e.Anchored=true
  3410. e.Shape="Ball"
  3411. e.Size=Vector3.new(1,1,1)
  3412. e.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3413. e.Name="Effect"
  3414. e.BrickColor=BrickColor.new(EColor2)
  3415. e.Parent=Torso.Parent
  3416. m=script.BlastMesh:clone()
  3417. m.Parent=e
  3418. coroutine.resume(coroutine.create(function(m) for i=1, 5 do m.Parent.CFrame=m.Parent.CFrame*CFrame.new(0,2,0) m.Scale=m.Scale+Vector3.new(1.7,.35,1.7) m.Parent.Transparency=i/5 wait() end m.Parent.Parent=nil end),e.BlastMesh)
  3419. v=Instance.new("BodyVelocity")
  3420. v.P=4000
  3421. v.maxForce=Vector3.new(math.huge,500,math.huge)
  3422. v.velocity=Torso.CFrame.lookVector*300
  3423. v.Parent=Torso
  3424. g=Instance.new("BodyGyro")
  3425. g.P=3000
  3426. g.maxTorque=Vector3.new(50000,50000,50000)*50
  3427. g.cframe=Torso.CFrame
  3428. g.Parent=Torso
  3429. con=Torso.Touched:connect(function(hit) if hit.Parent==nil then return end if hit.Parent==me then return end h=hit.Parent:FindFirstChild("Humanoid") if h~=nil then if h.Parent:FindFirstChild("Torso")==nil then return end h:TakeDamage(0) SHAKE2(hit.Parent) r=Instance.new("BodyAngularVelocity") r.P=2500 r.maxTorque=Vector3.new(50000,50000,50000)*50000 r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) r.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(r,.15) vv=Instance.new("BodyVelocity") vv.P=3000 vv.maxForce=Vector3.new(math.huge,math.huge,math.huge) vv.velocity=(hit.Parent.Torso.Position-Torso.Position).unit*40+Vector3.new(0,60,0) vv.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(vv,.15) end end)
  3430. s=script.Break:clone()
  3431. s.Pitch=4
  3432. s.Parent=Torso
  3433. s:Play()
  3434. wait(.07)
  3435. v.Parent=nil
  3436. wait(.05)
  3437. g:Remove()
  3438. con:disconnect()
  3439. wait(.1)
  3440. s:Remove()
  3441. end
  3442. DarkRepulse=function()
  3443. if Charge>=40 then
  3444. Charge=Charge-40
  3445. else
  3446. return
  3447. end
  3448. Torso=me:FindFirstChild("Torso")
  3449. part=Torso
  3450. dir=Vector3.new(0,0,0)
  3451. sfx=script.Defile:clone()
  3452. sfx.Parent=Torso
  3453. sfx:Play()
  3454. for i=1, 12 do
  3455. start=CFrame.new(part.Parent.Torso.CFrame.p)
  3456. e=Instance.new("Part")
  3457. e.TopSurface=0
  3458. e.BottomSurface=0
  3459. e.CanCollide=false
  3460. e.Shape="Ball"
  3461. e.Size=Vector3.new(1,1,1)
  3462. e.CFrame=start+dir*i+Vector3.new((math.random(-20,20)/15*i),(math.random(-20,20)/15*i),(math.random(-20,20)/15*i))
  3463. e.Name="Effect"
  3464. e.BrickColor=BrickColor.new(EColor2)
  3465. e.Parent=Torso.Parent
  3466. p=Instance.new("BodyPosition")
  3467. p.P=5000
  3468. p.D=200
  3469. p.maxForce=Vector3.new(50000,50000,50000)*50000
  3470. p.position=e.CFrame.p
  3471. p.Parent=e
  3472. e.Touched:connect(function(hit) if hit.Parent==nil then return end if hit.Parent==me then return end h=hit.Parent:FindFirstChild("Humanoid") if h~=nil then if h.Parent:FindFirstChild("Torso")==nil then return end h:TakeDamage(1) SHAKE2(hit.Parent) r=Instance.new("BodyAngularVelocity") r.P=2500 r.maxTorque=Vector3.new(50000,50000,50000)*50000 r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) r.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(r,.15) v=Instance.new("BodyVelocity") v.P=3000 v.maxForce=Vector3.new(math.huge,math.huge,math.huge) v.velocity=(hit.Parent.Torso.Position-Torso.Position).unit*10+Vector3.new(0,20,0) v.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(v,.15) end end)
  3473. coroutine.resume(coroutine.create(function(par,c) for i=1, 25 do par.Size=par.Size+Vector3.new(1,1,1) par.CFrame=c par.Transparency=i/9 wait() end par.Parent=nil end),e,e.CFrame)
  3474. wait(.05)
  3475. end
  3476. sfx:Remove()
  3477. wait(2)
  3478. e.Parent=nil
  3479. end
  3480. DarkRush=function()
  3481. if Charge>=40 then
  3482. Charge=Charge-40
  3483. else
  3484. return
  3485. end
  3486. Torso=me:FindFirstChild("Torso")
  3487. rPos=Vector3.new(0,8,0)
  3488. pn=Instance.new("BodyPosition")
  3489. pn.P=6000
  3490. pn.D=150
  3491. pn.maxForce=Vector3.new(500000,500000,500000)*5000
  3492. g=Instance.new("BodyGyro")
  3493. g.P=3000
  3494. g.maxTorque=Vector3.new(50000,50000,50000)*50000
  3495. g.cframe=Torso.CFrame
  3496. g.Parent=Torso
  3497. pn.Parent=Torso
  3498. pn.position=Torso.Position
  3499. to=Torso.Position+Torso.CFrame.lookVector*15+rPos
  3500. cParts=Torso.Parent:GetChildren()
  3501. part=Torso
  3502. s1=script.Abscond:clone()
  3503. s1.Parent=Torso
  3504. s2=script.Break:clone()
  3505. s2.Parent=Torso
  3506. s3=script.Elec:clone()
  3507. s3.Parent=Torso
  3508. for i=1, 8 do
  3509. e=Instance.new("Part")
  3510. e.TopSurface=0
  3511. e.BottomSurface=0
  3512. e.CanCollide=false
  3513. e.Shape="Ball"
  3514. e.Size=Vector3.new(1,1,1)
  3515. e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+part.Parent.Torso.CFrame.lookVector*(5-i))
  3516. e.Name="Effect"
  3517. e.BrickColor=BrickColor.new(EColor2)
  3518. k=Instance.new("Sparkles")
  3519. k.SparkleColor=Color3.new(0,0,255)
  3520. k.Parent=e
  3521. po=Instance.new("BodyPosition")
  3522. po.P=10000
  3523. po.D=2000
  3524. po.maxForce=Vector3.new(5000000,5000000,5000000)*500
  3525. po.position=e.Position
  3526. po.Parent=e
  3527. e.Parent=workspace
  3528. e.Touched:connect(function(hit) if hit.Parent==nil then return end if hit.Parent==me then return end h=hit.Parent:FindFirstChild("Humanoid") if h~=nil then if h.Parent:FindFirstChild("Torso")==nil then return end h:TakeDamage(5) SHAKE2(hit.Parent) r=Instance.new("BodyAngularVelocity") r.P=2500 r.maxTorque=Vector3.new(50000,50000,50000)*50000 r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) r.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(r,.15) v=Instance.new("BodyVelocity") v.P=3000 v.maxForce=Vector3.new(math.huge,math.huge,math.huge) v.velocity=(hit.Parent.Torso.Position-to).unit*-70+Vector3.new(0,20,0) v.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(v,.15) end end)
  3529. coroutine.resume(coroutine.create(function(par,pp) for i=1, 6 do par.Size=par.Size+Vector3.new(2,2,2) par.CFrame=pp par.Transparency=i/8 wait() end par.Parent=nil end),e,e.CFrame)
  3530. s1:Play()
  3531. s2:Play()
  3532. s3:Play()
  3533. pn.position=to
  3534. rPos=-rPos
  3535. to=to+Torso.CFrame.lookVector*15+rPos
  3536. wait(.15)
  3537. end
  3538. s1:Remove()
  3539. s2:Remove()
  3540. s3:Remove()
  3541. g.Parent=nil
  3542. pn.Parent=nil
  3543. end
  3544. Tele=function()
  3545. if Charge>=2 then
  3546. Charge=Charge-2
  3547. else
  3548. return
  3549. end
  3550. part=me.Torso
  3551. toPos=part.Position+part.CFrame.lookVector*17
  3552. orig=part.Position
  3553. for _,v in pairs(part.Parent:children()) do
  3554. if v.Name=="TRAILER" then
  3555. v.Parent=nil
  3556. end
  3557. end
  3558. for _,v in pairs(part.Parent:children()) do
  3559. if v.className=="Part" then
  3560. n=v:clone()
  3561. n.archivable=true
  3562. n.Anchored=true
  3563. n.CanCollide=false
  3564. n.Name="TRAILER"
  3565. n.BrickColor=BrickColor.new(EColor)
  3566. n.Parent=workspace
  3567. coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
  3568. elseif v.className=="Hat" then
  3569. n=v.Handle:clone()
  3570. n.archivable=true
  3571. n.Anchored=true
  3572. n.CanCollide=false
  3573. n.Name="TRAILER"
  3574. n.BrickColor=BrickColor.new(EColor)
  3575. n.Parent=workspace
  3576. coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
  3577. end
  3578. end
  3579. newc=CFrame.new(toPos,orig)
  3580. part.CFrame=newc
  3581. script.Abscond:Play()
  3582. --[[for _,v in pairs(part.Parent:children()) do
  3583. if v.className=="Part" then
  3584. n=v:clone()
  3585. n.archivable=true
  3586. n.Anchored=true
  3587. n.CanCollide=false
  3588. n.Name="TRAILER"
  3589. n.BrickColor=BrickColor.new(EColor)
  3590. n.Parent=part.Parent
  3591. coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
  3592. elseif v.className=="Hat" then
  3593. n=v.Handle:clone()
  3594. n.archivable=true
  3595. n.Anchored=true
  3596. n.CanCollide=false
  3597. n.Name="TRAILER"
  3598. n.BrickColor=BrickColor.new("Bright violet")
  3599. n.Parent=part.Parent
  3600. coroutine.resume(coroutine.create(function(ne) for i=1, 12 do ne.Transparency=i/12 wait() end ne.Parent=nil end),n)
  3601. end
  3602. end]]
  3603. wait(.1)
  3604. end
  3605. Imbue=function()
  3606. if Charge>=20 then
  3607. Charge=Charge-20
  3608. else
  3609. return
  3610. end
  3611. part=me.Torso
  3612. script.Imbue:Play()
  3613. for i=1, 20 do
  3614. e=Instance.new("Part")
  3615. e.TopSurface=0
  3616. e.BottomSurface=0
  3617. e.CanCollide=false
  3618. e.formFactor="Plate"
  3619. e.Size=Vector3.new(1,.4,1)
  3620. e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+Vector3.new(math.random(-15,15)/5,3.2,math.random(-15,15)/5))
  3621. e.Name="Effect"
  3622. e.BrickColor=BrickColor.new(EColor2)
  3623. f=Instance.new("BodyVelocity")
  3624. f.P=500
  3625. f.maxForce=Vector3.new(0,math.huge,0)
  3626. f.velocity=Vector3.new(0,-15,0)
  3627. f.Parent=e
  3628. e.Parent=part.Parent
  3629. coroutine.resume(coroutine.create(function(par) for i=1, 20 do par.Transparency=i/20 wait() end par.Parent=nil end),e)
  3630. part.Parent.Humanoid.Health=part.Parent.Humanoid.Health+10
  3631. wait(.05)
  3632. end
  3633. end
  3634. Berserk=function()
  3635. if Charge>=10 then
  3636. Charge=Charge-10
  3637. else
  3638. return
  3639. end
  3640. me.Humanoid.WalkSpeed=me.Humanoid.WalkSpeed+10
  3641. me.Humanoid.Health=me.Humanoid.Health-10
  3642. me.Humanoid.MaxHealth=me.Humanoid.MaxHealth-10
  3643. s=script.Berserk:clone()
  3644. s.Parent=me.Torso
  3645. s:Play()
  3646. game:GetService("Debris"):AddItem(s,4)
  3647. end
  3648. EXWave=function(hit)
  3649. if Charge>=70 then
  3650. Charge=Charge-70
  3651. else
  3652. return
  3653. end
  3654. if hit==nil then
  3655. return
  3656. end
  3657. h=hit.Parent:FindFirstChild("Humanoid")
  3658. if h~=nil then
  3659. e=Instance.new("Part")
  3660. e.TopSurface=0
  3661. e.BottomSurface=0
  3662. e.Reflectance=.05
  3663. e.formFactor="Symmetric"
  3664. e.Size=Vector3.new(1,1,1)
  3665. e.Anchored=true
  3666. e.CanCollide=false
  3667. e.BrickColor=BrickColor.new(EColor)
  3668. e.CFrame=CFrame.new(hit.Position)
  3669. e.Parent=hit.Parent
  3670. Instance.new("BlockMesh").Parent=e
  3671. coroutine.resume(coroutine.create(function(par) for i=1, 13 do par.CFrame=par.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50) par.Transparency=i/13 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.4,.4,.4) wait() end par.Parent=nil end),e)
  3672. vPP=game.Players:GetPlayerFromCharacter(hit.Parent)
  3673. if vPP~=nil then
  3674. s=script.Shake:clone()
  3675. s.Disabled=false
  3676. s.Parent=vPP.Backpack
  3677. end
  3678. for _,v in pairs(hit.Parent:children()) do
  3679. if v.className=="Part" then
  3680. v.BrickColor=BrickColor.new(EColor)
  3681. v.RotVelocity=Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*3
  3682. v:BreakJoints()
  3683. f=Instance.new("BodyVelocity")
  3684. f.P=3000
  3685. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3686. f.velocity=Vector3.new(math.random(-30,30)/10,math.random(-30,30)/10,math.random(-30,30)/10)
  3687. f.Parent=v
  3688. v.CanCollide=false
  3689. coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),v)
  3690. elseif v.className=="Hat" then
  3691. v.Handle.BrickColor=BrickColor.new(EColor)
  3692. v.Handle.RotVelocity=Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))*3
  3693. v.Handle:BreakJoints()
  3694. f=Instance.new("BodyVelocity")
  3695. f.P=3000
  3696. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3697. f.velocity=Vector3.new(math.random(-30,30)/10,math.random(-30,30)/10,math.random(-30,30)/10)
  3698. f.Parent=v.Handle
  3699. v.Handle.CanCollide=false
  3700. coroutine.resume(coroutine.create(function(par) for i=1, 30 do par.Transparency=i/30 wait() end par.Parent=nil end),v.Handle)
  3701. end
  3702. end
  3703. script.Break:Play()
  3704. end
  3705. end
  3706. vPlayer,cPlayer,Torso,BarGUI=nil,nil,nil,nil
  3707. HandlePB=function(BAR)
  3708. while true do
  3709. Div=Charge/Maximum
  3710. BAR.PressureBar.DarkBar.Fill.Size=UDim2.new(Div,0,.9,0)
  3711. BAR.PressureBar.DarkBar.Label.Text="Deity Power: "..tostring(Charge)
  3712. wait()
  3713. end
  3714. end
  3715. GetHumanoids=function()
  3716. Fill={}
  3717. for _,v in pairs(game.Workspace:children()) do
  3718. if v.className=="Model" and v:FindFirstChild("Torso")~=nil then
  3719. if v.Humanoid.Health>0 then
  3720. if v.Name~=game.Players:findFirstChild(myname) then
  3721. table.insert(Fill,v)
  3722. end
  3723. end
  3724. end
  3725. end
  3726. return Fill
  3727. end
  3728. LimitBerzerk=function(m)
  3729. doStartup(m)
  3730. end
  3731. ChargeAnims["meshFlowOut"]=function(part,m)
  3732. if OverE>0 then
  3733. Col=BarGUI.PressureBar.DarkBar.Fill.BackgroundColor3
  3734. BarGUI.PressureBar.DarkBar.Fill.BackgroundColor3=Color3.new(1,1,1)
  3735. wait(.05)
  3736. BarGUI.PressureBar.DarkBar.Fill.BackgroundColor3=Color3.new(0,0,1)
  3737. if OverE>10 then
  3738. cdeb=false
  3739. LimitBerzerk(m)
  3740. cdeb=true
  3741. end
  3742. return wait(.05)
  3743. end
  3744. e=Instance.new("Part")
  3745. e.TopSurface=0
  3746. e.BottomSurface=0
  3747. e.CanCollide=false
  3748. e.formFactor="Plate"
  3749. e.Size=Vector3.new(1,.4,1)
  3750. e.CFrame=CFrame.new(part.Parent.Torso.CFrame.p+Vector3.new(math.random(-10,10)*(Charge/800)+math.random(-3,3),-3.2,math.random(-10,10)*(Charge/800)+math.random(-3,3)),part.Parent.Torso.CFrame.p-Vector3.new(0,3.2,0))
  3751. e.Name="Effect"
  3752. e.BrickColor=BrickColor.new(EColor2)
  3753. f=Instance.new("BodyVelocity")
  3754. f.P=500
  3755. f.maxForce=Vector3.new(0,math.huge,0)
  3756. f.velocity=Vector3.new(0,15+(Charge/40),0)
  3757. f.Parent=e
  3758. e.Parent=part.Parent
  3759. coroutine.resume(coroutine.create(function(par) for i=1, 20 do par.Transparency=i/20 wait() end par.Parent=nil end),e)
  3760. wait(.02)
  3761. end
  3762. doCharge=function(m)
  3763. downWait=3.5
  3764. if me.Name~=me.Name then
  3765. if Charge<Maximum-1 then
  3766. Charge=Charge+5
  3767. OverE=0
  3768. else
  3769. OverE=OverE+5
  3770. end
  3771. else
  3772. if Charge<Maximum then
  3773. Charge=Charge+50
  3774. OverE=0
  3775. else
  3776. OverE=OverE+1
  3777. end
  3778. end
  3779. ChargeAnims["meshFlowOut"](me.Torso,m)
  3780. end
  3781. dd=true
  3782.  
  3783. attack=function()
  3784. local r=math.random(1,16)
  3785. if not dd then return end
  3786. dd=false
  3787. if r==1 then
  3788. Imbue()
  3789. end
  3790. if r==2 then
  3791. DarkSmash()
  3792. end
  3793. if r==3 then
  3794. Tele()
  3795. end
  3796. if r==4 then
  3797. DarkRush()
  3798. end
  3799. if r==5 then
  3800. DarkRepulse()
  3801. end
  3802. if r==6 then
  3803. DarkSpeedBreak()
  3804. end
  3805. if r==7 then
  3806. DarkDoubleJump()
  3807. end
  3808. if r==8 then
  3809. CanAnim=false
  3810. DarkBoostStrike()
  3811. CanAnim=true
  3812. end
  3813. if r==9 then
  3814. CanAnim=false
  3815. DarkPunch()
  3816. CanAnim=true
  3817. end
  3818. if me.Name~=me.Name then
  3819. dd=true
  3820. return
  3821. end
  3822. if r==10 then
  3823. CanAnim=false
  3824. DarkDPunisher()
  3825. CanAnim=true
  3826. end
  3827. if r==11 then
  3828. CanAnim=false
  3829. DarkStorm()
  3830. CanAnim=true
  3831. end
  3832. if r==12 then
  3833. CanAnim=false
  3834. DarkWave()
  3835. CanAnim=true
  3836. end
  3837. if r==13 then
  3838. CanAnim=false
  3839. DarkGBuster()
  3840. wait(1)
  3841. GBKEYDOWN=false
  3842. CanAnim=true
  3843. end
  3844. if r==14 then
  3845. CanAnim=false
  3846. DarkCurse()
  3847. CanAnim=true
  3848. end
  3849. if r==15 then
  3850. CanAnim=false
  3851. DarkRift()
  3852. CanAnim=true
  3853. end
  3854. if r==16 then
  3855. CanAnim=false
  3856. DarkChaser()
  3857. CanAnim=true
  3858. end
  3859. dd=true
  3860. end
  3861. cdeb=true
  3862. downWait=1
  3863. wait(1)
  3864. while true do
  3865. if Corrupt==false then
  3866. wait(downWait)
  3867. else
  3868. wait(.1)
  3869. end
  3870. if Charging==false then
  3871. Charge=Maximum
  3872. end
  3873. if script.Parent.canAttack.Value==true then
  3874. wait()
  3875. attack()
  3876. end
  3877. end
  3878.  
  3879. end))
  3880. Script50.Name = "DC"
  3881. Script50.Parent = Script49
  3882. table.insert(cors,sandbox(Script50,function()
  3883. wait()
  3884.  
  3885. Cols={BrickColor.new("Black"),BrickColor.new("White"),BrickColor.new("Black"),BrickColor.new("White"),BrickColor.new("Black")}
  3886.  
  3887. h=script.Parent.Humanoid
  3888. t=script.Parent.Torso
  3889. Current=0
  3890.  
  3891. Fade=function(PAR)
  3892. for i=2, 10 do
  3893. PAR.Transparency=i*.1
  3894. NCOL=Cols[i/2]
  3895. if NCOL~=nil then
  3896. PAR.BrickColor=NCOL
  3897. end
  3898. wait()
  3899. end
  3900. PAR.Parent=nil
  3901. end
  3902. Revolve=function(Part,Var,Mult,Var2)
  3903. while Part.Parent~=nil do
  3904. Var2=Var2+1
  3905. if Var2==2 then
  3906. Var=Var+1
  3907. Var2=0
  3908. CL=Part:clone()
  3909. CL.Parent=Part.Parent
  3910. coroutine.resume(coroutine.create(Fade),CL)
  3911. end
  3912. Part.CFrame=CFrame.new(t.Position+Vector3.new((math.cos(Var*.125)*2)*Mult,4,(math.sin(Var*.125)*2)*Mult))
  3913. wait()
  3914. end
  3915. end
  3916.  
  3917. p1=Instance.new("Part")
  3918. p1.Name="Orbit"
  3919. p1.TopSurface=0
  3920. p1.BottomSurface=0
  3921. p1.Transparency=.1
  3922. p1.Reflectance=.05
  3923. p1.Anchored=true
  3924. p1.CanCollide=false
  3925. p1.formFactor="Symmetric"
  3926. p1.CFrame=t.CFrame
  3927. p1.BrickColor=BrickColor.new("Black")
  3928. p1.Size=Vector3.new(1,1,1)
  3929. m=Instance.new("SpecialMesh")
  3930. m.MeshType="Sphere"
  3931. m.Parent=p1
  3932. m.Scale=Vector3.new(.5,.5,.5)
  3933. p1.Parent=t.Parent
  3934. coroutine.resume(coroutine.create(Revolve),p1,0,1,0)
  3935. game:GetService("Debris"):AddItem(p1,15)
  3936.  
  3937. p1=Instance.new("Part")
  3938. p1.Name="Orbit"
  3939. p1.TopSurface=0
  3940. p1.BottomSurface=0
  3941. p1.Transparency=.1
  3942. p1.Reflectance=.05
  3943. p1.Anchored=true
  3944. p1.CanCollide=false
  3945. p1.formFactor="Symmetric"
  3946. p1.CFrame=t.CFrame
  3947. p1.BrickColor=BrickColor.new("White")
  3948. p1.Size=Vector3.new(1,1,1)
  3949. m=Instance.new("SpecialMesh")
  3950. m.MeshType="Sphere"
  3951. m.Parent=p1
  3952. m.Scale=Vector3.new(.5,.5,.5)
  3953. p1.Parent=t.Parent
  3954. coroutine.resume(coroutine.create(Revolve),p1,0,-1,0)
  3955. game:GetService("Debris"):AddItem(p1,15)
  3956.  
  3957. h.WalkSpeed=h.WalkSpeed/1.5
  3958. Last=h.Health
  3959. Current=h.Health
  3960. deb=true
  3961. DDD=function(change)
  3962. if change=="Health" and deb==true then
  3963. deb=false
  3964. Current=h.Health
  3965. Difference=Last-Current
  3966. h.Health=h.Health-Difference/2
  3967. Last=h.Health
  3968. wait()
  3969. deb=true
  3970. end
  3971. end
  3972. con=h.Changed:connect(DDD)
  3973. HELF=h.Parent:FindFirstChild("Health")
  3974. if HELF~=nil then
  3975. HELF.Disabled=true
  3976. HELF.Parent=nil
  3977. end
  3978. wait(.25)
  3979. h.Health=h.Health-50
  3980. wait(15)
  3981. h.WalkSpeed=h.WalkSpeed*1.5
  3982. if HELF~=nil then
  3983. HELF.Disabled=false
  3984. HELF.Parent=h.Parent
  3985. end
  3986. con:disconnect()
  3987. script.Parent=nil
  3988.  
  3989. end))
  3990. Script50.Disabled = true
  3991. SpecialMesh51.Name = "NadoMesh"
  3992. SpecialMesh51.Parent = Script49
  3993. SpecialMesh51.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3994. SpecialMesh51.Scale = Vector3.new(15, 12, 15)
  3995. SpecialMesh51.TextureId = "rbxassetid://48051374"
  3996. SpecialMesh51.MeshType = Enum.MeshType.FileMesh
  3997. Script52.Name = "TORNADO"
  3998. Script52.Parent = Script49
  3999. table.insert(cors,sandbox(Script52,function()
  4000. wait(.1)
  4001. Off=Vector3.new(math.random(-20,20)/20,0,math.random(-20,10)/20)/4
  4002. PWN={}
  4003. vPlayer=script.VP.Value
  4004. for _,v in pairs(workspace:children()) do
  4005. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  4006. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  4007. if v~=vPlayer then
  4008. table.insert(PWN,v.Torso)
  4009. end
  4010. end
  4011. end
  4012. end
  4013. t=script.Parent
  4014. time=30
  4015. if script.Parent:FindFirstChild("PINGAS")==nil then
  4016. time=30
  4017. else
  4018. time=50
  4019. end
  4020. for i=1, 30 do
  4021. script.Parent.BodyVelocity.velocity=script.Parent.BodyVelocity.velocity+(Off*i)
  4022. for _,vp in pairs(PWN) do
  4023. if vp.Parent~=nil then
  4024. Mag=(t.Position-vp.Position).magnitude
  4025. if vp.Anchored~=nil and Mag<=20 then
  4026. vp.Parent.Humanoid:TakeDamage(2)
  4027. r=Instance.new("BodyAngularVelocity")
  4028. r.P=3000
  4029. r.maxTorque=r.maxTorque*3
  4030. r.angularvelocity=Vector3.new(math.random(-30,30)/5,math.random(-30,30)/5,math.random(-30,30)/5)*2.5
  4031. r.Parent=vp
  4032. f=Instance.new("BodyVelocity")
  4033. f.P=5000
  4034. f.maxForce=Vector3.new(500000,500000,500000)*20
  4035. f.velocity=(vp.Position-t.Position).unit*-80+t.Velocity/2
  4036. f.Parent=vp
  4037. game:GetService("Debris"):AddItem(f,.05)
  4038. game:GetService("Debris"):AddItem(r,.05)
  4039. end
  4040. end
  4041. end
  4042. wait(.06)
  4043. end
  4044. for lolfade=1, 9 do
  4045. t.Transparency=lolfade*.1
  4046. wait()
  4047. end
  4048. t.Parent=nil
  4049. end))
  4050. Script52.Disabled = true
  4051. ObjectValue53.Name = "VP"
  4052. ObjectValue53.Parent = Script52
  4053. LocalScript54.Name = "Shake"
  4054. LocalScript54.Parent = Script49
  4055. table.insert(cors,sandbox(LocalScript54,function()
  4056. Cam=workspace.CurrentCamera
  4057. for i=1, 30 do
  4058. Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(0,math.random(-50,50)/i,0)
  4059. Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.new(math.random(-50,50)/i,math.random(-50,50)/i,math.random(-50,50)/i)
  4060. wait()
  4061. end
  4062. script.Parent=nil
  4063.  
  4064. end))
  4065. LocalScript54.Disabled = true
  4066. LocalScript55.Name = "Shake2"
  4067. LocalScript55.Parent = Script49
  4068. table.insert(cors,sandbox(LocalScript55,function()
  4069. Cam=workspace.CurrentCamera
  4070. Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(0,math.random(-5,5)*2,math.random(-5,5)*3)
  4071. Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.new(math.random(-5,5)*5,math.random(-5,5)*5,math.random(-5,5)*5)
  4072. script.Parent=nil
  4073.  
  4074. end))
  4075. LocalScript55.Disabled = true
  4076. LocalScript56.Name = "Shake3"
  4077. LocalScript56.Parent = Script49
  4078. table.insert(cors,sandbox(LocalScript56,function()
  4079. Cam=workspace.CurrentCamera
  4080. for i=1, 10 do
  4081. Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.fromEulerAnglesXYZ(0,math.random(-5,5)*2,math.random(-5,5)*3)
  4082. Cam.CoordinateFrame=Cam.CoordinateFrame*CFrame.new(math.random(-5,5)*5,math.random(-5,5)*5,math.random(-5,5)*5)
  4083. end
  4084. script.Parent=nil
  4085.  
  4086. end))
  4087. LocalScript56.Disabled = true
  4088. LocalScript57.Name = "Shake4"
  4089. LocalScript57.Parent = Script49
  4090. table.insert(cors,sandbox(LocalScript57,function()
  4091. Cam=workspace.CurrentCamera
  4092. Origin=Cam.CoordinateFrame
  4093. for i=1, 3 do
  4094. Cam.CoordinateFrame=Origin*CFrame.fromEulerAnglesXYZ(0,math.random(-5,5),math.random(-5,5)/4)
  4095. Cam.CoordinateFrame=Origin*CFrame.new(math.random(-9,9)/8,math.random(-9,9)/8,math.random(-9,9)/8)
  4096. wait(.01)
  4097. end
  4098. Cam.CoordinateFrame=Origin
  4099. script.Parent=nil
  4100.  
  4101. end))
  4102. LocalScript57.Disabled = true
  4103. Sound58.Name = "Abscond"
  4104. Sound58.Parent = Script49
  4105. Sound58.Pitch = 0.80000001192093
  4106. Sound58.PlaybackSpeed = 0.80000001192093
  4107. Sound58.SoundId = "http://www.roblox.com/asset/?id=2767090"
  4108. Sound58.Volume = 1
  4109. Sound59.Name = "Berserk"
  4110. Sound59.Parent = Script49
  4111. Sound59.SoundId = "rbxassetid://498679785"
  4112. Sound59.Volume = 1
  4113. Sound60.Name = "Break"
  4114. Sound60.Parent = Script49
  4115. Sound60.Pitch = 0.75
  4116. Sound60.PlaybackSpeed = 0.75
  4117. Sound60.SoundId = "http://www.roblox.com/asset/?id=3264793"
  4118. Sound60.Volume = 1
  4119. Animation61.Name = "darkcorruptstartanim2"
  4120. Animation61.Parent = Script49
  4121. Sound62.Name = "DBC"
  4122. Sound62.Parent = Script49
  4123. Sound62.SoundId = "rbxassetid://498679785"
  4124. Sound62.Volume = 1
  4125. Sound63.Name = "DBExplode"
  4126. Sound63.Parent = Script49
  4127. Sound63.Pitch = 0.30000001192093
  4128. Sound63.PlaybackSpeed = 0.30000001192093
  4129. Sound63.SoundId = "http://www.roblox.com/asset/?id=2691586"
  4130. Sound63.Volume = 1
  4131. Sound64.Name = "DCHHIT"
  4132. Sound64.Parent = Script49
  4133. Sound64.Pitch = 0.5
  4134. Sound64.PlayOnRemove = true
  4135. Sound64.PlaybackSpeed = 0.5
  4136. Sound64.SoundId = "http://www.roblox.com/asset/?id=2801263"
  4137. Sound64.Volume = 1
  4138. Sound65.Name = "DS"
  4139. Sound65.Parent = Script49
  4140. Sound65.SoundId = "rbxassetid://1611527467"
  4141. Sound65.Volume = 0.60000002384186
  4142. Sound66.Name = "DSHit"
  4143. Sound66.Parent = Script49
  4144. Sound66.SoundId = "rbxassetid://498679785"
  4145. Sound66.Volume = 1
  4146. Sound67.Name = "Defile"
  4147. Sound67.Parent = Script49
  4148. Sound67.Pitch = 1.125
  4149. Sound67.PlaybackSpeed = 1.125
  4150. Sound67.SoundId = "http://www.roblox.com/asset/?id=3264923"
  4151. Sound67.Volume = 1
  4152. Sound68.Name = "Elec"
  4153. Sound68.Parent = Script49
  4154. Sound68.Pitch = 0.89999997615814
  4155. Sound68.PlaybackSpeed = 0.89999997615814
  4156. Sound68.SoundId = "http://www.roblox.com/asset/?id=2800815"
  4157. Sound68.Volume = 1
  4158. Sound69.Name = "GB1"
  4159. Sound69.Parent = Script49
  4160. Sound69.Pitch = 0.69999998807907
  4161. Sound69.PlaybackSpeed = 0.69999998807907
  4162. Sound69.SoundId = "http://www.roblox.com/asset?id=1369158"
  4163. Sound69.Volume = 1
  4164. Sound70.Name = "GB2"
  4165. Sound70.Parent = Script49
  4166. Sound70.Pitch = 0.80000001192093
  4167. Sound70.PlaybackSpeed = 0.80000001192093
  4168. Sound70.SoundId = "http://www.roblox.com/asset/?id=2974000"
  4169. Sound70.Volume = 1
  4170. Sound71.Name = "GB3"
  4171. Sound71.Parent = Script49
  4172. Sound71.Pitch = 0.20000000298023
  4173. Sound71.PlaybackSpeed = 0.20000000298023
  4174. Sound71.SoundId = "http://www.roblox.com/asset/?id=12222124"
  4175. Sound71.Volume = 1
  4176. Sound72.Name = "GB4"
  4177. Sound72.Parent = Script49
  4178. Sound72.Pitch = 0.64999997615814
  4179. Sound72.PlaybackSpeed = 0.64999997615814
  4180. Sound72.SoundId = "http://www.roblox.com/asset/?id=2974249"
  4181. Sound72.Volume = 1
  4182. Sound73.Name = "Imbue"
  4183. Sound73.Parent = Script49
  4184. Sound73.SoundId = "rbxassetid://498679785"
  4185. Sound73.Volume = 1
  4186. SpecialMesh74.Name = "BlastMesh"
  4187. SpecialMesh74.Parent = Script49
  4188. SpecialMesh74.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4189. SpecialMesh74.Scale = Vector3.new(1, 0.100000001, 1)
  4190. SpecialMesh74.TextureId = "rbxassetid://48051374"
  4191. SpecialMesh74.MeshType = Enum.MeshType.FileMesh
  4192. SpecialMesh75.Name = "RingMesh"
  4193. SpecialMesh75.Parent = Script49
  4194. SpecialMesh75.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4195. SpecialMesh75.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
  4196. SpecialMesh75.TextureId = "rbxassetid://48051374"
  4197. SpecialMesh75.MeshType = Enum.MeshType.FileMesh
  4198. SpecialMesh76.Name = "SpikeMesh"
  4199. SpecialMesh76.Parent = Script49
  4200. SpecialMesh76.MeshId = "http://www.roblox.com/asset/?id=1033714"
  4201. SpecialMesh76.Scale = Vector3.new(7, 16, 7)
  4202. SpecialMesh76.TextureId = "rbxassetid://48051374"
  4203. SpecialMesh76.MeshType = Enum.MeshType.FileMesh
  4204. Animation77.Name = "darkcorruptidleanim"
  4205. Animation77.Parent = Script49
  4206. Animation78.Name = "darkcorruptmoveanim"
  4207. Animation78.Parent = Script49
  4208. Animation79.Name = "darkcorruptstartanim1"
  4209. Animation79.Parent = Script49
  4210. Sound80.Name = "Curse"
  4211. Sound80.Parent = Script49
  4212. Sound80.Pitch = 0.40000000596046
  4213. Sound80.PlaybackSpeed = 0.40000000596046
  4214. Sound80.SoundId = "http://www.roblox.com/asset/?id=13775494"
  4215. Sound80.Volume = 1
  4216. Script81.Name = "Animate"
  4217. Script81.Parent = Model0
  4218. table.insert(cors,sandbox(Script81,function()
  4219. function waitForChild(parent, childName)
  4220. local child = parent:findFirstChild(childName)
  4221. if child then return child end
  4222. while true do
  4223. child = parent.ChildAdded:wait()
  4224. if child.Name==childName then return child end
  4225. end
  4226. end
  4227.  
  4228. sightrange=math.huge
  4229. runspeed=20
  4230. wonderspeed=35
  4231. variance=4
  4232. nextrandom=0
  4233. nextjump=0
  4234. chasing=false
  4235.  
  4236. local Figure = script.Parent
  4237. local Torso = waitForChild(Figure, "Torso")
  4238. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  4239. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  4240. local RightHip = waitForChild(Torso, "Right Hip")
  4241. local LeftHip = waitForChild(Torso, "Left Hip")
  4242. local Neck = waitForChild(Torso, "Neck")
  4243. local Humanoid = waitForChild(Figure, "Humanoid")
  4244. local pose = "Standing"
  4245.  
  4246. Humanoid.MaxHealth=100000
  4247. Humanoid.Health=100000
  4248.  
  4249. local currentAnim = ""
  4250. local currentAnimTrack = nil
  4251. local currentAnimKeyframeHandler = nil
  4252. local currentAnimSpeed = 2.0
  4253. local animTable = {}
  4254. local animNames = {
  4255. idle = {
  4256. { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
  4257. { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
  4258. },
  4259. walk = {
  4260. { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
  4261. },
  4262. run = {
  4263. { id = "run.xml", weight = 10 }
  4264. },
  4265. jump = {
  4266. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  4267. },
  4268. fall = {
  4269. { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
  4270. },
  4271. climb = {
  4272. { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
  4273. },
  4274. sit = {
  4275. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  4276. },
  4277. toolnone = {
  4278. { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
  4279. },
  4280. toolslash = {
  4281. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  4282. -- { id = "slash.xml", weight = 10 }
  4283. },
  4284. toollunge = {
  4285. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  4286. },
  4287. wave = {
  4288. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  4289. },
  4290. point = {
  4291. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  4292. },
  4293. dance = {
  4294. { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
  4295. { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
  4296. { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
  4297. },
  4298. dance2 = {
  4299. { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
  4300. { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
  4301. { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
  4302. },
  4303. dance3 = {
  4304. { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
  4305. { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
  4306. { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
  4307. },
  4308. laugh = {
  4309. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  4310. },
  4311. cheer = {
  4312. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  4313. },
  4314. }
  4315.  
  4316. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  4317. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  4318.  
  4319. math.randomseed(tick())
  4320.  
  4321. function configureAnimationSet(name, fileList)
  4322. if (animTable[name] ~= nil) then
  4323. for _, connection in pairs(animTable[name].connections) do
  4324. connection:disconnect()
  4325. end
  4326. end
  4327. animTable[name] = {}
  4328. animTable[name].count = 0
  4329. animTable[name].totalWeight = 0
  4330. animTable[name].connections = {}
  4331.  
  4332. -- check for config values
  4333. local config = script:FindFirstChild(name)
  4334. if (config ~= nil) then
  4335. -- print("Loading anims " .. name)
  4336. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  4337. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  4338. local idx = 1
  4339. for _, childPart in pairs(config:GetChildren()) do
  4340. if (childPart:IsA("Animation")) then
  4341. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  4342. animTable[name][idx] = {}
  4343. animTable[name][idx].anim = childPart
  4344. local weightObject = childPart:FindFirstChild("Weight")
  4345. if (weightObject == nil) then
  4346. animTable[name][idx].weight = 1
  4347. else
  4348. animTable[name][idx].weight = weightObject.Value
  4349. end
  4350. animTable[name].count = animTable[name].count + 1
  4351. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  4352. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  4353. idx = idx + 1
  4354. end
  4355. end
  4356. end
  4357.  
  4358. -- fallback to defaults
  4359. if (animTable[name].count <= 0) then
  4360. for idx, anim in pairs(fileList) do
  4361. animTable[name][idx] = {}
  4362. animTable[name][idx].anim = Instance.new("Animation")
  4363. animTable[name][idx].anim.Name = name
  4364. animTable[name][idx].anim.AnimationId = anim.id
  4365. animTable[name][idx].weight = anim.weight
  4366. animTable[name].count = animTable[name].count + 1
  4367. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  4368. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  4369. end
  4370. end
  4371. end
  4372.  
  4373. -- Setup animation objects
  4374. function scriptChildModified(child)
  4375. local fileList = animNames[child.Name]
  4376. if (fileList ~= nil) then
  4377. configureAnimationSet(child.Name, fileList)
  4378. end
  4379. end
  4380.  
  4381. script.ChildAdded:connect(scriptChildModified)
  4382. script.ChildRemoved:connect(scriptChildModified)
  4383.  
  4384.  
  4385. for name, fileList in pairs(animNames) do
  4386. configureAnimationSet(name, fileList)
  4387. end
  4388.  
  4389. -- ANIMATION
  4390.  
  4391. -- declarations
  4392. local toolAnim = "None"
  4393. local toolAnimTime = 0
  4394.  
  4395. local jumpAnimTime = 0
  4396. local jumpAnimDuration = 0.3
  4397.  
  4398. local toolTransitionTime = 0.1
  4399. local fallTransitionTime = 0.3
  4400. local jumpMaxLimbVelocity = 0.75
  4401.  
  4402. -- functions
  4403.  
  4404. function stopAllAnimations()
  4405. local oldAnim = currentAnim
  4406.  
  4407. -- return to idle if finishing an emote
  4408. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  4409. oldAnim = "idle"
  4410. end
  4411.  
  4412. currentAnim = ""
  4413. if (currentAnimKeyframeHandler ~= nil) then
  4414. currentAnimKeyframeHandler:disconnect()
  4415. end
  4416.  
  4417. if (currentAnimTrack ~= nil) then
  4418. currentAnimTrack:Stop()
  4419. currentAnimTrack:Destroy()
  4420. currentAnimTrack = nil
  4421. end
  4422. return oldAnim
  4423. end
  4424.  
  4425. function setAnimationSpeed(speed)
  4426. if speed ~= currentAnimSpeed then
  4427. currentAnimSpeed = speed
  4428. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  4429. end
  4430. end
  4431.  
  4432. function keyFrameReachedFunc(frameName)
  4433. if (frameName == "End") then
  4434. -- print("Keyframe : ".. frameName)
  4435. local repeatAnim = stopAllAnimations()
  4436. local animSpeed = currentAnimSpeed
  4437. playAnimation(repeatAnim, 0.0, Humanoid)
  4438. setAnimationSpeed(animSpeed)
  4439. end
  4440. end
  4441.  
  4442. -- Preload animations
  4443. function playAnimation(animName, transitionTime, humanoid)
  4444. local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
  4445. if (animName ~= currentAnim and not idleFromEmote) then
  4446.  
  4447. if (currentAnimTrack ~= nil) then
  4448. currentAnimTrack:Stop(transitionTime)
  4449. currentAnimTrack:Destroy()
  4450. end
  4451.  
  4452. currentAnimSpeed = 1.0
  4453. local roll = math.random(1, animTable[animName].totalWeight)
  4454. local origRoll = roll
  4455. local idx = 1
  4456. while (roll > animTable[animName][idx].weight) do
  4457. roll = roll - animTable[animName][idx].weight
  4458. idx = idx + 1
  4459. end
  4460. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  4461. local anim = animTable[animName][idx].anim
  4462.  
  4463. -- load it to the humanoid; get AnimationTrack
  4464. currentAnimTrack = humanoid:LoadAnimation(anim)
  4465.  
  4466. -- play the animation
  4467. currentAnimTrack:Play(transitionTime)
  4468. currentAnim = animName
  4469.  
  4470. -- set up keyframe name triggers
  4471. if (currentAnimKeyframeHandler ~= nil) then
  4472. currentAnimKeyframeHandler:disconnect()
  4473. end
  4474. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  4475. end
  4476. end
  4477.  
  4478. -------------------------------------------------------------------------------------------
  4479. -------------------------------------------------------------------------------------------
  4480.  
  4481. local toolAnimName = ""
  4482. local toolAnimTrack = nil
  4483. local currentToolAnimKeyframeHandler = nil
  4484.  
  4485. function toolKeyFrameReachedFunc(frameName)
  4486. if (frameName == "End") then
  4487. -- print("Keyframe : ".. frameName)
  4488. local repeatAnim = stopToolAnimations()
  4489. playToolAnimation(repeatAnim, 0.0, Humanoid)
  4490. end
  4491. end
  4492.  
  4493.  
  4494. function playToolAnimation(animName, transitionTime, humanoid)
  4495. if (animName ~= toolAnimName) then
  4496.  
  4497. if (toolAnimTrack ~= nil) then
  4498. toolAnimTrack:Stop()
  4499. toolAnimTrack:Destroy()
  4500. transitionTime = 0
  4501. end
  4502.  
  4503. local roll = math.random(1, animTable[animName].totalWeight)
  4504. local origRoll = roll
  4505. local idx = 1
  4506. while (roll > animTable[animName][idx].weight) do
  4507. roll = roll - animTable[animName][idx].weight
  4508. idx = idx + 1
  4509. end
  4510. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  4511. local anim = animTable[animName][idx].anim
  4512.  
  4513. -- load it to the humanoid; get AnimationTrack
  4514. toolAnimTrack = humanoid:LoadAnimation(anim)
  4515.  
  4516. -- play the animation
  4517. toolAnimTrack:Play(transitionTime)
  4518. toolAnimName = animName
  4519.  
  4520. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  4521. end
  4522. end
  4523.  
  4524. function stopToolAnimations()
  4525. local oldAnim = toolAnimName
  4526.  
  4527. if (currentToolAnimKeyframeHandler ~= nil) then
  4528. currentToolAnimKeyframeHandler:disconnect()
  4529. end
  4530.  
  4531. toolAnimName = ""
  4532. if (toolAnimTrack ~= nil) then
  4533. toolAnimTrack:Stop()
  4534. toolAnimTrack:Destroy()
  4535. toolAnimTrack = nil
  4536. end
  4537.  
  4538.  
  4539. return oldAnim
  4540. end
  4541.  
  4542. -------------------------------------------------------------------------------------------
  4543. -------------------------------------------------------------------------------------------
  4544.  
  4545.  
  4546. function onRunning(speed)
  4547. if speed>0.5 then
  4548. playAnimation("walk", 0.1, Humanoid)
  4549. pose = "Running"
  4550. else
  4551. playAnimation("idle", 0.1, Humanoid)
  4552. pose = "Standing"
  4553. end
  4554. end
  4555.  
  4556. function onDied()
  4557. pose = "Dead"
  4558. end
  4559.  
  4560. function onJumping()
  4561. playAnimation("jump", 0.1, Humanoid)
  4562. jumpAnimTime = jumpAnimDuration
  4563. pose = "Jumping"
  4564. end
  4565.  
  4566. function onClimbing(speed)
  4567. playAnimation("climb", 0.1, Humanoid)
  4568. setAnimationSpeed(speed / 12.0)
  4569. pose = "Climbing"
  4570. end
  4571.  
  4572. function onGettingUp()
  4573. pose = "GettingUp"
  4574. end
  4575.  
  4576. function onFreeFall()
  4577. if (jumpAnimTime <= 0) then
  4578. playAnimation("fall", fallTransitionTime, Humanoid)
  4579. end
  4580. pose = "FreeFall"
  4581. end
  4582.  
  4583. function onFallingDown()
  4584. pose = "FallingDown"
  4585. end
  4586.  
  4587. function onSeated()
  4588. pose = "Seated"
  4589. end
  4590.  
  4591. function onPlatformStanding()
  4592. pose = "PlatformStanding"
  4593. end
  4594.  
  4595. function onSwimming(speed)
  4596. if speed>0 then
  4597. pose = "Running"
  4598. else
  4599. pose = "Standing"
  4600. end
  4601. end
  4602.  
  4603. function getTool()
  4604. for _, kid in ipairs(Figure:GetChildren()) do
  4605. if kid.className == "Tool" then return kid end
  4606. end
  4607. return nil
  4608. end
  4609.  
  4610. function getToolAnim(tool)
  4611. for _, c in ipairs(tool:GetChildren()) do
  4612. if c.Name == "toolanim" and c.className == "StringValue" then
  4613. return c
  4614. end
  4615. end
  4616. return nil
  4617. end
  4618.  
  4619. function animateTool()
  4620.  
  4621. if (toolAnim == "None") then
  4622. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  4623. return
  4624. end
  4625.  
  4626. if (toolAnim == "Slash") then
  4627. playToolAnimation("toolslash", 0, Humanoid)
  4628. return
  4629. end
  4630.  
  4631. if (toolAnim == "Lunge") then
  4632. playToolAnimation("toollunge", 0, Humanoid)
  4633. return
  4634. end
  4635. end
  4636.  
  4637. function moveSit()
  4638. RightShoulder.MaxVelocity = 0.15
  4639. LeftShoulder.MaxVelocity = 0.15
  4640. RightShoulder:SetDesiredAngle(3.14 /2)
  4641. LeftShoulder:SetDesiredAngle(-3.14 /2)
  4642. RightHip:SetDesiredAngle(3.14 /2)
  4643. LeftHip:SetDesiredAngle(-3.14 /2)
  4644. end
  4645.  
  4646. local lastTick = 0
  4647.  
  4648. function move(time)
  4649. local amplitude = 1
  4650. local frequency = 1
  4651. local deltaTime = time - lastTick
  4652. lastTick = time
  4653.  
  4654. local climbFudge = 0
  4655. local setAngles = false
  4656.  
  4657. if (jumpAnimTime > 0) then
  4658. jumpAnimTime = jumpAnimTime - deltaTime
  4659. end
  4660.  
  4661. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  4662. playAnimation("fall", fallTransitionTime, Humanoid)
  4663. elseif (pose == "Seated") then
  4664. playAnimation("sit", 0.5, Humanoid)
  4665. return
  4666. elseif (pose == "Running") then
  4667. playAnimation("walk", 0.1, Humanoid)
  4668. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  4669. -- print("Wha " .. pose)
  4670. stopAllAnimations()
  4671. amplitude = 0.1
  4672. frequency = 1
  4673. setAngles = true
  4674. end
  4675.  
  4676. if (setAngles) then
  4677. desiredAngle = amplitude * math.sin(time * frequency)
  4678.  
  4679. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  4680. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  4681. RightHip:SetDesiredAngle(-desiredAngle)
  4682. LeftHip:SetDesiredAngle(-desiredAngle)
  4683. end
  4684.  
  4685. -- Tool Animation handling
  4686. local tool = getTool()
  4687. if tool then
  4688.  
  4689. animStringValueObject = getToolAnim(tool)
  4690.  
  4691. if animStringValueObject then
  4692. toolAnim = animStringValueObject.Value
  4693. -- message recieved, delete StringValue
  4694. animStringValueObject.Parent = nil
  4695. toolAnimTime = time + .3
  4696. end
  4697.  
  4698. if time > toolAnimTime then
  4699. toolAnimTime = 0
  4700. toolAnim = "None"
  4701. end
  4702.  
  4703. animateTool()
  4704. else
  4705. stopToolAnimations()
  4706. toolAnim = "None"
  4707. toolAnimTime = 0
  4708. end
  4709. end
  4710.  
  4711. -- connect events
  4712. Humanoid.Died:connect(onDied)
  4713. Humanoid.Running:connect(onRunning)
  4714. Humanoid.Jumping:connect(onJumping)
  4715. Humanoid.Climbing:connect(onClimbing)
  4716. Humanoid.GettingUp:connect(onGettingUp)
  4717. Humanoid.FreeFalling:connect(onFreeFall)
  4718. Humanoid.FallingDown:connect(onFallingDown)
  4719. Humanoid.Seated:connect(onSeated)
  4720. Humanoid.PlatformStanding:connect(onPlatformStanding)
  4721. Humanoid.Swimming:connect(onSwimming)
  4722.  
  4723. -- main program
  4724.  
  4725. local runService = game:service("RunService");
  4726.  
  4727. -- initialize to idle
  4728. playAnimation("idle", 0.1, Humanoid)
  4729. pose = "Standing"
  4730.  
  4731. function populatehumanoids(mdl)
  4732. if mdl.ClassName=="Humanoid" then
  4733. table.insert(humanoids,mdl)
  4734. end
  4735. for i2,mdl2 in ipairs(mdl:GetChildren()) do
  4736. populatehumanoids(mdl2)
  4737. end
  4738. end
  4739.  
  4740. while Figure.Parent~=nil and Humanoid and Humanoid.Parent~=nil and Humanoid.Health>0 and Torso and Figure.Head and Torso~=nil and Torso.Parent~=nil do
  4741. local _,time=wait(0.1)
  4742. humanoids={}
  4743. populatehumanoids(game.Workspace)
  4744. closesttarget=nil
  4745. closestdist=sightrange
  4746. local creator=Figure:FindFirstChild("creator")
  4747. for i,h in ipairs(humanoids) do
  4748. if h and h.Parent~=nil then
  4749. if h.Health>0 and h.Parent.Name~=Figure.Name and h.Parent~=Figure then
  4750. local plr=game.Players:GetPlayerFromCharacter(h.Parent)
  4751. if creator==nil or plr==nil or creator.Value~=plr then
  4752. local t=h.Parent:FindFirstChild("Torso")
  4753. if t~=nil then
  4754. local dist=(t.Position-Torso.Position).magnitude
  4755. if dist<closestdist then
  4756. closestdist=dist
  4757. closesttarget=t
  4758. end
  4759. end
  4760. end
  4761. end
  4762. end
  4763. end
  4764. if closesttarget~=nil then
  4765. if not chasing then
  4766. chasing=true
  4767. Figure.canAttack.Value=true
  4768. Humanoid.WalkSpeed=runspeed
  4769. end
  4770. Humanoid:MoveTo(closesttarget.Position+(Vector3.new(1,1,1)*(variance*((math.random()*2)-1))),closesttarget)
  4771. if math.random()<.5 then
  4772. --attack(time,closesttarget.Position)
  4773. end
  4774. else
  4775. if chasing then
  4776. chasing=false
  4777. Figure.canAttack.Value=false
  4778. Humanoid.WalkSpeed=wonderspeed
  4779. end
  4780. if time>nextrandom then
  4781. nextrandom=time+3+(math.random()*5)
  4782. local randompos=Torso.Position+((Vector3.new(1,1,1)*math.random()-Vector3.new(.5,.5,.5))*40)
  4783. Humanoid:MoveTo(randompos,game.Workspace.Terrain)
  4784. end
  4785. end
  4786. if time>nextjump then
  4787. nextjump=time+7+(math.random()*5)
  4788. Humanoid.Jump=true
  4789. end
  4790. --animate(time)
  4791. move(time)
  4792. end
  4793.  
  4794. wait(4)
  4795. Figure:remove()
  4796.  
  4797. end))
  4798. StringValue82.Name = "climb"
  4799. StringValue82.Parent = Script81
  4800. Animation83.Name = "ClimbAnim"
  4801. Animation83.Parent = StringValue82
  4802. Animation83.AnimationId = "http://www.roblox.com/asset/?id=125750800"
  4803. StringValue84.Name = "fall"
  4804. StringValue84.Parent = Script81
  4805. Animation85.Name = "FallAnim"
  4806. Animation85.Parent = StringValue84
  4807. Animation85.AnimationId = "http://www.roblox.com/asset/?id=125750759"
  4808. StringValue86.Name = "idle"
  4809. StringValue86.Parent = Script81
  4810. Animation87.Name = "Animation1"
  4811. Animation87.Parent = StringValue86
  4812. Animation87.AnimationId = "http://www.roblox.com/asset/?id=125750544"
  4813. NumberValue88.Name = "Weight"
  4814. NumberValue88.Parent = Animation87
  4815. NumberValue88.Value = 9
  4816. Animation89.Name = "Animation2"
  4817. Animation89.Parent = StringValue86
  4818. Animation89.AnimationId = "http://www.roblox.com/asset/?id=125750618"
  4819. NumberValue90.Name = "Weight"
  4820. NumberValue90.Parent = Animation89
  4821. NumberValue90.Value = 1
  4822. StringValue91.Name = "jump"
  4823. StringValue91.Parent = Script81
  4824. Animation92.Name = "JumpAnim"
  4825. Animation92.Parent = StringValue91
  4826. Animation92.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  4827. StringValue93.Name = "run"
  4828. StringValue93.Parent = Script81
  4829. Animation94.Name = "RunAnim"
  4830. Animation94.Parent = StringValue93
  4831. Animation94.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  4832. StringValue95.Name = "sit"
  4833. StringValue95.Parent = Script81
  4834. Animation96.Name = "SitAnim"
  4835. Animation96.Parent = StringValue95
  4836. Animation96.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  4837. StringValue97.Name = "toolnone"
  4838. StringValue97.Parent = Script81
  4839. Animation98.Name = "ToolNoneAnim"
  4840. Animation98.Parent = StringValue97
  4841. Animation98.AnimationId = "http://www.roblox.com/asset/?id=125750867"
  4842. StringValue99.Name = "walk"
  4843. StringValue99.Parent = Script81
  4844. Animation100.Name = "WalkAnim"
  4845. Animation100.Parent = StringValue99
  4846. Animation100.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  4847. Sound101.Name = "DragonBall Super Ultra Instinct"
  4848. Sound101.Parent = Model0
  4849. Sound101.Looped = true
  4850. Sound101.Playing = true
  4851. Sound101.SoundId = "rbxassetid://1311536482"
  4852. Sound101.Volume = 1
  4853. Script102.Name = "HealthBarGUIScript"
  4854. Script102.Parent = Model0
  4855. table.insert(cors,sandbox(Script102,function()
  4856. Humanoid = script.Parent.Humanoid
  4857.  
  4858. function GainCharge(Humanoid)
  4859. Humanoid.Parent.Torso.Healthbar.Frame.Full.Size = UDim2.new(Humanoid.Health/Humanoid.MaxHealth,0,1,0)
  4860. if Humanoid.Health >= Humanoid.MaxHealth/2 then
  4861. Humanoid.Parent.Torso.Healthbar.Frame.Full.BackgroundColor3 = Color3.new(0,200/255,0)
  4862. elseif Humanoid.Health >= Humanoid.MaxHealth/4 and Humanoid.Health <= Humanoid.MaxHealth/2 then
  4863. Humanoid.Parent.Torso.Healthbar.Frame.Full.BackgroundColor3 = Color3.new(200/255,200/255,0)
  4864. elseif Humanoid.Health <= Humanoid.MaxHealth/4 then
  4865. Humanoid.Parent.Torso.Healthbar.Frame.Full.BackgroundColor3 = Color3.new(200/255,0,0)
  4866. end
  4867. end
  4868.  
  4869. Humanoid.HealthChanged:connect(function() GainCharge(Humanoid) end)
  4870. end))
  4871. Hat103.Name = "Sideswept Bangs Brown"
  4872. Hat103.Parent = Model0
  4873. Hat103.AttachmentForward = Vector3.new(0.19592388, -0, -0.980619073)
  4874. Hat103.AttachmentPoint = CFrame.new(0.119999997, 0.300000012, -0.0700000003, 0.980619192, 0, -0.19592388, 0, 1, 0, 0.19592391, -0, 0.980619073)
  4875. Hat103.AttachmentPos = Vector3.new(0.119999997, 0.300000012, -0.0700000003)
  4876. Hat103.AttachmentRight = Vector3.new(0.980619192, 0, 0.19592391)
  4877. Part104.Name = "Handle"
  4878. Part104.Parent = Hat103
  4879. Part104.CFrame = CFrame.new(-59.757782, 4.70001078, 6.35197258, 0.19592388, 0, -0.980619073, 1.58266223e-35, 1, 3.16209774e-36, 0.980619192, 1.61394169e-35, 0.19592391)
  4880. Part104.Orientation = Vector3.new(0, -78.6999969, 0)
  4881. Part104.Position = Vector3.new(-59.757782, 4.70001078, 6.35197258)
  4882. Part104.Rotation = Vector3.new(0, -78.6999969, 0)
  4883. Part104.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4884. Part104.Size = Vector3.new(1, 1, 2)
  4885. Part104.BottomSurface = Enum.SurfaceType.Smooth
  4886. Part104.BrickColor = BrickColor.new("Reddish brown")
  4887. Part104.CanCollide = false
  4888. Part104.TopSurface = Enum.SurfaceType.Smooth
  4889. Part104.brickColor = BrickColor.new("Reddish brown")
  4890. Part104.FormFactor = Enum.FormFactor.Symmetric
  4891. Part104.formFactor = Enum.FormFactor.Symmetric
  4892. SpecialMesh105.Parent = Part104
  4893. SpecialMesh105.MeshId = "http://www.roblox.com/asset/?id=19999424"
  4894. SpecialMesh105.Scale = Vector3.new(1.07000005, 1.07000005, 1.07000005)
  4895. SpecialMesh105.MeshType = Enum.MeshType.FileMesh
  4896. Pants106.Name = "Pants"
  4897. Pants106.Parent = Model0
  4898. Pants106.PantsTemplate = "rbxassetid://226873503"
  4899. Shirt107.Name = "Shirt"
  4900. Shirt107.Parent = Model0
  4901. Shirt107.ShirtTemplate = "rbxassetid://228709366"
  4902. Script108.Name = "Respawn"
  4903. Script108.Parent = Model0
  4904. table.insert(cors,sandbox(Script108,function()
  4905. --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
  4906. local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
  4907. local AdvancedRespawnScript=script;
  4908. repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
  4909. local JeffTheKiller=AdvancedRespawnScript.Parent;
  4910. if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
  4911. JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
  4912. end;
  4913. local GameDerbis=Game:GetService("Debris");
  4914. local JeffTheKillerHumanoid;
  4915. for _,Child in pairs(JeffTheKiller:GetChildren())do
  4916. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  4917. JeffTheKillerHumanoid=Child;
  4918. end;
  4919. end;
  4920. local Respawndant=JeffTheKiller:Clone();
  4921. if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
  4922. coroutine.resume(coroutine.create(function()
  4923. if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
  4924. SpawnModel=Instance.new("Model");
  4925. SpawnModel.Parent=JeffTheKillerHumanoid.Status;
  4926. SpawnModel.Name="AvalibleSpawns";
  4927. else
  4928. SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
  4929. end;
  4930. function FindSpawn(SearchValue)
  4931. local PartsArchivable=SearchValue:GetChildren();
  4932. for AreaSearch=1,#PartsArchivable do
  4933. if PartsArchivable[AreaSearch].className=="SpawnLocation"then
  4934. local PositionValue=Instance.new("Vector3Value",SpawnModel);
  4935. PositionValue.Value=PartsArchivable[AreaSearch].Position;
  4936. PositionValue.Name=PartsArchivable[AreaSearch].Duration;
  4937. end;
  4938. FindSpawn(PartsArchivable[AreaSearch]);
  4939. end;
  4940. end;
  4941. FindSpawn(Game:GetService("Workspace"));
  4942. local SpawnChilden=SpawnModel:GetChildren();
  4943. if#SpawnChilden>0 then
  4944. local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
  4945. local RespawningForceField=Instance.new("ForceField");
  4946. RespawningForceField.Parent=JeffTheKiller;
  4947. RespawningForceField.Name="SpawnForceField";
  4948. GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
  4949. JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
  4950. else
  4951. if JeffTheKiller:FindFirstChild("SpawnForceField")then
  4952. JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
  4953. end;
  4954. JeffTheKiller:MoveTo(Vector3.new(0,115,0));
  4955. end;
  4956. end));
  4957. end;
  4958. function Respawn()
  4959. Wait(5);
  4960. Respawndant.Parent=JeffTheKiller.Parent;
  4961. Respawndant:makeJoints();
  4962. Respawndant:FindFirstChild("Head"):MakeJoints();
  4963. Respawndant:FindFirstChild("Torso"):MakeJoints();
  4964. JeffTheKiller:remove();
  4965. end;
  4966. if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then
  4967. JeffTheKillerHumanoid.Died:connect(Respawn);
  4968. end;
  4969. --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
  4970. end))
  4971. for i,v in pairs(mas:GetChildren()) do
  4972. v.Parent = workspace
  4973. pcall(function() v:MakeJoints() end)
  4974. end
  4975. mas:Destroy()
  4976. for i,v in pairs(cors) do
  4977. spawn(function()
  4978. pcall(v)
  4979. end)
  4980. end
Advertisement
Add Comment
Please, Sign In to add comment