Guest User

Untitled

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