rektv25

Untitled

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