Advertisement
convertboi

DSSJ3

May 3rd, 2019
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 152.91 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
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. --[[
  153. User: TheDarkRevenant
  154. Script: DSSJ3
  155. Pass: QNAh3g8U
  156.  
  157. ]]
  158.  
  159. local p = game.Players.LocalPlayer
  160. local char = p.Character
  161. local mouse = p:GetMouse()
  162. local larm = char["Left Arm"]
  163. local rarm = char["Right Arm"]
  164. local lleg = char["Left Leg"]
  165. local rleg = char["Right Leg"]
  166. local hed = char.Head
  167. local torso = char.Torso
  168. local hum = char.Humanoid
  169. local cam = game.Workspace.CurrentCamera
  170. local root = char.HumanoidRootPart
  171. local deb = false
  172. local shot = 0
  173. local debris=game:service"Debris"
  174. local l = game:GetService("Lighting")
  175. local rs = game:GetService("RunService").RenderStepped
  176. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  177. math.randomseed(os.time())
  178. for i,v in pairs(char:children()) do
  179. if v:IsA("Hat") then
  180. v:Destroy()
  181. end
  182. end
  183. for i,v in pairs (hed:GetChildren()) do
  184. if v:IsA("Sound") then
  185. v:Destroy()
  186. end
  187. end
  188. ----------------------------------------------------
  189. Debounces = {
  190. CanAttack = true;
  191. NoIdl = false;
  192. Slashing = false;
  193. Slashed = false;
  194. RPunch = false;
  195. RPunched = false;
  196. LPunch = false;
  197. LPunched = false;
  198. }
  199. local Touche = {char.Name, }
  200. ----------------------------------------------------
  201. hed.face.Texture = "rbxassetid://34668268"
  202. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  203. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  204. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  205. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  206. ----------------------------------------------------
  207. ypcall(function()
  208. char.Shirt:Destroy()
  209. char.Pants:Destroy()
  210. shirt = Instance.new("Shirt", char)
  211. shirt.Name = "Shirt"
  212. pants = Instance.new("Pants", char)
  213. pants.Name = "Pants"
  214. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=236410507"
  215. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  216. end)
  217. ----------------------------------------------------
  218. function lerp(a, b, t) -- Linear interpolation
  219. return a + (b - a)*t
  220. end
  221.  
  222. function slerp(a, b, t) --Spherical interpolation
  223. dot = a:Dot(b)
  224. if dot > 0.99999 or dot < -0.99999 then
  225. return t <= 0.5 and a or b
  226. else
  227. r = math.acos(dot)
  228. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  229. end
  230. end
  231.  
  232. function matrixInterpolate(a, b, t)
  233. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  234. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  235. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  236. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  237. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  238. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  239. local t = v1:Dot(v2)
  240. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  241. return CFrame.new()
  242. end
  243. return CFrame.new(
  244. v0.x, v0.y, v0.z,
  245. v1.x, v1.y, v1.z,
  246. v2.x, v2.y, v2.z,
  247. v3.x, v3.y, v3.z)
  248. end
  249. ----------------------------------------------------
  250. function genWeld(a,b)
  251. local w = Instance.new("Weld",a)
  252. w.Part0 = a
  253. w.Part1 = b
  254. return w
  255. end
  256. function weld(a, b)
  257. local weld = Instance.new("Weld")
  258. weld.Name = "W"
  259. weld.Part0 = a
  260. weld.Part1 = b
  261. weld.C0 = a.CFrame:inverse() * b.CFrame
  262. weld.Parent = a
  263. return weld;
  264. end
  265. ----------------------------------------------------
  266. function Lerp(c1,c2,al)
  267. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  268. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  269. for i,v in pairs(com1) do
  270. com1[i] = v+(com2[i]-v)*al
  271. end
  272. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  273. end
  274. ----------------------------------------------------
  275. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  276. local wld = Instance.new("Weld", wp1)
  277. wld.Part0 = wp0
  278. wld.Part1 = wp1
  279. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  280. end
  281. ----------------------------------------------------
  282. function weld5(part0, part1, c0, c1)
  283. weeld=Instance.new("Weld", part0)
  284. weeld.Part0=part0
  285. weeld.Part1=part1
  286. weeld.C0=c0
  287. weeld.C1=c1
  288. return weeld
  289. end
  290. ----------------------------------------------------
  291. function HasntTouched(plrname)
  292. local ret = true
  293. for _, v in pairs(Touche) do
  294. if v == plrname then
  295. ret = false
  296. end
  297. end
  298. return ret
  299. end
  300. ----------------------------------------------------
  301. newWeld(torso, larm, -1.5, 0.5, 0)
  302. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  303. newWeld(torso, rarm, 1.5, 0.5, 0)
  304. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  305. newWeld(torso, hed, 0, 1.5, 0)
  306. newWeld(torso, lleg, -0.5, -1, 0)
  307. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  308. newWeld(torso, rleg, 0.5, -1, 0)
  309. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  310. newWeld(root, torso, 0, -1, 0)
  311. torso.Weld.C1 = CFrame.new(0, -1, 0)
  312. ----------------------------------------------------
  313. z = Instance.new("Sound", char)
  314. z.SoundId = "rbxassetid://282572614"--303570180
  315. z.Looped = true
  316. z.Pitch = 1
  317. z.Volume = 1
  318. wait(.1)
  319. z:Play()
  320. ----------------------------------------------------
  321. local Transforming = true
  322. hum.WalkSpeed = 0
  323. local fx = Instance.new("Part",torso)
  324. fx.Anchored = true
  325. fx.Material = "Neon"
  326. fx.CanCollide = false
  327. fx.Locked = true
  328. fx.Transparency = 1
  329. fx.Material = "SmoothPlastic"
  330. fx.Size = Vector3.new(1,1,1)
  331. fx.TopSurface = "SmoothNoOutlines"
  332. fx.BottomSurface = "SmoothNoOutlines"
  333. fx.BrickColor = BrickColor.new("Really black")
  334. fxm = Instance.new("SpecialMesh",fx)
  335. fxm.MeshType = "Sphere"
  336. fxm.Scale = Vector3.new(1,1,1)
  337. for i = 1, 20 do rs:wait()
  338. fx.Transparency = fx.Transparency - (1/20)
  339. fx.CFrame = torso.CFrame
  340. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  341. rs:wait()
  342. end
  343. ----------------------------------------------------
  344. local m = Instance.new("Model")
  345. m.Name = "Hair"
  346. p1 = Instance.new("Part", m)
  347. p1.BrickColor = BrickColor.new("Really black")
  348. p1.FormFactor = Enum.FormFactor.Symmetric
  349. p1.Size = Vector3.new(1, 1, 1)
  350. p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  351. p1.CanCollide = false
  352. p1.Locked = true
  353. p1.BottomSurface = Enum.SurfaceType.Smooth
  354. p1.TopSurface = Enum.SurfaceType.Smooth
  355. b1 = Instance.new("SpecialMesh", p1)
  356. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  357. b1.TextureId = ""
  358. b1.MeshType = Enum.MeshType.FileMesh
  359. b1.Name = "Mesh"
  360. b1.VertexColor = Vector3.new(0, 0, 0)
  361. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  362. p2 = Instance.new("Part", m)
  363. p2.BrickColor = BrickColor.new("Pastel brown")
  364. p2.Transparency = 1
  365. p2.Name = "Head"
  366. p2.FormFactor = Enum.FormFactor.Symmetric
  367. p2.Size = Vector3.new(2, 1, 1)
  368. p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
  369. p2.CanCollide = false
  370. p2.Locked = true
  371. p2.TopSurface = Enum.SurfaceType.Smooth
  372. b2 = Instance.new("SpecialMesh", p2)
  373. b2.MeshType = Enum.MeshType.Head
  374. b2.Name = "Mesh"
  375. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  376. p3 = Instance.new("Part", m)
  377. p3.BrickColor = BrickColor.new("Really black")
  378. p3.FormFactor = Enum.FormFactor.Symmetric
  379. p3.Size = Vector3.new(2, 2, 2)
  380. p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
  381. p3.CanCollide = false
  382. p3.Locked = true
  383. p3.BottomSurface = Enum.SurfaceType.Smooth
  384. p3.TopSurface = Enum.SurfaceType.Smooth
  385. b3 = Instance.new("SpecialMesh", p3)
  386. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  387. b3.TextureId = ""
  388. b3.MeshType = Enum.MeshType.FileMesh
  389. b3.Name = "Mesh"
  390. b3.VertexColor = Vector3.new(0, 0, 0)
  391. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  392. p4 = Instance.new("Part", m)
  393. p4.BrickColor = BrickColor.new("Really black")
  394. p4.FormFactor = Enum.FormFactor.Symmetric
  395. p4.Size = Vector3.new(1, 1, 1)
  396. p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
  397. p4.CanCollide = false
  398. p4.Locked = true
  399. p4.BottomSurface = Enum.SurfaceType.Smooth
  400. p4.TopSurface = Enum.SurfaceType.Smooth
  401. b4 = Instance.new("SpecialMesh", p4)
  402. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  403. b4.TextureId = ""
  404. b4.MeshType = Enum.MeshType.FileMesh
  405. b4.Name = "Mesh"
  406. b4.VertexColor = Vector3.new(0, 0, 0)
  407. p5 = Instance.new("Part", m)
  408. p5.BrickColor = BrickColor.new("Really black")
  409. p5.FormFactor = Enum.FormFactor.Symmetric
  410. p5.Size = Vector3.new(1, 1, 1)
  411. p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
  412. p5.CanCollide = false
  413. p5.Locked = true
  414. p5.BottomSurface = Enum.SurfaceType.Smooth
  415. p5.TopSurface = Enum.SurfaceType.Smooth
  416. b5 = Instance.new("SpecialMesh", p5)
  417. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  418. b5.TextureId = ""
  419. b5.MeshType = Enum.MeshType.FileMesh
  420. b5.Name = "Mesh"
  421. b5.VertexColor = Vector3.new(0, 0, 0)
  422. b5.Scale = Vector3.new(1, 0.899999976, 1)
  423. p6 = Instance.new("Part", m)
  424. p6.BrickColor = BrickColor.new("Really black")
  425. p6.FormFactor = Enum.FormFactor.Symmetric
  426. p6.Size = Vector3.new(1, 1, 1)
  427. p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
  428. p6.CanCollide = false
  429. p6.Locked = true
  430. p6.BottomSurface = Enum.SurfaceType.Smooth
  431. p6.TopSurface = Enum.SurfaceType.Smooth
  432. b6 = Instance.new("SpecialMesh", p6)
  433. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  434. b6.TextureId = ""
  435. b6.MeshType = Enum.MeshType.FileMesh
  436. b6.Name = "Mesh"
  437. b6.VertexColor = Vector3.new(0, 0, 0)
  438. p7 = Instance.new("Part", m)
  439. p7.BrickColor = BrickColor.new("Really black")
  440. p7.FormFactor = Enum.FormFactor.Symmetric
  441. p7.Size = Vector3.new(1, 1, 1)
  442. p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
  443. p7.CanCollide = false
  444. p7.Locked = true
  445. p7.BottomSurface = Enum.SurfaceType.Smooth
  446. p7.TopSurface = Enum.SurfaceType.Smooth
  447. b7 = Instance.new("SpecialMesh", p7)
  448. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  449. b7.TextureId = ""
  450. b7.MeshType = Enum.MeshType.FileMesh
  451. b7.Name = "Mesh"
  452. b7.VertexColor = Vector3.new(0, 0, 0)
  453. p8 = Instance.new("Part", m)
  454. p8.BrickColor = BrickColor.new("Really black")
  455. p8.FormFactor = Enum.FormFactor.Symmetric
  456. p8.Size = Vector3.new(1, 1, 1)
  457. p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
  458. p8.CanCollide = false
  459. p8.Locked = true
  460. p8.BottomSurface = Enum.SurfaceType.Smooth
  461. p8.TopSurface = Enum.SurfaceType.Smooth
  462. b8 = Instance.new("SpecialMesh", p8)
  463. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  464. b8.TextureId = ""
  465. b8.MeshType = Enum.MeshType.FileMesh
  466. b8.Name = "Mesh"
  467. b8.VertexColor = Vector3.new(0, 0, 0)
  468. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  469. p9 = Instance.new("Part", m)
  470. p9.BrickColor = BrickColor.new("Really black")
  471. p9.FormFactor = Enum.FormFactor.Symmetric
  472. p9.Size = Vector3.new(2, 1, 2)
  473. p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
  474. p9.CanCollide = false
  475. p9.Locked = true
  476. p9.BottomSurface = Enum.SurfaceType.Smooth
  477. p9.TopSurface = Enum.SurfaceType.Smooth
  478. b9 = Instance.new("SpecialMesh", p9)
  479. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  480. b9.TextureId = ""
  481. b9.MeshType = Enum.MeshType.FileMesh
  482. b9.Name = "Mesh"
  483. b9.VertexColor = Vector3.new(0, 0, 0)
  484. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  485. p10 = Instance.new("Part", m)
  486. p10.BrickColor = BrickColor.new("Really black")
  487. p10.FormFactor = Enum.FormFactor.Symmetric
  488. p10.Size = Vector3.new(1, 1, 1)
  489. p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
  490. p10.CanCollide = false
  491. p10.Locked = true
  492. p10.BottomSurface = Enum.SurfaceType.Smooth
  493. p10.TopSurface = Enum.SurfaceType.Smooth
  494. b10 = Instance.new("SpecialMesh", p10)
  495. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  496. b10.TextureId = ""
  497. b10.MeshType = Enum.MeshType.FileMesh
  498. b10.Name = "Mesh"
  499. b10.VertexColor = Vector3.new(0, 0, 0)
  500. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  501. p11 = Instance.new("Part", m)
  502. p11.BrickColor = BrickColor.new("Really black")
  503. p11.FormFactor = Enum.FormFactor.Symmetric
  504. p11.Size = Vector3.new(1, 1, 1)
  505. p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
  506. p11.CanCollide = false
  507. p11.Locked = true
  508. p11.BottomSurface = Enum.SurfaceType.Smooth
  509. p11.TopSurface = Enum.SurfaceType.Smooth
  510. b11 = Instance.new("SpecialMesh", p11)
  511. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  512. b11.TextureId = ""
  513. b11.MeshType = Enum.MeshType.FileMesh
  514. b11.Name = "Mesh"
  515. b11.VertexColor = Vector3.new(0, 0, 0)
  516. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  517. p12 = Instance.new("Part", m)
  518. p12.BrickColor = BrickColor.new("Really black")
  519. p12.FormFactor = Enum.FormFactor.Custom
  520. p12.Size = Vector3.new(1, 3.5, 1)
  521. p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
  522. p12.CanCollide = false
  523. p12.Locked = true
  524. p12.BottomSurface = Enum.SurfaceType.Smooth
  525. p12.TopSurface = Enum.SurfaceType.Smooth
  526. b12 = Instance.new("SpecialMesh", p12)
  527. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  528. b12.TextureId = ""
  529. b12.MeshType = Enum.MeshType.FileMesh
  530. b12.Name = "Mesh"
  531. b12.VertexColor = Vector3.new(0, 0, 0)
  532. b12.Scale = Vector3.new(1, 3, 1.29999995)
  533. p13 = Instance.new("Part", m)
  534. p13.BrickColor = BrickColor.new("Really black")
  535. p13.FormFactor = Enum.FormFactor.Custom
  536. p13.Size = Vector3.new(1, 2, 1)
  537. p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
  538. p13.CanCollide = false
  539. p13.Locked = true
  540. p13.BottomSurface = Enum.SurfaceType.Smooth
  541. p13.TopSurface = Enum.SurfaceType.Smooth
  542. b13 = Instance.new("SpecialMesh", p13)
  543. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  544. b13.TextureId = ""
  545. b13.MeshType = Enum.MeshType.FileMesh
  546. b13.Name = "Mesh"
  547. b13.VertexColor = Vector3.new(0, 0, 0)
  548. b13.Scale = Vector3.new(1, 3, 1.29999995)
  549. p14 = Instance.new("Part", m)
  550. p14.BrickColor = BrickColor.new("Really black")
  551. p14.FormFactor = Enum.FormFactor.Custom
  552. p14.Size = Vector3.new(1, 2, 1)
  553. p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
  554. p14.CanCollide = false
  555. p14.Locked = true
  556. p14.BottomSurface = Enum.SurfaceType.Smooth
  557. p14.TopSurface = Enum.SurfaceType.Smooth
  558. b14 = Instance.new("SpecialMesh", p14)
  559. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  560. b14.TextureId = ""
  561. b14.MeshType = Enum.MeshType.FileMesh
  562. b14.Name = "Mesh"
  563. b14.VertexColor = Vector3.new(0, 0, 0)
  564. b14.Scale = Vector3.new(1, 3, 1.29999995)
  565. p15 = Instance.new("Part", m)
  566. p15.BrickColor = BrickColor.new("Really black")
  567. p15.FormFactor = Enum.FormFactor.Custom
  568. p15.Size = Vector3.new(1, 2.5, 1)
  569. p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
  570. p15.CanCollide = false
  571. p15.Locked = true
  572. p15.BottomSurface = Enum.SurfaceType.Smooth
  573. p15.TopSurface = Enum.SurfaceType.Smooth
  574. b15 = Instance.new("SpecialMesh", p15)
  575. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  576. b15.TextureId = ""
  577. b15.MeshType = Enum.MeshType.FileMesh
  578. b15.Name = "Mesh"
  579. b15.VertexColor = Vector3.new(0, 0, 0)
  580. b15.Scale = Vector3.new(1, 3, 1.29999995)
  581. p16 = Instance.new("Part", m)
  582. p16.BrickColor = BrickColor.new("Really black")
  583. p16.FormFactor = Enum.FormFactor.Custom
  584. p16.Size = Vector3.new(1, 2.5, 1)
  585. p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
  586. p16.CanCollide = false
  587. p16.Locked = true
  588. p16.BottomSurface = Enum.SurfaceType.Smooth
  589. p16.TopSurface = Enum.SurfaceType.Smooth
  590. b16 = Instance.new("SpecialMesh", p16)
  591. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  592. b16.TextureId = ""
  593. b16.MeshType = Enum.MeshType.FileMesh
  594. b16.Name = "Mesh"
  595. b16.VertexColor = Vector3.new(0, 0, 0)
  596. b16.Scale = Vector3.new(1, 3, 1.29999995)
  597. p17 = Instance.new("Part", m)
  598. p17.BrickColor = BrickColor.new("Really black")
  599. p17.FormFactor = Enum.FormFactor.Custom
  600. p17.Size = Vector3.new(1, 2.4000001, 1)
  601. p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
  602. p17.CanCollide = false
  603. p17.Locked = true
  604. p17.BottomSurface = Enum.SurfaceType.Smooth
  605. p17.TopSurface = Enum.SurfaceType.Smooth
  606. b17 = Instance.new("SpecialMesh", p17)
  607. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  608. b17.TextureId = ""
  609. b17.MeshType = Enum.MeshType.FileMesh
  610. b17.Name = "Mesh"
  611. b17.VertexColor = Vector3.new(0, 0, 0)
  612. b17.Scale = Vector3.new(1, 3, 1.29999995)
  613. p18 = Instance.new("Part", m)
  614. p18.BrickColor = BrickColor.new("Really black")
  615. p18.FormFactor = Enum.FormFactor.Custom
  616. p18.Size = Vector3.new(2, 2, 2)
  617. p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
  618. p18.CanCollide = false
  619. p18.Locked = true
  620. p18.BottomSurface = Enum.SurfaceType.Smooth
  621. p18.TopSurface = Enum.SurfaceType.Smooth
  622. b18 = Instance.new("SpecialMesh", p18)
  623. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  624. b18.TextureId = ""
  625. b18.MeshType = Enum.MeshType.FileMesh
  626. b18.Name = "Mesh"
  627. b18.VertexColor = Vector3.new(0, 0, 0)
  628. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  629. w1 = Instance.new("Weld", p1)
  630. w1.Name = "Head_Weld"
  631. w1.Part0 = p1
  632. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  633. w1.Part1 = p2
  634. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  635. w2 = Instance.new("Weld", p2)
  636. w2.Name = "Part_Weld"
  637. w2.Part0 = p2
  638. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  639. w2.Part1 = p3
  640. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  641. w3 = Instance.new("Weld", p3)
  642. w3.Name = "Part_Weld"
  643. w3.Part0 = p3
  644. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  645. w3.Part1 = p4
  646. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  647. w4 = Instance.new("Weld", p4)
  648. w4.Name = "Part_Weld"
  649. w4.Part0 = p4
  650. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  651. w4.Part1 = p5
  652. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  653. w5 = Instance.new("Weld", p5)
  654. w5.Name = "Part_Weld"
  655. w5.Part0 = p5
  656. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  657. w5.Part1 = p6
  658. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  659. w6 = Instance.new("Weld", p6)
  660. w6.Name = "Part_Weld"
  661. w6.Part0 = p6
  662. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  663. w6.Part1 = p7
  664. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  665. w7 = Instance.new("Weld", p7)
  666. w7.Name = "Part_Weld"
  667. w7.Part0 = p7
  668. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  669. w7.Part1 = p8
  670. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  671. w8 = Instance.new("Weld", p8)
  672. w8.Name = "Part_Weld"
  673. w8.Part0 = p8
  674. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  675. w8.Part1 = p9
  676. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  677. w9 = Instance.new("Weld", p9)
  678. w9.Name = "Part_Weld"
  679. w9.Part0 = p9
  680. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  681. w9.Part1 = p10
  682. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  683. w10 = Instance.new("Weld", p10)
  684. w10.Name = "Part_Weld"
  685. w10.Part0 = p10
  686. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  687. w10.Part1 = p11
  688. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  689. w11 = Instance.new("Weld", p11)
  690. w11.Name = "Part_Weld"
  691. w11.Part0 = p11
  692. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  693. w11.Part1 = p12
  694. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  695. w12 = Instance.new("Weld", p12)
  696. w12.Name = "Part_Weld"
  697. w12.Part0 = p12
  698. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  699. w12.Part1 = p13
  700. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  701. w13 = Instance.new("Weld", p13)
  702. w13.Name = "Part_Weld"
  703. w13.Part0 = p13
  704. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  705. w13.Part1 = p14
  706. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  707. w14 = Instance.new("Weld", p14)
  708. w14.Name = "Part_Weld"
  709. w14.Part0 = p14
  710. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  711. w14.Part1 = p15
  712. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  713. w15 = Instance.new("Weld", p15)
  714. w15.Name = "Part_Weld"
  715. w15.Part0 = p15
  716. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  717. w15.Part1 = p16
  718. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  719. w16 = Instance.new("Weld", p16)
  720. w16.Name = "Part_Weld"
  721. w16.Part0 = p16
  722. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  723. w16.Part1 = p17
  724. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  725. w17 = Instance.new("Weld", p17)
  726. w17.Name = "Part_Weld"
  727. w17.Part0 = p17
  728. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  729. w17.Part1 = p18
  730. w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  731. m.Parent = char
  732. m:MakeJoints()
  733. ----------------------------------------------------
  734. local cor = Instance.new("Part", char.Hair)
  735. cor.Name = "Link"
  736. cor.Locked = true
  737. cor.BottomSurface = 0
  738. cor.CanCollide = false
  739. cor.Size = Vector3.new(1, 9, 1)
  740. cor.Transparency = 1
  741. cor.TopSurface = 0
  742. corw = Instance.new("Weld", cor)
  743. corw.Part0 = hed
  744. corw.Part1 = cor
  745. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  746. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  747. weld1 = Instance.new("Weld", char.Hair)
  748. weld1.Part0 = cor
  749. weld1.Part1 = char.Hair.Head
  750. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  751. ----------------------------------------------------
  752. GroundWave1 = function()
  753. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  754. local Colors = {"Royal purple", "Really black"}
  755. local wave = Instance.new("Part", torso)
  756. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  757. wave.Anchored = true
  758. wave.CanCollide = false
  759. wave.Locked = true
  760. wave.Size = Vector3.new(1, 1, 1)
  761. wave.TopSurface = "Smooth"
  762. wave.BottomSurface = "Smooth"
  763. wave.Transparency = 0.35
  764. wave.CFrame = HandCF
  765. wm = Instance.new("SpecialMesh", wave)
  766. wm.MeshId = "rbxassetid://3270017"
  767. coroutine.wrap(function()
  768. for i = 1, 30, 1 do
  769. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  770. wave.Size = wm.Scale
  771. wave.CFrame = HandCF
  772. wave.Transparency = i/30
  773. wait()
  774. end
  775. wait()
  776. wave:Destroy()
  777. end)()
  778. end
  779. ----------------------------------------------------
  780. GroundWave = function()
  781. if Transforming == true then
  782. local wave = Instance.new("Part", torso)
  783. wave.BrickColor = BrickColor.new("Really black")
  784. wave.Anchored = true
  785. wave.CanCollide = false
  786. wave.Locked = true
  787. wave.Size = Vector3.new(1, 1, 1)
  788. wave.TopSurface = "Smooth"
  789. wave.BottomSurface = "Smooth"
  790. wave.Transparency = 0.35
  791. wave.CFrame = fx.CFrame
  792. wm = Instance.new("SpecialMesh", wave)
  793. wm.MeshType = "Sphere"
  794. wm.Scale = Vector3.new(1,1,1)
  795. coroutine.wrap(function()
  796. for i = 1, 18, 1 do
  797. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  798. --wave.Size = wm.Scale
  799. wave.CFrame = fx.CFrame
  800. wave.Transparency = i/14
  801. wait()
  802. end
  803. wait()
  804. wave:Destroy()
  805. end)()
  806. elseif Transforming == false then
  807. wait()
  808. end
  809. end
  810.  
  811. for i = 1, 100 do rs:wait()
  812. fx.CFrame = torso.CFrame
  813. end
  814.  
  815. Spawn(function()
  816. while wait(1) do
  817. GroundWave()
  818. end
  819. end)
  820.  
  821. wait(4)
  822.  
  823. Transforming = false
  824.  
  825. for i = 1, 20 do rs:wait()
  826. fx.Transparency = fx.Transparency + (1/20)
  827. fx.CFrame = torso.CFrame
  828. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  829. rs:wait()
  830. end
  831.  
  832. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  833. local wave = Instance.new("Part", torso)
  834. wave.BrickColor = BrickColor.new("Institutional white")
  835. wave.Anchored = true
  836. wave.CanCollide = false
  837. wave.Locked = true
  838. wave.Size = Vector3.new(1, 1, 1)
  839. wave.TopSurface = "Smooth"
  840. wave.BottomSurface = "Smooth"
  841. wave.Transparency = 0.35
  842. wave.CFrame = HandCF
  843. wm = Instance.new("SpecialMesh", wave)
  844. wm.MeshId = "rbxassetid://3270017"
  845. coroutine.wrap(function()
  846. for i = 1, 14, 1 do
  847. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  848. wave.Size = wm.Scale
  849. wave.CFrame = HandCF
  850. wave.Transparency = i/14
  851. wait()
  852. end
  853. wait()
  854. wave:Destroy()
  855. end)()
  856. hum.WalkSpeed = 16
  857. ----------------------------------------------------
  858. Blast = function()
  859. local Colors = {"Really red", "Really black"}
  860. local wave = Instance.new("Part", torso)
  861. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  862. wave.Anchored = true
  863. wave.CanCollide = false
  864. wave.Locked = true
  865. wave.Size = Vector3.new(1, 1, 1)
  866. wave.TopSurface = "Smooth"
  867. wave.BottomSurface = "Smooth"
  868. wave.Transparency = 0.35
  869. wave.CFrame = rarm.CFrame
  870. wm = Instance.new("SpecialMesh", wave)
  871. wm.MeshType = "Sphere"
  872. wm.Scale = Vector3.new(1,1,1)
  873. z = Instance.new("Sound",wave)
  874. z.SoundId = "rbxassetid://237035051"
  875. z.Volume = 1
  876. z.Pitch = .9
  877. z:Play()
  878. coroutine.wrap(function()
  879. for i = 1, 30, 1 do
  880. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  881. --wave.Size = wm.Scale
  882. wave.CFrame = rarm.CFrame
  883. wave.Transparency = (1/14)
  884. rs:wait()
  885. end
  886. rs:wait()
  887. wave:Destroy()
  888. z:Destroy()
  889. end)()
  890. end
  891. ----------------------------------------------------
  892. rarm.Touched:connect(function(ht)
  893. hit = ht.Parent
  894. if ht and hit:IsA("Model") then
  895. if hit:FindFirstChild("Humanoid") then
  896. if hit.Name ~= p.Name then
  897. if Debounces.RPunch == true and Debounces.RPunched == false then
  898. Debounces.RPunched = true
  899. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  900. if Debounces.ks==true then
  901. z = Instance.new("Sound",hed)
  902. z.SoundId = "rbxassetid://169380525"
  903. z.Pitch = ptz[math.random(1,#ptz)]
  904. z.Volume = 1
  905. z:Play()
  906. end
  907. wait(.2)
  908. Debounces.RPunched = false
  909. end
  910. end
  911. end
  912. elseif ht and hit:IsA("Hat") then
  913. if hit.Parent.Name ~= p.Name then
  914. if hit.Parent:FindFirstChild("Humanoid") then
  915. if Debounces.RPunch == true and Debounces.RPunched == false then
  916. Debounces.RPunched = true
  917. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  918. if Debounces.ks==true then
  919. z = Instance.new("Sound",hed)
  920. z.SoundId = "rbxassetid://169380525"
  921. z.Pitch = ptz[math.random(1,#ptz)]
  922. z.Volume = 1
  923. z:Play()
  924. end
  925. wait(.2)
  926. Debounces.RPunched = false
  927. end
  928. end
  929. end
  930. end
  931. end)
  932. larm.Touched:connect(function(ht)
  933. hit = ht.Parent
  934. if ht and hit:IsA("Model") then
  935. if hit:FindFirstChild("Humanoid") then
  936. if hit.Name ~= p.Name then
  937. if Debounces.LPunch == true and Debounces.LPunched == false then
  938. Debounces.LPunched = true
  939. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  940. if Debounces.ks2==true then
  941. z = Instance.new("Sound",hed)
  942. z.SoundId = "rbxassetid://169380525"
  943. z.Pitch = ptz[math.random(1,#ptz)]
  944. z.Volume = 1
  945. z:Play()
  946. end
  947. wait(.2)
  948. Debounces.LPunched = false
  949. end
  950. end
  951. end
  952. elseif ht and hit:IsA("Hat") then
  953. if hit.Parent.Name ~= p.Name then
  954. if hit.Parent:FindFirstChild("Humanoid") then
  955. if Debounces.LPunch == true and Debounces.LPunched == false then
  956. Debounces.LPunched = true
  957. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  958. if Debounces.ks2==true then
  959. z = Instance.new("Sound",hed)
  960. z.SoundId = "rbxassetid://169380525"
  961. z.Pitch = ptz[math.random(1,#ptz)]
  962. z.Volume = 1
  963. z:Play()
  964. end
  965. wait(.2)
  966. Debounces.LPunched = false
  967. end
  968. end
  969. end
  970. end
  971. end)
  972. ----------------------------------------------------
  973. mod4 = Instance.new("Model",char)
  974.  
  975. ptez = {0.7, 0.8, 0.9, 1}
  976.  
  977. function FindNearestTorso(Position,Distance,SinglePlayer)
  978. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  979. local List = {}
  980. for i,v in pairs(workspace:GetChildren())do
  981. if v:IsA("Model")then
  982. if v:findFirstChild("Torso")then
  983. if v ~= char then
  984. if(v.Torso.Position -Position).magnitude <= Distance then
  985. table.insert(List,v)
  986. end
  987. end
  988. end
  989. end
  990. end
  991. return List
  992. end
  993.  
  994. function Punch()
  995. part=Instance.new('Part',mod4)
  996. part.Anchored=true
  997. part.CanCollide=false
  998. part.FormFactor='Custom'
  999. part.Size=Vector3.new(.2,.2,.2)
  1000. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1001. part.Transparency=.7
  1002. part.BrickColor=BrickColor.new('Really black')
  1003. mesh=Instance.new('SpecialMesh',part)
  1004. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1005. mesh.Scale=Vector3.new(3,3,3)
  1006. part2=Instance.new('Part',mod4)
  1007. part2.Anchored=true
  1008. part2.CanCollide=false
  1009. part2.FormFactor='Custom'
  1010. part2.Size=Vector3.new(.2,.2,.2)
  1011. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1012. part2.Transparency=.7
  1013. part2.BrickColor=BrickColor.new('Really red')
  1014. mesh2=Instance.new('SpecialMesh',part2)
  1015. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1016. mesh2.Scale=Vector3.new(3,1.5,3)
  1017. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1018. if v:FindFirstChild('Humanoid') then
  1019. v.Humanoid:TakeDamage(math.random(2,6))
  1020. end
  1021. end
  1022. coroutine.resume(coroutine.create(function()
  1023. for i=0,0.62,0.4 do
  1024. wait()
  1025. part.CFrame=part.CFrame
  1026. part.Transparency=i
  1027. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1028. part2.CFrame=part2.CFrame
  1029. part2.Transparency=i
  1030. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1031. end
  1032. part.Parent=nil
  1033. part2.Parent=nil
  1034. end))
  1035. end
  1036. ----------------------------------------------------
  1037. rarm.Touched:connect(function(ht)
  1038. hit = ht.Parent
  1039. if ht and hit:IsA("Model") then
  1040. if hit:FindFirstChild("Humanoid") then
  1041. if hit.Name ~= p.Name then
  1042. if Debounces.RPunch == true and Debounces.RPunched == false then
  1043. Debounces.RPunched = true
  1044. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1045. if Debounces.ks==true then
  1046. z = Instance.new("Sound",hed)
  1047. z.SoundId = "rbxassetid://169380525"
  1048. z.Pitch = ptz[math.random(1,#ptz)]
  1049. z.Volume = 1
  1050. z:Play()
  1051. end
  1052. wait(.2)
  1053. Debounces.RPunched = false
  1054. end
  1055. end
  1056. end
  1057. elseif ht and hit:IsA("Hat") then
  1058. if hit.Parent.Name ~= p.Name then
  1059. if hit.Parent:FindFirstChild("Humanoid") then
  1060. if Debounces.RPunch == true and Debounces.RPunched == false then
  1061. Debounces.RPunched = true
  1062. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1063. if Debounces.ks==true then
  1064. z = Instance.new("Sound",hed)
  1065. z.SoundId = "rbxassetid://169380525"
  1066. z.Pitch = ptz[math.random(1,#ptz)]
  1067. z.Volume = 1
  1068. z:Play()
  1069. end
  1070. wait(.2)
  1071. Debounces.RPunched = false
  1072. end
  1073. end
  1074. end
  1075. end
  1076. end)
  1077. larm.Touched:connect(function(ht)
  1078. hit = ht.Parent
  1079. if ht and hit:IsA("Model") then
  1080. if hit:FindFirstChild("Humanoid") then
  1081. if hit.Name ~= p.Name then
  1082. if Debounces.LPunch == true and Debounces.LPunched == false then
  1083. Debounces.LPunched = true
  1084. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1085. if Debounces.ks2==true then
  1086. z = Instance.new("Sound",hed)
  1087. z.SoundId = "rbxassetid://169380525"
  1088. z.Pitch = ptz[math.random(1,#ptz)]
  1089. z.Volume = 1
  1090. z:Play()
  1091. end
  1092. wait(.2)
  1093. Debounces.LPunched = false
  1094. end
  1095. end
  1096. end
  1097. elseif ht and hit:IsA("Hat") then
  1098. if hit.Parent.Name ~= p.Name then
  1099. if hit.Parent:FindFirstChild("Humanoid") then
  1100. if Debounces.LPunch == true and Debounces.LPunched == false then
  1101. Debounces.LPunched = true
  1102. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1103. if Debounces.ks2==true then
  1104. z = Instance.new("Sound",hed)
  1105. z.SoundId = "rbxassetid://169380525"
  1106. z.Pitch = ptz[math.random(1,#ptz)]
  1107. z.Volume = 1
  1108. z:Play()
  1109. end
  1110. wait(.2)
  1111. Debounces.LPunched = false
  1112. end
  1113. end
  1114. end
  1115. end
  1116. end)
  1117. ----------------------------------------------------
  1118. local player = game.Players.LocalPlayer
  1119. local pchar = player.Character
  1120. local mouse = player:GetMouse()
  1121. local cam = workspace.CurrentCamera
  1122.  
  1123. local rad = math.rad
  1124.  
  1125. local keysDown = {}
  1126. local flySpeed = 0
  1127. local MAX_FLY_SPEED = 150
  1128.  
  1129. local canFly = false
  1130. local flyToggled = false
  1131.  
  1132. local forward, side = 0, 0
  1133. local lastForward, lastSide = 0, 0
  1134.  
  1135. local floatBP = Instance.new("BodyPosition")
  1136. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1137. local flyBV = Instance.new("BodyVelocity")
  1138. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1139. local turnBG = Instance.new("BodyGyro")
  1140. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1141.  
  1142. mouse.KeyDown:connect(function(key)
  1143. keysDown[key] = true
  1144.  
  1145. if key == "f" then
  1146. flyToggled = not flyToggled
  1147.  
  1148. if not flyToggled then
  1149. stanceToggle = "Normal"
  1150. floatBP.Parent = nil
  1151. flyBV.Parent = nil
  1152. turnBG.Parent = nil
  1153. root.Velocity = Vector3.new()
  1154. pchar.Humanoid.PlatformStand = false
  1155. end
  1156. end
  1157.  
  1158. end)
  1159. mouse.KeyUp:connect(function(key)
  1160. keysDown[key] = nil
  1161. end)
  1162.  
  1163. local function updateFly()
  1164.  
  1165. if not flyToggled then return end
  1166.  
  1167. lastForward = forward
  1168. lastSide = side
  1169.  
  1170. forward = 0
  1171. side = 0
  1172.  
  1173. if keysDown.w then
  1174. forward = forward + 1
  1175. end
  1176. if keysDown.s then
  1177. forward = forward - 1
  1178. end
  1179. if keysDown.a then
  1180. side = side - 1
  1181. end
  1182. if keysDown.d then
  1183. side = side + 1
  1184. end
  1185.  
  1186. canFly = (forward ~= 0 or side ~= 0)
  1187.  
  1188. if canFly then
  1189. stanceToggle = "Floating"
  1190. turnBG.Parent = root
  1191. floatBP.Parent = nil
  1192. flyBV.Parent = root
  1193.  
  1194. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1195. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1196. else
  1197. floatBP.position = root.Position
  1198. floatBP.Parent = root
  1199.  
  1200. flySpeed = flySpeed - 1
  1201. if flySpeed < 0 then flySpeed = 0 end
  1202. end
  1203.  
  1204. local camCF = cam.CoordinateFrame
  1205. local in_forward = canFly and forward or lastForward
  1206. local in_side = canFly and side or lastSide
  1207.  
  1208. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1209. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1210.  
  1211. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1212. 0)
  1213. end
  1214.  
  1215. game:service'RunService'.RenderStepped:connect(function()
  1216. if flyToggled then
  1217. pchar.Humanoid.PlatformStand = true
  1218. end
  1219. updateFly()
  1220. end)
  1221. -------------------------------
  1222. mouse.KeyDown:connect(function(key)
  1223. if key == "q" then
  1224. if Debounces.CanAttack == true then
  1225. Debounces.CanAttack = false
  1226. Debounces.NoIdl = true
  1227. Debounces.on = true
  1228. function FindNearestTorso(Position,Distance,SinglePlayer)
  1229. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1230. local List = {}
  1231. for i,v in pairs(workspace:GetChildren())do
  1232. if v:IsA("Model")then
  1233. if v:findFirstChild("Torso")then
  1234. if v ~= char then
  1235. if(v.Torso.Position -Position).magnitude <= Distance then
  1236. table.insert(List,v)
  1237. end
  1238. end
  1239. end
  1240. end
  1241. end
  1242. return List
  1243. end
  1244. z = Instance.new("Sound",hed)
  1245. z.SoundId = "rbxassetid://232213955"
  1246. z.Pitch = 1
  1247. z.Volume = 1
  1248. wait(0.2)
  1249. z:Play()
  1250. sp = Instance.new("Part",rarm)
  1251. sp.Anchored = true
  1252. sp.CanCollide = false
  1253. sp.Locked = true
  1254. sp.Transparency = 0
  1255. sp.Material = "Neon"
  1256. sp.Size = Vector3.new(1,1,1)
  1257. sp.TopSurface = "SmoothNoOutlines"
  1258. sp.BottomSurface = "SmoothNoOutlines"
  1259. sp.BrickColor = BrickColor.new("Royal purple")
  1260. spm = Instance.new("SpecialMesh",sp)
  1261. spm.MeshType = "Sphere"
  1262. spm.Scale = Vector3.new(21,21,21)
  1263. sp2 = Instance.new("Part", rarm)
  1264. sp2.Name = "Energy"
  1265. sp2.BrickColor = BrickColor.new("Royal purple")
  1266. sp2.Size = Vector3.new(1, 1, 1)
  1267. sp2.Shape = "Ball"
  1268. sp2.CanCollide = false
  1269. sp2.Anchored = true
  1270. sp2.Locked = true
  1271. sp2.TopSurface = 0
  1272. sp2.BottomSurface = 0
  1273. sp2.Transparency = 1
  1274. spm2 = Instance.new("SpecialMesh",sp2)
  1275. spm2.MeshId = "rbxassetid://9982590"
  1276. spm2.Scale = Vector3.new(2,2,2)
  1277. for i = 1, 20 do
  1278. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1279. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1280. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  1281. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  1282. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1283. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1284. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1285. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1286. if Debounces.on == false then break end
  1287. rs:wait()
  1288. end
  1289. for i = 1, 100, 20 do rs:wait()
  1290. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1291. end
  1292. for i = 1, 20 do
  1293. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1294. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1295. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1296. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1297. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1298. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1299. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1300. if Debounces.on == false then break end
  1301. rs:wait()
  1302. end
  1303. sp.Transparency = 1
  1304. for i = 1, 20 do
  1305. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1306. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  1307. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1308. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1309. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1310. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1311. if Debounces.on == false then break end
  1312. rs:wait()
  1313. end
  1314. wait(1)
  1315. sp.Transparency = 0
  1316. sp2.Transparency = 0.84
  1317. for i = 1, 20 do
  1318. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1319. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1320. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1321. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  1322. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  1323. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1324. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1325. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1326. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1327. if Debounces.on == false then break end
  1328. rs:wait()
  1329. end
  1330. for i = 1, 2880, 50 do
  1331. rs:wait()
  1332. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1333. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1334. rs:wait()
  1335. end
  1336. sp:Destroy()
  1337. sp2:Destroy()
  1338. local X = Instance.new("Part",char)
  1339. local O = Instance.new("ObjectValue",X)
  1340. O.Name = "creator"
  1341. X.Locked = true
  1342. X.Name = "Shell"
  1343. X.Anchored = false
  1344. X.CanCollide = false
  1345. X.Transparency = 0
  1346. X.Reflectance = 0
  1347. X.BottomSurface = 0
  1348. X.TopSurface = 0
  1349. X.Shape = 0
  1350. local V = Instance.new("ObjectValue",X)
  1351. V.Value = char
  1352. V.Name = "creator"
  1353. X.BrickColor = BrickColor.new("Royal purple")
  1354. X.Size = Vector3.new(2,2,2)
  1355. X.Material = "Neon"
  1356. local Z = Instance.new("SpecialMesh",X)
  1357. Z.MeshType = "Sphere"
  1358. Z.Scale = Vector3.new(0.5,0.5,1)
  1359. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1360. local bv = Instance.new("BodyVelocity",X)
  1361. bv.maxForce = Vector3.new(99999,99999,99999)
  1362. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1363. bv.velocity = X.CFrame.lookVector*65
  1364.  
  1365. Explode = X.Touched:connect(function(hit)
  1366. if hit ~= char and hit.Name ~= "Shell" then
  1367. local cf = X.CFrame
  1368. bv:Destroy()
  1369. X.Anchored = true
  1370. Z:Remove()
  1371. Explode:disconnect()
  1372. X.Size = Vector3.new(3,3,3)
  1373. X.Touched:connect(function(hit) end)
  1374. X.CanCollide = false
  1375. local part3 = Instance.new("Part", rarm)
  1376. part3.Anchored=true
  1377. part3.CanCollide=false
  1378. part3.Locked = true
  1379. part3.TopSurface = "SmoothNoOutlines"
  1380. part3.BottomSurface = "SmoothNoOutlines"
  1381. part3.FormFactor='Custom'
  1382. part3.Size=Vector3.new(1,1, 1)
  1383. part3.CFrame=X.CFrame
  1384. part3.Transparency=0
  1385. part3.BrickColor=BrickColor.new("Royal purple")
  1386. local mesh3 = Instance.new("SpecialMesh",part3)
  1387. mesh3.MeshType = "Sphere"
  1388. mesh3.Scale = Vector3.new(1,1,1)
  1389. --debris:AddItem(X,8)
  1390. local part4 = Instance.new("Part", rarm)
  1391. part4.Material = "Neon"
  1392. part4.Anchored=true
  1393. part4.CanCollide=false
  1394. part4.Locked = true
  1395. part4.TopSurface = "SmoothNoOutlines"
  1396. part4.BottomSurface = "SmoothNoOutlines"
  1397. part4.FormFactor='Custom'
  1398. part4.Size=Vector3.new(1,1, 1)
  1399. part4.CFrame=X.CFrame
  1400. part4.Transparency=0
  1401. part4.BrickColor=BrickColor.new("Hot pink")
  1402. local mesh4 = Instance.new("SpecialMesh",part4)
  1403. mesh4.MeshType = "Sphere"
  1404. mesh4.Scale = Vector3.new(.5,.5,.5)
  1405. local part7 = Instance.new("Part", rarm)
  1406. part7.Material = "Neon"
  1407. part7.Anchored=true
  1408. part7.CanCollide=false
  1409. part7.Locked = true
  1410. part7.TopSurface = "SmoothNoOutlines"
  1411. part7.BottomSurface = "SmoothNoOutlines"
  1412. part7.FormFactor='Custom'
  1413. part7.Size=Vector3.new(1,1, 1)
  1414. part7.CFrame=X.CFrame
  1415. part7.Transparency=0
  1416. part7.BrickColor=BrickColor.new("Really black")
  1417. local mesh7 = Instance.new("SpecialMesh",part7)
  1418. mesh7.MeshType = "Sphere"
  1419. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1420. --[[X.Touched:connect(function(ht)
  1421. hit = ht.Parent
  1422. if ht and hit:IsA("Model") then
  1423. if hit:FindFirstChild("Humanoid") then
  1424. if hit.Name ~= p.Name then
  1425. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1426. wait(.3)
  1427. end
  1428. end
  1429. elseif ht and hit:IsA("Hat") then
  1430. if hit.Parent.Name ~= p.Name then
  1431. if hit.Parent:FindFirstChild("Humanoid") then
  1432. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1433. wait(.3)
  1434. end
  1435. end
  1436. end
  1437. end)
  1438. part3.Touched:connect(function(ht)
  1439. hit = ht.Parent
  1440. if ht and hit:IsA("Model") then
  1441. if hit:FindFirstChild("Humanoid") then
  1442. if hit.Name ~= p.Name then
  1443. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1444. wait(.3)
  1445. end
  1446. end
  1447. elseif ht and hit:IsA("Hat") then
  1448. if hit.Parent.Name ~= p.Name then
  1449. if hit.Parent:FindFirstChild("Humanoid") then
  1450. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1451. wait(.3)
  1452. end
  1453. end
  1454. end
  1455. end)]]--
  1456. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1457. if v:FindFirstChild('Humanoid') then
  1458. v.Humanoid:TakeDamage(math.random(60,90))
  1459. v.Humanoid.PlatformStand = true
  1460. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1461. end
  1462. end
  1463.  
  1464. local acos = math.acos
  1465. local sqrt = math.sqrt
  1466. local Vec3 = Vector3.new
  1467. local fromAxisAngle = CFrame.fromAxisAngle
  1468.  
  1469. local function toAxisAngle(CFr)
  1470. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1471. local Angle = math.acos((R00+R11+R22-1)/2)
  1472. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1473. A = A == 0 and 0.00001 or A
  1474. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1475. B = B == 0 and 0.00001 or B
  1476. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1477. C = C == 0 and 0.00001 or C
  1478. local x = (R21-R12)/sqrt(A)
  1479. local y = (R02-R20)/sqrt(B)
  1480. local z = (R10-R01)/sqrt(C)
  1481. return Vec3(x,y,z),Angle
  1482. end
  1483.  
  1484. function ApplyTrig(Num,Func)
  1485. local Min,Max = Func(0),Func(1)
  1486. local i = Func(Num)
  1487. return (i-Min)/(Max-Min)
  1488. end
  1489.  
  1490. function LerpCFrame(CFrame1,CFrame2,Num)
  1491. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1492. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1493. end
  1494.  
  1495. function Crater(Torso,Radius)
  1496. Spawn(function()
  1497. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1498. local Ignore = {}
  1499. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1500. if v.Character ~= nil then
  1501. Ignore[#Ignore+1] = v.Character
  1502. end
  1503. end
  1504. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1505. if Hit == nil then return end
  1506. local Parts = {}
  1507. for i = 1,360,10 do
  1508. local P = Instance.new("Part",Torso.Parent)
  1509. P.Anchored = true
  1510. P.FormFactor = "Custom"
  1511. P.BrickColor = Hit.BrickColor
  1512. P.Material = Hit.Material
  1513. P.TopSurface = "Smooth"
  1514. P.BottomSurface = "Smooth"
  1515. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1516. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1517. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  1518. if math.random(0,5) == 0 then -- rubble
  1519. local P = Instance.new("Part",Torso.Parent)
  1520. P.Anchored = true
  1521. P.FormFactor = "Custom"
  1522. P.BrickColor = Hit.BrickColor
  1523. P.Material = Hit.Material
  1524. P.TopSurface = "Smooth"
  1525. P.BottomSurface = "Smooth"
  1526. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1527. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1528. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  1529. end
  1530. end
  1531. for i = 0,1,0.05 do
  1532. for i2,v in pairs(Parts) do
  1533. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1534. end
  1535. wait(0.02)
  1536. end
  1537. for i,v in pairs(Parts) do
  1538. if v[1].Size.X > 2.1 then
  1539. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1540. end
  1541. v[1].Anchored = false
  1542. end
  1543. for i = 0,1,0.05 do
  1544. for i2,v in pairs(Parts) do
  1545. v[1].Transparency = i
  1546. if i == 1 then
  1547. v[1]:Destroy()
  1548. elseif i >= 0.25 then
  1549. v[1].CanCollide = false
  1550. end
  1551. end
  1552. wait(0.02)
  1553. end
  1554. Parts = nil
  1555. end)
  1556. end
  1557.  
  1558. ROW = function(out, trans, s, wt, t, ang, plus)
  1559. for i = 1, 360, 360/t do
  1560. local c = Instance.new("Part", game.Workspace)
  1561. c.FormFactor = 3
  1562. c.TopSurface = 0
  1563. c.BottomSurface = 0
  1564. c.Size = s
  1565. c.Anchored = true
  1566. c.CanCollide = wt
  1567. c.Material=workspace.Base.Material
  1568. c.Transparency = trans
  1569. c.BrickColor = workspace.Base.BrickColor
  1570. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  1571. c.Locked=true
  1572. game.Debris:AddItem(c,15)
  1573. end
  1574. end
  1575.  
  1576. Part = function(x,y,z,color,tr,cc,an,parent)
  1577. local p = Instance.new('Part',parent or Weapon)
  1578. p.formFactor = 'Custom'
  1579. p.Size = Vector3.new(x,y,z)
  1580. p.BrickColor = BrickColor.new(color)
  1581. p.CanCollide = cc
  1582. p.Transparency = tr
  1583. p.Anchored = an
  1584. p.TopSurface,p.BottomSurface = 0,0
  1585. p.Locked=true
  1586. p:BreakJoints()
  1587. return p end
  1588.  
  1589. Mesh = function(par,num,x,y,z)
  1590. local msh = _
  1591. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1592. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1593. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1594. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1595. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1596. end msh.Scale = Vector3.new(x,y,z)
  1597. return msh end
  1598.  
  1599. function explosion(col1,col2,cfr,sz,rng,dmg)
  1600. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1601. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1602. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1603. v1,v2,v3=sz.x,sz.y,sz.z
  1604. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1605. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1606. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1607. a.CFrame=cfr
  1608. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1609. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1610.  
  1611. Spawn(function()
  1612. while wait() do
  1613. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1614. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1615. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1616. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1617. a.Transparency=a.Transparency+0.05
  1618. a2.Transparency=a2.Transparency+0.05
  1619. a3.Transparency=a3.Transparency+0.05
  1620. end
  1621. end)
  1622. end
  1623.  
  1624. Crater(X,20)
  1625. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  1626. z = Instance.new("Sound",X)
  1627. z.SoundId = "rbxassetid://231917744"
  1628. z.Pitch = .5
  1629. z.Volume = 10
  1630. z1 = Instance.new("Sound",X)
  1631. z1.SoundId = "rbxassetid://231917744"
  1632. z1.Pitch = .5
  1633. z1.Volume = 10
  1634. z2 = Instance.new("Sound",X)
  1635. z2.SoundId = "rbxassetid://231917744"
  1636. z2.Pitch = .5
  1637. z2.Volume = 10
  1638. z3 = Instance.new("Sound",X)
  1639. z3.SoundId = "rbxassetid://245537790"
  1640. z3.Pitch = .7
  1641. z3.Volume = 1
  1642. z4 = Instance.new("Sound",X)
  1643. z4.SoundId = "rbxassetid://245537790"
  1644. z4.Pitch = .7
  1645. z4.Volume = 1
  1646. wait(0.1)
  1647. z:Play()
  1648. z1:Play()
  1649. z2:Play()
  1650. z3:Play()
  1651. z4:Play()
  1652.  
  1653. local part=Instance.new('Part',rarm)
  1654. part.Anchored=true
  1655. part.CanCollide=false
  1656. part.Locked = true
  1657. part.FormFactor='Custom'
  1658. part.Size=Vector3.new(1,1,1)
  1659. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1660. part.Transparency=0
  1661. part.BrickColor=BrickColor.new('Really black')
  1662. local mesh=Instance.new('SpecialMesh',part)
  1663. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1664. mesh.Scale=Vector3.new(2,2,2)
  1665. local part2=part:clone()
  1666. part2.Parent = rarm
  1667. part2.BrickColor=BrickColor.new("Royal purple")
  1668. local part5=part:clone()
  1669. part5.Parent = rarm
  1670. part5.BrickColor=BrickColor.new("Magenta")
  1671. local part6=part:clone()
  1672. part6.Parent = rarm
  1673. part6.BrickColor=BrickColor.new("Black")
  1674. local mesh2=mesh:clone()
  1675. mesh2.Parent=part2
  1676. mesh2.Scale=Vector3.new(3, 3, 3)
  1677. local mesh5=mesh:clone()
  1678. mesh5.Parent=part5
  1679. mesh5.Scale=Vector3.new(3, 3, 3)
  1680. local mesh6=mesh:clone()
  1681. mesh6.Parent=part6
  1682. mesh6.Scale=Vector3.new(3, 3, 3)
  1683. local blast = Instance.new("Part", rarm)
  1684. blast.BrickColor = BrickColor.new("Really black")
  1685. blast.Anchored = true
  1686. blast.CanCollide = false
  1687. blast.Locked = true
  1688. blast.Size = Vector3.new(1, 1, 1)
  1689. blast.TopSurface = "Smooth"
  1690. blast.BottomSurface = "Smooth"
  1691. blast.Transparency = 0
  1692. blast.CFrame = HandCF
  1693. local bm = Instance.new("SpecialMesh", blast)
  1694. bm.Scale = Vector3.new(5,1,5)
  1695. bm.MeshId = "rbxassetid://3270017"
  1696. local blast2 = Instance.new("Part", rarm)
  1697. blast2.BrickColor = BrickColor.new("Really black")
  1698. blast2.Anchored = true
  1699. blast2.CanCollide = false
  1700. blast2.Locked = true
  1701. blast2.Size = Vector3.new(1, 1, 1)
  1702. blast2.TopSurface = "Smooth"
  1703. blast2.BottomSurface = "Smooth"
  1704. blast2.Transparency = 0
  1705. blast2.CFrame = HandCF
  1706. local bm2 = Instance.new("SpecialMesh", blast2)
  1707. bm2.Scale = Vector3.new(3,1,3)
  1708. bm2.MeshId = "rbxassetid://3270017"
  1709. local blast3 = Instance.new("Part", rarm)
  1710. blast3.BrickColor = BrickColor.new("Really black")
  1711. blast3.Anchored = true
  1712. blast3.CanCollide = false
  1713. blast3.Locked = true
  1714. blast3.Size = Vector3.new(1, 1, 1)
  1715. blast3.TopSurface = "Smooth"
  1716. blast3.BottomSurface = "Smooth"
  1717. blast3.Transparency = 0
  1718. blast3.CFrame = HandCF
  1719. local bm3 = Instance.new("SpecialMesh", blast3)
  1720. bm3.Scale = Vector3.new(3,1,3)
  1721. bm3.MeshId = "rbxassetid://3270017"
  1722. for i = 1,120 do rs:wait()
  1723. X.Transparency = X.Transparency + (1/120)
  1724. part.Transparency = part.Transparency + (1/120)
  1725. part2.Transparency = part2.Transparency + (1/120)
  1726. part3.Transparency = part3.Transparency + (1/120)
  1727. part4.Transparency = part4.Transparency + (1/120)
  1728. part5.Transparency = part5.Transparency + (1/120)
  1729. part6.Transparency = part6.Transparency + (1/120)
  1730. part7.Transparency = part7.Transparency + (1/120)
  1731. blast.Transparency = blast.Transparency + (1/120)
  1732. blast2.Transparency = blast2.Transparency + (1/120)
  1733. blast3.Transparency = blast3.Transparency + (1/120)
  1734. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1735. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1736. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1737. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1738. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1739. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1740. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1741. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1742. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1743. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1744. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1745. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1746. X.CFrame = cf
  1747. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1748. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1749. part3.CFrame=X.CFrame
  1750. part4.CFrame=X.CFrame
  1751. part7.CFrame=X.CFrame
  1752. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1753. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1754. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1755. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1756. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1757. rs:wait()
  1758. end
  1759. X:Destroy()
  1760. part:Destroy()
  1761. part2:Destroy()
  1762. part3:Destroy()
  1763. part4:Destroy()
  1764. part5:Destroy()
  1765. part6:Destroy()
  1766. blast:Destroy()
  1767. blast2:Destroy()
  1768. blast3:Destroy()
  1769. z:Destroy()
  1770. z1:Destroy()
  1771. z2:Destroy()
  1772. z3:Destroy()
  1773. z4:Destroy()
  1774. end
  1775. end)
  1776. for i = 1, 20 do
  1777. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  1778. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  1779. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1780. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1781. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1782. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1783. if Debounces.on == false then break end
  1784. rs:wait()
  1785. end
  1786. if Debounces.CanAttack == false then
  1787. Debounces.CanAttack = true
  1788. Debounces.NoIdl = false
  1789. Debounces.on = false
  1790. end
  1791. end
  1792. end
  1793. end)
  1794. ----------------------------------------------------
  1795. mouse.KeyDown:connect(function(key)
  1796. if key == "e" then
  1797. if Debounces.CanAttack == true then
  1798. Debounces.CanAttack = false
  1799. Debounces.on = true
  1800. Debounces.NoIdl = true
  1801. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  1802. z = Instance.new("Sound", rarm)
  1803. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1804. z.Volume = .6
  1805. z.Pitch = pt[math.random(1,#pt)]
  1806. z.Looped = false
  1807. z:Play()
  1808. Debounces.RPunch = true
  1809. Debounces.LPunch = true
  1810. Debounces.ks = true
  1811. Debounces.ks2 = true
  1812. for i = 1, 3 do
  1813. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1814. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1815. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1816. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1817. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1818. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1819. if Debounces.on == false then break end
  1820. wait()
  1821. end
  1822. z2 = Instance.new("Sound", larm)
  1823. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1824. z2.Volume = .6
  1825. z2.Pitch = pt[math.random(1,#pt)]
  1826. z2.Looped = false
  1827. z2:Play()
  1828. for i = 1, 3 do
  1829. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1830. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1831. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1832. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1833. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1834. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1835. if Debounces.on == false then break end
  1836. wait()
  1837. end
  1838. z3 = Instance.new("Sound", rarm)
  1839. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1840. z3.Volume = 0.6
  1841. z3.Pitch = pt[math.random(1,#pt)]
  1842. z3.Looped = false
  1843. z3:Play()
  1844. for i = 1, 3 do
  1845. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1846. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1847. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1848. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1849. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1850. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1851. if Debounces.on == false then break end
  1852. wait()
  1853. end
  1854. z4 = Instance.new("Sound", larm)
  1855. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1856. z4.Volume = .6
  1857. z4.Pitch = pt[math.random(1,#pt)]
  1858. z4.Looped = false
  1859. z4:Play()
  1860. for i = 1, 3 do
  1861. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1862. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1863. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1864. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1865. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1866. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1867. if Debounces.on == false then break end
  1868. wait()
  1869. end
  1870. z5 = Instance.new("Sound", rarm)
  1871. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1872. z5.Volume = .6
  1873. z5.Pitch = pt[math.random(1,#pt)]
  1874. z5.Looped = false
  1875. z5:Play()
  1876. for i = 1, 3 do
  1877. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1878. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1879. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1880. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1881. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1882. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1883. if Debounces.on == false then break end
  1884. wait()
  1885. end
  1886. z6 = Instance.new("Sound", larm)
  1887. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1888. z6.Volume = .6
  1889. z6.Pitch = pt[math.random(1,#pt)]
  1890. z6.Looped = false
  1891. z6:Play()
  1892. for i = 1, 3 do
  1893. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1894. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1895. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1896. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1897. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1898. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1899. if Debounces.on == false then break end
  1900. wait()
  1901. end
  1902. z7 = Instance.new("Sound", rarm)
  1903. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1904. z7.Volume = .6
  1905. z7.Pitch = pt[math.random(1,#pt)]
  1906. z7.Looped = false
  1907. z7:Play()
  1908. for i = 1, 3 do
  1909. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1910. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1911. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1912. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1913. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1914. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1915. if Debounces.on == false then break end
  1916. wait()
  1917. end
  1918. z8 = Instance.new("Sound", larm)
  1919. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1920. z8.Volume = .6
  1921. z8.Pitch = pt[math.random(1,#pt)]
  1922. z8.Looped = false
  1923. z8:Play()
  1924. for i = 1, 3 do
  1925. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1926. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1927. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1928. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1929. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1930. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1931. if Debounces.on == false then break end
  1932. wait()
  1933. end
  1934. z9 = Instance.new("Sound", rarm)
  1935. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1936. z9.Volume = 0.6
  1937. z9.Pitch = pt[math.random(1,#pt)]
  1938. z9.Looped = false
  1939. z9:Play()
  1940. for i = 1, 3 do
  1941. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1942. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1943. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1944. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1945. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1946. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1947. if Debounces.on == false then break end
  1948. wait()
  1949. end
  1950. z10 = Instance.new("Sound", larm)
  1951. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1952. z10.Volume = .6
  1953. z10.Pitch = pt[math.random(1,#pt)]
  1954. z10.Looped = false
  1955. z10:Play()
  1956. for i = 1, 3 do
  1957. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1958. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1959. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1960. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1961. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1962. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1963. if Debounces.on == false then break end
  1964. wait()
  1965. end
  1966. z11 = Instance.new("Sound", rarm)
  1967. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1968. z11.Volume = .6
  1969. z11.Pitch = pt[math.random(1,#pt)]
  1970. z11.Looped = false
  1971. z11:Play()
  1972. for i = 1, 3 do
  1973. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1974. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1975. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1976. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1977. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1978. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1979. if Debounces.on == false then break end
  1980. wait()
  1981. end
  1982. z12 = Instance.new("Sound", larm)
  1983. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1984. z12.Volume = .6
  1985. z12.Pitch = pt[math.random(1,#pt)]
  1986. z12.Looped = false
  1987. z12:Play()
  1988. for i = 1, 3 do
  1989. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1990. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1991. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1992. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1993. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1994. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1995. if Debounces.on == false then break end
  1996. wait()
  1997. end
  1998. z13 = Instance.new("Sound", rarm)
  1999. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2000. z13.Volume = 0.6
  2001. z13.Pitch = pt[math.random(1,#pt)]
  2002. z13.Looped = false
  2003. z13:Play()
  2004. for i = 1, 3 do
  2005. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2006. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2007. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2008. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2009. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2010. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2011. if Debounces.on == false then break end
  2012. wait()
  2013. end
  2014. z14 = Instance.new("Sound", larm)
  2015. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2016. z14.Volume = .6
  2017. z14.Pitch = pt[math.random(1,#pt)]
  2018. z14.Looped = false
  2019. z14:Play()
  2020. for i = 1, 3 do
  2021. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2022. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2023. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2024. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2025. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2026. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2027. if Debounces.on == false then break end
  2028. wait()
  2029. end
  2030. z15 = Instance.new("Sound", rarm)
  2031. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2032. z15.Volume = .6
  2033. z15.Pitch = pt[math.random(1,#pt)]
  2034. z15.Looped = false
  2035. z15:Play()
  2036. for i = 1, 3 do
  2037. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  2038. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  2039. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  2040. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  2041. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  2042. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  2043. if Debounces.on == false then break end
  2044. wait()
  2045. end
  2046. z16 = Instance.new("Sound", larm)
  2047. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2048. z16.Volume = .6
  2049. z16.Pitch = pt[math.random(1,#pt)]
  2050. z16.Looped = false
  2051. z16:Play()
  2052. for i = 1, 3 do
  2053. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2054. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2055. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2056. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2057. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2058. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2059. if Debounces.on == false then break end
  2060. wait()
  2061. end
  2062. z17 = Instance.new("Sound", rarm)
  2063. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  2064. z17.Volume = .6
  2065. z17.Pitch = pt[math.random(1,#pt)]
  2066. z17.Looped = false
  2067. z17:Play()
  2068. for i = 1, 3 do
  2069. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2070. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2071. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2072. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2073. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2074. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2075. if Debounces.on == false then break end
  2076. wait()
  2077. end
  2078. z18 = Instance.new("Sound", larm)
  2079. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2080. z18.Volume = .6
  2081. z18.Pitch = pt[math.random(1,#pt)]
  2082. z18.Looped = false
  2083. z18:Play()
  2084. for i = 1, 3 do
  2085. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2086. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2087. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2088. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2089. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2090. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2091. if Debounces.on == false then break end
  2092. wait()
  2093. end
  2094. z19 = Instance.new("Sound", rarm)
  2095. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2096. z19.Volume = 0.6
  2097. z19.Pitch = pt[math.random(1,#pt)]
  2098. z19.Looped = false
  2099. z19:Play()
  2100. for i = 1, 3 do
  2101. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2102. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2103. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2104. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2105. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2106. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2107. if Debounces.on == false then break end
  2108. wait()
  2109. end
  2110. z20 = Instance.new("Sound", larm)
  2111. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2112. z20.Volume = .6
  2113. z20.Pitch = pt[math.random(1,#pt)]
  2114. z20.Looped = false
  2115. z20:Play()
  2116. for i = 1, 3 do
  2117. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2118. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2119. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2120. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2121. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2122. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2123. if Debounces.on == false then break end
  2124. wait()
  2125. end
  2126. z:Destroy()
  2127. z2:Destroy()
  2128. z3:Destroy()
  2129. z4:Destroy()
  2130. z5:Destroy()
  2131. z6:Destroy()
  2132. z7:Destroy()
  2133. z8:Destroy()
  2134. z9:Destroy()
  2135. z10:Destroy()
  2136. z11:Destroy()
  2137. z12:Destroy()
  2138. z13:Destroy()
  2139. z14:Destroy()
  2140. z15:Destroy()
  2141. z16:Destroy()
  2142. z17:Destroy()
  2143. z18:Destroy()
  2144. z19:Destroy()
  2145. z20:Destroy()
  2146. Debounces.LPunch = false
  2147. Debounces.RPunch = false
  2148. Debounces.ks = false
  2149. Debounces.ks2 = false
  2150. if Debounces.CanAttack == false then
  2151. Debounces.CanAttack = true
  2152. Debounces.on = false
  2153. Debounces.NoIdl = false
  2154. end
  2155. end
  2156. end
  2157. end)
  2158. -------------------------------
  2159. mouse.KeyDown:connect(function(key)
  2160. if key == "t" then
  2161. if Debounces.CanAttack == true then
  2162. Debounces.CanAttack = false
  2163. Debounces.NoIdl = true
  2164. Debounces.on = true
  2165. Debounces.ks = true
  2166. kik = rleg.Touched:connect(function(ht)
  2167. hit = ht.Parent
  2168. if ht and hit:IsA("Model") then
  2169. if hit:FindFirstChild("Humanoid") then
  2170. if hit.Name ~= p.Name then
  2171. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2172. Debounces.Slashed = true]]--
  2173. if Debounces.ks==true then
  2174. z = Instance.new("Sound",hed)
  2175. z.SoundId = "rbxassetid://169380525"
  2176. z.Volume = 1
  2177. z:Play()
  2178. Debounces.ks=false
  2179. end
  2180. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2181. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2182. --Debounces.Slashed = false
  2183. --end
  2184. end
  2185. end
  2186. elseif ht and hit:IsA("Hat") then
  2187. if hit.Parent.Name ~= p.Name then
  2188. if hit.Parent:FindFirstChild("Humanoid") then
  2189. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2190. Debounces.Slashed = true]]--
  2191. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2192. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2193. --Debounces.Slashed = false
  2194. --end
  2195. end
  2196. end
  2197. end
  2198. end)
  2199. for i = 1,20 do
  2200. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  2201. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
  2202. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2203. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2204. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2205. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2206. if Debounces.on == false then break end
  2207. rs:wait()
  2208. end
  2209. kik:disconnect()
  2210. if Debounces.CanAttack == false then
  2211. Debounces.CanAttack = true
  2212. Debounces.NoIdl = false
  2213. Debounces.on = false
  2214. end
  2215. end
  2216. end
  2217. end)
  2218. ----------------------------------------------------
  2219. mouse.KeyDown:connect(function(key)
  2220. if key == "y" then
  2221. if Debounces.CanAttack == true then
  2222. Debounces.CanAttack = false
  2223. Debounces.on = true
  2224. Debounces.NoIdl = true
  2225. for i = 1, 15 do
  2226. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  2227. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  2228. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2229. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2230. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2231. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2232. if Debounces.on == false then break end
  2233. rs:wait(2.7)
  2234. end
  2235. x = Instance.new("Sound",char)
  2236. x.SoundId = "rbxassetid://228343271"
  2237. x.Pitch = 1
  2238. x.Volume = .8
  2239. wait(.1)
  2240. x:Play()
  2241. Debounces.on = false
  2242. Debounces.Here = false
  2243. shot = shot + 1
  2244. local rng = Instance.new("Part", larm)
  2245. rng.Anchored = true
  2246. rng.BrickColor = BrickColor.new("Royal purple")
  2247. rng.CanCollide = false
  2248. rng.FormFactor = 3
  2249. rng.Name = "Ring"
  2250. rng.Size = Vector3.new(1, 1, 1)
  2251. rng.Transparency = 0.35
  2252. rng.TopSurface = 0
  2253. rng.BottomSurface = 0
  2254. rng2 = rng:clone()
  2255. rng3 = rng2:clone()
  2256. rng4 = rng2:clone()
  2257. local rngm = Instance.new("SpecialMesh", rng)
  2258. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2259. rngm.Scale = Vector3.new(10, 10, 1)
  2260. rngm2 = rngm:clone()
  2261. rngm2.Scale = Vector3.new(5, 5, 3)
  2262. rngm3=rngm2:clone()
  2263. rngm3.Parent = rng3
  2264. rngm3.Scale = Vector3.new(8, 8, 1)
  2265. rngm4 = rngm2:clone()
  2266. rngm4.Parent = rng4
  2267. rngm4.Scale = Vector3.new(6, 6, 1)
  2268. local bem = Instance.new("Part", larm)
  2269. bem.Anchored = true
  2270. bem.BrickColor = BrickColor.new("Really black")
  2271. bem.CanCollide = false
  2272. bem.FormFactor = 3
  2273. bem.Name = "Beam" .. shot
  2274. bem.Size = Vector3.new(1, 1, 1)
  2275. bem.Transparency = 0.35
  2276. bem.TopSurface = 0
  2277. bem.BottomSurface = 0
  2278. local bemm = Instance.new("SpecialMesh", bem)
  2279. bemm.MeshType = 4
  2280. bemm.Scale = Vector3.new(1, 4, 4)
  2281. local out = Instance.new("Part", larm)
  2282. out.Anchored = true
  2283. out.BrickColor = BrickColor.new("Really black")
  2284. out.CanCollide = false
  2285. out.FormFactor = 3
  2286. out.Name = "Out"
  2287. out.Size = Vector3.new(4, 4, 4)
  2288. out.Transparency = 0.35
  2289. out.TopSurface = 0
  2290. out.BottomSurface = 0
  2291. local outm = Instance.new("SpecialMesh", out)
  2292. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2293. outm.Scale = Vector3.new(6, 4, 6)
  2294. local bnd = Instance.new("Part", larm)
  2295. bnd.Anchored = true
  2296. bnd.BrickColor = BrickColor.new("Really red")
  2297. bnd.CanCollide = false
  2298. bnd.FormFactor = 3
  2299. bnd.Name = "Bend"
  2300. bnd.Size = Vector3.new(1, 1, 1)
  2301. bnd.Transparency = 1
  2302. bnd.TopSurface = 0
  2303. bnd.BottomSurface = 0
  2304. local bndm = Instance.new("SpecialMesh", bnd)
  2305. bndm.MeshType = 3
  2306. bndm.Scale = Vector3.new(8, 8, 8)
  2307. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2308. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2309. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2310. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2311. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2312. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2313. Debounces.Shewt = true
  2314. coroutine.wrap(function()
  2315. for i = 1, 20, 0.2 do
  2316. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2317. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2318. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2319. rng.Transparency = i/20
  2320. rng3.Transparency = 1/24
  2321. rng4.Transparency = i/26
  2322. wait()
  2323. end
  2324. wait()
  2325. rng:Destroy()
  2326. end)()
  2327. if Debounces.Shewt == true then
  2328. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2329. hit = ht.Parent
  2330. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2331. if HasntTouched(hit.Name) == true and deb == false then
  2332. deb = true
  2333. coroutine.wrap(function()
  2334. hit:FindFirstChild("Humanoid").PlatformStand = true
  2335. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2336. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2337. end)()
  2338. table.insert(Touche, hit.Name)
  2339. deb = false
  2340. end
  2341. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2342. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2343. deb = true
  2344. coroutine.wrap(function()
  2345. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2346. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2347. wait(1)
  2348. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2349. end)()
  2350. table.insert(Touche, hit.Parent.Name)
  2351. deb = false
  2352. for i, v in pairs(Touche) do
  2353. print(v)
  2354. end
  2355. end
  2356. end
  2357. end)
  2358. end
  2359. for i = 0, 260, 8 do
  2360. bem.Size = Vector3.new(i, 3, 3)
  2361. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2362. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2363. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2364. bnd.Size = Vector3.new(1,1,1)
  2365. bndm.Scale = Vector3.new(8,8,8)
  2366. if i % 10 == 0 then
  2367. local newRng = rng2:Clone()
  2368. newRng.Parent = larm
  2369. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2370. local newRngm = rngm2:clone()
  2371. newRngm.Parent=newRng
  2372. coroutine.wrap(function()
  2373. for i = 1, 10, 0.2 do
  2374. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  2375. newRng.Transparency = i/10
  2376. wait()
  2377. end
  2378. wait()
  2379. newRng:Destroy()
  2380. end)()
  2381. end
  2382. wait()
  2383. end
  2384. wait()
  2385. Debounces.Shewt = false
  2386. bem:Destroy()
  2387. out:Destroy()
  2388. bnd:Destroy()
  2389. Debounces.Ready = false
  2390. for i, v in pairs(Touche) do
  2391. table.remove(Touche, i)
  2392. end
  2393. wait()
  2394. table.insert(Touche, char.Name)
  2395. Debounces.NoIdl = false
  2396. if Debounces.CanAttack == false then
  2397. Debounces.CanAttack = true
  2398. end
  2399. end
  2400. end
  2401. end)
  2402. ----------------------------------------------------
  2403. --[[mouse.KeyDown:connect(function(key)
  2404. if key == "y" then
  2405. if Debounces.CanAttack == true then
  2406. Debounces.CanAttack = false
  2407. Debounces.NoIdl = true
  2408. Debounces.on = true
  2409. local shell = Instance.new("Part",torso)
  2410. shell.BrickColor = BrickColor.new("Royal purple")
  2411. shell.Anchored = false
  2412. shell.CanCollide = false
  2413. shell.Locked = true
  2414. shell.TopSurface = "SmoothNoOutlines"
  2415. shell.BottomSurface = "SmoothNoOutlines"
  2416. shell.Size = Vector3.new(1.2,1.2,1.2)
  2417. shell.FormFactor = 3
  2418. local shellm = Instance.new("SpecialMesh",shell)
  2419. shellm.MeshType = "Sphere"
  2420. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  2421. Omega = function()
  2422. local X = Instance.new("Part",char)
  2423. local O = Instance.new("ObjectValue",X)
  2424. O.Name = "creator"
  2425. X.Locked = true
  2426. X.Name = "Shell"
  2427. X.Anchored = false
  2428. X.CanCollide = false
  2429. X.Transparency = 0.5
  2430. X.Reflectance = 0
  2431. X.BottomSurface = 0
  2432. X.TopSurface = 0
  2433. X.Shape = 0
  2434. local V = Instance.new("ObjectValue",X)
  2435. V.Value = char
  2436. V.Name = "creator"
  2437. X.BrickColor = BrickColor.new("Royal purple")
  2438. X.Size = Vector3.new(40,40,40)
  2439. --X.Material = "Neon"
  2440. local Z = Instance.new("SpecialMesh",X)
  2441. Z.MeshType = "Sphere"
  2442. Z.Scale = Vector3.new(0.2,0.2,0.2)
  2443. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2444. local bv = Instance.new("BodyVelocity",X)
  2445. bv.maxForce = Vector3.new(99999,99999,99999)
  2446. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2447. bv.velocity = root.CFrame.lookVector*10
  2448. Explode = X.Touched:connect(function(hit)
  2449. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  2450. local cf = X.CFrame
  2451. bv:Destroy()
  2452. X.Anchored = true
  2453. Z:Remove()
  2454. Explode:disconnect()
  2455. X.Size = Vector3.new(3,3,3)
  2456. X.Touched:connect(function(hit) end)
  2457. X.CanCollide = false
  2458. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  2459. if v:FindFirstChild('Humanoid') then
  2460. v.Humanoid:TakeDamage(math.random(80,120))
  2461. end
  2462. end
  2463. for i = 1, (40) do rs:wait()
  2464. X.Transparency = X.Transparency + (1/40)
  2465. X.Size = X.Size + Vector3.new(1,1,1)
  2466. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  2467. end
  2468. X:Destroy()
  2469. end
  2470. end)
  2471. end
  2472. for i = 1,200 do
  2473. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2474. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
  2475. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  2476. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2477. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2478. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2479. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2480. if Debounces.on == false then break end
  2481. rs:wait()
  2482. end
  2483. for i = 1,30 do
  2484. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  2485. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
  2486. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
  2487. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2488. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2489. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2490. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2491. if Debounces.on == false then break end
  2492. rs:wait()
  2493. end
  2494. for i = 1,40 do
  2495. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  2496. shell.Size = shell.Size + Vector3.new(1,1,1)
  2497. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
  2498. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
  2499. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2500. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2501. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2502. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2503. if Debounces.on == false then break end
  2504. rs:wait()
  2505. end
  2506. for i = 1,40 do
  2507. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  2508. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
  2509. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
  2510. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2511. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2512. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2513. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2514. if Debounces.on == false then break end
  2515. rs:wait()
  2516. end
  2517. for i = 1,60 do
  2518. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2519. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
  2520. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
  2521. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2522. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2523. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2524. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2525. if Debounces.on == false then break end
  2526. rs:wait()
  2527. end
  2528. for i = 1,60 do
  2529. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2530. shell.Size = shell.Size + Vector3.new(1,1,1)
  2531. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
  2532. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
  2533. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2534. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2535. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2536. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2537. if Debounces.on == false then break end
  2538. rs:wait()
  2539. end
  2540. if Debounces.CanAttack == false then
  2541. Debounces.CanAttack = true
  2542. Debounces.NoIdl = false
  2543. Debounces.on = false
  2544. end
  2545. end
  2546. end
  2547. end)]]--
  2548. ----------------------------------------------------
  2549. Charging = false
  2550. mouse.KeyDown:connect(function(key)
  2551. if key == "r" then
  2552. if Charging == false then
  2553. Charging = true
  2554. if Debounces.CanAttack == true then
  2555. Debounces.CanAttack = false
  2556. Debounces.NoIdl = true
  2557. Debounces.on = true
  2558. for i = 1,20 do
  2559. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  2560. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  2561. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2562. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2563. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2564. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2565. if Debounces.on == false then break end
  2566. rs:wait()
  2567. end
  2568. --[[for i = 1,20 do
  2569. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  2570. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  2571. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2572. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  2573. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2574. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2575. if Debounces.on == false then break end
  2576. rs:wait()
  2577. end]]--
  2578. pt=Instance.new('Part',torso)
  2579. pt.Anchored=true
  2580. pt.CanCollide=false
  2581. pt.Locked = true
  2582. pt.FormFactor='Custom'
  2583. pt.Size=Vector3.new(1,1,1)
  2584. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2585. pt.Transparency=.6
  2586. pt.BrickColor=BrickColor.new('Really black')
  2587. msh=Instance.new('SpecialMesh',pt)
  2588. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2589. msh.Scale=Vector3.new(8,4,8)
  2590. pt2=pt:clone()
  2591. pt2.Parent = torso
  2592. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2593. pt2.BrickColor=BrickColor.new("Royal purple")
  2594. msh2=msh:clone()
  2595. msh2.Parent=pt2
  2596. msh2.Scale=Vector3.new(10,5,10)
  2597.  
  2598. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  2599.  
  2600. bl = Instance.new("Part", char)
  2601. bl.Locked = true
  2602. bl.Name = "Shell"
  2603. bl.BrickColor = BrickColor.new("Really black")
  2604. bl.Anchored = true
  2605. bl.CanCollide = false
  2606. bl.Transparency = 0
  2607. bl.Reflectance = 0
  2608. bl.BottomSurface = 0
  2609. bl.TopSurface = 0
  2610. bl.Shape = 0
  2611. blm = Instance.new("SpecialMesh",bl)
  2612. blm.MeshType = "Sphere"
  2613. blm.Scale = Vector3.new(1,1,1)
  2614. blm.MeshId = "rbxassetid://9982590"
  2615.  
  2616. coroutine.resume(coroutine.create(function()
  2617. for i=1, math.huge, 4 do
  2618. if Charging == true then
  2619. rs:wait()
  2620. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2621. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2622. bl.Transparency = bl.Transparency + 0.005
  2623. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2624. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2625. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2626. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2627. elseif Charging == false then break
  2628. end
  2629. end
  2630. end))
  2631.  
  2632. repeat
  2633. local p = Instance.new('Part',torso)
  2634. p.formFactor = 'Custom'
  2635. p.Size = Vector3.new(1,1,1)
  2636. p.BrickColor = workspace.Base.BrickColor
  2637. p.CanCollide = false
  2638. p.Transparency = 0
  2639. p.Anchored = true
  2640. p.Locked=true
  2641. p.Material = workspace.Base.Material
  2642. s = math.random(1,40)/10
  2643. local m = Instance.new("BlockMesh",p)
  2644. m.Scale = Vector3.new(s,s,s)
  2645. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  2646. --[[coroutine.wrap(function()
  2647. wait(2)
  2648. while Charging == true do
  2649. wait(2)
  2650. GroundWave1()
  2651. wait(2)
  2652. end
  2653. end)()]]--
  2654. Spawn(function()
  2655. while rs:wait() do
  2656. if Charging == true then
  2657. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  2658. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  2659. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  2660. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  2661. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  2662. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  2663. elseif Charging == false then break
  2664. end
  2665. end
  2666. end)
  2667. Spawn(function()
  2668. while rs:wait() do
  2669. if p.Transparency >= 1 then p:Destroy() break end
  2670. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2671. p.Transparency = p.Transparency+0.01
  2672. end
  2673. end)
  2674. wait(.3)
  2675. until Charging == false
  2676. end
  2677. end
  2678. end
  2679. end)
  2680. ----------------------------------------------------
  2681. mouse.KeyUp:connect(function(key)
  2682. if key == "r" then
  2683. if Charging == true then
  2684. Charging = false
  2685. pt:Destroy()
  2686. pt2:Destroy()
  2687. bl:Destroy()
  2688. if Debounces.CanAttack == false then
  2689. Debounces.CanAttack = true
  2690. Debounces.NoIdl = false
  2691. Debounces.on = false
  2692. end
  2693. end
  2694. end
  2695. end)
  2696. ----------------------------------------------------
  2697. mouse.KeyDown:connect(function(key)
  2698. if key == "g" then
  2699. if Debounces.CanAttack == true then
  2700. Debounces.CanAttack = false
  2701. Debounces.NoIdl = true
  2702. Debounces.on = true
  2703. local shell = Instance.new("Part",torso)
  2704. shell.BrickColor = BrickColor.new("Royal purple")
  2705. shell.Anchored = true
  2706. shell.CanCollide = false
  2707. shell.Locked = true
  2708. shell.TopSurface = "SmoothNoOutlines"
  2709. shell.BottomSurface = "SmoothNoOutlines"
  2710. shell.Size = Vector3.new(1,1,1)
  2711. shellm = Instance.new("SpecialMesh",shell)
  2712. shellm.MeshType = "Sphere"
  2713. shellm.Scale = Vector3.new(1,1,1)
  2714. local shell2 = Instance.new("Part",torso)
  2715. shell2.BrickColor = BrickColor.new("Royal purple")
  2716. shell2.Anchored = true
  2717. shell2.CanCollide = false
  2718. shell2.Locked = true
  2719. shell2.TopSurface = "SmoothNoOutlines"
  2720. shell2.BottomSurface = "SmoothNoOutlines"
  2721. shell2.Size = Vector3.new(1,1,1)
  2722. shellm2 = Instance.new("SpecialMesh",shell2)
  2723. shellm2.MeshType = "Sphere"
  2724. shellm2.Scale = Vector3.new(1,1,1)
  2725.  
  2726. function FindNearestTorso(Position,Distance,SinglePlayer)
  2727. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2728. local List = {}
  2729. for i,v in pairs(workspace:GetChildren())do
  2730. if v:IsA("Model")then
  2731. if v:findFirstChild("Torso")then
  2732. if v ~= char then
  2733. if(v.Torso.Position -Position).magnitude <= Distance then
  2734. table.insert(List,v)
  2735. end
  2736. end
  2737. end
  2738. end
  2739. end
  2740. return List
  2741. end
  2742.  
  2743. Shell = function()
  2744. local X = Instance.new("Part",char)
  2745. local O = Instance.new("ObjectValue",X)
  2746. O.Name = "creator"
  2747. X.Locked = true
  2748. X.Name = "Shell"
  2749. X.Anchored = false
  2750. X.CanCollide = false
  2751. X.Transparency = 0
  2752. X.Reflectance = 0
  2753. X.BottomSurface = 0
  2754. X.TopSurface = 0
  2755. X.Shape = 0
  2756. local V = Instance.new("ObjectValue",X)
  2757. V.Value = char
  2758. V.Name = "creator"
  2759. X.BrickColor = BrickColor.new("Royal purple")
  2760. X.Size = Vector3.new(1,1,1)
  2761. --X.Material = "Neon"
  2762. local Z = Instance.new("SpecialMesh",X)
  2763. Z.MeshType = "Sphere"
  2764. Z.Scale = Vector3.new(1,1,1)
  2765. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2766. local bv = Instance.new("BodyVelocity",X)
  2767. bv.maxForce = Vector3.new(99999,99999,99999)
  2768. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2769. bv.velocity = root.CFrame.lookVector*65
  2770. Explode = X.Touched:connect(function(hit)
  2771. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  2772. local cf = X.CFrame
  2773. bv:Destroy()
  2774. X.Anchored = true
  2775. Z:Remove()
  2776. Explode:disconnect()
  2777. X.Size = Vector3.new(3,3,3)
  2778. X.Touched:connect(function(hit) end)
  2779. X.CanCollide = false
  2780. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  2781. if v:FindFirstChild('Humanoid') then
  2782. v.Humanoid:TakeDamage(math.random(6,12))
  2783. end
  2784. end
  2785. for i = 1, (40) do rs:wait()
  2786. X.Transparency = X.Transparency + (1/40)
  2787. X.Size = X.Size + Vector3.new(1,1,1)
  2788. X.CFrame = cf
  2789. end
  2790. X:Destroy()
  2791. end
  2792. end)
  2793. end
  2794. Shell()
  2795. for i = 1, 10 do
  2796. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2797. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2798. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2799. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2800. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  2801. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  2802. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  2803. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  2804. if Debounces.on == false then break end
  2805. rs:wait()
  2806. end
  2807. Shell()
  2808. shell.Transparency = 1
  2809. for i = 1, 10 do
  2810. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2811. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2812. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2813. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2814. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2815. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2816. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2817. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2818. if Debounces.on == false then break end
  2819. rs:wait()
  2820. end
  2821. Shell()
  2822. shell.Transparency = 0
  2823. shell2.Transparency = 1
  2824. for i = 1, 10 do
  2825. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2826. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2827. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2828. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2829. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2830. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2831. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2832. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2833. if Debounces.on == false then break end
  2834. rs:wait()
  2835. end
  2836. Shell()
  2837. shell2.Transparency = 0
  2838. shell.Transparency = 1
  2839. for i = 1, 10 do
  2840. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2841. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2842. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2843. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2844. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2845. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2846. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2847. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2848. if Debounces.on == false then break end
  2849. rs:wait()
  2850. end
  2851. Shell()
  2852. shell.Transparency = 0
  2853. shell2.Transparency = 1
  2854. for i = 1, 10 do
  2855. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2856. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2857. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2858. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2859. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2860. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2861. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2862. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2863. if Debounces.on == false then break end
  2864. rs:wait()
  2865. end
  2866. Shell()
  2867. shell2.Transparency = 0
  2868. shell.Transparency = 1
  2869. for i = 1, 10 do
  2870. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2871. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2872. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2873. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2874. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2875. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2876. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2877. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2878. if Debounces.on == false then break end
  2879. rs:wait()
  2880. end
  2881. Shell()
  2882. shell.Transparency = 0
  2883. shell2.Transparency = 1
  2884. for i = 1, 10 do
  2885. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2886. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2887. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2888. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  2889. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2890. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2891. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2892. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2893. if Debounces.on == false then break end
  2894. rs:wait()
  2895. end
  2896. Shell()
  2897. shell2.Transparency = 0
  2898. shell.Transparency = 1
  2899. for i = 1, 10 do
  2900. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2901. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2902. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2903. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2904. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2905. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2906. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2907. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2908. if Debounces.on == false then break end
  2909. rs:wait()
  2910. end
  2911. Shell()
  2912. shell.Transparency = 0
  2913. shell2.Transparency = 1
  2914. for i = 1, 10 do
  2915. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2916. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2917. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2918. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2919. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2920. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2921. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2922. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2923. if Debounces.on == false then break end
  2924. rs:wait()
  2925. end
  2926. Shell()
  2927. shell2.Transparency = 0
  2928. shell.Transparency = 1
  2929. for i = 1, 10 do
  2930. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2931. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2932. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2933. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2934. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2935. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2936. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2937. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2938. if Debounces.on == false then break end
  2939. rs:wait()
  2940. end
  2941. Shell()
  2942. shell.Transparency = 0
  2943. shell2.Transparency = 1
  2944. for i = 1, 10 do
  2945. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2946. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2947. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2948. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2949. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2950. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2951. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2952. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2953. if Debounces.on == false then break end
  2954. rs:wait()
  2955. end
  2956. Shell()
  2957. shell2.Transparency = 0
  2958. shell.Transparency = 1
  2959. for i = 1, 10 do
  2960. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2961. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2962. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2963. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2964. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2965. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2966. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2967. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2968. if Debounces.on == false then break end
  2969. rs:wait()
  2970. end
  2971. Shell()
  2972. shell.Transparency = 0
  2973. shell2.Transparency = 1
  2974. for i = 1, 10 do
  2975. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2976. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2977. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2978. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2979. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2980. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2981. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2982. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2983. if Debounces.on == false then break end
  2984. rs:wait()
  2985. end
  2986. shell.Transparency = 1
  2987. if Debounces.CanAttack == false then
  2988. Debounces.CanAttack = true
  2989. Debounces.NoIdl = false
  2990. Debounces.on = false
  2991. end
  2992. end
  2993. end
  2994. end)
  2995. ----------------------------------------------------
  2996. Search = false
  2997. mouse.KeyDown:connect(function(key)
  2998. if key == "n" then
  2999. if Search == false then
  3000. Search = true
  3001. for i,v in pairs(game.Players:getPlayers()) do
  3002. if v.Name~=char.Name then
  3003. for j,k in pairs(v.Character:GetChildren()) do
  3004. if k:IsA("BasePart") and k.Transparency >= 1 then
  3005. bawx=Instance.new("SelectionBox",cam)
  3006. bawx.Color = BrickColor.new("Bright red")
  3007. bawx.Transparency = .5
  3008. bawx.Adornee = k
  3009. end
  3010. end
  3011. end
  3012. end
  3013. elseif Search == true then
  3014. Search = false
  3015. for i, v in pairs(cam:GetChildren()) do
  3016. if v:IsA("SelectionBox") then
  3017. v:Destroy()
  3018. end
  3019. end
  3020. end
  3021. end
  3022. end)
  3023. ----------------------------------------------------
  3024. Grab = false
  3025. mouse.KeyDown:connect(function(key)
  3026. if key == "z" then
  3027. Debounces.on = true
  3028. Debounces.NoIdl = true
  3029. Debounces.ks = true
  3030. if Grab == false then
  3031. gp = nil
  3032. for i = 1, 20 do
  3033. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
  3034. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  3035. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3036. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3037. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  3038. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  3039. if Debounces.on == false then break end
  3040. rs:wait()
  3041. end
  3042. con1=larm.Touched:connect(function(hit) -- this is grab
  3043. ht = hit.Parent
  3044. hum1=ht:FindFirstChild('Humanoid')
  3045. if hum1 ~= nil then
  3046. if Debounces.ks==true then
  3047. z = Instance.new("Sound",hed)
  3048. z.SoundId = "rbxassetid://169380525"
  3049. z.Volume = 1
  3050. z:Play()
  3051. Debounces.ks=false
  3052. end
  3053. hum1.PlatformStand=true
  3054. gp = ht
  3055. Grab = true
  3056. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  3057. asd.Parent = larm
  3058. asd.Name = "asd"
  3059. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  3060. --[[elseif hum1 == nil then
  3061. con1:disconnect()
  3062. wait() return]]--
  3063. end
  3064. end)
  3065. for i = 1, 20 do
  3066. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
  3067. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  3068. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  3069. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3070. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3071. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  3072. if Debounces.on == false then break end
  3073. rs:wait()
  3074. end
  3075. if hum1 == nil then
  3076. Debounces.on = false
  3077. Debounces.NoIdl = false
  3078. end
  3079. con1:disconnect()
  3080. elseif Grab == true then
  3081. Grab = false
  3082. Punch()
  3083. z = Instance.new("Sound",hed)
  3084. z.SoundId = "rbxassetid://169380525"
  3085. z.Pitch = ptz[math.random(1,#ptz)]
  3086. z.Volume = 1
  3087. z:Play()
  3088. for i = 1, 10 do
  3089. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3090. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3091. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3092. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3093. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3094. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3095. if Debounces.on == false then break end
  3096. rs:wait()
  3097. end
  3098. Punch()
  3099. z = Instance.new("Sound",hed)
  3100. z.SoundId = "rbxassetid://169380525"
  3101. z.Pitch = ptz[math.random(1,#ptz)]
  3102. z.Volume = 1
  3103. z:Play()
  3104. for i = 1, 10 do
  3105. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3106. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3107. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3108. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3109. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3110. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3111. if Debounces.on == false then break end
  3112. rs:wait()
  3113. end
  3114. Punch()
  3115. z = Instance.new("Sound",hed)
  3116. z.SoundId = "rbxassetid://169380525"
  3117. z.Pitch = ptz[math.random(1,#ptz)]
  3118. z.Volume = 1
  3119. z:Play()
  3120. for i = 1, 10 do
  3121. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3122. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3123. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3124. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3125. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3126. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3127. if Debounces.on == false then break end
  3128. rs:wait()
  3129. end
  3130. Punch()
  3131. z = Instance.new("Sound",hed)
  3132. z.SoundId = "rbxassetid://169380525"
  3133. z.Pitch = ptz[math.random(1,#ptz)]
  3134. z.Volume = 1
  3135. z:Play()
  3136. for i = 1, 10 do
  3137. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3138. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3139. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3140. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3141. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3142. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3143. if Debounces.on == false then break end
  3144. rs:wait()
  3145. end
  3146. Punch()
  3147. z = Instance.new("Sound",hed)
  3148. z.SoundId = "rbxassetid://169380525"
  3149. z.Pitch = ptz[math.random(1,#ptz)]
  3150. z.Volume = 1
  3151. z:Play()
  3152. for i = 1, 10 do
  3153. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3154. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3155. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3156. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3157. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3158. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3159. if Debounces.on == false then break end
  3160. rs:wait()
  3161. end
  3162. Punch()
  3163. z = Instance.new("Sound",hed)
  3164. z.SoundId = "rbxassetid://169380525"
  3165. z.Pitch = ptz[math.random(1,#ptz)]
  3166. z.Volume = 1
  3167. z:Play()
  3168. for i = 1, 10 do
  3169. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3170. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3171. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3172. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3173. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3174. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3175. if Debounces.on == false then break end
  3176. rs:wait()
  3177. end
  3178. Punch()
  3179. z = Instance.new("Sound",hed)
  3180. z.SoundId = "rbxassetid://169380525"
  3181. z.Pitch = ptz[math.random(1,#ptz)]
  3182. z.Volume = 1
  3183. z:Play()
  3184. for i = 1, 10 do
  3185. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3186. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3187. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3188. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3189. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3190. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3191. if Debounces.on == false then break end
  3192. rs:wait()
  3193. end
  3194. Punch()
  3195. z = Instance.new("Sound",hed)
  3196. z.SoundId = "rbxassetid://169380525"
  3197. z.Pitch = ptz[math.random(1,#ptz)]
  3198. z.Volume = 1
  3199. z:Play()
  3200. for i = 1, 10 do
  3201. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3202. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3203. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3204. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3205. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3206. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3207. if Debounces.on == false then break end
  3208. rs:wait()
  3209. end
  3210. Punch()
  3211. z = Instance.new("Sound",hed)
  3212. z.SoundId = "rbxassetid://169380525"
  3213. z.Pitch = ptz[math.random(1,#ptz)]
  3214. z.Volume = 1
  3215. z:Play()
  3216. for i = 1, 10 do
  3217. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3218. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3219. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3220. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3221. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3222. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3223. if Debounces.on == false then break end
  3224. rs:wait()
  3225. end
  3226. Punch()
  3227. z = Instance.new("Sound",hed)
  3228. z.SoundId = "rbxassetid://169380525"
  3229. z.Pitch = ptz[math.random(1,#ptz)]
  3230. z.Volume = 1
  3231. z:Play()
  3232. for i = 1, 10 do
  3233. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3234. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3235. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3236. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3237. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3238. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3239. if Debounces.on == false then break end
  3240. rs:wait()
  3241. end
  3242. Punch()
  3243. z = Instance.new("Sound",hed)
  3244. z.SoundId = "rbxassetid://169380525"
  3245. z.Pitch = ptz[math.random(1,#ptz)]
  3246. z.Volume = 1
  3247. z:Play()
  3248. for i = 1, 10 do
  3249. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3250. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3251. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3252. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3253. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3254. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3255. if Debounces.on == false then break end
  3256. rs:wait()
  3257. end
  3258. Punch()
  3259. z = Instance.new("Sound",hed)
  3260. z.SoundId = "rbxassetid://169380525"
  3261. z.Pitch = ptz[math.random(1,#ptz)]
  3262. z.Volume = 1
  3263. z:Play()
  3264. for i = 1, 10 do
  3265. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3266. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3267. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3268. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3269. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3270. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3271. if Debounces.on == false then break end
  3272. rs:wait()
  3273. end
  3274. con1:disconnect()
  3275. Debounces.on = false
  3276. Debounces.NoIdl = false
  3277. if gp ~= nil then
  3278. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  3279. for i,v in pairs(larm:GetChildren()) do
  3280. if v.Name == "asd" and v:IsA("Weld") then
  3281. v:Remove()
  3282. end
  3283. end
  3284. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3285. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3286. bv.P = 125000
  3287. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3288. hum1=nil
  3289. ht=nil
  3290. Debounces.on = false
  3291. Debounces.NoIdl = false
  3292. elseif ht == nil then wait()
  3293. Grab = false
  3294. Debounces.on = false
  3295. Debounces.NoIdl = false
  3296. end
  3297. end
  3298. end
  3299. end)
  3300. ----------------------------------------------------
  3301. mouse.KeyDown:connect(function(key)
  3302. if string.byte(key) == 52 then
  3303. char.Humanoid.WalkSpeed = 60
  3304. end
  3305. end)
  3306. mouse.KeyUp:connect(function(key)
  3307. if string.byte(key) == 52 then
  3308. char.Humanoid.WalkSpeed = 8
  3309. end
  3310. end)
  3311. -------------------------------
  3312. local animpose = "Idle"
  3313. local lastanimpose = "Idle"
  3314. local sine = 0
  3315. local change = 1
  3316. local val = 0
  3317. local ffing = false
  3318. -------------------------------
  3319. game:GetService("RunService").RenderStepped:connect(function()
  3320. --[[if char.Humanoid.Jump == true then
  3321. jump = true
  3322. else
  3323. jump = false
  3324. end]]
  3325. char.Humanoid.FreeFalling:connect(function(f)
  3326. if f then
  3327. ffing = true
  3328. else
  3329. ffing = false
  3330. end
  3331. end)
  3332. sine = sine + change
  3333. if jumpn == true then
  3334. animpose = "Jumping"
  3335. elseif ffing == true then
  3336. animpose = "Freefalling"
  3337. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3338. animpose = "Idle"
  3339. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3340. animpose = "Walking"
  3341. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3342. animpose = "Running"
  3343. end
  3344. if animpose ~= lastanimpose then
  3345. sine = 0
  3346. if Debounces.NoIdl == false then
  3347. if animpose == "Idle" then
  3348. for i = 1, 2 do
  3349. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  3350. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  3351. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  3352. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3353. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3354. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3355. end
  3356. elseif animpose == "Walking" then
  3357. for i = 1, 2 do
  3358. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3359. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3360. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3361. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3362. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3363. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3364. end
  3365. elseif animpose == "Running" then
  3366. for i = 1, 2 do
  3367. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  3368. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  3369. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  3370. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  3371. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  3372. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  3373. wait()
  3374. end
  3375. end
  3376. else
  3377. end
  3378. end
  3379. lastanimpose = animpose
  3380. if Debounces.NoIdl == false then
  3381. if animpose == "Idle" then
  3382. change = 0.5
  3383. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  3384. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  3385. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  3386. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  3387. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  3388. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  3389. elseif animpose == "Walking" then
  3390. change = 1
  3391. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3392. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3393. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3394. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3395. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3396. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3397. elseif animpose == "Running" then
  3398. change = 1
  3399. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  3400. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  3401. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  3402. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  3403. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  3404. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  3405. end
  3406. end
  3407. end)
  3408.  
  3409. hum.MaxHealth = 9001
  3410. wait(3)
  3411. hum.Health = 9001
  3412.  
  3413. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  3414. --[[Part0 = Vector3 (Start pos)
  3415. Part1 = Vector3 (End pos)
  3416. Times = number (Amount of lightning parts)
  3417. Offset = number (Offset)
  3418. Color = color (brickcolor value)
  3419. Thickness = number (thickness)
  3420. Trans = number (transparency)
  3421. ]]--
  3422. local magz = (Part0 - Part1).magnitude
  3423. local curpos = Part0
  3424. local trz = {-Offset,Offset}
  3425. for i=1,Times do
  3426. local li = Instance.new("Part", torso)
  3427. li.Name = "Lightning"
  3428. li.TopSurface =0
  3429. li.Material = "Neon"
  3430. li.BottomSurface = 0
  3431. li.Anchored = true
  3432. li.Locked = true
  3433. li.Transparency = Trans or 0.4
  3434. li.BrickColor = BrickColor.new(Color)
  3435. li.formFactor = "Custom"
  3436. li.CanCollide = false
  3437. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  3438. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3439. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3440. if Times == i then
  3441. local magz2 = (curpos - Part1).magnitude
  3442. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3443. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3444. else
  3445. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3446. end
  3447. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3448. game.Debris:AddItem(li,.1)
  3449. end
  3450. end
  3451.  
  3452. BodyParts = {} -- Parts to emit lightning effects from
  3453. for _, v in pairs(char:GetChildren()) do
  3454. if v:IsA("Part") then
  3455. table.insert(BodyParts, v)
  3456. end
  3457. end
  3458.  
  3459. Bounding = {} -- Calculate the bounding boxes
  3460. for _, v in pairs(BodyParts) do
  3461. local temp = {X=nil, Y=nil, Z=nil}
  3462. temp.X = v.Size.X/2 * 10
  3463. temp.Y = v.Size.Y/2 * 10
  3464. temp.Z = v.Size.Z/2 * 10
  3465. Bounding[v.Name] = temp
  3466. --table.insert(Bounding, v.Name, temp)
  3467. end
  3468.  
  3469. while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  3470. local Body1 = BodyParts[math.random(#BodyParts)]
  3471. local Body2 = BodyParts[math.random(#BodyParts)]
  3472. local Pos1 = Vector3.new(
  3473. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  3474. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  3475. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  3476. )
  3477. local Pos2 = Vector3.new(
  3478. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  3479. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  3480. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  3481. )
  3482. local SPos1 = Body1.Position + Pos1
  3483. local SPos2 = Body2.Position + Pos2
  3484. Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
  3485. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement