carlosname

Untitled

Apr 9th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 249.67 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. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152. function TakeDamage(hum, dmg)
  153. hum:TakeDamage(dmg)
  154. end
  155. plr = game.Players.LocalPlayer
  156. repeat
  157. wait(0.4)
  158. until plr.Character
  159. chr = plr.Character
  160. human = chr:FindFirstChild("Humanoid")
  161. human.MaxHealth, human.Health = math.huge, math.huge
  162. mouse = plr:GetMouse()
  163. cam = workspace.CurrentCamera
  164. selected = false
  165. equipd = false
  166. tors = chr.Torso
  167. rarm = chr["Right Arm"]
  168. larm = chr["Left Arm"]
  169. rleg = chr["Right Leg"]
  170. lleg = chr["Left Leg"]
  171. hrp = chr.HumanoidRootPart
  172. hed = chr.Head
  173. anim = human.Animator
  174. activu = false
  175. appeared = false
  176. animpose = nil
  177. POSU = false
  178. local wherto = hrp
  179. local addcfr = CFrame.new(0, 0, 0)
  180. Heartbeat = Instance.new("BindableEvent")
  181. Heartbeat.Name = "Heartbeat"
  182. Heartbeat.Parent = script
  183. frame = 0.03333333333333333
  184. tf = 0
  185. game:GetService("RunService").Heartbeat:connect(function(s, p)
  186. tf = tf + s
  187. if tf >= frame then
  188. for i = 1, math.floor(tf / frame) do
  189. Heartbeat:Fire()
  190. end
  191. tf = tf - frame * math.floor(tf / frame)
  192. end
  193. end)
  194. function swait(num)
  195. if num == 0 or num == nil then
  196. Heartbeat.Event:wait()
  197. else
  198. for i = 1, num do
  199. Heartbeat.Event:wait()
  200. end
  201. end
  202. end
  203. tool = Instance.new("Tool")
  204. tool.CanBeDropped = false
  205. tool.RequiresHandle = false
  206. tool.TextureId = "http://www.roblox.com/asset/?id=4025191505"
  207. tool.ToolTip = "KEKKA DAKE DA"
  208. tool.Name = "King Crismon"
  209. tool.Parent = plr.Backpack
  210. modz = Instance.new("Model")
  211. modz.Name = "efx"
  212. modz.Parent = chr
  213. ZANOOB = Instance.new("Model")
  214. ZANOOB.Name = "King Crimson"
  215. ZANOOB.Parent = chr
  216. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  217. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  218. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  219. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  220. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  221. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  222. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  223. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  224. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  225. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  226. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  227. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  228. RS = tors:FindFirstChild("Right Shoulder")
  229. LS = tors:FindFirstChild("Left Shoulder")
  230. RH = tors:FindFirstChild("Right Hip")
  231. LH = tors:FindFirstChild("Left Hip")
  232. RJ = hrp:FindFirstChild("RootJoint")
  233. N = tors:FindFirstChild("Neck")
  234. cf = CFrame.new
  235. ang = CFrame.Angles
  236. rd = math.rad
  237. rd2 = math.random
  238. function nooutline(p)
  239. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  240. end
  241. function makepart(color, name, reflec, mater, parnt, cfram)
  242. local port = Instance.new("Part")
  243. port.BrickColor = BrickColor.new(color)
  244. port.Name = name
  245. port.Transparency = 1
  246. nooutline(port)
  247. port.Reflectance = reflec
  248. port.Material = mater
  249. port.Anchored = false
  250. port.CanCollide = false
  251. port.Locked = true
  252. port.Size = Vector3.new(0.2, 0.2, 0.2)
  253. port.Parent = parnt
  254. return port
  255. end
  256. function makemesh(meshtype, scale, meshid, parent)
  257. local mes = Instance.new("SpecialMesh")
  258. mes.MeshType = meshtype
  259. mes.Scale = scale
  260. if meshtype == "FileMesh" then
  261. mes.MeshId = meshid
  262. end
  263. mes.Parent = parent
  264. return mes
  265. end
  266. function makemotor(parent, p0, p1, c0, c1)
  267. swait()
  268. local wel = Instance.new("Motor6D")
  269. wel.Part0 = p0
  270. wel.Part1 = p1
  271. wel.C0 = c0
  272. if c1 ~= nil then
  273. wel.C1 = c1
  274. end
  275. wel.Parent = parent
  276. return wel
  277. end
  278. local konodioda = Instance.new("Sound")
  279. konodioda.SoundId = "rbxassetid://3373967354"
  280. konodioda.Volume = 2
  281. konodioda.Parent = hrp
  282. local bast = Instance.new("Sound")
  283. bast.SoundId = "rbxassetid://3374531743"
  284. bast.Volume = 2
  285. bast.Parent = hrp
  286. local zaworld = Instance.new("Sound")
  287. zaworld.SoundId = "rbxassetid://3373956700"
  288. zaworld.Volume = 2
  289. zaworld.Parent = hrp
  290. local wry = Instance.new("Sound")
  291. wry.SoundId = "rbxassetid://3373975760"
  292. wry.Volume = 2
  293. wry.Parent = hrp
  294. function animo(yep)
  295. if yep == true then
  296. anim.Parent = human
  297. chr.Animate.Disabled = false
  298. elseif yep == false then
  299. chr.Animate.Disabled = true
  300. anim.Parent = nil
  301. end
  302. end
  303. animo(false)
  304. function lerpz(joint, prop, cfrmz, alp)
  305. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  306. end
  307. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  308. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  309. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  310. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  311. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  312. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  313. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  314. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  315. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  316. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  317. function resetlerp(whoever)
  318. if whoever == nil then
  319. RJ.C0 = RJC0
  320. RJ.C1 = RJC1
  321. N.C0 = NC0
  322. N.C1 = NC1
  323. RS.C0 = RSC0
  324. RS.C1 = RSC1
  325. LS.C0 = LSC0
  326. LS.C1 = LSC1
  327. RH.C0 = RHC0
  328. RH.C1 = RHC1
  329. LH.C0 = LHC0
  330. LH.C1 = LHC1
  331. elseif whoever ~= nil then
  332. nRJ.C0 = RJC0
  333. nRJ.C1 = RJC1
  334. nN.C0 = NC0
  335. nN.C1 = NC1
  336. nRS.C0 = RSC0
  337. nRS.C1 = RSC1
  338. nLS.C0 = LSC0
  339. nLS.C1 = LSC1
  340. nRH.C0 = RHC0
  341. nRH.C1 = RHC1
  342. nLH.C0 = LHC0
  343. nLH.C1 = LHC1
  344. end
  345. end
  346. function STANDO(cfr)
  347. local rooto = Instance.new("Part")
  348. nooutline(rooto)
  349. rooto.Name = "HumanoidRootPart"
  350. rooto.Anchored = true
  351. rooto.CFrame = cfr
  352. rooto.Size = Vector3.new(2, 2, 1)
  353. rooto.CanCollide = false
  354. rooto.Locked = true
  355. rooto.Transparency = 1
  356. rooto.Parent = ZANOOB
  357. local head = Instance.new("Part")
  358. nooutline(head)
  359. head.Anchored = false
  360. head.CFrame = rooto.CFrame * CFrame.new(0, 1.5, 0)
  361. head.Size = Vector3.new(2, 1, 1)
  362. head.BrickColor = BrickColor.new("Bright red")
  363. head.CanCollide = false
  364. head.Name = "Head"
  365. head.Locked = true
  366. head.Transparency = 1
  367. head.Parent = ZANOOB
  368. local headmesh = makemesh("Head", Vector3.new(1.25, 1.25, 1.25), nil, head)
  369. local headdecal = Instance.new("Decal")
  370. headdecal.Name = "face"
  371. headdecal.Texture = "rbxasset://textures/face.png"
  372. headdecal.Face = "Front"
  373. headdecal.Transparency = 1
  374. headdecal.Parent = head
  375. local torso = Instance.new("Part")
  376. nooutline(torso)
  377. torso.Name = "Torso"
  378. torso.Anchored = false
  379. torso.CFrame = rooto.CFrame * CFrame.new(0, 0, 0)
  380. torso.Size = Vector3.new(2, 1, 1)
  381. torso.BrickColor = BrickColor.new("Bright red")
  382. torso.CanCollide = false
  383. torso.Transparency = 1
  384. torso.Locked = true
  385. torso.Parent = ZANOOB
  386. local torsomesh = makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxasset://fonts/torso.mesh", torso)
  387. local leftarm = Instance.new("Part")
  388. nooutline(leftarm)
  389. leftarm.Anchored = false
  390. leftarm.Name = "Left Arm"
  391. leftarm.CFrame = rooto.CFrame * CFrame.new(1.5, 0, 0)
  392. leftarm.Size = Vector3.new(1, 2, 1)
  393. leftarm.BrickColor = BrickColor.new("Bright red")
  394. leftarm.CanCollide = false
  395. leftarm.Transparency = 1
  396. leftarm.Locked = true
  397. leftarm.Parent = ZANOOB
  398. local leftarmmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftarm)
  399. local rightarm = Instance.new("Part")
  400. nooutline(rightarm)
  401. rightarm.Anchored = false
  402. rightarm.CFrame = rooto.CFrame * CFrame.new(-1.5, 0, 0)
  403. rightarm.Name = "Right Arm"
  404. rightarm.Size = Vector3.new(1, 2, 1)
  405. rightarm.BrickColor = BrickColor.new("Bright red")
  406. rightarm.CanCollide = false
  407. rightarm.Locked = true
  408. rightarm.Transparency = 1
  409. rightarm.Parent = ZANOOB
  410. local rightarmmesh = makemesh("FileMesh", Vector3.new(0.8, 1, 1), "", rightarm)
  411. local leftleg = Instance.new("Part")
  412. nooutline(leftleg)
  413. leftleg.Anchored = false
  414. leftleg.CFrame = rooto.CFrame * CFrame.new(1.5, -1.5, 0)
  415. leftleg.Name = "Left Leg"
  416. leftleg.Size = Vector3.new(1, 2, 1)
  417. leftleg.BrickColor = BrickColor.new("Bright red")
  418. leftleg.CanCollide = false
  419. leftleg.Transparency = 1
  420. leftleg.Locked = true
  421. leftleg.Parent = ZANOOB
  422. local leftlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", leftleg)
  423. local rightleg = Instance.new("Part")
  424. nooutline(rightleg)
  425. rightleg.Anchored = false
  426. rightleg.CFrame = rooto.CFrame * CFrame.new(-1.5, -1.5, 0)
  427. rightleg.Name = "Right Leg"
  428. rightleg.Size = Vector3.new(1, 2, 1)
  429. rightleg.BrickColor = BrickColor.new("Bright red")
  430. rightleg.CanCollide = false
  431. rightleg.Locked = true
  432. rightleg.Transparency = 1
  433. rightleg.Parent = ZANOOB
  434. local rightlegmesh = makemesh("FileMesh", Vector3.new(1, 1, 1), "", rightleg)
  435. local rootweld = makemotor(rooto, rooto, torso, RJC0, RJC1)
  436. rootweld.Name = "RootJoint"
  437. local neckweld = makemotor(torso, torso, head, NC0, NC1)
  438. neckweld.Name = "Neck"
  439. local rshoulderweld = makemotor(torso, torso, rightarm, RSC0, RSC1)
  440. rshoulderweld.Name = "Right Shoulder"
  441. local lshoulderweld = makemotor(torso, torso, leftarm, LSC0, LSC1)
  442. lshoulderweld.Name = "Left Shoulder"
  443. local rhipweld = makemotor(torso, torso, rightleg, RHC0, RHC1)
  444. rhipweld.Name = "Right Hip"
  445. local lhipweld = makemotor(torso, torso, leftleg, LHC0, LHC1)
  446. lhipweld.Name = "Left Hip"
  447. local la1 = Instance.new("Part")
  448. nooutline(la1)
  449. la1.Anchored = false
  450. la1.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  451. la1.Name = "la1" -- Head
  452. la1.Size = Vector3.new(0.2, 0.2, 0.2)
  453. la1.BrickColor = BrickColor.new("Institutional white")
  454. la1.CanCollide = false
  455. la1.Locked = true
  456. la1.Transparency = 1
  457. la1.Parent = ZANOOB
  458. local la1m = makemesh("FileMesh", Vector3.new(1., 1.03, 1),"rbxassetid://1307316259", la1)
  459. local la1w = makemotor(la1, la1, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.01, 0), ang(rd(0), 0, 0))
  460. local la2 = Instance.new("Part")
  461. nooutline(la2)
  462. la2.Anchored = false
  463. la2.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  464. la2.Name = "la2" -- Head
  465. la2.Size = Vector3.new(0.2, 0.2, 0.2)
  466. la2.BrickColor = BrickColor.new("Ghost grey")
  467. la2.CanCollide = false
  468. la2.Locked = true
  469. la2.Transparency = 1
  470. la2.Parent = ZANOOB
  471. local la2m = makemesh("FileMesh", Vector3.new(0.5, 0.5, 0.5),"rbxassetid://514528170", la2)
  472. local la2w = makemotor(la2, la2, head, ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.2), ang(rd(0), 0, 0))
  473. local la3 = Instance.new("Part")
  474. nooutline(la3)
  475. la3.Anchored = false
  476. la3.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  477. la3.Name = "la3" -- Head
  478. la3.Size = Vector3.new(0.2, 0.2, 0.2)
  479. la3.BrickColor = BrickColor.new("Smoky grey")
  480. la3.CanCollide = false
  481. la3.Locked = true
  482. la3.Transparency = 1
  483. la3.Parent = ZANOOB
  484. local la3m = makemesh("FileMesh", Vector3.new(0.2, 0.2, 0.2),"rbxassetid://514528170", la3)
  485. local la3w = makemotor(la3, la3, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.5), ang(rd(0), 0, 0))
  486. local la4 = Instance.new("Part")
  487. nooutline(la4)
  488. la4.Anchored = false
  489. la4.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  490. la4.Name = "la4" -- Head
  491. la4.Size = Vector3.new(0.2, 0.2, 0.2)
  492. la4.BrickColor = BrickColor.new("Persimmon")
  493. la4.CanCollide = false
  494. la4.Locked = true
  495. la4.Transparency = 1
  496. la4.Parent = ZANOOB
  497. local la4m = makemesh("FileMesh", Vector3.new(0.1, 0.1, 0.1),"rbxassetid://514528170", la4)
  498. local la4w = makemotor(la4, la4, head, ang(rd(0), rd(0), rd(0)) * cf(0, -0.4, 0.65), ang(rd(0), 0, 0))
  499. local la5 = Instance.new("Part")
  500. nooutline(la5)
  501. la5.Anchored = false
  502. la5.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  503. la5.Name = "la5" -- Torso
  504. la5.Size = Vector3.new(0.2, 0.2, 0.2)
  505. la5.BrickColor = BrickColor.new("Institutional white")
  506. la5.CanCollide = false
  507. la5.Locked = true
  508. la5.Transparency = 1
  509. la5.Parent = ZANOOB
  510. local la5m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la5)
  511. local la5w = makemotor(la5, la5, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
  512. local la8 = Instance.new("Part")
  513. nooutline(la8)
  514. la8.Anchored = false
  515. la8.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  516. la8.Name = "la8" -- Torso
  517. la8.Size = Vector3.new(0.2, 0.2, 0.2)
  518. la8.BrickColor = BrickColor.new("Institutional white")
  519. la8.CanCollide = false
  520. la8.Locked = true
  521. la8.Transparency = 1
  522. la8.Parent = ZANOOB
  523. local la8m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.01),"rbxassetid://1279394898", la8)
  524. local la8w = makemotor(la8, la8, torso, ang(rd(180), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
  525. local la6 = Instance.new("Part")
  526. nooutline(la6)
  527. la6.Anchored = false
  528. la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  529. la6.Name = "la6" -- Torso
  530. la6.Size = Vector3.new(0.2, 0.2, 0.2)
  531. la6.BrickColor = BrickColor.new("Institutional white")
  532. la6.CanCollide = false
  533. la6.Locked = true
  534. la6.Transparency = 1
  535. la6.Parent = ZANOOB
  536. local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
  537. local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(3)) * cf(-0.3, 0.5, 0), ang(rd(0), 0, 0))
  538. local la6 = Instance.new("Part")
  539. nooutline(la6)
  540. la6.Anchored = false
  541. la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  542. la6.Name = "la6" -- Torso
  543. la6.Size = Vector3.new(0.2, 0.2, 0.2)
  544. la6.BrickColor = BrickColor.new("Institutional white")
  545. la6.CanCollide = false
  546. la6.Locked = true
  547. la6.Transparency = 1
  548. la6.Parent = ZANOOB
  549. local la6m = makemesh("FileMesh", Vector3.new(0.005, 0.012, 0.006),"rbxassetid://1279434239", la6)
  550. local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(-3)) * cf(0.3, 0.5, 0), ang(rd(0), 0, 0))
  551. local la7 = Instance.new("Part")
  552. nooutline (la7)
  553. la7.Anchored = false
  554. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  555. la7.Name = "la7" -- Torso
  556. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  557. la7.BrickColor = BrickColor.new("Bright red")
  558. la7.CanCollide = false
  559. la7.Locked = true
  560. la7.Transparency = 1
  561. la7.Parent = ZANOOB
  562. local la7m = makemesh("FileMesh", Vector3.new(1, 0.5, 1),"rbxasset://fonts/torso.mesh", la7)
  563. local la7w = makemotor(la7, la7, torso, ang(rd(0), rd(0), rd(0)) * cf(0, -0.5, 0), ang(rd(0), 0, 0))
  564. local la9 = Instance.new("Part")
  565. nooutline (la9)
  566. la9.Anchored = false
  567. la9.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  568. la9.Name = "la9" -- Torso
  569. la9.Size = Vector3.new(0.2, 0.2, 0.2)
  570. la9.BrickColor = BrickColor.new("Bright red")
  571. la9.CanCollide = false
  572. la9.Locked = true
  573. la9.Transparency = 1
  574. la9.Parent = ZANOOB
  575. local la9m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la9)
  576. local la9w = makemotor(la9, la9, torso, ang(rd(0), rd(0), rd(20)) * cf(-0.5, -0.3, 0), ang(rd(0), 0, 0))
  577. local la10 = Instance.new("Part")
  578. nooutline (la10)
  579. la10.Anchored = false
  580. la10.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  581. la10.Name = "la10" -- Torso
  582. la10.Size = Vector3.new(0.2, 0.2, 0.2)
  583. la10.BrickColor = BrickColor.new("Bright red")
  584. la10.CanCollide = false
  585. la10.Locked = true
  586. la10.Transparency = 1
  587. la10.Parent = ZANOOB
  588. local la10m = makemesh("FileMesh", Vector3.new(0.5, 0.3, 1),"rbxasset://fonts/torso.mesh", la10)
  589. local la10w = makemotor(la10, la10, torso, ang(rd(0), rd(0), rd(-20)) * cf(0.5, -0.3, 0), ang(rd(0), 0, 0))
  590. local la11 = Instance.new("Part")
  591. nooutline (la11)
  592. la11.Anchored = false
  593. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  594. la11.Name = "la11" -- Left Arm
  595. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  596. la11.BrickColor = BrickColor.new("Institutional white")
  597. la11.CanCollide = false
  598. la11.Locked = true
  599. la11.Transparency = 1
  600. la11.Parent = ZANOOB
  601. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
  602. local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
  603. local la11 = Instance.new("Part")
  604. nooutline (la11)
  605. la11.Anchored = false
  606. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  607. la11.Name = "la11" -- Left Arm
  608. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  609. la11.BrickColor = BrickColor.new("Institutional white")
  610. la11.CanCollide = false
  611. la11.Locked = true
  612. la11.Transparency = 1
  613. la11.Parent = ZANOOB
  614. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
  615. local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
  616. local la11 = Instance.new("Part")
  617. nooutline (la11)
  618. la11.Anchored = false
  619. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  620. la11.Name = "la11" -- Left Arm
  621. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  622. la11.BrickColor = BrickColor.new("Institutional white")
  623. la11.CanCollide = false
  624. la11.Locked = true
  625. la11.Transparency = 1
  626. la11.Parent = ZANOOB
  627. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
  628. local la11w = makemotor(la11, la11, leftarm, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
  629. local la11 = Instance.new("Part")
  630. nooutline (la11)
  631. la11.Anchored = false
  632. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  633. la11.Name = "la11" -- Right Arm
  634. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  635. la11.BrickColor = BrickColor.new("Institutional white")
  636. la11.CanCollide = false
  637. la11.Locked = true
  638. la11.Transparency = 1
  639. la11.Parent = ZANOOB
  640. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
  641. local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
  642. local la11 = Instance.new("Part")
  643. nooutline (la11)
  644. la11.Anchored = false
  645. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  646. la11.Name = "la11" -- Right Arm
  647. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  648. la11.BrickColor = BrickColor.new("Institutional white")
  649. la11.CanCollide = false
  650. la11.Locked = true
  651. la11.Transparency = 1
  652. la11.Parent = ZANOOB
  653. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
  654. local la11w = makemotor(la11, la11, rightarm, ang(rd(90), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
  655. local la11 = Instance.new("Part")
  656. nooutline (la11)
  657. la11.Anchored = false
  658. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  659. la11.Name = "la11" -- Right Arm
  660. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  661. la11.BrickColor = BrickColor.new("Institutional white")
  662. la11.CanCollide = false
  663. la11.Locked = true
  664. la11.Transparency = 1
  665. la11.Parent = ZANOOB
  666. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
  667. local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(-90)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
  668. local la11 = Instance.new("Part")
  669. nooutline (la11)
  670. la11.Anchored = false
  671. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  672. la11.Name = "la11" -- Right Arm
  673. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  674. la11.BrickColor = BrickColor.new("Bright red")
  675. la11.CanCollide = false
  676. la11.Locked = true
  677. la11.Transparency = 1
  678. la11.Parent = ZANOOB
  679. local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
  680. local la11w = makemotor(la11, la11, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0, 0), ang(rd(0), 0, 0))
  681. local la11 = Instance.new("Part")
  682. nooutline (la11)
  683. la11.Anchored = false
  684. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  685. la11.Name = "la11" -- Right Arm
  686. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  687. la11.BrickColor = BrickColor.new("Bright red")
  688. la11.CanCollide = false
  689. la11.Locked = true
  690. la11.Transparency = 1
  691. la11.Parent = ZANOOB
  692. local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/rightarm.mesh", la11)
  693. local la11w = makemotor(la11, la11, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0, 0), ang(rd(0), 0, 0))
  694. local la11 = Instance.new("Part")
  695. nooutline (la11)
  696. la11.Anchored = false
  697. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  698. la11.Name = "la11" -- Torso
  699. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  700. la11.BrickColor = BrickColor.new("Institutional white")
  701. la11.CanCollide = false
  702. la11.Locked = true
  703. la11.Transparency = 1
  704. la11.Parent = ZANOOB
  705. local la11m = makemesh("FileMesh", Vector3.new(0.007, 0.01, 0.01),"rbxassetid://548881795", la11)
  706. local la11w = makemotor(la11, la11, torso, ang(rd(0), rd(180), rd(0)) * cf(0, -1.1, -0.05), ang(rd(0), 0, 0))
  707. local la6 = Instance.new("Part")
  708. nooutline(la6)
  709. la6.Anchored = false
  710. la6.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  711. la6.Name = "la6" -- Torso
  712. la6.Size = Vector3.new(0.2, 0.2, 0.2)
  713. la6.BrickColor = BrickColor.new("Smoky grey")
  714. la6.CanCollide = false
  715. la6.Locked = true
  716. la6.Transparency = 1
  717. la6.Parent = ZANOOB
  718. local la6m = makemesh("FileMesh", Vector3.new(1.34, 1.4, 1.4),"rbxassetid://448723209", la6)
  719. local la6w = makemotor(la6, la6, torso, ang(rd(0), rd(0), rd(0)) * cf(0, 1.37, 0), ang(rd(0), 0, 0))
  720. local la11 = Instance.new("Part")
  721. nooutline (la11)
  722. la11.Anchored = false
  723. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  724. la11.Name = "la11" -- LeftLeg
  725. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  726. la11.BrickColor = BrickColor.new("Bright red")
  727. la11.CanCollide = false
  728. la11.Locked = true
  729. la11.Transparency = 1
  730. la11.Parent = ZANOOB
  731. local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/leftleg.mesh", la11)
  732. local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
  733. local la11 = Instance.new("Part")
  734. nooutline (la11)
  735. la11.Anchored = false
  736. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  737. la11.Name = "la11" -- RightLeg
  738. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  739. la11.BrickColor = BrickColor.new("Bright red")
  740. la11.CanCollide = false
  741. la11.Locked = true
  742. la11.Transparency = 1
  743. la11.Parent = ZANOOB
  744. local la11m = makemesh("FileMesh", Vector3.new(0.8, 1, 1),"rbxasset://fonts/Rightleg.mesh", la11)
  745. local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
  746. local la11 = Instance.new("Part")
  747. nooutline (la11)
  748. la11.Anchored = false
  749. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  750. la11.Name = "la11" -- Left Leg
  751. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  752. la11.BrickColor = BrickColor.new("Institutional white")
  753. la11.CanCollide = false
  754. la11.Locked = true
  755. la11.Transparency = 1
  756. la11.Parent = ZANOOB
  757. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
  758. local la11w = makemotor(la11, la11, leftleg, ang(rd(0), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
  759. local la11 = Instance.new("Part")
  760. nooutline (la11)
  761. la11.Anchored = false
  762. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  763. la11.Name = "la11" -- Left Arm
  764. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  765. la11.BrickColor = BrickColor.new("Institutional white")
  766. la11.CanCollide = false
  767. la11.Locked = true
  768. la11.Transparency = 1
  769. la11.Parent = ZANOOB
  770. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
  771. local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
  772. local la11 = Instance.new("Part")
  773. nooutline (la11)
  774. la11.Anchored = false
  775. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  776. la11.Name = "la11" -- Left Arm
  777. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  778. la11.BrickColor = BrickColor.new("Institutional white")
  779. la11.CanCollide = false
  780. la11.Locked = true
  781. la11.Transparency = 1
  782. la11.Parent = ZANOOB
  783. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
  784. local la11w = makemotor(la11, la11, leftleg, ang(rd(90), rd(0), rd(90)) * cf(-0.1, 0.1, 0), ang(rd(0), 0, 0))
  785. local la11 = Instance.new("Part")
  786. nooutline (la11)
  787. la11.Anchored = false
  788. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  789. la11.Name = "la11" -- Left Leg
  790. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  791. la11.BrickColor = BrickColor.new("Institutional white")
  792. la11.CanCollide = false
  793. la11.Locked = true
  794. la11.Transparency = 1
  795. la11.Parent = ZANOOB
  796. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.0075, 0.01),"rbxassetid://1279394898", la11)
  797. local la11w = makemotor(la11, la11, rightleg, ang(rd(0), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
  798. local la11 = Instance.new("Part")
  799. nooutline (la11)
  800. la11.Anchored = false
  801. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  802. la11.Name = "la11" -- Left Arm
  803. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  804. la11.BrickColor = BrickColor.new("Institutional white")
  805. la11.CanCollide = false
  806. la11.Locked = true
  807. la11.Transparency = 1
  808. la11.Parent = ZANOOB
  809. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
  810. local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
  811. local la11 = Instance.new("Part")
  812. nooutline (la11)
  813. la11.Anchored = false
  814. la11.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  815. la11.Name = "la11" -- Left Arm
  816. la11.Size = Vector3.new(0.2, 0.2, 0.2)
  817. la11.BrickColor = BrickColor.new("Institutional white")
  818. la11.CanCollide = false
  819. la11.Locked = true
  820. la11.Transparency = 1
  821. la11.Parent = ZANOOB
  822. local la11m = makemesh("FileMesh", Vector3.new(0.01, 0.01, 0.008),"rbxassetid://1279394898", la11)
  823. local la11w = makemotor(la11, la11, rightleg, ang(rd(90), rd(0), rd(90)) * cf(0.1, 0.1, 0), ang(rd(0), 0, 0))
  824. local la7 = Instance.new("Part")
  825. nooutline (la7)
  826. la7.Anchored = false
  827. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  828. la7.Name = "la7" -- LeftArm
  829. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  830. la7.BrickColor = BrickColor.new("Institutional white")
  831. la7.CanCollide = false
  832. la7.Locked = true
  833. la7.Transparency = 1
  834. la7.Parent = ZANOOB
  835. local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
  836. local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.81, 0), ang(rd(0), 0, 0))
  837. local la7 = Instance.new("Part")
  838. nooutline (la7)
  839. la7.Anchored = false
  840. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  841. la7.Name = "la7" -- LeftArm
  842. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  843. la7.BrickColor = BrickColor.new("Smoky grey")
  844. la7.CanCollide = false
  845. la7.Locked = true
  846. la7.Transparency = 1
  847. la7.Parent = ZANOOB
  848. local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
  849. local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(270)) * cf(0.39, 0.31, 0), ang(rd(0), 0, 0))
  850. local la7 = Instance.new("Part")
  851. nooutline (la7)
  852. la7.Anchored = false
  853. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  854. la7.Name = "la7" -- RightArm
  855. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  856. la7.BrickColor = BrickColor.new("Smoky grey")
  857. la7.CanCollide = false
  858. la7.Locked = true
  859. la7.Transparency = 1
  860. la7.Parent = ZANOOB
  861. local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
  862. local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(-270)) * cf(-0.39, 0.31, 0), ang(rd(0), 0, 0))
  863. local la7 = Instance.new("Part")
  864. nooutline (la7)
  865. la7.Anchored = false
  866. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  867. la7.Name = "la7" -- LeftArm
  868. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  869. la7.BrickColor = BrickColor.new("Institutional white")
  870. la7.CanCollide = false
  871. la7.Locked = true
  872. la7.Transparency = 1
  873. la7.Parent = ZANOOB
  874. local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
  875. local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.81, 0), ang(rd(0), 0, 0))
  876. local la7 = Instance.new("Part")
  877. nooutline (la7)
  878. la7.Anchored = false
  879. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  880. la7.Name = "la7" -- LeftArm
  881. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  882. la7.BrickColor = BrickColor.new("Institutional white")
  883. la7.CanCollide = false
  884. la7.Locked = true
  885. la7.Transparency = 1
  886. la7.Parent = ZANOOB
  887. local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
  888. local la7w = makemotor(la7, la7, rightleg, ang(rd(0), rd(0), rd(0)) * cf(0.1, 0.92, 0), ang(rd(0), 0, 0))
  889. local la7 = Instance.new("Part")
  890. nooutline (la7)
  891. la7.Anchored = false
  892. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  893. la7.Name = "la7" -- LeftArm
  894. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  895. la7.BrickColor = BrickColor.new("Institutional white")
  896. la7.CanCollide = false
  897. la7.Locked = true
  898. la7.Transparency = 1
  899. la7.Parent = ZANOOB
  900. local la7m = makemesh("FileMesh", Vector3.new(0.9, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
  901. local la7w = makemotor(la7, la7, leftleg, ang(rd(0), rd(0), rd(0)) * cf(-0.1, 0.92, 0), ang(rd(0), 0, 0))
  902. local la7 = Instance.new("Part")
  903. nooutline (la7)
  904. la7.Anchored = false
  905. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  906. la7.Name = "la7" -- LeftArm
  907. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  908. la7.BrickColor = BrickColor.new("Institutional white")
  909. la7.CanCollide = false
  910. la7.Locked = true
  911. la7.Transparency = 1
  912. la7.Parent = ZANOOB
  913. local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
  914. local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0))
  915. local la7 = Instance.new("Part")
  916. nooutline (la7)
  917. la7.Anchored = false
  918. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  919. la7.Name = "la7" -- LeftArm
  920. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  921. la7.BrickColor = BrickColor.new("Institutional white")
  922. la7.CanCollide = false
  923. la7.Locked = true
  924. la7.Transparency = 1
  925. la7.Parent = ZANOOB
  926. local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
  927. local la7w = makemotor(la7, la7, leftarm, ang(rd(0), rd(0), rd(-5)) * cf(0.3, -0.70, 0), ang(rd(0), 0, 0))
  928. local la7 = Instance.new("Part")
  929. nooutline (la7)
  930. la7.Anchored = false
  931. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  932. la7.Name = "la7" -- LeftArm
  933. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  934. la7.BrickColor = BrickColor.new("Institutional white")
  935. la7.CanCollide = false
  936. la7.Locked = true
  937. la7.Transparency = 1
  938. la7.Parent = ZANOOB
  939. local la7m = makemesh("FileMesh", Vector3.new(1.1, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
  940. local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(25)) * cf(0, -0.92, 0), ang(rd(0), 0, 0))
  941. local la7 = Instance.new("Part")
  942. nooutline (la7)
  943. la7.Anchored = false
  944. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  945. la7.Name = "la7" -- LeftArm
  946. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  947. la7.BrickColor = BrickColor.new("Institutional white")
  948. la7.CanCollide = false
  949. la7.Locked = true
  950. la7.Transparency = 1
  951. la7.Parent = ZANOOB
  952. local la7m = makemesh("FileMesh", Vector3.new(0.5, 0.2, 1.1),"rbxasset://fonts/leftarm.mesh", la7)
  953. local la7w = makemotor(la7, la7, rightarm, ang(rd(0), rd(0), rd(5)) * cf(-0.3, -0.70, 0), ang(rd(0), 0, 0))
  954. local la7 = Instance.new("Part")
  955. nooutline (la7)
  956. la7.Anchored = false
  957. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  958. la7.Name = "la7" -- LeftArm
  959. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  960. la7.BrickColor = BrickColor.new("Smoky grey")
  961. la7.CanCollide = false
  962. la7.Locked = true
  963. la7.Transparency = 1
  964. la7.Parent = ZANOOB
  965. local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
  966. local la7w = makemotor(la7, la7, leftleg, ang(rd(90), rd(0), rd(270)) * cf(-0.09, -0.2, 0.55), ang(rd(0), 0, 0))
  967. local la7 = Instance.new("Part")
  968. nooutline (la7)
  969. la7.Anchored = false
  970. la7.CFrame = rooto.CFrame * CFrame.new(0, 8, 1)
  971. la7.Name = "la7" -- LeftArm
  972. la7.Size = Vector3.new(0.2, 0.2, 0.2)
  973. la7.BrickColor = BrickColor.new("Smoky grey")
  974. la7.CanCollide = false
  975. la7.Locked = true
  976. la7.Transparency = 1
  977. la7.Parent = ZANOOB
  978. local la7m = makemesh("FileMesh", Vector3.new(0.007, 0.002, 0.005),"rbxassetid://430540268", la7)
  979. local la7w = makemotor(la7, la7, rightleg, ang(rd(90), rd(0), rd(270)) * cf(0.09, -0.2, 0.55), ang(rd(0), 0, 0))
  980. local raemblem = Instance.new("Part")
  981. nooutline(raemblem)
  982. raemblem.Anchored = false
  983. raemblem.CFrame = rooto.CFrame * CFrame.new(0, 2, 1)
  984. raemblem.Name = "raemblem"
  985. raemblem.Size = Vector3.new(0.2, 0.2, 0.2)
  986. raemblem.BrickColor = BrickColor.new("Bright yellow")
  987. raemblem.CanCollide = false
  988. raemblem.Locked = true
  989. raemblem.Material = "SmoothPlastic"
  990. raemblem.Transparency = 1
  991. raemblem.Parent = ZANOOB
  992. local raemblemm = makemesh("Brick", Vector3.new(0, 3, 3), nil, raemblem)
  993. local raemblemw = makemotor(raemblem, raemblem, rightarm, ang(rd(0.5), rd(0), rd(0)) * cf(-0.5, -0.5, 0), ang(rd(0), 0, 0))
  994. local emmes = Instance.new("Decal")
  995. emmes.Texture = "N/A"
  996. emmes.Transparency = 1
  997. emmes.Face = "Right"
  998. emmes.Name = "embe"
  999. emmes.Parent = raemblem
  1000. return ZANOOB
  1001. end
  1002. local thenoob = STANDO(hrp.CFrame * CFrame.new(0, 0, 0))
  1003. coroutine.resume(coroutine.create(function()
  1004. local rot = thenoob.HumanoidRootPart
  1005. repeat
  1006. swait()
  1007. rot.CFrame = rot.CFrame:lerp(wherto.CFrame * addcfr, 0.5)
  1008. until rot == nil
  1009. end))
  1010. local rot = thenoob.HumanoidRootPart
  1011. local ntorso = thenoob:FindFirstChild("Torso")
  1012. local rightarm = thenoob:FindFirstChild("Right Arm")
  1013. local leftarm = thenoob:FindFirstChild("Left Arm")
  1014. local leftleg = thenoob:FindFirstChild("Left Leg")
  1015. local rightleg = thenoob:FindFirstChild("Right Leg")
  1016. local head = thenoob:FindFirstChild("Head")
  1017. local face = head:FindFirstChild("face")
  1018. local emblem = thenoob:FindFirstChild("raemblem"):FindFirstChild("embe")
  1019. local embpart = thenoob:FindFirstChild("raemblem")
  1020. local nRJ = rot:FindFirstChild("RootJoint")
  1021. local nN = ntorso:FindFirstChild("Neck")
  1022. local nRS = ntorso:FindFirstChild("Right Shoulder")
  1023. local nLS = ntorso:FindFirstChild("Left Shoulder")
  1024. local nRH = ntorso:FindFirstChild("Right Hip")
  1025. local nLH = ntorso:FindFirstChild("Left Hip")
  1026. function standappear(nbz)
  1027. if selected == false or activu == true then
  1028. return
  1029. end
  1030. if appeared == false then
  1031. appeared = true
  1032. wherto = hrp
  1033. addcfr = cf(-2, 1, 2)
  1034. local apear = Instance.new("Sound")
  1035. apear.SoundId = "rbxassetid://3373995015"
  1036. apear.Parent = rot
  1037. apear.Volume = 2
  1038. game.Debris:AddItem(apear, 1.5)
  1039. apear:Play()
  1040. for _, n in pairs(nbz:GetChildren()) do
  1041. coroutine.resume(coroutine.create(function()
  1042. for _ = 1, 5 do
  1043. if n ~= rot and n ~= embpart and n.ClassName ~= "Sound" then
  1044. swait()
  1045. n.Transparency = n.Transparency - 0.2
  1046. face.Transparency = face.Transparency - 0.2
  1047. emblem.Transparency = emblem.Transparency - 0.2
  1048. end
  1049. end
  1050. if n ~= rot and n ~= embpart then
  1051. n.Transparency = 0
  1052. end
  1053. face.Transparency = 0
  1054. emblem.Transparency = 0
  1055. end))
  1056. end
  1057. elseif appeared == true then
  1058. appeared = false
  1059. wherto = hrp
  1060. addcfr = cf(0, 0, 0)
  1061. for _, n in pairs(nbz:GetChildren()) do
  1062. coroutine.resume(coroutine.create(function()
  1063. for _ = 1, 5 do
  1064. if n ~= rot and n ~= embpart then
  1065. swait()
  1066. n.Transparency = n.Transparency + 0.2
  1067. face.Transparency = face.Transparency + 0.2
  1068. emblem.Transparency = emblem.Transparency + 0.2
  1069. end
  1070. end
  1071. if n ~= rot and n ~= embpart then
  1072. n.Transparency = 1
  1073. end
  1074. face.Transparency = 1
  1075. emblem.Transparency = 1
  1076. end))
  1077. end
  1078. end
  1079. end
  1080. function THREATENING()
  1081. if selected == false or activu == true then
  1082. return
  1083. end
  1084. if POSU == false then
  1085. POSU = true
  1086. local d = Instance.new("ParticleEmitter")
  1087. d.Name = "MENACINGU"
  1088. d.Lifetime = NumberRange.new(1)
  1089. d.Rate = 2
  1090. d.Texture = "rbxassetid://298768656"
  1091. d.VelocitySpread = 60
  1092. d.Parent = tors
  1093. human:SetStateEnabled(3, false)
  1094. local randomoth = math.random(1)
  1095. if randomoth == 1 then
  1096. repeat
  1097. swait()
  1098. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.05) * ang(rd(-5), rd(0), rd(-30)), 0.3)
  1099. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(10)), 0.3)
  1100. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(10)), 0.3)
  1101. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1102. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(-10)), 0.3)
  1103. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1104. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(0)), 0.3)
  1105. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1106. lerpz(LH, "C0", LHC0 * cf(0.3, 0.1, -0.15) * ang(rd(-20), rd(50), rd(10)), 0.3)
  1107. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3)
  1108. until POSU == false
  1109. elseif randomoth == 2 then
  1110. repeat
  1111. swait()
  1112. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-2), rd(25)), 0.3)
  1113. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(0), rd(-50)), 0.3)
  1114. lerpz(RS, "C0", RSC0 * cf(-0.25, 0.3, -0.5) * ang(rd(-30), rd(-15), rd(200)), 0.3)
  1115. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1116. lerpz(LS, "C0", LSC0 * cf(0.25, 0.3, -0.5) * ang(rd(-32), rd(13), rd(-195)), 0.3)
  1117. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1118. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-15), rd(-10)), 0.3)
  1119. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1120. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-10)), 0.3)
  1121. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1122. until POSU == false
  1123. end
  1124. elseif POSU == true then
  1125. POSU = false
  1126. human:SetStateEnabled(3, true)
  1127. tors.MENACINGU:Destroy()
  1128. activu = true
  1129. activu = false
  1130. end
  1131. end
  1132. local EHMMM = 0
  1133. function block()
  1134. if EHMMM == 50 or selected == false or activu == true then
  1135. return
  1136. end
  1137. if appeared == false then
  1138. standappear(thenoob)
  1139. end
  1140. wherto = hrp
  1141. addcfr = cf(0, 0, -3)
  1142. local bep = true
  1143. local humanshealth = human.Health
  1144. activu = true
  1145. human:SetStateEnabled(15, false)
  1146. local de = mouse.KeyUp:connect(function(key)
  1147. if key == "e" then
  1148. bep = false
  1149. end
  1150. end)
  1151. local poopes = 0
  1152. repeat
  1153. swait()
  1154. poopes = poopes + 1
  1155. human.Health = humanshealth
  1156. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(0)), 0.5)
  1157. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(7), rd(0), rd(0)), 0.5)
  1158. lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(110), rd(160)), 0.5)
  1159. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)
  1160. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-110), rd(-160)), 0.5)
  1161. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.5)
  1162. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1163. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1164. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1165. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1166. until bep == false or poopes > 240
  1167. de:Disconnect()
  1168. human:SetStateEnabled(15, true)
  1169. activu = false
  1170. EHMMM = 50
  1171. coroutine.resume(coroutine.create(function()
  1172. wait(7)
  1173. EHMMM = 0
  1174. end))
  1175. wherto = hrp
  1176. addcfr = cf(-2, 1, 2)
  1177. end
  1178. function MUDA()
  1179. if selected == false or activu == true then
  1180. return
  1181. end
  1182. if appeared == false then
  1183. standappear(thenoob)
  1184. wherto = hrp
  1185. addcfr = cf(0, 0, -3.5)
  1186. end
  1187. wry:Stop()
  1188. local bep = true
  1189. activu = true
  1190. wherto = hrp
  1191. addcfr = cf(0, 0, -3.5)
  1192. local function blur(limb)
  1193. coroutine.resume(coroutine.create(function()
  1194. local memedon = {}
  1195. for i = 1, 6 do
  1196. local b1 = Instance.new("Part")
  1197. nooutline(b1)
  1198. b1.Size = Vector3.new(1, 2, 1)
  1199. b1.CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10)
  1200. b1.CanCollide = false
  1201. b1.BrickColor = limb.BrickColor
  1202. b1.Anchored = true
  1203. b1.Transparency = 0.7
  1204. b1.Locked = true
  1205. b1.Parent = modz
  1206. table.insert(memedon, b1)
  1207. end
  1208. local num = 0
  1209. repeat
  1210. swait()
  1211. num = num % 6 + 1
  1212. memedon[num].CFrame = limb.CFrame * CFrame.new(rd2(-5, 5) / 10, rd2(-5, 5) / 10, rd2(-5, 5) / 10)
  1213. until bep == false
  1214. for i = 1, #memedon do
  1215. swait()
  1216. memedon[i]:Destroy()
  1217. end
  1218. end))
  1219. end
  1220. local de = mouse.KeyUp:connect(function(key)
  1221. if key == "r" then
  1222. bep = false
  1223. end
  1224. end)
  1225. blur(rightarm)
  1226. blur(leftarm)
  1227. local mudodo = Instance.new("Sound")
  1228. mudodo.Volume = 2
  1229. mudodo.SoundId = "rbxassetid://220025689"
  1230. mudodo.Looped = true
  1231. mudodo.Parent = hrp
  1232. mudodo:Play()
  1233. repeat
  1234. for _ = 1, 2 do
  1235. swait()
  1236. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(4), rd(4), rd(30)), 0.85)
  1237. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-28)), 0.85)
  1238. lerpz(nRS, "C0", RSC0 * cf(0.5, 0.25, -0.1) * ang(rd(20), rd(20), rd(105)), 0.85)
  1239. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1240. lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(30), rd(10), rd(-70)), 0.85)
  1241. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1242. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
  1243. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1244. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
  1245. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1246. end
  1247. hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
  1248. for _ = 1, 2 do
  1249. swait()
  1250. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(-30)), 0.85)
  1251. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2), rd(0), rd(31)), 0.85)
  1252. lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(-10), rd(-30), rd(75)), 0.85)
  1253. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1254. lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(10), rd(-70)), 0.85)
  1255. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1256. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
  1257. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1258. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
  1259. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1260. end
  1261. hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
  1262. for _ = 1, 2 do
  1263. swait()
  1264. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(3), rd(3), rd(32)), 0.85)
  1265. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(-29)), 0.85)
  1266. lerpz(nRS, "C0", RSC0 * cf(0.35, 0.25, 0.1) * ang(rd(-10), rd(-20), rd(95)), 0.85)
  1267. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1268. lerpz(nLS, "C0", LSC0 * cf(0.25, 0.1, 0) * ang(rd(-10), rd(10), rd(-80)), 0.85)
  1269. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1270. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
  1271. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1272. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.85)
  1273. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1274. end
  1275. hito(rightarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
  1276. for _ = 1, 2 do
  1277. swait()
  1278. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(3), rd(-40)), 0.85)
  1279. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(-2), rd(35)), 0.85)
  1280. lerpz(nRS, "C0", RSC0 * cf(-0.1, 0.05, -0.1) * ang(rd(20), rd(-30), rd(65)), 0.85)
  1281. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1282. lerpz(nLS, "C0", LSC0 * cf(-0.5, 0.1, -0.2) * ang(rd(-30), rd(30), rd(-75)), 0.85)
  1283. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1284. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
  1285. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1286. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.85)
  1287. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.85)
  1288. end
  1289. hito(leftarm, 3.3, 5, 0.01, rot.CFrame.lookVector * 5)
  1290. until bep == false or 0 >= human.Health
  1291. de:Disconnect()
  1292. mudodo:Stop()
  1293. wry:Play()
  1294. for _ = 1, 6 do
  1295. swait()
  1296. lerpz(nRJ, "C0", RJC0 * cf(0, 1.25, 0) * ang(rd(0), rd(4), rd(-85)), 0.75)
  1297. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(75)), 0.75)
  1298. lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.75)
  1299. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1300. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
  1301. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1302. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
  1303. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1304. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
  1305. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1306. end
  1307. for _ = 1, 7 do
  1308. swait()
  1309. hito(rightarm, 3, 20, 0.35, rot.CFrame.lookVector * 50)
  1310. lerpz(nRJ, "C0", RJC0 * cf(0, -1, 0) * ang(rd(0), rd(10), rd(75)), 0.75)
  1311. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-65)), 0.75)
  1312. lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-60), rd(100)), 0.75)
  1313. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.75)
  1314. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.75)
  1315. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1316. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.75)
  1317. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1318. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.75)
  1319. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1320. end
  1321. swait(5)
  1322. wherto = hrp
  1323. mudodo:Destroy()
  1324. addcfr = cf(-2, 1, 2)
  1325. activu = false
  1326. end
  1327. function cability()
  1328. if selected == false or activu == true then
  1329. return
  1330. end
  1331. if appeared == false then
  1332. standappear(thenoob)
  1333. wherto = hrp
  1334. addcfr = cf(0, 0, -3.75)
  1335. end
  1336. activu = true
  1337. wherto = hrp
  1338. addcfr = cf(0, 0, -3.5)
  1339. local ZAWRUA = Instance.new("Sound")
  1340. ZAWRUA.SoundId = "rbxassetid://3373975760"
  1341. ZAWRUA.Volume = 2
  1342. ZAWRUA.Parent = hrp
  1343. ZAWRUA:Play()
  1344. game.Debris:AddItem(ZAWRUA, 2.5)
  1345. local wate = Instance.new("Part")
  1346. nooutline(wate)
  1347. wate.Size = Vector3.new(0, 0, 0)
  1348. wate.Material = "Neon"
  1349. wate.Transparency = 1
  1350. wate.BrickColor = BrickColor.new("Institutional white")
  1351. wate.CFrame = rightarm.CFrame * cf(0, -1.5, 0)
  1352. wate.Anchored = true
  1353. wate.CanCollide = false
  1354. wate.Parent = modz
  1355. local wmesh = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wate)
  1356. coroutine.resume(coroutine.create(function()
  1357. repeat
  1358. swait()
  1359. wate.CFrame = rightarm.CFrame * cf(0, 0, 0)
  1360. wmesh.Scale = wmesh.Scale:lerp(Vector3.new(0, 0, 0), 0.5)
  1361. until not wate
  1362. end))
  1363. coroutine.resume(coroutine.create(function()
  1364. local pt = {}
  1365. for _ = 1, 10 do
  1366. local wp = Instance.new("Part")
  1367. nooutline(wp)
  1368. wp.Size = Vector3.new(0, 0, 0)
  1369. wp.Material = "Neon"
  1370. wp.Transparency = 1
  1371. wp.BrickColor = BrickColor.new("Institutional white")
  1372. wp.CFrame = wate.CFrame * ang(rd2(-100, 100) / 1000, rd2(-100, 100) / 1000, rd2(-100, 100) / 1000) * cf(0, -0.25, 0)
  1373. wp.Anchored = true
  1374. wp.CanCollide = false
  1375. wp.Parent = modz
  1376. local wmz = makemesh("Sphere", Vector3.new(0, 0, 0), nil, wp)
  1377. table.insert(pt, wp)
  1378. table.insert(pt, wmz)
  1379. end
  1380. for m = 1, 45 do
  1381. for _, hey in pairs(pt) do
  1382. if hey.ClassName == "SpecialMesh" then
  1383. hey.Scale = hey.Scale + Vector3.new(0, 0, 0)
  1384. elseif hey.ClassName == "Part" then
  1385. hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0)
  1386. hey.Transparency = hey.Transparency - 0.015
  1387. end
  1388. end
  1389. end
  1390. for m = 45, 50 do
  1391. swait()
  1392. for _, hey in pairs(pt) do
  1393. if hey.ClassName == "SpecialMesh" then
  1394. hey.Scale = hey.Scale + Vector3.new(0, 0, 0)
  1395. elseif hey.ClassName == "Part" then
  1396. hey.CFrame = wate.CFrame * ang(rd(rd2(-360, 360)), rd(rd2(-360, 360)), rd(rd2(-360, 360))) * cf(0, -m / 25, 0)
  1397. hey.Transparency = hey.Transparency + 0.2
  1398. end
  1399. end
  1400. end
  1401. for _, AAA in pairs(pt) do
  1402. if AAA.ClassName == "Part" then
  1403. AAA:Destroy()
  1404. end
  1405. end
  1406. end))
  1407. for _ = 1, 10 do
  1408. swait()
  1409. wmesh.Scale = Vector3.new(9, 9, 9)
  1410. wate.Transparency = wate.Transparency - 0.008
  1411. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-125)), 0.2)
  1412. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(115)), 0.2)
  1413. lerpz(nRS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(-15, -5)), rd(rd2(-25, -15)), rd(rd2(95, 105))), 0.2)
  1414. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1415. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.2)
  1416. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1417. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.2)
  1418. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1419. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.2)
  1420. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1421. end
  1422. local pooo = Instance.new("Sound")
  1423. pooo.SoundId = "rbxassetid://3939937734"
  1424. pooo.Volume = 0.5
  1425. pooo.Parent = hrp
  1426. pooo:Play()
  1427. game.Debris:AddItem(pooo, 2.5)
  1428. for _ = 1, 1 do
  1429. swait()
  1430. wate.Transparency = wate.Transparency + 0.15
  1431. lerpz(nRJ, "C0", RJC0 * cf(0, -2, 0) * ang(rd(0), rd(10), rd(35)), 0.5)
  1432. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(-7), rd(-30)), 0.5)
  1433. lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(10), rd(-80), rd(100)), 0.5)
  1434. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
  1435. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
  1436. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1437. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
  1438. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1439. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5)
  1440. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1441. end
  1442. local swoo = Instance.new("Part")
  1443. nooutline(swoo)
  1444. swoo.Size = Vector3.new(0.2, 0.2, 0.2)
  1445. swoo.Material = "Neon"
  1446. swoo.Transparency = 0.2
  1447. swoo.BrickColor = BrickColor.new("Institutional white")
  1448. swoo.CFrame = rightarm.CFrame * ang(rd(0), rd(15), rd(240)) * cf(1.5, -2.5, 0)
  1449. swoo.Anchored = true
  1450. swoo.CanCollide = false
  1451. swoo.Parent = modz
  1452. local wmesh = makemesh("FileMesh", Vector3.new(0.013333333333333334, 0.015384615384615385, 0.025), "rbxassetid://576041905", swoo)
  1453. local pli = Instance.new("PointLight")
  1454. pli.Brightness = 0
  1455. pli.Color = Color3.new(0.45098039215686275, 1, 0)
  1456. pli.Range = 10
  1457. pli.Shadows = true
  1458. pli.Parent = swoo
  1459. hito(swoo, 5, 50, 0.15, rot.CFrame.lookVector * 10)
  1460. tagability(swoo, 4)
  1461. for _ = 1, 10 do
  1462. swait()
  1463. wate.Transparency = wate.Transparency + 0.05
  1464. swoo.Transparency = swoo.Transparency + 0.075
  1465. pli.Range = pli.Range - 1
  1466. lerpz(nRJ, "C0", RJC0 * cf(0, -3, 0) * ang(rd(25), rd(0), rd(25)), 0.5)
  1467. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(-25), rd(0), rd(-25)), 0.5)
  1468. lerpz(nRS, "C0", RSC0 * cf(0.75, 0, 0.25) * ang(rd(90), rd(-30), rd(100)), 0.5)
  1469. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
  1470. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
  1471. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1472. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
  1473. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1474. lerpz(nLH, "C0", LHC0 * cf(-0.3, 0.7, -0.2) * ang(rd(-10), rd(10), rd(5)), 0.5)
  1475. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1476. end
  1477. wate:Destroy()
  1478. swoo:Destroy()
  1479. pli:Destroy()
  1480. swait(0)
  1481. wherto = hrp
  1482. addcfr = cf(-2, 1, 2)
  1483. activu = false
  1484. end
  1485. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=188959462")
  1486. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616594208")
  1487. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=616576400")
  1488. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=291088606")
  1489. function THEBEST()
  1490. if selected == false or activu == true or appeared == true or POSU == true then
  1491. return
  1492. end
  1493. local dipperhat = chr:FindFirstChild("DXD_DipperHat")
  1494. local dipperrot
  1495. if dipperhat then
  1496. dipperrot = dipperhat.Handle.HatAttachment.Rotation
  1497. end
  1498. activu = true
  1499. POSU = true
  1500. cam.CameraType = "Scriptable"
  1501. chr.PrimaryPart = hrp
  1502. human:SetStateEnabled(3, false)
  1503. local actmus1 = Instance.new("Sound")
  1504. actmus1.SoundId = "rbxassetid://188959462"
  1505. actmus1.Volume = 1.5
  1506. actmus1.RollOffMode = 1
  1507. actmus1.TimePosition = 0
  1508. actmus1.Parent = cam
  1509. local actmus2 = Instance.new("Sound")
  1510. actmus2.SoundId = "rbxassetid://188959462"
  1511. actmus2.Volume = 1.5
  1512. actmus2.RollOffMode = 1
  1513. actmus2.TimePosition = 0
  1514. actmus2.Parent = hrp
  1515. actmus1:Play()
  1516. actmus2:Play()
  1517. local mus1 = Instance.new("Sound")
  1518. mus1.SoundId = "rbxassetid://616594208"
  1519. mus1.Volume = 1.25
  1520. mus1.TimePosition = 0.45
  1521. mus1.Parent = cam
  1522. local mus2 = Instance.new("Sound")
  1523. mus2.SoundId = "rbxassetid://616594208"
  1524. mus2.Volume = 1.25
  1525. mus2.TimePosition = 0.45
  1526. mus2.Parent = hrp
  1527. local zawarudoda = Instance.new("Sound")
  1528. zawarudoda.SoundId = "rbxassetid://616576400"
  1529. zawarudoda.Volume = 2
  1530. zawarudoda.TimePosition = 0.3
  1531. zawarudoda.Parent = hrp
  1532. mus1:Play()
  1533. mus2:Play()
  1534. cam.CoordinateFrame = hrp.CFrame * ang(rd(20), rd(100), rd(0)) * cf(0, 0, 7)
  1535. local regface = hed.face.Texture
  1536. local whogothit, bodyvel
  1537. local function checkhit(partoz, magn)
  1538. for _, guy in pairs(workspace:GetChildren()) do
  1539. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and not whogothit then
  1540. whogothit = guy
  1541. guy:FindFirstChild("Humanoid").PlatformStand = true
  1542. do
  1543. local derp = Instance.new("BodyPosition")
  1544. derp.MaxForce = Vector3.new(999999999999, 999999999999, 999999999999)
  1545. derp.P = 8000
  1546. derp.D = 500
  1547. derp.Position = hrp.Position + hrp.CFrame.lookVector * 20
  1548. derp.Parent = guy:FindFirstChild("HumanoidRootPart")
  1549. bodyvel = derp
  1550. local derp2 = Instance.new("BodyAngularVelocity")
  1551. derp2.MaxTorque = Vector3.new(999999999999, 999999999999, 999999999999)
  1552. derp2.P = 8000
  1553. derp2.AngularVelocity = Vector3.new(rd2(2, 4), rd2(50, 100), 0)
  1554. derp2.Parent = guy:FindFirstChild("HumanoidRootPart")
  1555. delay(0.1, function()
  1556. derp2:Destroy()
  1557. end)
  1558. bodyvel = derp
  1559. end
  1560. end
  1561. end
  1562. end
  1563. coroutine.resume(coroutine.create(function()
  1564. for _ = 1, 25 do
  1565. swait()
  1566. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3)
  1567. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(10), rd(20)), 0.3)
  1568. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3)
  1569. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1570. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
  1571. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1572. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3)
  1573. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1574. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
  1575. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1576. end
  1577. for _ = 1, 20 do
  1578. swait()
  1579. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(-5), rd(-20)), 0.3)
  1580. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(10), rd(20)), 0.3)
  1581. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(30), rd(-30)), 0.3)
  1582. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1583. lerpz(LS, "C0", LSC0 * cf(0, 0, 0.4) * ang(rd(70), rd(-60), rd(-100)), 0.3)
  1584. if dipperhat then
  1585. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, -40, 0), 0.3)
  1586. end
  1587. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1588. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-20)), 0.3)
  1589. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1590. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
  1591. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1592. end
  1593. end))
  1594. repeat
  1595. swait()
  1596. cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(1), rd(0)) * cf(0.15, 0, 0)
  1597. until mus1.TimePosition > 2.9
  1598. mus1:Pause()
  1599. mus2:Pause()
  1600. zawarudoda:Play()
  1601. coroutine.resume(coroutine.create(function()
  1602. for _ = 1, 7 do
  1603. swait()
  1604. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(-5)), 0.4)
  1605. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(2), rd(0)), 0.3)
  1606. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(80)), 0.3)
  1607. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1608. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(-70)), 0.3)
  1609. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1610. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.3)
  1611. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1612. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(10)), 0.3)
  1613. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1614. end
  1615. for _ = 1, 16 do
  1616. swait()
  1617. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.4)
  1618. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(8), rd(0)), 0.3)
  1619. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-80), rd(80)), 0.3)
  1620. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1621. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(80), rd(-70)), 0.3)
  1622. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1623. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-15)), 0.3)
  1624. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1625. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(15)), 0.3)
  1626. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1627. end
  1628. end))
  1629. repeat
  1630. swait()
  1631. until zawarudoda.TimePosition > 1.4
  1632. zawarudoda:Pause()
  1633. activu = false
  1634. standappear(thenoob)
  1635. wherto = hrp
  1636. addcfr = cf(3, 0.25, -1.5)
  1637. activu = true
  1638. cam.CoordinateFrame = hrp.CFrame * ang(rd(-25), rd(0), rd(0)) * cf(0, 2, 3)
  1639. for _ = 1, 10 do
  1640. swait()
  1641. cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 1.5)
  1642. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(-75)), 0.5)
  1643. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(45)), 0.5)
  1644. lerpz(nRS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(-15, -5)), rd(rd2(-25, -15)), rd(rd2(95, 105))), 0.5)
  1645. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1646. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.5)
  1647. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1648. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.5)
  1649. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1650. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.5)
  1651. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1652. end
  1653. wherto = hrp
  1654. addcfr = cf(-3, 0.25, -1.5)
  1655. for _ = 1, 25 do
  1656. swait()
  1657. checkhit(rightarm, 3)
  1658. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(4), rd(105)), 0.4)
  1659. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(3), rd(-45)), 0.4)
  1660. lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(100)), 0.4)
  1661. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1662. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-25), rd(10), rd(10)), 0.4)
  1663. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1664. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-5)), 0.4)
  1665. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1666. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(5)), 0.4)
  1667. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  1668. end
  1669. if whogothit then
  1670. print("derp")
  1671. cam.CoordinateFrame = hrp.CFrame * ang(rd(15), rd(140), rd(0)) * cf(0, 1, 4)
  1672. local laugo = Instance.new("Sound")
  1673. laugo.SoundId = "rbxassetid://291088606"
  1674. laugo.Volume = 1.5
  1675. laugo.Parent = hrp
  1676. game.Debris:AddItem(laugo, 2.5)
  1677. laugo:Play()
  1678. local sda = 0
  1679. local chn = 2
  1680. local cs = math.cos
  1681. for D = 1, 60 do
  1682. swait()
  1683. cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.15)
  1684. sda = sda + chn
  1685. lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 1 * cs(sda / 2)) * ang(rd(-40), rd(0), rd(-5)), 0.8 / D)
  1686. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-60 + 40 * cs(sda / 2)), rd(8), rd(0)), 0.8 / D)
  1687. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(10), rd(-110 + 80 * cs(sda / 2)), rd(80)), 0.8 / D)
  1688. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
  1689. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(110 + 80 * cs(sda / 2)), rd(-70)), 0.8 / D)
  1690. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
  1691. lerpz(RH, "C0", RHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(-10), rd(-40)), 0.8 / D)
  1692. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
  1693. lerpz(LH, "C0", LHC0 * cf(0, -1 * cs(sda / 2), 0) * ang(rd(-10), rd(10), rd(40)), 0.8 / D)
  1694. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8 / D)
  1695. end
  1696. hed.face.Texture = "rbxassetid://176777497"
  1697. mus1.TimePosition = 2.75
  1698. mus1:Play()
  1699. for C = 1, 30 do
  1700. swait()
  1701. cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, -(0.02 + C / 60))
  1702. sda = sda + chn
  1703. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.05 + C / 31)
  1704. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.05 + C / 31)
  1705. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.05 + C / 31)
  1706. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
  1707. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.05 + C / 31)
  1708. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
  1709. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.05 + C / 31)
  1710. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
  1711. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.05 + C / 31)
  1712. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + C / 31)
  1713. end
  1714. for _ = 1, 5 do
  1715. swait()
  1716. cam.CoordinateFrame = cam.CoordinateFrame * ang(rd(0), rd(0), rd(0)) * cf(0, 0, 0.02)
  1717. sda = sda + chn
  1718. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(20), rd(0), rd(-5)), 0.5)
  1719. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.5)
  1720. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.5)
  1721. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1722. lerpz(LS, "C0", LSC0 * cf(0, 0.25, 0) * ang(rd(60), rd(-60), rd(-100)), 0.5)
  1723. if dipperhat then
  1724. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.5)
  1725. end
  1726. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1727. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(20)), 0.5)
  1728. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1729. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(20)), 0.5)
  1730. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1731. end
  1732. wait(2)
  1733. elseif whogothit == nil then
  1734. print("noderp")
  1735. end
  1736. human:SetStateEnabled(3, true)
  1737. activu = false
  1738. standappear(thenoob)
  1739. activu = true
  1740. if dipperhat then
  1741. dipperhat.Handle.HatAttachment.Rotation = dipperrot
  1742. end
  1743. actmus1:Destroy()
  1744. actmus2:Destroy()
  1745. bast:Play()
  1746. if bodyvel then
  1747. bodyvel:Destroy()
  1748. end
  1749. cam.CameraType = "Custom"
  1750. hed.face.Texture = regface
  1751. chr.PrimaryPart = head
  1752. activu = false
  1753. POSU = false
  1754. end
  1755. function hito(partoz, magn, dmg, debtim, bodyfdire)
  1756. for _, guy in pairs(workspace:GetChildren()) do
  1757. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  1758. do
  1759. local humz = guy:FindFirstChild("Humanoid")
  1760. local horp = guy:FindFirstChild("HumanoidRootPart")
  1761. TakeDamage(humz, dmg)
  1762. local db = Instance.new("StringValue")
  1763. db.Name = "alabo"
  1764. db.Parent = horp
  1765. delay(debtim, function()
  1766. db:Destroy()
  1767. end)
  1768. local b = Instance.new("Part")
  1769. nooutline(b)
  1770. b.Size = Vector3.new(0.2, 0.2, 0.2)
  1771. b.Transparency = 0.25
  1772. b.Anchored = true
  1773. b.CanCollide = false
  1774. b.BrickColor = BrickColor.new("Institutional white")
  1775. b.Locked = true
  1776. b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
  1777. b.Parent = modz
  1778. local c = Instance.new("SpecialMesh")
  1779. c.MeshType = "Sphere"
  1780. c.Scale = Vector3.new(3.5, 3.5, 3.5)
  1781. c.Parent = b
  1782. game.Debris:AddItem(b, 1)
  1783. if bodyfdire then
  1784. local boopyve = Instance.new("BodyVelocity")
  1785. boopyve.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1786. boopyve.P = math.huge
  1787. boopyve.Velocity = bodyfdire
  1788. boopyve.Parent = horp
  1789. game.Debris:AddItem(boopyve, debtim)
  1790. end
  1791. local bet = Instance.new("Sound")
  1792. bet.Pitch = rd2(9, 11) / 10
  1793. bet.Volume = rd2(12, 14) / 10
  1794. bet.SoundId = "rbxassetid://165604684"
  1795. bet.Parent = b
  1796. bet:Play()
  1797. coroutine.resume(coroutine.create(function()
  1798. for _ = 1, 5 do
  1799. swait()
  1800. b.Transparency = b.Transparency + 0.15
  1801. c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
  1802. end
  1803. end))
  1804. end
  1805. end
  1806. end
  1807. end
  1808. function tagability(partoz, magn)
  1809. for _, guy in pairs(workspace:GetChildren()) do
  1810. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("derbaba") == nil and guy:FindFirstChildOfClass("ForceField") == nil then
  1811. do
  1812. local humz = guy:FindFirstChild("Humanoid")
  1813. humz.PlatformStand = true
  1814. delay(1, function()
  1815. humz.PlatformStand = false
  1816. end)
  1817. coroutine.resume(coroutine.create(function()
  1818. if aL then
  1819. aL.Name = "Right Arm"
  1820. wait()
  1821. end
  1822. if bL then
  1823. bL.Name = "Left Leg"
  1824. wait()
  1825. end
  1826. if cL then
  1827. cL.Name = "Left Arm"
  1828. wait()
  1829. end
  1830. if dL then
  1831. dL.Name = "Right Leg"
  1832. end
  1833. end))
  1834. end
  1835. end
  1836. end
  1837. end
  1838. mouse.KeyDown:connect(function(key)
  1839. if human.Health <= 0 then
  1840. return
  1841. end
  1842. if key == "f" then
  1843. standappear(thenoob)
  1844. end
  1845. if key == "r" then
  1846. MUDA()
  1847. end
  1848. if key == "e" then
  1849. block()
  1850. end
  1851. if key == "q" then
  1852. cability()
  1853. end
  1854. if key == "m" and plr.UserId then
  1855. THEBEST()
  1856. end
  1857. if key == "j" then
  1858. THREATENING()
  1859. end
  1860. if key == "k" then
  1861. konodioda:Play()
  1862. end
  1863. if key == "l" then
  1864. bast:Play()
  1865. end
  1866. if key == "p" then
  1867. zaworld:Play()
  1868. end
  1869. if key == "m" then
  1870. bast:Stop()
  1871. end
  1872. end)
  1873. tool.Equipped:connect(function()
  1874. selected = true
  1875. end)
  1876. tool.Unequipped:connect(function()
  1877. selected = false
  1878. end)
  1879. sine = 0
  1880. charge = 1
  1881. cos = math.cos
  1882. game:GetService("RunService").RenderStepped:connect(function()
  1883. if POSU == false then
  1884. local checkfloor = Ray.new(hrp.Position, hrp.CFrame.upVector * -4)
  1885. local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
  1886. local checkstate = human:GetState()
  1887. if checkstate.Value == 13 then
  1888. animpose = "Sitting"
  1889. elseif hrp.Velocity.y > 1 and checkpart == nil then
  1890. animpose = "Jumping"
  1891. elseif hrp.Velocity.y < -1 and checkpart == nil then
  1892. animpose = "Falling"
  1893. elseif 1 > (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude then
  1894. animpose = "Idle"
  1895. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 35 then
  1896. animpose = "Walking"
  1897. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 35 then
  1898. animpose = "TooFast"
  1899. end
  1900. if animpose == "Idle" then
  1901. sine = sine + charge
  1902. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3)
  1903. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3)
  1904. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 60)), rd(2 - 2 * cos(sine / 60)), rd(2 * cos(sine / 60))), 0.3)
  1905. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1906. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 60)), rd(-2 - 2 * cos(sine / 60)), rd(2 * cos(sine / 60))), 0.3)
  1907. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1908. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-3 - 1 * cos(sine / 60)), rd(-5 - 1 * cos(sine / 60)), rd(1 * cos(sine / 60))), 0.3)
  1909. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1910. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-3 - 1 * cos(sine / 60)), rd(5 - 1 * cos(sine / 60)), rd(1 * cos(sine / 60))), 0.3)
  1911. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1912. end
  1913. if animpose == "Walking" then
  1914. sine = sine + charge
  1915. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.03 * cos(sine / 60)) * ang(rd(0), rd(0), rd(0)), 0.3)
  1916. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(3 - 3 * cos(sine / 60)), rd(0), rd(0)), 0.3)
  1917. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 60)), rd(2 - 2 * cos(sine / 60)), rd(30 * cos(sine / 10))), 0.3)
  1918. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1919. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 60)), rd(-2 - 2 * cos(sine / 60)), rd(30 * cos(sine / 10))), 0.3)
  1920. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1921. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-30 * cos(sine / 10))), 0.6)
  1922. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1923. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-30 * cos(sine / 10))), 0.6)
  1924. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1925. end
  1926. if animpose == "Jumping" then
  1927. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.3)
  1928. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
  1929. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3)
  1930. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1931. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3)
  1932. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1933. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-10)), 0.3)
  1934. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1935. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(20)), 0.3)
  1936. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1937. end
  1938. if animpose == "Falling" then
  1939. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(0)), 0.3)
  1940. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3)
  1941. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(7), rd(-5), rd(2)), 0.3)
  1942. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1943. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(7), rd(5), rd(-3)), 0.3)
  1944. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1945. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3)
  1946. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1947. lerpz(LH, "C0", LHC0 * cf(-0.65, 0.75, 0) * ang(rd(0), rd(0), rd(20)), 0.3)
  1948. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1949. end
  1950. if animpose == "TooFast" then
  1951. lerpz(RJ, "C0", RJC0 * cf(0, 0, -1.5) * ang(rd(20), rd(0), rd(0)), 0.3)
  1952. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.3)
  1953. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(-10), rd(-10)), 0.3)
  1954. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1955. lerpz(LS, "C0", LSC0 * cf(0, -0.75, 0) * ang(rd(10), rd(-80), rd(-10)), 0.3)
  1956. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.3)
  1957. lerpz(RH, "C0", RHC0 * cf(0.75, 1.5, 0) * ang(rd(0), rd(0), rd(30)), 0.3)
  1958. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1959. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(50)), 0.3)
  1960. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1961. end
  1962. if animpose == "Sitting" then
  1963. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1964. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1965. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1966. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1967. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1968. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1969. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1970. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1971. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1972. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1973. end
  1974. end
  1975. if appeared == false and activu == false then
  1976. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1977. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1978. lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1979. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1980. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1981. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1982. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1983. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1984. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1985. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1986. elseif appeared == true and activu == false then
  1987. sine = sine + charge
  1988. lerpz(nRJ, "C0", RJC0 * cf(0, 0, 0.05 * cos(sine / 90)) * ang(rd(1 - 1 * cos(sine / 90)), rd(0), rd(-5)), 0.3)
  1989. lerpz(nN, "C0", NC0 * cf(0, 0, 0) * ang(rd(2 - 2 * cos(sine / 90)), rd(0), rd(4)), 0.3)
  1990. lerpz(nRS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(-3 - 3 * cos(sine / 100)), rd(0)), 0.3)
  1991. lerpz(nRS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1992. lerpz(nLS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(2 * cos(sine / 110)), rd(3 - 3 * cos(sine / 100)), rd(0)), 0.3)
  1993. lerpz(nLS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1994. lerpz(nRH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 100)), rd(-3 - 3 * cos(sine / 100)), rd(-2 - 2 * cos(sine / 100))), 0.3)
  1995. lerpz(nRH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1996. lerpz(nLH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-2 - 2 * cos(sine / 100)), rd(3 - 3 * cos(sine / 100)), rd(2 - 2 * cos(sine / 100))), 0.3)
  1997. lerpz(nLH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1998. end
  1999. end)
  2000. function dispose()
  2001. for i, v in pairs(getfenv(0)) do
  2002. v = nil
  2003. end
  2004. error = nil
  2005. print = nil
  2006. warn = nil
  2007. end
  2008. human.Died:connect(dispose)
  2009. chr.Changed:connect(function()
  2010. if chr.Parent == nil then
  2011. dispose()
  2012. end
  2013. end)
  2014.  
  2015. --- [[ Simple Time Rewind ]] ---
  2016. -- by fo43123
  2017.  
  2018. local me = game.Players.LocalPlayer
  2019. local mouse = me:GetMouse()
  2020. local char = me.Character
  2021. local hum = char:FindFirstChild('Humanoid')
  2022. local hd = char:FindFirstChild('Head')
  2023. local ts = char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
  2024. local ra = char:FindFirstChild('Right Arm') or char:FindFirstChild('RightUpperArm')
  2025. local la = char:FindFirstChild('Left Arm') or char:FindFirstChild('LeftUpperArm')
  2026. local rl = char:FindFirstChild('Right Leg') or char:FindFirstChild('RightUpperLeg')
  2027. local ll = char:FindFirstChild('Left Leg') or char:FindFirstChild('LeftUpperLeg')
  2028. local root = char:FindFirstChild('HumanoidRootPart')
  2029. local rj = root:FindFirstChild('RootJoint')
  2030. local rs = ts:FindFirstChild('Right Shoulder')
  2031. local ls = ts:FindFirstChild('Left Shoulder')
  2032. local rh = ts:FindFirstChild('Right Hip')
  2033. local lh = ts:FindFirstChild('Left Hip')
  2034. local nk = ts:FindFirstChild('Neck')
  2035. local anim = char:FindFirstChild('Animate')
  2036. local base = workspace:FindFirstChild('Baseplate') or workspace:FindFirstChild('Base')
  2037. local cantimerewind = true
  2038. local cooldown = false
  2039. local selfrewind = true
  2040. local cc = workspace.CurrentCamera
  2041. local cos = math.cos
  2042. local sin = math.sin
  2043. local rad = math.rad
  2044. local rand = math.random
  2045. local cfn = CFrame.new
  2046. local cfa = CFrame.Angles
  2047. local v3 = Vector3.new
  2048. local str = string
  2049. local past = {}
  2050. local lastpast = {}
  2051. local sine = 0
  2052. local rewind = Instance.new('Sound', hd)
  2053. local onrewind = Instance.new('Sound', workspace.CurrentCamera)
  2054. onrewind.Looped = true
  2055. onrewind.Volume = 10
  2056. onrewind.SoundId = 'rbxassetid://2061143306'
  2057. rewind.SoundId = 'rbxassetid://864569342'
  2058. rewind.Name = 'trewind'
  2059. rewind.Volume = 1
  2060. rewind.PlaybackSpeed = 1.25
  2061. hum.WalkSpeed = 23
  2062. effects = Instance.new('Folder', char)
  2063. effects.Name = 'Effects'
  2064. print([[
  2065. -- // Moves
  2066. N - Rewind, T - TP
  2067. ]])
  2068.  
  2069. ArtificialHB = Instance.new('BindableEvent', script)
  2070. ArtificialHB.Name = 'Heartbeat'
  2071. script:WaitForChild('Heartbeat')
  2072.  
  2073. frame = 1 / 60
  2074. tf = 0
  2075. allowframeloss = false
  2076. tossremainder = false
  2077. lastframe = tick()
  2078. script.Heartbeat:Fire()
  2079.  
  2080. game:GetService('RunService').Heartbeat:connect(function(s, p)
  2081. tf = tf + s
  2082. if tf >= frame then
  2083. if allowframeloss then
  2084. script.Heartbeat:Fire()
  2085. lastframe = tick()
  2086. else
  2087. for i = 1, math.floor(tf / frame) do
  2088. script.Heartbeat:Fire()
  2089. end
  2090. lastframe = tick()
  2091. end
  2092. if tossremainder then
  2093. tf = 0
  2094. else
  2095. tf = tf - frame * math.floor(tf / frame)
  2096. end
  2097. end
  2098. end)
  2099.  
  2100. function swait(t)
  2101. if t == 0 or t == nil then
  2102. script.Heartbeat.Event:Wait()
  2103. else
  2104. for i = 0, t do
  2105. script.Heartbeat.Event:Wait()
  2106. end
  2107. end
  2108. end
  2109.  
  2110. function sound(id, parent, vol, pitch, timepos)
  2111. local s = Instance.new('Sound')
  2112. s.Parent = parent
  2113. s.SoundId = id
  2114. s.Volume = vol
  2115. s.PlaybackSpeed = pitch
  2116. s.TimePosition = timepos
  2117. s:Play()
  2118. game.Debris:AddItem(s, s.PlaybackSpeed + 5)
  2119. end
  2120.  
  2121. function camshake(duration, intensity)
  2122. coroutine.wrap(function()
  2123. for i = 0, duration*60 do
  2124. hum.CameraOffset = v3(rand(-(intensity*10),(intensity*10))/10, rand(-(intensity*10),(intensity*10))/10, rand(-(intensity*10), (intensity*10))/10)
  2125. swait()
  2126. end
  2127. hum.CameraOffset = v3(0, 0, 0)
  2128. end)()
  2129. end
  2130.  
  2131. function readyrewind()
  2132. cantimerewind = false
  2133. cooldown = true
  2134. onrewind:Play()
  2135. for i,v in pairs(workspace:GetDescendants()) do
  2136. if v:IsA('BasePart') then
  2137. local lastpos = v.CFrame
  2138. table.insert(past, {part = v, change = lastpos})
  2139. end
  2140. if v.Parent then
  2141. local lastparent2 = v.Parent
  2142. table.insert(lastpast, {part2 = v, change4 = lastparent2})
  2143. end
  2144. if v:IsA('Camera') then
  2145. local lastcam = v.CFrame
  2146. table.insert(past, {cam = v, change3 = lastcam})
  2147. end
  2148. if v:IsA('Sound') then
  2149. if v ~= rewind then
  2150. local lastsongpos = v.TimePosition
  2151. table.insert(past, {sound = v, pchange = lastsongpos})
  2152. end
  2153. end
  2154. if v:IsA('Humanoid') then
  2155. local lasthp = v.Health
  2156. local always = lasthp
  2157. table.insert(past, {health = v, hchange = lasthp})
  2158. end
  2159. end
  2160. newpast = workspace.DescendantAdded:Connect(function(v)
  2161. if v:IsA('BasePart') then
  2162. local lastpos = v.CFrame
  2163. local lastparent = v.Parent
  2164. table.insert(past, {part = v, change = lastpos, change4 = lastparent})
  2165. end
  2166. if v.Parent then
  2167. local lastparent2 = v.Parent
  2168. table.insert(lastpast, {part2 = v, change4 = lastparent2})
  2169. end
  2170. if v:IsA('Camera') then
  2171. local lastcampos = v.CFrame
  2172. table.insert(past, {cam = v, change3 = lastcampos})
  2173. end
  2174. if v:IsA('Sound') then
  2175. if v ~= rewind then
  2176. local lastsongpos = v.TimePosition
  2177. table.insert(past, {sound = v, pchange = lastsongpos})
  2178. end
  2179. end
  2180. if v:IsA('Humanoid') then
  2181. local lasthp = v.Health
  2182. local always = lasthp
  2183. table.insert(past, {health = v, hchange = lasthp})
  2184. end
  2185. end)
  2186. end
  2187.  
  2188. function timerewind()
  2189. if cooldown then
  2190. rewind:Play()
  2191. sine = 0
  2192. onrewind:Stop()
  2193. coroutine.wrap(function()
  2194. local blur = Instance.new('BlurEffect', game.Lighting)
  2195. local effect2 = Instance.new('Part', effects)
  2196. local effect3 = Instance.new('Part', effects)
  2197. effect3.Shape = 'Ball'
  2198. effect3.Material = 'ForceField'
  2199. effect3.Anchored = true
  2200. effect3.CanCollide = false
  2201. effect3.Name = 'eff3'
  2202. effect3.BrickColor = BrickColor.new('Really red')
  2203. effect3.Size = v3(30, 30, 30)
  2204. effect3.Transparency = 0
  2205. effect2.CastShadow = false
  2206. effect2.Shape = 'Ball'
  2207. effect2.BrickColor = BrickColor.new('Bright red')
  2208. effect2.Material = 'ForceField'
  2209. effect2.Name = 'eff2'
  2210. effect2.Anchored = true
  2211. effect2.CanCollide = false
  2212. effect2.Size = v3(50, 50, 50)
  2213. effect2.Transparency = 0
  2214. cantimerewind = true
  2215. for i,v in pairs(past) do
  2216. pcall(function()
  2217. v.part.CFrame = v.change
  2218. end)
  2219. pcall(function()
  2220. v.cam.CFrame = v.change3
  2221. end)
  2222. pcall(function()
  2223. v.sound.TimePosition = v.pchange
  2224. end)
  2225. pcall(function()
  2226. v.health.Health = v.hchange
  2227. end)
  2228. end
  2229. for i,v in pairs(lastpast) do
  2230. pcall(function()
  2231. v.part2.Parent = v.change4
  2232. end)
  2233. end
  2234. pcall(function()
  2235. newpast:Disconnect()
  2236. end)
  2237. coroutine.wrap(function()
  2238. for i = 1, 1000 do
  2239. effect2.CFrame = ts.CFrame
  2240. effect3.CFrame = ts.CFrame
  2241. blur.Size = v3(blur.Size, 0, 0):lerp(v3(0, 0, 0), .010).X
  2242. effect2.Transparency = effect2.Transparency + 0.020
  2243. effect3.Transparency = effect3.Transparency + 0.020
  2244. effect2.Size = effect2.Size:lerp(v3(0, 0, 0), 0.050)
  2245. effect3.Size = effect3.Size:lerp(v3(0, 0, 0), 0.030)
  2246. if effect2.Transparency >= 1 then
  2247. effect2:Destroy()
  2248. end
  2249. if effect3.Transparency >= 1 then
  2250. effect3:Destroy()
  2251. end
  2252. swait()
  2253. end
  2254. end)()
  2255. wait(1)
  2256. blur:Destroy()
  2257. end)()
  2258. wait(1.5) -- cooldown
  2259. past = {}
  2260. cooldown = false
  2261. end
  2262. end
  2263.  
  2264. mouse.KeyDown:connect(function(key)
  2265. if str.lower(key) == 'n' and cantimerewind and cooldown == false then
  2266. readyrewind()
  2267. elseif str.lower(key) == 'n' and cantimerewind == false and cooldown then
  2268. timerewind()
  2269. end
  2270. end)
  2271.  
  2272. wait(0.0002)
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278. wait(2.5)
  2279. local Player, Character, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse()
  2280. local Torso = Character:FindFirstChild("Torso")
  2281. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  2282. local Humanoid = Character:FindFirstChild("Humanoid")
  2283. local Head = Character:FindFirstChild("Head")
  2284. local Right_Arm = Character:FindFirstChild("Right Arm")
  2285. local Left_Arm = Character:FindFirstChild("Left Arm")
  2286. local Right_Leg = Character:FindFirstChild("Right Leg")
  2287. local Left_Leg = Character:FindFirstChild("Left Leg")
  2288. local Right_Shoulder = Torso:FindFirstChild("Right Shoulder")
  2289. local Left_Shoulder = Torso:FindFirstChild("Left Shoulder")
  2290. local Right_Hip = Torso:FindFirstChild("Right Hip")
  2291. local Left_Hip = Torso:FindFirstChild("Left Hip")
  2292. local Neck = Torso:FindFirstChild("Neck")
  2293. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  2294. local rootJoint = rootPart:FindFirstChild("RootJoint")
  2295. local CurrentIdle = "Idling1"
  2296. local Degree = 0.0175438596491228
  2297. local canremove = false
  2298. local debounce = false
  2299. local UIService = game:GetService("UserInputService")
  2300. _G.SongName = math.random(1, 9025232)
  2301. sin = math.sin
  2302. Right_Leg.FormFactor = "Custom"
  2303. Left_Leg.FormFactor = "Custom"
  2304. rootPart.Archivable = true
  2305. rootJoint.Archivable = true
  2306. c_new = CFrame.new
  2307. c_angles = CFrame.Angles
  2308. i_new = Instance.new
  2309. Humanoid:ClearAllChildren()
  2310. local isAttacking = false
  2311. local isSprinting = false
  2312. local Animations = false
  2313. local Angle = 0
  2314. local Axis = 0
  2315. local angleSpeed = 1
  2316. local axisSpeed = angleSpeed
  2317. local currentAnim
  2318. local levetatingheight = 3
  2319. local WalkType = "Ground"
  2320. local RateP = 20
  2321. function CreateParticle(parent)
  2322. local Particle = Instance.new("ParticleEmitter", parent)
  2323. Particle.Enabled = true
  2324. Particle.Transparency = NumberSequence.new({
  2325. NumberSequenceKeypoint.new(0, 1),
  2326. NumberSequenceKeypoint.new(0.3, 0.95),
  2327. NumberSequenceKeypoint.new(1, 1)
  2328. })
  2329. Particle.LightEmission = -3
  2330. Particle.Rate = RateP
  2331. Particle.ZOffset = 1
  2332. Particle.Lifetime = NumberRange.new(0.5)
  2333. Particle.Speed = NumberRange.new(1)
  2334. Particle.Size = NumberSequence.new({
  2335. NumberSequenceKeypoint.new(0, 0.5, 0.3),
  2336. NumberSequenceKeypoint.new(1, 1, 0.1)
  2337. })
  2338. Particle.Rotation = NumberRange.new(-180, 180)
  2339. Particle.RotSpeed = NumberRange.new(-180, 180)
  2340. Particle.Texture = "http://www.roblox.com/asset/?id=303194966"
  2341. Particle.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  2342. Particle.VelocitySpread = 360
  2343. Particle.LockedToPart = false
  2344. end
  2345. CreateParticle(Torso)
  2346. CreateParticle(Right_Arm)
  2347. CreateParticle(Left_Arm)
  2348. CreateParticle(Right_Leg)
  2349. CreateParticle(Left_Leg)
  2350. function CreateParticle2(parent)
  2351. local Particle = Instance.new("ParticleEmitter", parent)
  2352. Particle.Enabled = true
  2353. Particle.Transparency = NumberSequence.new({
  2354. NumberSequenceKeypoint.new(0, 1),
  2355. NumberSequenceKeypoint.new(0.3, 0.95),
  2356. NumberSequenceKeypoint.new(1, 1)
  2357. })
  2358. Particle.LightEmission = -3
  2359. Particle.Rate = RateP
  2360. Particle.ZOffset = 1
  2361. Particle.Lifetime = NumberRange.new(0.5)
  2362. Particle.Speed = NumberRange.new(1)
  2363. Particle.Size = NumberSequence.new({
  2364. NumberSequenceKeypoint.new(0, 0.5, 0.3),
  2365. NumberSequenceKeypoint.new(1, 1, 0.1)
  2366. })
  2367. Particle.Rotation = NumberRange.new(-180, 180)
  2368. Particle.RotSpeed = NumberRange.new(-180, 180)
  2369. Particle.Texture = "http://www.roblox.com/asset/?id=303195022"
  2370. Particle.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  2371. Particle.VelocitySpread = 360
  2372. Particle.LockedToPart = false
  2373. end
  2374. CreateParticle2(Torso)
  2375. CreateParticle2(Right_Arm)
  2376. CreateParticle2(Left_Arm)
  2377. CreateParticle2(Right_Leg)
  2378. CreateParticle2(Left_Leg)
  2379. function CreateParticle3(parent)
  2380. local Particle = Instance.new("ParticleEmitter", parent)
  2381. Particle.Enabled = true
  2382. Particle.Transparency = NumberSequence.new({
  2383. NumberSequenceKeypoint.new(0, 1),
  2384. NumberSequenceKeypoint.new(0.3, 0.95),
  2385. NumberSequenceKeypoint.new(1, 1)
  2386. })
  2387. Particle.LightEmission = -3
  2388. Particle.Rate = RateP
  2389. Particle.ZOffset = 1
  2390. Particle.Lifetime = NumberRange.new(0.5)
  2391. Particle.Speed = NumberRange.new(1)
  2392. Particle.Size = NumberSequence.new({
  2393. NumberSequenceKeypoint.new(0, 0.5, 0.3),
  2394. NumberSequenceKeypoint.new(1, 1, 0.1)
  2395. })
  2396. Particle.Rotation = NumberRange.new(-180, 180)
  2397. Particle.RotSpeed = NumberRange.new(-180, 180)
  2398. Particle.Texture = "http://www.roblox.com/asset/?id=303195000"
  2399. Particle.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  2400. Particle.VelocitySpread = 360
  2401. Particle.LockedToPart = false
  2402. end
  2403. CreateParticle3(Torso)
  2404. CreateParticle3(Right_Arm)
  2405. CreateParticle3(Left_Arm)
  2406. CreateParticle3(Right_Leg)
  2407. CreateParticle3(Left_Leg)
  2408. function CreateParticle4(parent)
  2409. local Particle = Instance.new("ParticleEmitter", parent)
  2410. Particle.Enabled = true
  2411. Particle.Transparency = NumberSequence.new({
  2412. NumberSequenceKeypoint.new(0, 1),
  2413. NumberSequenceKeypoint.new(0.3, 0.95),
  2414. NumberSequenceKeypoint.new(1, 1)
  2415. })
  2416. Particle.LightEmission = -3
  2417. Particle.Rate = RateP
  2418. Particle.ZOffset = 1
  2419. Particle.Lifetime = NumberRange.new(0.5)
  2420. Particle.Speed = NumberRange.new(1)
  2421. Particle.Size = NumberSequence.new({
  2422. NumberSequenceKeypoint.new(0, 0.5, 0.3),
  2423. NumberSequenceKeypoint.new(1, 1, 0.1)
  2424. })
  2425. Particle.Rotation = NumberRange.new(-180, 180)
  2426. Particle.RotSpeed = NumberRange.new(-180, 180)
  2427. Particle.Texture = "http://www.roblox.com/asset/?id=303194917"
  2428. Particle.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  2429. Particle.VelocitySpread = 360
  2430. Particle.LockedToPart = false
  2431. end
  2432. CreateParticle4(Torso)
  2433. CreateParticle4(Right_Arm)
  2434. CreateParticle4(Left_Arm)
  2435. CreateParticle4(Right_Leg)
  2436. CreateParticle4(Left_Leg)
  2437. function Sound(parent, loop, vol, id)
  2438. local s = Instance.new("Sound", parent)
  2439. s.Looped = loop
  2440. s.Volume = vol
  2441. s.MaxDistance = 200
  2442. s.EmitterSize = 20
  2443. s.SoundId = "rbxassetid://" .. tostring(id)
  2444. s:Play()
  2445. if loop == false then
  2446. wait(s.TimeLength)
  2447. s:Destroy()
  2448. end
  2449. end
  2450. Theme = Instance.new("Sound")
  2451. Theme.Parent = Character
  2452. Theme.SoundId = "rbxassetid://3289256209"
  2453. Theme.Volume = 3
  2454. Theme.Looped = true
  2455. Theme.Pitch = 1
  2456. Theme:Play()
  2457. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  2458. wld = Instance.new("Weld", wp1)
  2459. wld.Part0 = wp0
  2460. wld.Part1 = wp1
  2461. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  2462. return wld
  2463. end
  2464. function noOutline(part)
  2465. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2466. end
  2467. local Part = function(Name, Color, Material, Transparency, Shape, Size, CFrame, CanCollide, Anchored, parent)
  2468. local partie = i_new("Part", parent)
  2469. partie.Name = Name
  2470. partie.BrickColor = BrickColor.new(Color)
  2471. partie.Material = Material
  2472. partie.Shape = Shape
  2473. partie.Transparency = Transparency
  2474. partie.Size = Size
  2475. partie.CFrame = CFrame
  2476. partie.CanCollide = CanCollide
  2477. partie.Anchored = Anchored
  2478. return partie
  2479. end
  2480. function swait(num)
  2481. if num == 0 or num == nil then
  2482. game:GetService("RunService").Stepped:wait(0)
  2483. else
  2484. for i = 0, num do
  2485. game:GetService("RunService").Stepped:wait(0)
  2486. end
  2487. end
  2488. end
  2489. coroutine.wrap(function()
  2490. while true do
  2491. Humanoid.MaxHealth = "inf"
  2492. Humanoid.Health = "inf"
  2493. wait(0.01)
  2494. end
  2495. end)()
  2496. coroutine.wrap(function()
  2497. while true do
  2498. Humanoid.MaxHealth = "inf"
  2499. Humanoid.Health = "inf"
  2500. wait()
  2501. end
  2502. end)()
  2503. coroutine.wrap(function()
  2504. while true do
  2505. Humanoid.MaxHealth = "inf"
  2506. Humanoid.Health = "inf"
  2507. swait()
  2508. end
  2509. end)()
  2510. coroutine.wrap(function()
  2511. while true do
  2512. Humanoid.MaxHealth = "inf"
  2513. Humanoid.Health = "inf"
  2514. swait(1)
  2515. end
  2516. end)()
  2517. Player.Character.Archivable = true
  2518. Instance.new("ForceField", Player.Character).Visible = false
  2519. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  2520. local mesh = i_new(Mesh)
  2521. mesh.Parent = part
  2522. if Mesh == "SpecialMesh" then
  2523. mesh.MeshType = meshtype
  2524. mesh.MeshId = meshid
  2525. end
  2526. mesh.Offset = offset
  2527. mesh.Scale = scale
  2528. return mesh
  2529. end
  2530. local Hair = Instance.new("Part", Head)
  2531. Hair.Name = "Hair"
  2532. Hair.Shape = Enum.PartType.Ball
  2533. Hair.CanCollide = false
  2534. Hair.BrickColor = BrickColor.new("Black")
  2535. Hair.Transparency = 0
  2536. Hair.Material = "Grass"
  2537. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  2538. Hair.TopSurface = Enum.SurfaceType.Smooth
  2539. Hair.BottomSurface = Enum.SurfaceType.Smooth
  2540. local Weld = Instance.new("Weld", Hair)
  2541. Weld.Part0 = Head
  2542. Weld.Part1 = Hair
  2543. Weld.C1 = CFrame.new(0, -0.5, 0)
  2544. HoodMesh = Instance.new("FileMesh", Hair)
  2545. HoodMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  2546. HoodMesh.TextureId = "http://www.roblox.com/asset/?id=0"
  2547. HoodMesh.Scale = Vector3.new(1.05, 1.1, 1.1)
  2548. local Shades = Instance.new("Part", Head)
  2549. Shades.Name = "Shades"
  2550. Shades.Shape = Enum.PartType.Ball
  2551. Shades.CanCollide = false
  2552. Shades.BrickColor = BrickColor.new("Medium stone grey")
  2553. Shades.Transparency = 0
  2554. Shades.Material = "Grass"
  2555. Shades.Size = Vector3.new(0.1, 0.1, 0.1)
  2556. Shades.TopSurface = Enum.SurfaceType.Smooth
  2557. Shades.BottomSurface = Enum.SurfaceType.Smooth
  2558. local Weld = Instance.new("Weld", Shades)
  2559. Weld.Part0 = Head
  2560. Weld.Part1 = Shades
  2561. Weld.C1 = CFrame.new(0, -0.2, 0.15)
  2562. ShadesMesh = Instance.new("FileMesh", Shades)
  2563. ShadesMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  2564. ShadesMesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  2565. ShadesMesh.Scale = Vector3.new(1, 1, 1)
  2566. local GunModel = Instance.new("Part", game.Workspace.CurrentCamera)
  2567. GunModel.Name = "Pistol"
  2568. GunModel.Shape = Enum.PartType.Ball
  2569. GunModel.CanCollide = false
  2570. GunModel.BrickColor = BrickColor.new("Medium stone grey")
  2571. GunModel.Transparency = 1
  2572. GunModel.Material = "Grass"
  2573. GunModel.Size = Vector3.new(0.01, 0.01, 0.01)
  2574. GunModel.TopSurface = Enum.SurfaceType.Smooth
  2575. GunModel.BottomSurface = Enum.SurfaceType.Smooth
  2576. local Weld = Instance.new("Weld", GunModel)
  2577. Weld.Part0 = Right_Arm
  2578. Weld.Part1 = GunModel
  2579. Weld.C1 = CFrame.new(0, -0.3, -1.4) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
  2580. GunModelMesh = Instance.new("FileMesh", GunModel)
  2581. GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=441587064"
  2582. GunModelMesh.TextureId = "http://www.roblox.com/asset/?id=441587082"
  2583. GunModelMesh.Scale = Vector3.new(0.035, 0.02, 0.02)
  2584. BE = Instance.new("Part", GunModel)
  2585. BE.Anchored = false
  2586. BE.CanCollide = false
  2587. BE.Transparency = 1
  2588. BE.Size = Vector3.new(0.1, 0.1, 0.1)
  2589. Eweld = Instance.new("Weld", BE)
  2590. Eweld.Part0 = BE
  2591. Eweld.Part1 = GunModel
  2592. Eweld.C0 = CFrame.new(0, -0.3, -1)
  2593. BEX = Instance.new("Part", GunModel)
  2594. BEX.Anchored = false
  2595. BEX.CanCollide = false
  2596. BEX.Transparency = 1
  2597. BEX.Size = Vector3.new(0.1, 0.1, 0.1)
  2598. EXweld = Instance.new("Weld", BEX)
  2599. EXweld.Part0 = BEX
  2600. EXweld.Part1 = GunModel
  2601. EXweld.C0 = CFrame.new(0, -0.3, 0.05)
  2602. local Effects = Instance.new("Folder", Character)
  2603. Effects.Name = "Effects"
  2604. Debris = game:GetService("Debris")
  2605. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2606. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2607. end
  2608. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2609. local DIRECTION = CFrame.new(StartPos, EndPos).lookVector
  2610. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2611. end
  2612. function MakeForm(PART, TYPE)
  2613. if TYPE == "Cyl" then
  2614. local MSH = Instance.new("CylinderMesh", PART)
  2615. elseif TYPE == "Ball" then
  2616. local MSH = Instance.new("SpecialMesh", PART)
  2617. MSH.MeshType = "Sphere"
  2618. elseif TYPE == "Wedge" then
  2619. local MSH = Instance.new("SpecialMesh", PART)
  2620. MSH.MeshType = "Wedge"
  2621. end
  2622. end
  2623. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2624. local NEWPART = Instance.new("Part")
  2625. NEWPART.formFactor = FORMFACTOR
  2626. NEWPART.Reflectance = REFLECTANCE
  2627. NEWPART.Transparency = TRANSPARENCY
  2628. NEWPART.CanCollide = false
  2629. NEWPART.Locked = true
  2630. NEWPART.Anchored = true
  2631. if ANCHOR == false then
  2632. NEWPART.Anchored = false
  2633. end
  2634. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  2635. NEWPART.Name = NAME
  2636. NEWPART.Size = SIZE
  2637. NEWPART.Position = Torso.Position
  2638. NEWPART.Material = MATERIAL
  2639. NEWPART:BreakJoints()
  2640. NEWPART.Parent = PARENT
  2641. return NEWPART
  2642. end
  2643. Blood = Instance.new("ParticleEmitter")
  2644. Blood.Parent = nil
  2645. Blood.Rate = 20
  2646. Blood.Speed = NumberRange.new(7)
  2647. Blood.VelocitySpread = 40
  2648. Blood.Lifetime = NumberRange.new(0.1, 1)
  2649. Blood.Texture = "rbxassetid://291880914"
  2650. Blood.Color = ColorSequence.new(Color3.new(0.2, 0, 0), Color3.new(0, 0, 0))
  2651. Blood.Acceleration = Vector3.new(0, -50, 0)
  2652. Blood.Size = NumberSequence.new({
  2653. NumberSequenceKeypoint.new(0, 0.5, 0.1),
  2654. NumberSequenceKeypoint.new(1, 0.01, 0.01)
  2655. })
  2656. Blood.RotSpeed = NumberRange.new(-180, 180)
  2657. Blood.Rotation = NumberRange.new(-360, 360)
  2658. Blood.Transparency = NumberSequence.new({
  2659. NumberSequenceKeypoint.new(0, 1),
  2660. NumberSequenceKeypoint.new(0.2, 0),
  2661. NumberSequenceKeypoint.new(0.8, 0),
  2662. NumberSequenceKeypoint.new(1, 1)
  2663. })
  2664. local B = Instance.new("Sound")
  2665. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2666. local NEWSOUND
  2667. coroutine.resume(coroutine.create(function()
  2668. NEWSOUND = B:Clone()
  2669. NEWSOUND.Parent = PARENT
  2670. NEWSOUND.Volume = VOLUME
  2671. NEWSOUND.Pitch = PITCH
  2672. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  2673. NEWSOUND:play()
  2674. if DOESLOOP == true then
  2675. NEWSOUND.Looped = true
  2676. else
  2677. repeat
  2678. wait(1)
  2679. until NEWSOUND.Playing == false
  2680. NEWSOUND:remove()
  2681. end
  2682. end))
  2683. return NEWSOUND
  2684. end
  2685. function getbloody(victim, amount)
  2686. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  2687. PART.CFrame = victim.CFrame
  2688. local HITPLAYERSOUNDS = {
  2689. "883201004",
  2690. "883201111",
  2691. "883201193",
  2692. "883201270"
  2693. }
  2694. Debris:AddItem(PART, 5)
  2695. CreateSound(HITPLAYERSOUNDS[math.random(1, #HITPLAYERSOUNDS)], PART, 1, math.random(8, 12) / 10)
  2696. CreateSound(HITPLAYERSOUNDS[math.random(1, #HITPLAYERSOUNDS)], PART, 1, math.random(8, 12) / 10)
  2697. CreateSound(HITPLAYERSOUNDS[math.random(1, #HITPLAYERSOUNDS)], PART, 1, math.random(8, 12) / 10)
  2698. local prtcl = Blood:Clone()
  2699. prtcl.Parent = PART
  2700. prtcl:Emit(amount * 10)
  2701. end
  2702. function SpawnTrail(FROM, TO, BIG)
  2703. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Trail", Vector3.new(0, 0, 0))
  2704. MakeForm(TRAIL, "Cyl")
  2705. local DIST = (FROM - TO).Magnitude
  2706. if BIG == true then
  2707. TRAIL.Size = Vector3.new(0.5, DIST, 0.5)
  2708. else
  2709. TRAIL.Size = Vector3.new(0.25, DIST, 0.25)
  2710. end
  2711. TRAIL.CFrame = CFrame.new(FROM, TO) * CFrame.new(0, 0, -DIST / 2) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(0))
  2712. coroutine.resume(coroutine.create(function()
  2713. for i = 1, 5 do
  2714. swait()
  2715. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2716. end
  2717. TRAIL:remove()
  2718. end))
  2719. end
  2720. function Kill(Char)
  2721. local NewCharacter = Instance.new("Model", Effects)
  2722. NewCharacter.Name = "Ow im ded ;-;"
  2723. for _, c in pairs(Char:GetDescendants()) do
  2724. if c:IsA("BasePart") and c.Transparency == 0 then
  2725. if c.Parent == Char then
  2726. getbloody(c, 5)
  2727. end
  2728. c:BreakJoints()
  2729. c.Material = "Glass"
  2730. c.Color = Color3.new(0.5, 0, 0)
  2731. c.CanCollide = true
  2732. c.Transparency = 0.3
  2733. if c:FindFirstChildOfClass("SpecialMesh") then
  2734. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2735. end
  2736. if c.Name == "Head" then
  2737. c:ClearAllChildren()
  2738. c.Size = Vector3.new(c.Size.Y, c.Size.Y, c.Size.Y)
  2739. end
  2740. if c.ClassName == "MeshPart" then
  2741. c.TextureID = ""
  2742. end
  2743. if c:FindFirstChildOfClass("BodyPosition") then
  2744. c:FindFirstChildOfClass("BodyPosition"):remove()
  2745. end
  2746. if c:FindFirstChildOfClass("ParticleEmitter") then
  2747. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2748. end
  2749. c.Parent = NewCharacter
  2750. c.Name = "DeadPart"
  2751. c.Velocity = Vector3.new(math.random(-45, 45), math.random(-45, 45), math.random(-45, 45)) / 15
  2752. c.RotVelocity = Vector3.new(math.random(-45, 45), math.random(-15, 85), math.random(-45, 45))
  2753. end
  2754. end
  2755. Char:remove()
  2756. Debris:AddItem(NewCharacter, 5)
  2757. end
  2758. function BulletDetection(FROM, TO, BRUTAL)
  2759. local AIMHIT, AIMPOS, NORMAL = CastProperRay(FROM, TO, 2000, Character)
  2760. coroutine.resume(coroutine.create(function()
  2761. if AIMHIT ~= nil and AIMHIT.Parent ~= Character and (AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid")) then
  2762. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  2763. if BRUTAL == true then
  2764. Kill(AIMHIT.Parent)
  2765. else
  2766. getbloody(AIMHIT, 15)
  2767. AIMHIT.Parent:BreakJoints()
  2768. if AIMHIT.Name == "Head" or AIMHIT:IsA("Hat") or AIMHIT.Name == "Torso" or AIMHIT.Name == "HumanoidRootPart" or AIMHIT.Name == "Right Arm" or AIMHIT.Name == "Left Arm" or AIMHIT.Name == "Right Leg" or AIMHIT.Name == "Left Leg" or AIMHIT.Name == "UpperTorso" or AIMHIT.Name == "UpperTorso" or AIMHIT.Name == "LowerTorso" or AIMHIT.Name == "RightUpperArm" or AIMHIT.Name == "RightLowerArm" or AIMHIT.Name == "RightHand" or AIMHIT.Name == "LeftUpperArm" or AIMHIT.Name == "LeftLowerArm" or AIMHIT.Name == "LeftHand" or AIMHIT.Name == "RightUpperLeg" or AIMHIT.Name == "RightLowerLeg" or AIMHIT.Name == "RightFoot" or AIMHIT.Name == "LeftUpperLeg" or AIMHIT.Name == "LeftLowerLeg" or AIMHIT.Name == "LeftFoot" then
  2769. AIMHIT.Name = "Dead"
  2770. AIMHIT:remove()
  2771. end
  2772. end
  2773. elseif BRUTAL == true then
  2774. Kill(AIMHIT.Parent.Parent)
  2775. else
  2776. AIMHIT.Parent.Parent:BreakJoints()
  2777. end
  2778. end
  2779. end))
  2780. SpawnTrail(FROM, AIMPOS)
  2781. return AIMHIT, AIMPOS, NORMAL
  2782. end
  2783. function round(num)
  2784. local a, b = math.modf(num)
  2785. if num % 1 ~= 0 then
  2786. return math.floor(num) + math.floor(b * 10 + 0.5) / 10
  2787. else
  2788. return math.floor(num)
  2789. end
  2790. end
  2791. function basicDamage(vhum, damage, colour)
  2792. if not (vhum and vhum.Parent:findFirstChild("Humanoid")) or vhum.Health <= 0 then
  2793. return
  2794. end
  2795. vhum.Health = vhum.Health - damage
  2796. local damagepart = Instance.new("Part", Effects)
  2797. damagepart.Transparency = 1
  2798. damagepart.Anchored = true
  2799. damagepart.CanCollide = false
  2800. damagepart.Size = Vector3.new(0, 0, 0)
  2801. damagepart.Name = "DamagePart"
  2802. damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0)
  2803. local g = Instance.new("BillboardGui", damagepart)
  2804. g.Enabled = true
  2805. g.Adornee = damagepart
  2806. g.Size = UDim2.new(5, 0, 5, 0)
  2807. g.ExtentsOffset = Vector3.new(0, 0, 0)
  2808. g.StudsOffset = Vector3.new(0, 0, 0)
  2809. local t = Instance.new("TextLabel", g)
  2810. t.BackgroundTransparency = 1
  2811. t.Font = "ArialBold"
  2812. t.TextSize = 24
  2813. t.Text = "" .. round(damage)
  2814. if round(damage) % 1 == 0 then
  2815. t.Text = "" .. round(damage) .. ""
  2816. end
  2817. t.Size = UDim2.new(1, 0, 1, 0)
  2818. t.TextStrokeTransparency = 0
  2819. t.TextTransparency = 0
  2820. t.Font = "Arcade"
  2821. t.TextScaled = true
  2822. t.TextWrapped = true
  2823. t.TextXAlignment = "Center"
  2824. t.TextYAlignment = "Center"
  2825. t.TextColor3 = colour
  2826. coroutine.resume(coroutine.create(function()
  2827. for i = 1, 50 do
  2828. game:GetService("RunService").Heartbeat:wait()
  2829. local sinewave = math.sin(i / 500) * 4
  2830. damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
  2831. t.TextTransparency = t.TextTransparency + 0.02
  2832. t.TextStrokeTransparency = t.TextTransparency + 0.02
  2833. end
  2834. damagepart:Destroy()
  2835. end), t)
  2836. end
  2837. function Trace()
  2838. local ch = Character:GetChildren()
  2839. for i = 1, #ch do
  2840. if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then
  2841. do
  2842. local trace = Instance.new("Part", game.Workspace)
  2843. trace.Size = ch[i].Size
  2844. trace.Material = "Neon"
  2845. trace.BrickColor = BrickColor.new("Crimson")
  2846. trace.Transparency = 0.3
  2847. trace.CanCollide = false
  2848. trace.Anchored = true
  2849. trace.CFrame = ch[i].CFrame
  2850. if ch[i].Name == "Head" then
  2851. mehs = Instance.new("CylinderMesh", trace)
  2852. mehs.Scale = Vector3.new(1.25, 1.25, 1.25)
  2853. end
  2854. tracedisappear = coroutine.wrap(function()
  2855. for i = 1, 7 do
  2856. wait()
  2857. trace.Transparency = trace.Transparency + 0.1
  2858. end
  2859. trace:Destroy()
  2860. end)
  2861. tracedisappear()
  2862. end
  2863. end
  2864. end
  2865. end
  2866. t = Instance.new("Part", Character)
  2867. t.Size = Vector3.new(0.01, 0.01, 0.01)
  2868. t.Anchored = false
  2869. t.CanCollide = false
  2870. t.Name = "Attatchment for Trail"
  2871. t.Transparency = 1
  2872. tweld = Instance.new("Weld", t)
  2873. tweld.Part0 = t
  2874. tweld.Part1 = Torso
  2875. tweld.C0 = CFrame.new(0, 2.5, 0)
  2876. attch = Instance.new("Attachment", Head)
  2877. attch2 = Instance.new("Attachment", t)
  2878. trail = Instance.new("Trail", Character.HumanoidRootPart)
  2879. trail.Color = ColorSequence.new(Color3.fromRGB(0, 0, 0), Color3.fromRGB(0, 0, 0))
  2880. trail.TextureLength = 4
  2881. trail.TextureMode = "Stretch"
  2882. trail.Lifetime = 0.2
  2883. trail.MaxLength = 0
  2884. trail.MinLength = 0
  2885. trail.WidthScale = NumberSequence.new({
  2886. NumberSequenceKeypoint.new(0, 1, 0),
  2887. NumberSequenceKeypoint.new(1, 0, 0)
  2888. })
  2889. trail.Transparency = NumberSequence.new({
  2890. NumberSequenceKeypoint.new(0, 0),
  2891. NumberSequenceKeypoint.new(1, 1)
  2892. })
  2893. trail.Texture = "http://www.robox.com/asset/?id=182554047"
  2894. trail.FaceCamera = true
  2895. trail.Attachment0 = attch
  2896. trail.Attachment1 = attch2
  2897. trail.Enabled = false
  2898. mouse = Player:GetMouse()
  2899. local s = ""
  2900. dashing = false
  2901. coroutine.wrap(function()
  2902. while wait() do
  2903. if dashing == true then
  2904. Trace()
  2905. else
  2906. end
  2907. end
  2908. end)()
  2909. local isDashing = true
  2910. mouse.KeyDown:connect(function(key)
  2911. key = string.lower(key)
  2912. if key == "w" or key == "\017" and dashing == false then
  2913. s = s .. "w"
  2914. delay(0.2, function()
  2915. if s ~= "ww" then
  2916. s = ""
  2917. end
  2918. end)
  2919. if s == "ww" then
  2920. s = ""
  2921. if attack == true then
  2922. return
  2923. end
  2924. dashing = true
  2925. Animations = true
  2926. for i = 1, 10 do
  2927. rootPart.Velocity = rootPart.CFrame.lookVector * 200
  2928. angleSpeed = 1
  2929. axisSpeed = 1
  2930. change = 0.5
  2931. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-30), math.rad(0), math.rad(0)), 0.15)
  2932. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-30), math.rad(0), math.rad(0)), 0.15)
  2933. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  2934. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.4) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2935. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-45), math.rad(0), math.rad(0)), 0.15)
  2936. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2937. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  2938. if v:FindFirstChild("HumanoidRootPart") then
  2939. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(5, 10)
  2940. end
  2941. end
  2942. swait()
  2943. end
  2944. dashing = false
  2945. Animations = false
  2946. delay(0, function()
  2947. end)
  2948. end
  2949. end
  2950. end)
  2951. mouse.KeyDown:connect(function(key)
  2952. key = string.lower(key)
  2953. if key == "q" or key == "\017" and dashing == false then
  2954. s = s .. "q"
  2955. delay(0.2, function()
  2956. if s ~= "qq" then
  2957. s = ""
  2958. end
  2959. end)
  2960. if s == "qq" then
  2961. s = ""
  2962. if attack == true then
  2963. return
  2964. end
  2965. if transformed == true then
  2966. return
  2967. end
  2968. dashing = true
  2969. S = Instance.new("Sound")
  2970. S.Parent = rootPart
  2971. S.SoundId = "rbxassetid://3373991228"
  2972. S.Volume = 10
  2973. S.Looped = false
  2974. S.Pitch = 1
  2975. S:Play()
  2976. for i = 1, 5 do
  2977. rootPart.Velocity = rootPart.CFrame.rightVector * -200
  2978. angleSpeed = 1
  2979. axisSpeed = 1
  2980. change = 0.5
  2981. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(80)), 0.15)
  2982. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, -0.2) * c_angles(math.rad(80), math.rad(0), math.rad(45)), 0.15)
  2983. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(20)), 0.15)
  2984. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, -0.3) * c_angles(math.rad(25), math.rad(0), math.rad(30)), 0.15)
  2985. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.15)
  2986. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(-10)), 0.15)
  2987. swait()
  2988. end
  2989. dashing = false
  2990. Animations = false
  2991. delay(0, function()
  2992. end)
  2993. end
  2994. end
  2995. end)
  2996. mouse.KeyDown:connect(function(key)
  2997. key = string.lower(key)
  2998. if key == "e" or key == "\017" and dashing == false then
  2999. s = s .. "e"
  3000. delay(0.2, function()
  3001. if s ~= "ee" then
  3002. s = ""
  3003. end
  3004. end)
  3005. if s == "ee" then
  3006. s = ""
  3007. if attack == true then
  3008. return
  3009. end
  3010. if transformed == true then
  3011. return
  3012. end
  3013. dashing = true
  3014. S = Instance.new("Sound")
  3015. S.Parent = rootPart
  3016. S.SoundId = "rbxassetid://3373991228"
  3017. S.Volume = 10
  3018. S.Looped = false
  3019. S.Pitch = 0.8
  3020. S:Play()
  3021. for i = 1, 5 do
  3022. rootPart.Velocity = rootPart.CFrame.rightVector * 200
  3023. angleSpeed = 1
  3024. axisSpeed = 1
  3025. change = 0.5
  3026. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, -0.2) * c_angles(math.rad(80), math.rad(0), math.rad(-45)), 0.15)
  3027. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-80)), 0.15)
  3028. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(25), math.rad(0), math.rad(-30)), 0.15)
  3029. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, -0.3) * c_angles(math.rad(-25), math.rad(0), math.rad(-20)), 0.15)
  3030. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(20)), 0.15)
  3031. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(10)), 0.15)
  3032. swait()
  3033. end
  3034. dashing = false
  3035. Animations = false
  3036. delay(0, function()
  3037. end)
  3038. end
  3039. end
  3040. end)
  3041. attack = false
  3042. attack2 = false
  3043. Grabbed = false
  3044. g = Instance.new("Part", Character)
  3045. g.Size = Vector3.new(0.01, 0.01, 0.01)
  3046. g.Anchored = false
  3047. g.CanCollide = false
  3048. g.Name = "Grab"
  3049. g.Transparency = 1
  3050. gweld = Instance.new("Weld", g)
  3051. gweld.Part0 = g
  3052. gweld.Part1 = Right_Arm
  3053. gweld.C0 = CFrame.new(0, 1.25, 0)
  3054. function FindNearestTorso(Position, Distance, SinglePlayer)
  3055. if SinglePlayer then
  3056. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3057. end
  3058. local List = {}
  3059. for i, v in pairs(workspace:GetChildren()) do
  3060. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
  3061. table.insert(List, v)
  3062. end
  3063. end
  3064. return List
  3065. end
  3066. quote = 1
  3067. function Throw(mouse)
  3068. gweld.C0 = CFrame.new(0, 1.25, 0)
  3069. local hit = mouse.Target
  3070. if hit ~= nil then
  3071. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  3072. local torsy
  3073. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3074. torsy = hit.Parent.Torso
  3075. end
  3076. if 0 >= hit.Parent:FindFirstChild("Humanoid").Health then
  3077. return
  3078. end
  3079. for i, v in pairs(hit.Parent:children()) do
  3080. if v:IsA("Part") and not v.Name == "HumanoidRootPart" then
  3081. return
  3082. end
  3083. end
  3084. attack = true
  3085. attack2 = true
  3086. Animations = true
  3087. Head.face.Texture = "rbxassetid://1895706696"
  3088. local GYRO = Instance.new("BodyGyro", rootPart)
  3089. GYRO.D = 100
  3090. GYRO.P = 2000
  3091. S = Instance.new("Sound")
  3092. S.Parent = Character.Torso
  3093. S.SoundId = "rbxassetid://391961525"
  3094. S.Volume = 10
  3095. S.Looped = false
  3096. S.Pitch = 1
  3097. S:Play()
  3098. local LEye = Part("LEye", "Really red", "Neon", 0, "Ball", Vector3.new(0.1, 0.1, 0.1), CFrame.new(0, 0, 0), false, false, Character)
  3099. Mesh = Instance.new("SpecialMesh", LEye)
  3100. Mesh.MeshType = "Sphere"
  3101. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  3102. Mesh.Offset = Vector3.new(-0.2, 0.2, -0.6)
  3103. newWeld(Head, LEye, 0, 0, 0)
  3104. local LEGlow = Instance.new("SurfaceLight")
  3105. LEGlow.Color = Color3.fromRGB(255, 0, 0)
  3106. LEGlow.Range = 6
  3107. LEGlow.Brightness = 10
  3108. LEGlow.Parent = LEye
  3109. local REye = Part("REye", "Really red", "Neon", 0, "Ball", Vector3.new(0.1, 0.1, 0.1), CFrame.new(0, 0, 0), false, false, Character)
  3110. Mesh = Instance.new("SpecialMesh", REye)
  3111. Mesh.MeshType = "Sphere"
  3112. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  3113. Mesh.Offset = Vector3.new(0.2, 0.2, -0.6)
  3114. newWeld(Head, REye, 0, 0, 0)
  3115. local REGlow = Instance.new("SurfaceLight")
  3116. REGlow.Color = Color3.fromRGB(255, 0, 0)
  3117. REGlow.Range = 6
  3118. REGlow.Brightness = 10
  3119. REGlow.Parent = REye
  3120. GYRO.MaxTorque = Vector3.new(0, 4000000, 0)
  3121. GYRO.CFrame = CFrame.new(rootPart.Position, hit.Parent:findFirstChild("HumanoidRootPart").Position)
  3122. for i = 0, 0.3, 0.01 do
  3123. angleSpeed = 1
  3124. axisSpeed = 1
  3125. change = 0.5
  3126. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.15)
  3127. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  3128. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3129. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  3130. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) + math.sin(sine / 15) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  3131. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.05 + math.sin(sine / 15) / 10) * c_angles(math.rad(-5) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  3132. swait()
  3133. end
  3134. LEye:Destroy()
  3135. REye:Destroy()
  3136. Shades.Transparency = 1
  3137. local Decoy = Instance.new("Part", Right_Arm)
  3138. Decoy.Name = "Decoy"
  3139. Decoy.Shape = Enum.PartType.Block
  3140. Decoy.CanCollide = false
  3141. Decoy.BrickColor = BrickColor.new("Medium stone grey")
  3142. Decoy.Transparency = 0
  3143. Decoy.Material = "Grass"
  3144. Decoy.Size = Vector3.new(1, 0.35, 1)
  3145. Decoy.TopSurface = Enum.SurfaceType.Smooth
  3146. Decoy.BottomSurface = Enum.SurfaceType.Smooth
  3147. local DecoyWeld = Instance.new("Weld", Decoy)
  3148. DecoyWeld.Part0 = Right_Arm
  3149. DecoyWeld.Part1 = Decoy
  3150. DecoyWeld.C1 = CFrame.new(0, 0, 1.2) * CFrame.fromEulerAnglesXYZ(math.rad(100), math.rad(0), 0)
  3151. local DecoyMesh = Instance.new("FileMesh", Decoy)
  3152. DecoyMesh.MeshId = "http://www.roblox.com/asset/?id=51177557"
  3153. DecoyMesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  3154. DecoyMesh.Scale = Vector3.new(1, 1, 1)
  3155. S = Instance.new("Sound")
  3156. S.Parent = Character.Torso
  3157. S.SoundId = "rbxassetid://1146552988"
  3158. S.Volume = 10
  3159. S.Looped = false
  3160. S.Pitch = 1
  3161. S:Play()
  3162. for i = 0, 0.3, 0.01 do
  3163. angleSpeed = 1
  3164. axisSpeed = 5
  3165. change = 0.5
  3166. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, 0) * c_angles(math.rad(140), math.rad(0), math.rad(-30)), 0.15)
  3167. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  3168. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3169. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3170. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3171. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3172. swait()
  3173. end
  3174. wait(0.25)
  3175. Head.face.Texture = "rbxassetid://0"
  3176. DecoyWeld:Destroy()
  3177. local Decoyed = Instance.new("BodyPosition", Decoy)
  3178. Decoyed.D = 100
  3179. Decoyed.P = 2000
  3180. Decoyed.MaxForce = Vector3.new(4000000, 4000000, 4000000)
  3181. Decoyed.Position = hit.Parent:findFirstChild("Head").Position
  3182. for i = 0, 0.1, 0.01 do
  3183. angleSpeed = 1
  3184. axisSpeed = 1
  3185. change = 0.5
  3186. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.4) * c_angles(math.rad(90), math.rad(0), math.rad(0)), 0.15)
  3187. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  3188. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3189. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3190. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3191. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3192. swait()
  3193. end
  3194. hit.Parent:findFirstChild("HumanoidRootPart").Anchored = true
  3195. local DecoyWeld2 = Instance.new("Weld", Decoy)
  3196. DecoyWeld2.Part0 = hit.Parent:findFirstChild("Head")
  3197. DecoyWeld2.Part1 = Decoy
  3198. DecoyWeld2.C1 = CFrame.new(0, -0.2, 0.15)
  3199. wait(0.5)
  3200. GYRO:Destroy()
  3201. Decoyed:Destroy()
  3202. Decoy.CanCollide = true
  3203. Trace()
  3204. Head.face.Texture = "rbxassetid://0"
  3205. rootPart.CFrame = hit.Parent:findFirstChild("HumanoidRootPart").CFrame
  3206. rootPart.CFrame = rootPart.CFrame + hit.Parent:findFirstChild("HumanoidRootPart").CFrame.lookVector * 2
  3207. rootPart.CFrame = rootPart.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
  3208. local grab
  3209. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  3210. if v:FindFirstChild("HumanoidRootPart") then
  3211. Grabbed = true
  3212. S = Instance.new("Sound")
  3213. S.Parent = Character.Torso
  3214. S.SoundId = "rbxassetid://260430060"
  3215. S.Volume = 10
  3216. S.Looped = false
  3217. S.Pitch = 1
  3218. S:Play()
  3219. grab = v
  3220. end
  3221. end
  3222. for i = 0, 1, 0.05 do
  3223. swait()
  3224. if Grabbed == true then
  3225. grab.Humanoid.PlatformStand = true
  3226. grab.HumanoidRootPart.Anchored = true
  3227. grab.HumanoidRootPart.CFrame = g.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(150))
  3228. end
  3229. angleSpeed = 1
  3230. axisSpeed = 1
  3231. change = 0.5
  3232. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(140), math.rad(0), math.rad(30)), 0.15)
  3233. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  3234. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3235. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3236. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3237. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(-45), math.rad(20)), 0.15)
  3238. end
  3239. S = Instance.new("Sound")
  3240. S.Parent = Character.Torso
  3241. quote = math.random(1, 3)
  3242. if quote == 1 then
  3243. S.SoundId = "rbxassetid://1146553663"
  3244. elseif quote == 2 then
  3245. S.SoundId = "rbxassetid://1278017490"
  3246. elseif quote == 3 then
  3247. S.SoundId = "rbxassetid://0"
  3248. end
  3249. S.Volume = 10
  3250. S.Looped = false
  3251. S.Pitch = 1
  3252. S:Play()
  3253. q = Instance.new("ParticleEmitter", grab.HumanoidRootPart)
  3254. q.Rate = 500
  3255. q.Speed = NumberRange.new(7)
  3256. q.VelocitySpread = 40
  3257. q.Lifetime = NumberRange.new(0.1, 1)
  3258. q.Texture = "rbxassetid://291880914"
  3259. q.Color = ColorSequence.new(Color3.new(0.2, 0, 0), Color3.new(0, 0, 0))
  3260. q.Acceleration = Vector3.new(0, -50, 0)
  3261. q.Size = NumberSequence.new({
  3262. NumberSequenceKeypoint.new(0, 0.5, 0.1),
  3263. NumberSequenceKeypoint.new(1, 0.01, 0.01)
  3264. })
  3265. q.RotSpeed = NumberRange.new(-180, 180)
  3266. q.Rotation = NumberRange.new(-360, 360)
  3267. q.Transparency = NumberSequence.new({
  3268. NumberSequenceKeypoint.new(0, 1),
  3269. NumberSequenceKeypoint.new(0.2, 0),
  3270. NumberSequenceKeypoint.new(0.8, 0),
  3271. NumberSequenceKeypoint.new(1, 1)
  3272. })
  3273. S = Instance.new("Sound")
  3274. S.Parent = Character.Torso
  3275. S.SoundId = "rbxassetid://206082327"
  3276. S.Volume = 10
  3277. S.Looped = false
  3278. S.Pitch = 0.8
  3279. S:Play()
  3280. grab.HumanoidRootPart.Anchored = false
  3281. wait(0.2)
  3282. local Decoy = Instance.new("Part", Right_Arm)
  3283. Decoy.Name = "Decoy"
  3284. Decoy.Shape = Enum.PartType.Block
  3285. Decoy.CanCollide = false
  3286. Decoy.BrickColor = BrickColor.new("Medium stone grey")
  3287. Decoy.Transparency = 0
  3288. Decoy.Material = "Grass"
  3289. Decoy.Size = Vector3.new(1, 0.35, 1)
  3290. Decoy.TopSurface = Enum.SurfaceType.Smooth
  3291. Decoy.BottomSurface = Enum.SurfaceType.Smooth
  3292. local DecoyWeld = Instance.new("Weld", Decoy)
  3293. DecoyWeld.Part0 = Right_Arm
  3294. DecoyWeld.Part1 = Decoy
  3295. DecoyWeld.C1 = CFrame.new(0, 0, 1.2) * CFrame.fromEulerAnglesXYZ(math.rad(100), math.rad(0), 0)
  3296. local DecoyMesh = Instance.new("FileMesh", Decoy)
  3297. DecoyMesh.MeshId = "http://www.roblox.com/asset/?id=51177557"
  3298. DecoyMesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  3299. DecoyMesh.Scale = Vector3.new(1, 1, 1)
  3300. for i = 0, 0.1, 0.01 do
  3301. angleSpeed = 1
  3302. axisSpeed = 5
  3303. change = 0.5
  3304. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, 0) * c_angles(math.rad(140), math.rad(0), math.rad(-30)), 0.15)
  3305. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  3306. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3307. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3308. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3309. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3310. swait()
  3311. end
  3312. Decoy:Destroy()
  3313. Head.face.Texture = "rbxassetid://0"
  3314. wait()
  3315. local LEye = Part("LEye", "Really red", "Neon", 0, "Ball", Vector3.new(0.1, 0.1, 0.1), CFrame.new(0, 0, 0), false, false, Character)
  3316. Mesh = Instance.new("SpecialMesh", LEye)
  3317. Mesh.MeshType = "Sphere"
  3318. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  3319. Mesh.Offset = Vector3.new(-0.2, 0.2, -0.6)
  3320. newWeld(Head, LEye, 0, 0, 0)
  3321. local LEGlow = Instance.new("SurfaceLight")
  3322. LEGlow.Color = Color3.fromRGB(255, 0, 0)
  3323. LEGlow.Range = 6
  3324. LEGlow.Brightness = 10
  3325. LEGlow.Parent = LEye
  3326. local REye = Part("REye", "Really red", "Neon", 0, "Ball", Vector3.new(0.1, 0.1, 0.1), CFrame.new(0, 0, 0), false, false, Character)
  3327. Mesh = Instance.new("SpecialMesh", REye)
  3328. Mesh.MeshType = "Sphere"
  3329. Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  3330. Mesh.Offset = Vector3.new(0.2, 0.2, -0.6)
  3331. newWeld(Head, REye, 0, 0, 0)
  3332. local REGlow = Instance.new("SurfaceLight")
  3333. REGlow.Color = Color3.fromRGB(255, 0, 0)
  3334. REGlow.Range = 6
  3335. REGlow.Brightness = 10
  3336. REGlow.Parent = REye
  3337. Shades.Transparency = 0
  3338. attack2 = false
  3339. Animations = false
  3340. grab.Humanoid.MaxHealth = 0
  3341. grab.Humanoid.Health = 0
  3342. Right_Arm:findFirstChild("Decoy"):Destroy()
  3343. wait(0.5)
  3344. for i = 1, 10 do
  3345. LEye.Transparency = LEye.Transparency + 0.1
  3346. REye.Transparency = REye.Transparency + 0.1
  3347. LEGlow.Brightness = LEGlow.Brightness - 1
  3348. REGlow.Brightness = REGlow.Brightness - 1
  3349. wait()
  3350. end
  3351. Head.face.Texture = "rbxassetid://0"
  3352. LEye:Destroy()
  3353. REye:Destroy()
  3354. attack = false
  3355. else
  3356. rootPart.Anchored = false
  3357. attack = false
  3358. Animations = false
  3359. end
  3360. else
  3361. rootPart.Anchored = false
  3362. attack = false
  3363. Animations = false
  3364. return
  3365. end
  3366. end
  3367. function Squeeze()
  3368. gweld.C0 = CFrame.new(0, 3.6, 0)
  3369. local hit = mouse.Target
  3370. if hit ~= nil then
  3371. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  3372. local torsy
  3373. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3374. torsy = hit.Parent.Torso
  3375. end
  3376. if 0 >= hit.Parent:FindFirstChild("Humanoid").Health then
  3377. return
  3378. end
  3379. for i, v in pairs(hit.Parent:children()) do
  3380. if v:IsA("Part") and not v.Name == "HumanoidRootPart" then
  3381. return
  3382. end
  3383. end
  3384. attack = true
  3385. attack2 = true
  3386. Animations = true
  3387. Head.face.Texture = "rbxassetid://0"
  3388. local GYRO = Instance.new("BodyGyro", rootPart)
  3389. GYRO.D = 175
  3390. GYRO.P = 20000
  3391. GYRO.MaxTorque = Vector3.new(0, 4000000, 0)
  3392. GYRO.CFrame = CFrame.new(rootPart.Position, hit.Parent:findFirstChild("HumanoidRootPart").Position)
  3393. hit.Parent:findFirstChild("HumanoidRootPart").Anchored = true
  3394. GYRO:Destroy()
  3395. Trace()
  3396. Head.face.Texture = "rbxassetid://0"
  3397. rootPart.CFrame = hit.Parent:findFirstChild("HumanoidRootPart").CFrame
  3398. rootPart.CFrame = rootPart.CFrame + hit.Parent:findFirstChild("HumanoidRootPart").CFrame.lookVector * 6
  3399. rootPart.CFrame = rootPart.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(180), 0)
  3400. local grab
  3401. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  3402. if v:FindFirstChild("HumanoidRootPart") then
  3403. Grabbed = true
  3404. S = Instance.new("Sound")
  3405. S.Parent = Character.Torso
  3406. S.SoundId = "rbxassetid://260430060"
  3407. S.Volume = 10
  3408. S.Looped = false
  3409. S.Pitch = 1
  3410. S:Play()
  3411. grab = v
  3412. end
  3413. end
  3414. S = Instance.new("Sound")
  3415. S.Parent = Character.Torso
  3416. quote = math.random(1, 3)
  3417. if quote == 1 then
  3418. S.SoundId = "rbxassetid://626909112"
  3419. elseif quote == 2 then
  3420. S.SoundId = "rbxassetid://179760759"
  3421. elseif quote == 3 then
  3422. S.SoundId = "rbxassetid://573395427"
  3423. end
  3424. S.Volume = 10
  3425. S.Looped = false
  3426. S.Pitch = 0.2
  3427. S:Play()
  3428. for i = 0, 3, 0.05 do
  3429. swait()
  3430. if Grabbed == true then
  3431. grab.Humanoid.PlatformStand = true
  3432. grab.HumanoidRootPart.Anchored = true
  3433. grab.HumanoidRootPart.CFrame = g.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(150))
  3434. end
  3435. angleSpeed = 1
  3436. axisSpeed = 1
  3437. change = 0.5
  3438. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5 + math.sin(sine / 0.1) / 4, 0.5, 0 + math.sin(sine / 0.1) / 4) * c_angles(math.rad(140), math.rad(0), math.rad(30)), 0.15)
  3439. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3440. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(10), math.rad(0)), 0.15)
  3441. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(-10), math.rad(0)), 0.15)
  3442. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.05 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  3443. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(-40), math.rad(0)), 0.15)
  3444. end
  3445. grab.Torso:Destroy()
  3446. q = Instance.new("ParticleEmitter", grab.HumanoidRootPart)
  3447. q.Rate = 1000
  3448. q.Speed = NumberRange.new(7)
  3449. q.VelocitySpread = 40
  3450. q.Lifetime = NumberRange.new(0.1, 1)
  3451. q.Texture = "rbxassetid://291880914"
  3452. q.Color = ColorSequence.new(Color3.new(0.2, 0, 0), Color3.new(0, 0, 0))
  3453. q.Acceleration = Vector3.new(0, -50, 0)
  3454. q.Size = NumberSequence.new({
  3455. NumberSequenceKeypoint.new(0, 0.5, 0.1),
  3456. NumberSequenceKeypoint.new(1, 0.01, 0.01)
  3457. })
  3458. q.RotSpeed = NumberRange.new(-180, 180)
  3459. q.Rotation = NumberRange.new(-360, 360)
  3460. q.Transparency = NumberSequence.new({
  3461. NumberSequenceKeypoint.new(0, 1),
  3462. NumberSequenceKeypoint.new(0.2, 0),
  3463. NumberSequenceKeypoint.new(0.8, 0),
  3464. NumberSequenceKeypoint.new(1, 1)
  3465. })
  3466. S = Instance.new("Sound")
  3467. S.Parent = Character.Torso
  3468. S.SoundId = "rbxassetid://206082327"
  3469. S.Volume = 10
  3470. S.Looped = false
  3471. S.Pitch = 0.8
  3472. S:Play()
  3473. grab.HumanoidRootPart.Anchored = false
  3474. Head.face.Texture = "rbxassetid://0"
  3475. attack2 = false
  3476. Animations = false
  3477. grab.Humanoid.MaxHealth = 0
  3478. grab.Humanoid.Health = 0
  3479. wait(0.5)
  3480. attack = false
  3481. else
  3482. rootPart.Anchored = false
  3483. attack = false
  3484. Animations = false
  3485. end
  3486. else
  3487. rootPart.Anchored = false
  3488. attack = false
  3489. Animations = false
  3490. return
  3491. end
  3492. end
  3493. function Rock()
  3494. gweld.C0 = CFrame.new(0, 7, 0)
  3495. local hit = mouse.Target
  3496. if hit ~= nil then
  3497. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  3498. do
  3499. local torsy
  3500. if hit.Parent:FindFirstChild("Torso") ~= nil then
  3501. torsy = hit.Parent.Torso
  3502. end
  3503. if 0 >= hit.Parent:FindFirstChild("Humanoid").Health then
  3504. return
  3505. end
  3506. for i, v in pairs(hit.Parent:children()) do
  3507. if v:IsA("Part") and not v.Name == "HumanoidRootPart" then
  3508. return
  3509. end
  3510. end
  3511. attack = true
  3512. attack2 = true
  3513. Animations = true
  3514. Head.face.Texture = "rbxassetid://0"
  3515. local GYRO = Instance.new("BodyGyro", rootPart)
  3516. GYRO.D = 175
  3517. GYRO.P = 20000
  3518. GYRO.MaxTorque = Vector3.new(0, 4000000, 0)
  3519. GYRO.CFrame = CFrame.new(rootPart.Position, hit.Parent:findFirstChild("HumanoidRootPart").Position)
  3520. hit.Parent:findFirstChild("HumanoidRootPart").Anchored = true
  3521. local Rock = Instance.new("Part", g)
  3522. Rock.Name = "Rock"
  3523. Rock.Shape = Enum.PartType.Block
  3524. Rock.CanCollide = false
  3525. Rock.BrickColor = BrickColor.new("Medium stone grey")
  3526. Rock.Transparency = 0
  3527. Rock.Material = "Grass"
  3528. Rock.Size = Vector3.new(0.1, 0.1, 0.1)
  3529. Rock.CustomPhysicalProperties = PhysicalProperties.new(2.691, 0.4, 0.2, 1, 1)
  3530. Rock.TopSurface = Enum.SurfaceType.Smooth
  3531. Rock.BottomSurface = Enum.SurfaceType.Smooth
  3532. local RockWeld = Instance.new("Weld", Rock)
  3533. RockWeld.Part0 = g
  3534. RockWeld.Part1 = Rock
  3535. RockWeld.C1 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(100), math.rad(0), 0)
  3536. local RockMesh = Instance.new("FileMesh", Rock)
  3537. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  3538. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  3539. RockMesh.Scale = Vector3.new(3, 3, 3)
  3540. for i = 0, 0.2, 0.01 do
  3541. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(20)), 0.1)
  3542. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3543. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3544. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3545. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3546. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3547. end
  3548. for i = 0, 0.2, 0.01 do
  3549. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(20)), 0.1)
  3550. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3551. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3552. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3553. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3554. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3555. swait()
  3556. end
  3557. Head.face.Texture = "rbxassetid://0"
  3558. S = Instance.new("Sound")
  3559. S.Parent = Character.Torso
  3560. S.SoundId = "rbxassetid://1278006076"
  3561. S.Volume = 10
  3562. S.Looped = false
  3563. S.Pitch = 1
  3564. S:Play()
  3565. for i = 0, 0.05, 0.01 do
  3566. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(20)), 0.15)
  3567. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3568. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3569. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3570. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3571. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3572. swait()
  3573. end
  3574. local Rocked = Instance.new("BodyPosition", Rock)
  3575. Rocked.D = 100
  3576. Rocked.P = 2000
  3577. Rocked.MaxForce = Vector3.new(4000000, 4000000, 4000000)
  3578. Rocked.Position = hit.Parent:findFirstChild("HumanoidRootPart").Position
  3579. RockWeld:Destroy()
  3580. for i = 0, 0.01, 0.01 do
  3581. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0, -0.5) * c_angles(math.rad(25), math.rad(0), math.rad(20)), 0.15)
  3582. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  3583. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3584. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3585. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  3586. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  3587. swait()
  3588. end
  3589. Spawn(function()
  3590. wait(10)
  3591. for i = 1, 10 do
  3592. Rock.Transparency = Rock.Transparency + 0.1
  3593. swait()
  3594. end
  3595. Rock:Destroy()
  3596. end)
  3597. wait(0.1)
  3598. GYRO:Destroy()
  3599. Rocked:Destroy()
  3600. Trace()
  3601. Head.face.Texture = "rbxassetid://0"
  3602. local grab
  3603. for i, v in pairs(FindNearestTorso(Rock.CFrame.p, 15)) do
  3604. if v:FindFirstChild("HumanoidRootPart") then
  3605. Grabbed = true
  3606. S = Instance.new("Sound")
  3607. S.Parent = Character.Torso
  3608. S.SoundId = "rbxassetid://260430060"
  3609. S.Volume = 10
  3610. S.Looped = false
  3611. S.Pitch = 1
  3612. S:Play()
  3613. grab = v
  3614. Rock.Size = Vector3.new(3, 3, 3)
  3615. Rock.CanCollide = true
  3616. else
  3617. rootPart.Anchored = false
  3618. attack = false
  3619. Animations = false
  3620. return
  3621. end
  3622. end
  3623. if 0 >= grab:FindFirstChild("Humanoid").Health then
  3624. rootPart.Anchored = false
  3625. attack = false
  3626. Animations = false
  3627. return
  3628. end
  3629. S = Instance.new("Sound")
  3630. S.Parent = Character.Torso
  3631. quote = math.random(1, 3)
  3632. if quote == 1 then
  3633. S.SoundId = "rbxassetid://626909112"
  3634. elseif quote == 2 then
  3635. S.SoundId = "rbxassetid://179760759"
  3636. elseif quote == 3 then
  3637. S.SoundId = "rbxassetid://573395427"
  3638. end
  3639. S.Volume = 10
  3640. S.Looped = false
  3641. S.Pitch = 1
  3642. S:Play()
  3643. grab:FindFirstChild("Head").Size = Vector3.new(2, 1, 0)
  3644. grab:FindFirstChild("Torso").Size = Vector3.new(2, 2, 0)
  3645. grab:FindFirstChild("Right Arm").Size = Vector3.new(1, 2, 0)
  3646. grab:FindFirstChild("Left Arm").Size = Vector3.new(1, 2, 0)
  3647. grab:FindFirstChild("Right Leg").Size = Vector3.new(1, 2, 0)
  3648. grab:FindFirstChild("Left Leg").Size = Vector3.new(1, 2, 0)
  3649. q = Instance.new("ParticleEmitter", grab:FindFirstChild("HumanoidRootPart"))
  3650. q.Rate = 1000
  3651. q.Speed = NumberRange.new(7)
  3652. q.VelocitySpread = 40
  3653. q.Lifetime = NumberRange.new(0.1, 1)
  3654. q.Texture = "rbxassetid://291880914"
  3655. q.Color = ColorSequence.new(Color3.new(0.2, 0, 0), Color3.new(0, 0, 0))
  3656. q.Acceleration = Vector3.new(0, -50, 0)
  3657. q.Size = NumberSequence.new({
  3658. NumberSequenceKeypoint.new(0, 0.5, 0.1),
  3659. NumberSequenceKeypoint.new(1, 0.01, 0.01)
  3660. })
  3661. q.RotSpeed = NumberRange.new(-180, 180)
  3662. q.Rotation = NumberRange.new(-360, 360)
  3663. q.Transparency = NumberSequence.new({
  3664. NumberSequenceKeypoint.new(0, 1),
  3665. NumberSequenceKeypoint.new(0.2, 0),
  3666. NumberSequenceKeypoint.new(0.8, 0),
  3667. NumberSequenceKeypoint.new(1, 1)
  3668. })
  3669. S = Instance.new("Sound")
  3670. S.Parent = Character.Torso
  3671. S.SoundId = "rbxassetid://206082327"
  3672. S.Volume = 10
  3673. S.Looped = false
  3674. S.Pitch = 0.8
  3675. S:Play()
  3676. grab:FindFirstChild("HumanoidRootPart").Anchored = false
  3677. Head.face.Texture = "rbxassetid://0"
  3678. attack2 = false
  3679. Animations = false
  3680. grab:FindFirstChild("Humanoid").MaxHealth = 0
  3681. grab:FindFirstChild("Humanoid").Health = 0
  3682. wait(0.5)
  3683. rootPart.Anchored = false
  3684. attack = false
  3685. end
  3686. else
  3687. rootPart.Anchored = false
  3688. attack = false
  3689. Animations = false
  3690. end
  3691. else
  3692. rootPart.Anchored = false
  3693. attack = false
  3694. Animations = false
  3695. return
  3696. end
  3697. end
  3698.  
  3699. GunPoint = Instance.new("BodyGyro")
  3700. GunPoint.Parent = nil
  3701. GunPoint.D = 175
  3702. GunPoint.P = 20000
  3703. GunPoint.MaxTorque = Vector3.new(0, 4000000, 0)
  3704. Fire = Instance.new("ParticleEmitter", BE)
  3705. Fire.Name = "Light"
  3706. Fire.VelocitySpread = 0
  3707. Fire.Lifetime = NumberRange.new(0.1)
  3708. Fire.Speed = NumberRange.new(0)
  3709. Fire.Size = NumberSequence.new({
  3710. NumberSequenceKeypoint.new(0, 1, 0),
  3711. NumberSequenceKeypoint.new(1, 0, 0)
  3712. })
  3713. Fire.Transparency = NumberSequence.new({
  3714. NumberSequenceKeypoint.new(0, 0),
  3715. NumberSequenceKeypoint.new(1, 0)
  3716. })
  3717. Fire.LightEmission = 0.8
  3718. Fire.LockedToPart = true
  3719. Fire.Rotation = NumberRange.new(-360, 360)
  3720. Fire.RotSpeed = NumberRange.new(-360, 360)
  3721. Fire.Texture = "http://www.roblox.com/asset/?id=248625108"
  3722. Fire.Color = ColorSequence.new(Color3.fromRGB(255, 105, 19), Color3.fromRGB(255, 255, 127))
  3723. Fire.Rate = 300
  3724. Fire.Enabled = false
  3725. local Scale = game.Players.LocalPlayer.Character.Torso.Size.X / 2 * (game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1) * 0.8
  3726. AnimFSpd = 0.2
  3727. local gun = false
  3728. local shoot = false
  3729. local putback = false
  3730. function Gunfire()
  3731. attack = true
  3732. attack2 = true
  3733. Animations = true
  3734. wait()
  3735. gun = true
  3736. S = Instance.new("Sound")
  3737. S.Parent = BE
  3738. S.SoundId = "rbxassetid://1684717155"
  3739. S.Volume = 6
  3740. S.Looped = false
  3741. S.Pitch = 1
  3742. S:Play()
  3743. GunModel.Transparency = 0
  3744. GunPoint.Parent = rootPart
  3745. while gun == true do
  3746. swait()
  3747. if currentAnim == "Idling" then
  3748. for i = 0, 0.01, 0.01 do
  3749. angleSpeed = 1
  3750. axisSpeed = 1
  3751. change = 0.5
  3752. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  3753. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(80)), AnimFSpd)
  3754. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), AnimFSpd)
  3755. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), AnimFSpd)
  3756. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), AnimFSpd)
  3757. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(80) + math.sin(rootPart.RotVelocity.Y / 30) / 2, math.rad(0)), AnimFSpd)
  3758. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-80), math.rad(0)), AnimFSpd)
  3759. end
  3760. elseif currentAnim == "Falling" then
  3761. for i = 0, 0.01, 0.01 do
  3762. angleSpeed = 1
  3763. axisSpeed = 1
  3764. change = 0.5
  3765. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  3766. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, 0) * c_angles(math.rad(100), math.rad(0), math.rad(0)), 0.15)
  3767. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.5, 0.5, -0.5) * c_angles(math.rad(100), math.rad(0), math.rad(45)), 0.15)
  3768. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  3769. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  3770. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  3771. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(0)), 0.15)
  3772. end
  3773. end
  3774. if putback == true then
  3775. S = Instance.new("Sound")
  3776. S.Parent = BE
  3777. S.SoundId = "rbxassetid://294710932"
  3778. S.Volume = 10
  3779. S.Looped = false
  3780. S.Pitch = 1
  3781. S:Play()
  3782. putback = false
  3783. shoot = false
  3784. gun = false
  3785. GunPoint.Parent = nil
  3786. Animations = false
  3787. GunModel.Transparency = 1
  3788. attack2 = false
  3789. attack = false
  3790. end
  3791. if shoot == true then
  3792. S = Instance.new("Sound")
  3793. S.Parent = BE
  3794. S.SoundId = "rbxassetid://1045539607"
  3795. S.Volume = 10
  3796. S.Looped = false
  3797. S.Pitch = 1
  3798. S:Play()
  3799. Fire.Enabled = true
  3800. BulletDetection(BE.Position, Mouse.Hit.Position, false)
  3801. swait(1)
  3802. Fire.Enabled = false
  3803. do
  3804. local Shell = Instance.new("Part", game.Workspace)
  3805. Shell.FormFactor = "Custom"
  3806. Shell.BrickColor = BrickColor.new("Bright yellow")
  3807. Shell.Material = "Metal"
  3808. Shell.CanCollide = true
  3809. Shell.CustomPhysicalProperties = PhysicalProperties.new(0.2, 3, 1, 1, 1)
  3810. Shell.Size = Vector3.new(0.15, 0.3, 0.15) * Scale
  3811. Shell.CFrame = BEX.CFrame * CFrame.new(0.5, 0.5, 0) * CFrame.Angles(math.rad(-90), 0, 0)
  3812. Shell.Velocity = ((BEX.CFrame * CFrame.new(-5, 0, math.random(-2, 2))).p - BEX.CFrame.p) * 5 * Scale
  3813. local Mesh = Instance.new("CylinderMesh", Shell)
  3814. Mesh.Scale = Vector3.new(0.15, 0.3, 0.15) * Scale / Shell.Size
  3815. Spawn(function()
  3816. wait(0.1)
  3817. for i = 1, 10 do
  3818. Shell.Transparency = Shell.Transparency + 0.1
  3819. swait()
  3820. end
  3821. Shell:Destroy()
  3822. end)
  3823. if currentAnim == "Idling" then
  3824. for i = 0, 0.05, 0.01 do
  3825. angleSpeed = 1
  3826. axisSpeed = 1
  3827. change = 0.5
  3828. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  3829. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(10), math.rad(85)), AnimFSpd)
  3830. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(35)), AnimFSpd)
  3831. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(-5), math.rad(0)), AnimFSpd)
  3832. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(-5), math.rad(0)), AnimFSpd)
  3833. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(85), math.rad(0)), AnimFSpd)
  3834. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(-85), math.rad(20)), AnimFSpd)
  3835. swait()
  3836. end
  3837. for i = 0, 0.05, 0.01 do
  3838. angleSpeed = 1
  3839. axisSpeed = 1
  3840. change = 0.5
  3841. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  3842. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(80)), AnimFSpd)
  3843. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), AnimFSpd)
  3844. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), AnimFSpd)
  3845. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), AnimFSpd)
  3846. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(80), math.rad(0)), AnimFSpd)
  3847. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-80), math.rad(0)), AnimFSpd)
  3848. swait()
  3849. end
  3850. elseif currentAnim == "Falling" then
  3851. for i = 0, 0.05, 0.01 do
  3852. angleSpeed = 1
  3853. axisSpeed = 1
  3854. change = 0.5
  3855. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  3856. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, 0) * c_angles(math.rad(105), math.rad(0), math.rad(0)), AnimFSpd)
  3857. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.5, 0.5, -0.5) * c_angles(math.rad(105), math.rad(0), math.rad(45)), AnimFSpd)
  3858. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), AnimFSpd)
  3859. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), AnimFSpd)
  3860. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), AnimFSpd)
  3861. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(0), math.rad(0)), AnimFSpd)
  3862. end
  3863. for i = 0, 0.05, 0.01 do
  3864. angleSpeed = 1
  3865. axisSpeed = 1
  3866. change = 0.5
  3867. GunPoint.cframe = CFrame.new(rootPart.Position, mouse.Hit.Position)
  3868. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5, 0) * c_angles(math.rad(100), math.rad(0), math.rad(0)), AnimFSpd)
  3869. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.5, 0.5, -0.5) * c_angles(math.rad(100), math.rad(0), math.rad(45)), AnimFSpd)
  3870. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), AnimFSpd)
  3871. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), AnimFSpd)
  3872. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), AnimFSpd)
  3873. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(0)), AnimFSpd)
  3874. swait()
  3875. end
  3876. end
  3877. shoot = false
  3878. end
  3879. end
  3880. end
  3881. GunModel.Transparency = 1
  3882. GunPoint.Parent = nil
  3883. Animations = false
  3884. attack2 = false
  3885. attack = false
  3886. end
  3887. mouse.KeyUp:connect(function(key)
  3888. if key == "m" and attack == false and crouching == false then
  3889. if transformed == false and transformed2 == false then
  3890. Gunfire()
  3891. elseif transformed == true and transformed2 == true then
  3892. Rock(mouse)
  3893. end
  3894. end
  3895. end)
  3896. mouse.KeyUp:connect(function(key)
  3897. if key == "m" and gun == true and crouching == false then
  3898. putback = true
  3899. end
  3900. end)
  3901. function UpperCut()
  3902. attack = true
  3903. attack2 = true
  3904. Animations = true
  3905. crouching = false
  3906. local rng2 = Instance.new("Part", game.Workspace)
  3907. rng2.Anchored = true
  3908. rng2.BrickColor = BrickColor.new("Really black")
  3909. rng2.CanCollide = false
  3910. rng2.FormFactor = 3
  3911. rng2.Name = "Ring"
  3912. rng2.Size = Vector3.new(1, 1, 1)
  3913. rng2.Transparency = 0.35
  3914. rng2.TopSurface = 0
  3915. rng2.BottomSurface = 0
  3916. rng2.CFrame = rng2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(180))
  3917. rng2.Position = rootPart.Position - Vector3.new(0, -6, 1)
  3918. local rngm2 = Instance.new("SpecialMesh", rng2)
  3919. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3920. rngm2.Scale = Vector3.new(3, 0, 3)
  3921. Spawn(function()
  3922. for i = 1, 60, 2 do
  3923. rngm2.Scale = Vector3.new(3 + i * 0.3, 10 - i * 0.1, 3 + i * 0.3)
  3924. rng2.Transparency = i / 30
  3925. wait()
  3926. end
  3927. wait()
  3928. rng2:Destroy()
  3929. end)
  3930. S = Instance.new("Sound")
  3931. S.Parent = rootPart
  3932. S.SoundId = "rbxassetid://3373991228"
  3933. S.Volume = 10
  3934. S.Looped = false
  3935. S.Pitch = 0.8
  3936. S:Play()
  3937. S = Instance.new("Sound")
  3938. S.Parent = Character.Torso
  3939. S.SoundId = "rbxassetid://1146552988"
  3940. S.Volume = 10
  3941. S.Looped = false
  3942. S.Pitch = 1
  3943. S.TimePosition = 0.4
  3944. S:Play()
  3945. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 14)) do
  3946. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  3947. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(10, 15)
  3948. v:FindFirstChild("Humanoid").PlatformStand = false
  3949. v:FindFirstChild("HumanoidRootPart").Velocity = v:FindFirstChild("HumanoidRootPart").CFrame.upVector * 165
  3950. else
  3951. end
  3952. end
  3953. if transformed == false then
  3954. for i = 0, 0.05, 0.01 do
  3955. angleSpeed = 1
  3956. axisSpeed = 1
  3957. change = 0.5
  3958. Trace()
  3959. rootPart.CFrame = rootPart.CFrame * CFrame.new(0, 2, 0)
  3960. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(100), math.rad(0), math.rad(0)), 0.4)
  3961. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(-20)), 0.4)
  3962. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  3963. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  3964. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  3965. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  3966. swait()
  3967. end
  3968. for i = 0, 0.2, 0.01 do
  3969. angleSpeed = 1
  3970. axisSpeed = 1
  3971. change = 0.5
  3972. Trace()
  3973. rootPart.Velocity = rootPart.CFrame.upVector * 100
  3974. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(170), math.rad(0), math.rad(0)), 0.4)
  3975. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(-20)), 0.4)
  3976. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  3977. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  3978. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  3979. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  3980. swait()
  3981. end
  3982. elseif transformed == true then
  3983. for i = 0, 0.05, 0.01 do
  3984. angleSpeed = 1
  3985. axisSpeed = 1
  3986. change = 0.5
  3987. rootPart.CFrame = rootPart.CFrame * CFrame.new(0, 2, 0)
  3988. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  3989. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(100), math.rad(0), math.rad(0)), 0.4)
  3990. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  3991. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  3992. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  3993. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  3994. swait()
  3995. end
  3996. for i = 0, 0.2, 0.01 do
  3997. angleSpeed = 1
  3998. axisSpeed = 1
  3999. change = 0.5
  4000. rootPart.Velocity = rootPart.CFrame.upVector * 100
  4001. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  4002. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(170), math.rad(0), math.rad(0)), 0.4)
  4003. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  4004. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  4005. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  4006. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  4007. swait()
  4008. end
  4009. end
  4010. Animations = false
  4011. attack2 = false
  4012. attack = false
  4013. end
  4014. crouching = false
  4015. mouse.KeyDown:connect(function(key)
  4016. if key == "c" and attack == false and crouching == false then
  4017. crouching = true
  4018. Animations = true
  4019. Trace()
  4020. while crouching == true do
  4021. if transformed == false then
  4022. angleSpeed = 1
  4023. axisSpeed = 1
  4024. change = 0.5
  4025. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(45)), 0.9)
  4026. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.2 + -math.sin(sine / 15) / 10, -1) * c_angles(math.rad(60), math.rad(20), math.rad(10)), 0.9)
  4027. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.9)
  4028. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(90), math.rad(0), math.rad(40)), 0.9)
  4029. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60), math.rad(0), math.rad(-20)), 0.9)
  4030. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(30), math.rad(0)), 0.9)
  4031. swait()
  4032. elseif transformed == true then
  4033. angleSpeed = 1
  4034. axisSpeed = 1
  4035. change = 0.5
  4036. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.2 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(60), math.rad(20), math.rad(10)), 0.9)
  4037. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + -math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(-45)), 0.9)
  4038. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.9)
  4039. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(90), math.rad(0), math.rad(40)), 0.9)
  4040. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60), math.rad(0), math.rad(-20)), 0.9)
  4041. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(30), math.rad(0)), 0.9)
  4042. swait()
  4043. end
  4044. end
  4045. end
  4046. end)
  4047. mouse.KeyUp:connect(function(key)
  4048. if key == "c" and attack == false then
  4049. crouching = false
  4050. Animations = false
  4051. end
  4052. end)
  4053. function Laugh()
  4054. attack = true
  4055. attack2 = true
  4056. Animations = true
  4057. S = Instance.new("Sound")
  4058. S.Parent = rootPart
  4059. S.SoundId = "rbxassetid://1278007556"
  4060. S.Volume = 10
  4061. S.Looped = false
  4062. S.Pitch = 1
  4063. S:Play()
  4064. Head.face.Texture = "rbxassetid://0"
  4065. for i = 0, 0.2, 0.01 do
  4066. angleSpeed = 1
  4067. axisSpeed = 1
  4068. change = 0.5
  4069. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(5)), 0.15)
  4070. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-5)), 0.15)
  4071. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  4072. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  4073. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) + math.sin(sine / 15) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  4074. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-20) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  4075. swait()
  4076. end
  4077. Head.face.Texture = "rbxassetid://0"
  4078. for i = 0, 0.7, 0.01 do
  4079. angleSpeed = 1
  4080. axisSpeed = 1
  4081. change = 5
  4082. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(5)), 0.15)
  4083. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-5)), 0.15)
  4084. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  4085. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  4086. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) + math.sin(sine / 15) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  4087. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0 + math.sin(sine / 15) / 10) * c_angles(math.rad(15) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  4088. swait()
  4089. end
  4090. Head.face.Texture = "rbxassetid://0"
  4091. Animations = false
  4092. attack2 = false
  4093. attack = false
  4094. end
  4095. mouse.KeyDown:connect(function(key)
  4096. if key == "y" and attack == false and transformed == false then
  4097. Laugh()
  4098. end
  4099. end)
  4100. transformed = false
  4101. transformed2 = false
  4102. transforming = false
  4103. function Uroboros()
  4104. attack = true
  4105. attack2 = true
  4106. Animations = true
  4107. transforming = true
  4108. Theme.SoundId = "rbxassetid://856054316"
  4109. Theme.TimePosition = 0.8
  4110. Theme:Play()
  4111. for i = 0, 0.5, 0.01 do
  4112. angleSpeed = 1
  4113. axisSpeed = 1
  4114. change = 0.5
  4115. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.2 + math.sin(sine / 15) / 10, -1) * c_angles(math.rad(60), math.rad(20), math.rad(10)), 0.15)
  4116. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + -math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(-45)), 0.15)
  4117. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.15)
  4118. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(90), math.rad(0), math.rad(40)), 0.15)
  4119. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60), math.rad(0), math.rad(-20)), 0.15)
  4120. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(30), math.rad(0)), 0.15)
  4121. swait()
  4122. end
  4123. faceinfect = Instance.new("Decal", Head)
  4124. faceinfect.Name = "Uroboros"
  4125. faceinfect.Face = "Front"
  4126. faceinfect.Texture = "rbxassetid://1920646704"
  4127. local rng2 = Instance.new("Part", Character)
  4128. rng2.Anchored = true
  4129. rng2.BrickColor = BrickColor.new("Really black")
  4130. rng2.CanCollide = false
  4131. rng2.FormFactor = 3
  4132. rng2.Name = "Shockwave"
  4133. rng2.Size = Vector3.new(1, 1, 1)
  4134. rng2.Transparency = 0.35
  4135. rng2.TopSurface = 0
  4136. rng2.BottomSurface = 0
  4137. rng2.CFrame = rootPart.CFrame
  4138. local rngm2 = Instance.new("SpecialMesh", rng2)
  4139. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4140. rngm2.Scale = Vector3.new(1, 0, 1)
  4141. rngm2.Offset = Vector3.new(0, 0, -2)
  4142. Spawn(function()
  4143. for i = 1, 60, 2 do
  4144. rngm2.Scale = Vector3.new(1 + i * 0.3, 5 - i * 0.1, 1 + i * 0.3)
  4145. rng2.Transparency = i / 30
  4146. rng2.CFrame = rng2.CFrame - Vector3.new(0, 0.2, 0)
  4147. swait()
  4148. end
  4149. wait()
  4150. rng2:Destroy()
  4151. end)
  4152. local rng2 = Instance.new("Part", Character)
  4153. rng2.Anchored = true
  4154. rng2.BrickColor = BrickColor.new("Really black")
  4155. rng2.CanCollide = false
  4156. rng2.FormFactor = 3
  4157. rng2.Name = "Shockwave"
  4158. rng2.Size = Vector3.new(1, 1, 1)
  4159. rng2.Transparency = 0.35
  4160. rng2.TopSurface = 0
  4161. rng2.BottomSurface = 0
  4162. rng2.CFrame = rootPart.CFrame
  4163. local rngm2 = Instance.new("SpecialMesh", rng2)
  4164. rngm2.Scale = Vector3.new(1, 0, 1)
  4165. rngm2.Offset = Vector3.new(0, 0.5, -1)
  4166. rngm2.MeshType = "Sphere"
  4167. Spawn(function()
  4168. for i = 1, 60, 2 do
  4169. rngm2.Scale = Vector3.new(5 + i * 0.3, 5 + i * 0.3, 5 + i * 0.3)
  4170. rng2.Transparency = i / 60
  4171. swait()
  4172. end
  4173. wait()
  4174. rng2:Destroy()
  4175. end)
  4176. local RArm1 = Instance.new("Part", Right_Arm)
  4177. RArm1.Name = "Blade"
  4178. RArm1.Shape = Enum.PartType.Ball
  4179. RArm1.CanCollide = false
  4180. RArm1.BrickColor = BrickColor.new("Medium stone grey")
  4181. RArm1.Transparency = 0
  4182. RArm1.Material = "Grass"
  4183. RArm1.Size = Vector3.new(0.1, 0.1, 0.1)
  4184. RArm1.TopSurface = Enum.SurfaceType.Smooth
  4185. RArm1.BottomSurface = Enum.SurfaceType.Smooth
  4186. local RArm1Weld = Instance.new("Weld", RArm1)
  4187. RArm1Weld.Part0 = Right_Arm
  4188. RArm1Weld.Part1 = RArm1
  4189. RArm1Weld.C1 = CFrame.new(0.2, -1.3, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(90), math.rad(10))
  4190. RArm1Mesh = Instance.new("FileMesh", RArm1)
  4191. RArm1Mesh.MeshId = "http://www.roblox.com/asset/?id=898849476"
  4192. RArm1Mesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  4193. RArm1Mesh.Scale = Vector3.new(0.007, 0.0035, 0.007)
  4194. local RArm2 = Instance.new("Part", Right_Arm)
  4195. RArm2.Name = "Blade"
  4196. RArm2.Shape = Enum.PartType.Ball
  4197. RArm2.CanCollide = false
  4198. RArm2.BrickColor = BrickColor.new("Medium stone grey")
  4199. RArm2.Transparency = 0
  4200. RArm2.Material = "Grass"
  4201. RArm2.Size = Vector3.new(0.1, 0.1, 0.1)
  4202. RArm2.TopSurface = Enum.SurfaceType.Smooth
  4203. RArm2.BottomSurface = Enum.SurfaceType.Smooth
  4204. local RArm2Weld = Instance.new("Weld", RArm2)
  4205. RArm2Weld.Part0 = Right_Arm
  4206. RArm2Weld.Part1 = RArm2
  4207. RArm2Weld.C1 = CFrame.new(-0.2, -1.5, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(-10))
  4208. RArm2Weld = Instance.new("FileMesh", RArm2)
  4209. RArm2Weld.MeshId = "http://www.roblox.com/asset/?id=898849476"
  4210. RArm2Weld.TextureId = "http://www.roblox.com/asset/?id=51177552"
  4211. RArm2Weld.Scale = Vector3.new(0.007, 0.0035, 0.007)
  4212. RArm2Mesh = Instance.new("FileMesh", RArm2)
  4213. RArm2Mesh.MeshId = "http://www.roblox.com/asset/?id=898849476"
  4214. RArm2Mesh.TextureId = "http://www.roblox.com/asset/?id=51177552"
  4215. RArm2Mesh.Scale = Vector3.new(0.007, 0.0035, 0.007)
  4216. local RArm3 = Instance.new("Part", Right_Arm)
  4217. RArm3.Name = "Metal"
  4218. RArm3.Shape = Enum.PartType.Ball
  4219. RArm3.CanCollide = false
  4220. RArm3.BrickColor = BrickColor.new("Really black")
  4221. RArm3.Transparency = 0
  4222. RArm3.Material = "DiamondPlate"
  4223. RArm3.Size = Vector3.new(0.1, 0.1, 0.1)
  4224. RArm3.TopSurface = Enum.SurfaceType.Smooth
  4225. RArm3.BottomSurface = Enum.SurfaceType.Smooth
  4226. local RArm3Weld = Instance.new("Weld", RArm3)
  4227. RArm3Weld.Part0 = Right_Arm
  4228. RArm3Weld.Part1 = RArm3
  4229. RArm3Weld.C1 = CFrame.new(0, -0.4, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(0))
  4230. RArm3Mesh = Instance.new("FileMesh", RArm3)
  4231. RArm3Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  4232. RArm3Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  4233. local RArm4 = Instance.new("Part", Right_Arm)
  4234. RArm4.Name = "Metal"
  4235. RArm4.Shape = Enum.PartType.Ball
  4236. RArm4.CanCollide = false
  4237. RArm4.BrickColor = BrickColor.new("Really black")
  4238. RArm4.Transparency = 0
  4239. RArm4.Material = "DiamondPlate"
  4240. RArm4.Size = Vector3.new(0.1, 0.1, 0.1)
  4241. RArm4.TopSurface = Enum.SurfaceType.Smooth
  4242. RArm4.BottomSurface = Enum.SurfaceType.Smooth
  4243. local RArm4Weld = Instance.new("Weld", RArm4)
  4244. RArm4Weld.Part0 = Right_Arm
  4245. RArm4Weld.Part1 = RArm4
  4246. RArm4Weld.C1 = CFrame.new(0, -0.4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(0))
  4247. RArm4Mesh = Instance.new("FileMesh", RArm4)
  4248. RArm4Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  4249. RArm4Mesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4250. RArm4Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  4251. local RArm4 = Instance.new("Part", Right_Arm)
  4252. RArm4.Name = "Metal"
  4253. RArm4.Shape = Enum.PartType.Ball
  4254. RArm4.CanCollide = false
  4255. RArm4.BrickColor = BrickColor.new("Really black")
  4256. RArm4.Transparency = 0
  4257. RArm4.Material = "DiamondPlate"
  4258. RArm4.Size = Vector3.new(0.1, 0.1, 0.1)
  4259. RArm4.TopSurface = Enum.SurfaceType.Smooth
  4260. RArm4.BottomSurface = Enum.SurfaceType.Smooth
  4261. local RArm4Weld = Instance.new("Weld", RArm4)
  4262. RArm4Weld.Part0 = Right_Arm
  4263. RArm4Weld.Part1 = RArm4
  4264. RArm4Weld.C1 = CFrame.new(0, -0.4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(-90), math.rad(0))
  4265. RArm4Mesh = Instance.new("FileMesh", RArm4)
  4266. RArm4Mesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4267. RArm4Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  4268. RArm4Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  4269. local Tentacle = Instance.new("Part", Right_Arm)
  4270. Tentacle.Name = "Tentacle"
  4271. Tentacle.Shape = Enum.PartType.Ball
  4272. Tentacle.CanCollide = false
  4273. Tentacle.BrickColor = BrickColor.new("Really black")
  4274. Tentacle.Transparency = 0
  4275. Tentacle.Material = "DiamondPlate"
  4276. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4277. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4278. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4279. local TentacleWeld = Instance.new("Weld", Tentacle)
  4280. TentacleWeld.Part0 = Right_Arm
  4281. TentacleWeld.Part1 = Tentacle
  4282. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
  4283. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4284. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4285. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4286. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  4287. local Tentacle = Instance.new("Part", Right_Arm)
  4288. Tentacle.Name = "Tentacle"
  4289. Tentacle.Shape = Enum.PartType.Ball
  4290. Tentacle.CanCollide = false
  4291. Tentacle.BrickColor = BrickColor.new("Really black")
  4292. Tentacle.Transparency = 0
  4293. Tentacle.Material = "DiamondPlate"
  4294. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4295. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4296. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4297. local TentacleWeld = Instance.new("Weld", Tentacle)
  4298. TentacleWeld.Part0 = Right_Arm
  4299. TentacleWeld.Part1 = Tentacle
  4300. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(180))
  4301. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4302. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4303. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4304. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  4305. local Tentacle = Instance.new("Part", Right_Arm)
  4306. Tentacle.Name = "Blade"
  4307. Tentacle.Shape = Enum.PartType.Ball
  4308. Tentacle.CanCollide = false
  4309. Tentacle.BrickColor = BrickColor.new("Really black")
  4310. Tentacle.Transparency = 0
  4311. Tentacle.Material = "DiamondPlate"
  4312. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4313. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4314. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4315. local TentacleWeld = Instance.new("Weld", Tentacle)
  4316. TentacleWeld.Part0 = Right_Arm
  4317. TentacleWeld.Part1 = Tentacle
  4318. TentacleWeld.C1 = CFrame.new(0, 0, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(100), math.rad(180))
  4319. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4320. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4321. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4322. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  4323. local Tentacle = Instance.new("Part", Right_Arm)
  4324. Tentacle.Name = "Blade"
  4325. Tentacle.Shape = Enum.PartType.Ball
  4326. Tentacle.CanCollide = false
  4327. Tentacle.BrickColor = BrickColor.new("Really black")
  4328. Tentacle.Transparency = 0
  4329. Tentacle.Material = "DiamondPlate"
  4330. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4331. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4332. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4333. local TentacleWeld = Instance.new("Weld", Tentacle)
  4334. TentacleWeld.Part0 = Right_Arm
  4335. TentacleWeld.Part1 = Tentacle
  4336. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(-45), math.rad(180))
  4337. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4338. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4339. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4340. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  4341. local Tors = Instance.new("Part", Character)
  4342. Tors.Name = "Toor"
  4343. Tors.CanCollide = false
  4344. Tors.BrickColor = BrickColor.new("Really black")
  4345. Tors.Transparency = 0
  4346. Tors.Material = "Metal"
  4347. Tors.Size = Vector3.new(0.1, 0.1, 0.1)
  4348. Tors.TopSurface = Enum.SurfaceType.Smooth
  4349. Tors.BottomSurface = Enum.SurfaceType.Smooth
  4350. local TorsWeld = Instance.new("Weld", Tors)
  4351. TorsWeld.Part0 = Torso
  4352. TorsWeld.Part1 = Tors
  4353. TorsWeld.C1 = CFrame.new(0, 0.44, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(180))
  4354. TMesh = Instance.new("SpecialMesh", Tors)
  4355. TMesh.Scale = Vector3.new(11.6, 11.6, 11.6)
  4356. TMesh.TextureId = "rbxassetid://74620702"
  4357. TMesh.MeshType = "Wedge"
  4358. local Tentacle = Instance.new("Part", Torso)
  4359. Tentacle.Name = "Blade"
  4360. Tentacle.Shape = Enum.PartType.Ball
  4361. Tentacle.CanCollide = false
  4362. Tentacle.BrickColor = BrickColor.new("Really black")
  4363. Tentacle.Transparency = 0
  4364. Tentacle.Material = "DiamondPlate"
  4365. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4366. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4367. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4368. local TentacleWeld = Instance.new("Weld", Tentacle)
  4369. TentacleWeld.Part0 = Torso
  4370. TentacleWeld.Part1 = Tentacle
  4371. TentacleWeld.C1 = CFrame.new(0.5, 0.5, 0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(90))
  4372. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4373. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4374. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4375. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4376. local Tentacle = Instance.new("Part", Torso)
  4377. Tentacle.Name = "Blade"
  4378. Tentacle.Shape = Enum.PartType.Ball
  4379. Tentacle.CanCollide = false
  4380. Tentacle.BrickColor = BrickColor.new("Really black")
  4381. Tentacle.Transparency = 0
  4382. Tentacle.Material = "DiamondPlate"
  4383. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4384. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4385. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4386. local TentacleWeld = Instance.new("Weld", Tentacle)
  4387. TentacleWeld.Part0 = Torso
  4388. TentacleWeld.Part1 = Tentacle
  4389. TentacleWeld.C1 = CFrame.new(0.5, 0.5, 0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(45))
  4390. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4391. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4392. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4393. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4394. local Tentacle = Instance.new("Part", Torso)
  4395. Tentacle.Name = "Blade"
  4396. Tentacle.Shape = Enum.PartType.Ball
  4397. Tentacle.CanCollide = false
  4398. Tentacle.BrickColor = BrickColor.new("Really black")
  4399. Tentacle.Transparency = 0
  4400. Tentacle.Material = "DiamondPlate"
  4401. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4402. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4403. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4404. local TentacleWeld = Instance.new("Weld", Tentacle)
  4405. TentacleWeld.Part0 = Torso
  4406. TentacleWeld.Part1 = Tentacle
  4407. TentacleWeld.C1 = CFrame.new(0.6, 0.5, -0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(150))
  4408. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4409. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4410. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4411. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4412. local Tentacle = Instance.new("Part", Torso)
  4413. Tentacle.Name = "Blade"
  4414. Tentacle.Shape = Enum.PartType.Ball
  4415. Tentacle.CanCollide = false
  4416. Tentacle.BrickColor = BrickColor.new("Really black")
  4417. Tentacle.Transparency = 0
  4418. Tentacle.Material = "DiamondPlate"
  4419. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4420. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4421. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4422. local TentacleWeld = Instance.new("Weld", Tentacle)
  4423. TentacleWeld.Part0 = Torso
  4424. TentacleWeld.Part1 = Tentacle
  4425. TentacleWeld.C1 = CFrame.new(-0.8, 0.5, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(-90))
  4426. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4427. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4428. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4429. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4430. local Tentacle = Instance.new("Part", Torso)
  4431. Tentacle.Name = "Blade"
  4432. Tentacle.Shape = Enum.PartType.Ball
  4433. Tentacle.CanCollide = false
  4434. Tentacle.BrickColor = BrickColor.new("Really black")
  4435. Tentacle.Transparency = 0
  4436. Tentacle.Material = "DiamondPlate"
  4437. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4438. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4439. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4440. local TentacleWeld = Instance.new("Weld", Tentacle)
  4441. TentacleWeld.Part0 = Torso
  4442. TentacleWeld.Part1 = Tentacle
  4443. TentacleWeld.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  4444. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4445. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4446. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4447. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4448. local Tentacle = Instance.new("Part", Torso)
  4449. Tentacle.Name = "Blade"
  4450. Tentacle.Shape = Enum.PartType.Ball
  4451. Tentacle.CanCollide = false
  4452. Tentacle.BrickColor = BrickColor.new("Really black")
  4453. Tentacle.Transparency = 0
  4454. Tentacle.Material = "DiamondPlate"
  4455. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4456. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4457. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4458. local TentacleWeld = Instance.new("Weld", Tentacle)
  4459. TentacleWeld.Part0 = Torso
  4460. TentacleWeld.Part1 = Tentacle
  4461. TentacleWeld.C1 = CFrame.new(0.5, 0.5, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(60))
  4462. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4463. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4464. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4465. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4466. local Tentacle = Instance.new("Part", Torso)
  4467. Tentacle.Name = "Blade"
  4468. Tentacle.Shape = Enum.PartType.Ball
  4469. Tentacle.CanCollide = false
  4470. Tentacle.BrickColor = BrickColor.new("Really black")
  4471. Tentacle.Transparency = 0
  4472. Tentacle.Material = "DiamondPlate"
  4473. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4474. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4475. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4476. local TentacleWeld = Instance.new("Weld", Tentacle)
  4477. TentacleWeld.Part0 = Torso
  4478. TentacleWeld.Part1 = Tentacle
  4479. TentacleWeld.C1 = CFrame.new(0.5, -0.5, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(65))
  4480. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4481. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4482. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4483. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4484. local Tentacle = Instance.new("Part", Torso)
  4485. Tentacle.Name = "Blade"
  4486. Tentacle.Shape = Enum.PartType.Ball
  4487. Tentacle.CanCollide = false
  4488. Tentacle.BrickColor = BrickColor.new("Really black")
  4489. Tentacle.Transparency = 0
  4490. Tentacle.Material = "DiamondPlate"
  4491. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4492. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4493. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4494. local TentacleWeld = Instance.new("Weld", Tentacle)
  4495. TentacleWeld.Part0 = Torso
  4496. TentacleWeld.Part1 = Tentacle
  4497. TentacleWeld.C1 = CFrame.new(0.5, -0.5, 0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(90))
  4498. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4499. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4500. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4501. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4502. local Tentacle = Instance.new("Part", Torso)
  4503. Tentacle.Name = "Blade"
  4504. Tentacle.Shape = Enum.PartType.Ball
  4505. Tentacle.CanCollide = false
  4506. Tentacle.BrickColor = BrickColor.new("Really black")
  4507. Tentacle.Transparency = 0
  4508. Tentacle.Material = "DiamondPlate"
  4509. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4510. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4511. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4512. local TentacleWeld = Instance.new("Weld", Tentacle)
  4513. TentacleWeld.Part0 = Torso
  4514. TentacleWeld.Part1 = Tentacle
  4515. TentacleWeld.C1 = CFrame.new(0.5, -0.5, 0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(45))
  4516. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4517. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4518. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4519. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4520. local Tentacle = Instance.new("Part", Torso)
  4521. Tentacle.Name = "Blade"
  4522. Tentacle.Shape = Enum.PartType.Ball
  4523. Tentacle.CanCollide = false
  4524. Tentacle.BrickColor = BrickColor.new("Really black")
  4525. Tentacle.Transparency = 0
  4526. Tentacle.Material = "DiamondPlate"
  4527. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4528. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4529. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4530. local TentacleWeld = Instance.new("Weld", Tentacle)
  4531. TentacleWeld.Part0 = Torso
  4532. TentacleWeld.Part1 = Tentacle
  4533. TentacleWeld.C1 = CFrame.new(0.6, -0.5, -0.3) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(150))
  4534. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4535. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4536. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4537. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4538. local Tentacle = Instance.new("Part", Torso)
  4539. Tentacle.Name = "Blade"
  4540. Tentacle.Shape = Enum.PartType.Ball
  4541. Tentacle.CanCollide = false
  4542. Tentacle.BrickColor = BrickColor.new("Really black")
  4543. Tentacle.Transparency = 0
  4544. Tentacle.Material = "DiamondPlate"
  4545. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4546. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4547. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4548. local TentacleWeld = Instance.new("Weld", Tentacle)
  4549. TentacleWeld.Part0 = Torso
  4550. TentacleWeld.Part1 = Tentacle
  4551. TentacleWeld.C1 = CFrame.new(0, -0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  4552. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4553. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4554. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4555. TentacleMesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  4556. local Tentacle = Instance.new("Part", Torso)
  4557. Tentacle.Name = "Blade"
  4558. Tentacle.Shape = Enum.PartType.Ball
  4559. Tentacle.CanCollide = false
  4560. Tentacle.BrickColor = BrickColor.new("Really black")
  4561. Tentacle.Transparency = 0
  4562. Tentacle.Material = "DiamondPlate"
  4563. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4564. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4565. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4566. local TentacleWeld = Instance.new("Weld", Tentacle)
  4567. TentacleWeld.Part0 = Torso
  4568. TentacleWeld.Part1 = Tentacle
  4569. TentacleWeld.C1 = CFrame.new(1.5, -0.35, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-85), math.rad(-20), math.rad(120))
  4570. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4571. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4572. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4573. TentacleMesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  4574. local Heart = Instance.new("Part", Character)
  4575. Heart.Name = "Heart"
  4576. Heart.Shape = Enum.PartType.Ball
  4577. Heart.CanCollide = false
  4578. Heart.BrickColor = BrickColor.new("Neon orange")
  4579. Heart.Transparency = 0.5
  4580. Heart.Material = "Neon"
  4581. Heart.Size = Vector3.new(0.4, 0.4, 0.4)
  4582. Heart.TopSurface = Enum.SurfaceType.Smooth
  4583. Heart.BottomSurface = Enum.SurfaceType.Smooth
  4584. local Weld = Instance.new("Weld", Heart)
  4585. Weld.Part0 = Torso
  4586. Weld.Part1 = Heart
  4587. Weld.C1 = CFrame.new(0.1, -0.5, 0.45)
  4588. local HeartGlow = Instance.new("SurfaceLight")
  4589. HeartGlow.Color = Color3.fromRGB(213, 115, 61)
  4590. HeartGlow.Range = 6
  4591. HeartGlow.Brightness = 10
  4592. HeartGlow.Parent = Heart
  4593. local Heart = Instance.new("Part", Character)
  4594. Heart.Name = "Heart"
  4595. Heart.Shape = Enum.PartType.Ball
  4596. Heart.CanCollide = false
  4597. Heart.BrickColor = BrickColor.new("Really red")
  4598. Heart.Transparency = 0
  4599. Heart.Material = "Granite"
  4600. Heart.Size = Vector3.new(0.35, 0.35, 0.35)
  4601. Heart.TopSurface = Enum.SurfaceType.Smooth
  4602. Heart.BottomSurface = Enum.SurfaceType.Smooth
  4603. local Weld = Instance.new("Weld", Heart)
  4604. Weld.Part0 = Torso
  4605. Weld.Part1 = Heart
  4606. Weld.C1 = CFrame.new(0.1, -0.5, 0.45)
  4607. local Heart = Instance.new("Part", Character)
  4608. Heart.Name = "Heart"
  4609. Heart.Shape = Enum.PartType.Ball
  4610. Heart.CanCollide = false
  4611. Heart.BrickColor = BrickColor.new("Neon orange")
  4612. Heart.Transparency = 0.5
  4613. Heart.Material = "Neon"
  4614. Heart.Size = Vector3.new(0.4, 0.4, 0.4)
  4615. Heart.TopSurface = Enum.SurfaceType.Smooth
  4616. Heart.BottomSurface = Enum.SurfaceType.Smooth
  4617. local Weld = Instance.new("Weld", Heart)
  4618. Weld.Part0 = Torso
  4619. Weld.Part1 = Heart
  4620. Weld.C1 = CFrame.new(0.1, -0.5, -0.45)
  4621. local HeartGlow = Instance.new("SurfaceLight")
  4622. HeartGlow.Color = Color3.fromRGB(213, 115, 61)
  4623. HeartGlow.Range = 6
  4624. HeartGlow.Brightness = 10
  4625. HeartGlow.Parent = Heart
  4626. local Heart = Instance.new("Part", Character)
  4627. Heart.Name = "Heart"
  4628. Heart.Shape = Enum.PartType.Ball
  4629. Heart.CanCollide = false
  4630. Heart.BrickColor = BrickColor.new("Really red")
  4631. Heart.Transparency = 0
  4632. Heart.Material = "Granite"
  4633. Heart.Size = Vector3.new(0.35, 0.35, 0.35)
  4634. Heart.TopSurface = Enum.SurfaceType.Smooth
  4635. Heart.BottomSurface = Enum.SurfaceType.Smooth
  4636. local Weld = Instance.new("Weld", Heart)
  4637. Weld.Part0 = Torso
  4638. Weld.Part1 = Heart
  4639. Weld.C1 = CFrame.new(0.1, -0.5, -0.45)
  4640. Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
  4641. Head.face.Texture = "rbxassetid://0"
  4642. ShadesMesh.MeshId = "rbxassetid://0"
  4643. shirt.ShirtTemplate = "rbxassetid://1266142884"
  4644. for i, v in pairs(Torso:GetChildren()) do
  4645. if v:IsA("ParticleEmitter") then
  4646. v:Destroy()
  4647. end
  4648. end
  4649. for i, v in pairs(Left_Arm:GetChildren()) do
  4650. if v:IsA("ParticleEmitter") then
  4651. v:Destroy()
  4652. end
  4653. end
  4654. S = Instance.new("Sound", rootPart)
  4655. S.Volume = 8
  4656. S.SoundId = "rbxassetid://658228911"
  4657. S:Play()
  4658. for i = 0, 0.1, 0.01 do
  4659. angleSpeed = 1
  4660. axisSpeed = 1
  4661. change = 0.5
  4662. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.2 + math.sin(sine / 15) / 10, -1) * c_angles(math.rad(60), math.rad(20), math.rad(10)), 0.9)
  4663. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + -math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(-45)), 0.9)
  4664. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.9)
  4665. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine / 15) / 10, 0) * c_angles(math.rad(90), math.rad(0), math.rad(40)), 0.9)
  4666. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-60), math.rad(0), math.rad(-20)), 0.9)
  4667. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(30), math.rad(0)), 0.9)
  4668. swait()
  4669. end
  4670. for i = 0, 0.2, 0.01 do
  4671. angleSpeed = 1
  4672. axisSpeed = 1
  4673. change = 1
  4674. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(45)), 0.15)
  4675. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-30), math.rad(0), math.rad(-45)), 0.15)
  4676. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -1, 0) * c_angles(math.rad(45), math.rad(5), math.rad(0)), 0.15)
  4677. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -1, 0) * c_angles(math.rad(45), math.rad(-5), math.rad(0)), 0.15)
  4678. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-45), math.rad(0), math.rad(0)), 0.15)
  4679. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  4680. swait()
  4681. end
  4682. Animations = false
  4683. transforming = false
  4684. attack2 = false
  4685. attack = false
  4686. transformed = true
  4687. end
  4688. function ThirdForm()
  4689. attack = true
  4690. attack2 = true
  4691. transforming = true
  4692. transformed2 = true
  4693. Animations = true
  4694. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  4695. S = Instance.new("Sound", rootPart)
  4696. S.Volume = 8
  4697. S.SoundId = "rbxassetid://658228911"
  4698. S:Play()
  4699. local rng2 = Instance.new("Part", Character)
  4700. rng2.Anchored = true
  4701. rng2.BrickColor = BrickColor.new("Really black")
  4702. rng2.CanCollide = false
  4703. rng2.FormFactor = 3
  4704. rng2.Name = "Shockwave"
  4705. rng2.Size = Vector3.new(1, 1, 1)
  4706. rng2.Transparency = 0.35
  4707. rng2.TopSurface = 0
  4708. rng2.BottomSurface = 0
  4709. rng2.CFrame = rootPart.CFrame
  4710. local rngm2 = Instance.new("SpecialMesh", rng2)
  4711. rngm2.Scale = Vector3.new(1, 0, 1)
  4712. rngm2.Offset = Vector3.new(0, 0.5, -1)
  4713. rngm2.MeshType = "Sphere"
  4714. Spawn(function()
  4715. for i = 1, 60, 2 do
  4716. rngm2.Scale = Vector3.new(5 + i * 0.3, 5 + i * 0.3, 5 + i * 0.3)
  4717. rng2.Transparency = i / 60
  4718. swait()
  4719. end
  4720. wait()
  4721. rng2:Destroy()
  4722. end)
  4723. Theme.SoundId = "rbxassetid://1277996008"
  4724. Theme.TimePosition = 0.8
  4725. Theme:Play()
  4726. local RArm3 = Instance.new("Part", Left_Arm)
  4727. RArm3.Name = "Metal"
  4728. RArm3.Shape = Enum.PartType.Ball
  4729. RArm3.CanCollide = false
  4730. RArm3.BrickColor = BrickColor.new("Really black")
  4731. RArm3.Transparency = 0
  4732. RArm3.Material = "DiamondPlate"
  4733. RArm3.Size = Vector3.new(0.1, 0.1, 0.1)
  4734. RArm3.TopSurface = Enum.SurfaceType.Smooth
  4735. RArm3.BottomSurface = Enum.SurfaceType.Smooth
  4736. local RArm3Weld = Instance.new("Weld", RArm3)
  4737. RArm3Weld.Part0 = Left_Arm
  4738. RArm3Weld.Part1 = RArm3
  4739. RArm3Weld.C1 = CFrame.new(0, -0.4, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(0))
  4740. RArm3Mesh = Instance.new("FileMesh", RArm3)
  4741. RArm3Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  4742. RArm3Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  4743. local RArm4 = Instance.new("Part", Left_Arm)
  4744. RArm4.Name = "Metal"
  4745. RArm4.Shape = Enum.PartType.Ball
  4746. RArm4.CanCollide = false
  4747. RArm4.BrickColor = BrickColor.new("Really black")
  4748. RArm4.Transparency = 0
  4749. RArm4.Material = "DiamondPlate"
  4750. RArm4.Size = Vector3.new(0.1, 0.1, 0.1)
  4751. RArm4.TopSurface = Enum.SurfaceType.Smooth
  4752. RArm4.BottomSurface = Enum.SurfaceType.Smooth
  4753. local RArm4Weld = Instance.new("Weld", RArm4)
  4754. RArm4Weld.Part0 = Left_Arm
  4755. RArm4Weld.Part1 = RArm4
  4756. RArm4Weld.C1 = CFrame.new(0, -0.4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(90), math.rad(0))
  4757. RArm4Mesh = Instance.new("FileMesh", RArm4)
  4758. RArm4Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  4759. RArm4Mesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4760. RArm4Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  4761. local RArm4 = Instance.new("Part", Left_Arm)
  4762. RArm4.Name = "Metal"
  4763. RArm4.Shape = Enum.PartType.Ball
  4764. RArm4.CanCollide = false
  4765. RArm4.BrickColor = BrickColor.new("Really black")
  4766. RArm4.Transparency = 0
  4767. RArm4.Material = "DiamondPlate"
  4768. RArm4.Size = Vector3.new(0.1, 0.1, 0.1)
  4769. RArm4.TopSurface = Enum.SurfaceType.Smooth
  4770. RArm4.BottomSurface = Enum.SurfaceType.Smooth
  4771. local RArm4Weld = Instance.new("Weld", RArm4)
  4772. RArm4Weld.Part0 = Left_Arm
  4773. RArm4Weld.Part1 = RArm4
  4774. RArm4Weld.C1 = CFrame.new(0, -0.4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(75), math.rad(-90), math.rad(0))
  4775. RArm4Mesh = Instance.new("FileMesh", RArm4)
  4776. RArm4Mesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4777. RArm4Mesh.MeshId = "http://www.roblox.com/asset/?id=1188160822"
  4778. RArm4Mesh.Scale = Vector3.new(0.01, 0.015, 0.015)
  4779. local Tentacle = Instance.new("Part", Left_Arm)
  4780. Tentacle.Name = "Tentacle"
  4781. Tentacle.Shape = Enum.PartType.Ball
  4782. Tentacle.CanCollide = false
  4783. Tentacle.BrickColor = BrickColor.new("Really black")
  4784. Tentacle.Transparency = 0
  4785. Tentacle.Material = "DiamondPlate"
  4786. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4787. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4788. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4789. local TentacleWeld = Instance.new("Weld", Tentacle)
  4790. TentacleWeld.Part0 = Left_Arm
  4791. TentacleWeld.Part1 = Tentacle
  4792. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
  4793. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4794. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4795. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4796. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  4797. local Tentacle = Instance.new("Part", Left_Arm)
  4798. Tentacle.Name = "Tentacle"
  4799. Tentacle.Shape = Enum.PartType.Ball
  4800. Tentacle.CanCollide = false
  4801. Tentacle.BrickColor = BrickColor.new("Really black")
  4802. Tentacle.Transparency = 0
  4803. Tentacle.Material = "DiamondPlate"
  4804. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4805. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4806. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4807. local TentacleWeld = Instance.new("Weld", Tentacle)
  4808. TentacleWeld.Part0 = Left_Arm
  4809. TentacleWeld.Part1 = Tentacle
  4810. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(180), math.rad(180))
  4811. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4812. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4813. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4814. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  4815. local Tentacle = Instance.new("Part", Left_Arm)
  4816. Tentacle.Name = "Blade"
  4817. Tentacle.Shape = Enum.PartType.Ball
  4818. Tentacle.CanCollide = false
  4819. Tentacle.BrickColor = BrickColor.new("Really black")
  4820. Tentacle.Transparency = 0
  4821. Tentacle.Material = "DiamondPlate"
  4822. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4823. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4824. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4825. local TentacleWeld = Instance.new("Weld", Tentacle)
  4826. TentacleWeld.Part0 = Left_Arm
  4827. TentacleWeld.Part1 = Tentacle
  4828. TentacleWeld.C1 = CFrame.new(0, 0, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(100), math.rad(180))
  4829. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4830. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4831. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4832. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  4833. local Tentacle = Instance.new("Part", Left_Arm)
  4834. Tentacle.Name = "Blade"
  4835. Tentacle.Shape = Enum.PartType.Ball
  4836. Tentacle.CanCollide = false
  4837. Tentacle.BrickColor = BrickColor.new("Really black")
  4838. Tentacle.Transparency = 0
  4839. Tentacle.Material = "DiamondPlate"
  4840. Tentacle.Size = Vector3.new(0.1, 0.1, 0.1)
  4841. Tentacle.TopSurface = Enum.SurfaceType.Smooth
  4842. Tentacle.BottomSurface = Enum.SurfaceType.Smooth
  4843. local TentacleWeld = Instance.new("Weld", Tentacle)
  4844. TentacleWeld.Part0 = Left_Arm
  4845. TentacleWeld.Part1 = Tentacle
  4846. TentacleWeld.C1 = CFrame.new(0, 0.5, -1.5) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(-45), math.rad(180))
  4847. TentacleMesh = Instance.new("FileMesh", Tentacle)
  4848. TentacleMesh.MeshId = "http://www.roblox.com/asset/?id=534615496"
  4849. TentacleMesh.TextureId = "http://www.roblox.com/asset/?id=74620702"
  4850. TentacleMesh.Scale = Vector3.new(1, 1, 1)
  4851. local Tors = Instance.new("Part", Character)
  4852. Tors.Name = "Toor"
  4853. Tors.CanCollide = false
  4854. Tors.BrickColor = BrickColor.new("Really black")
  4855. Tors.Transparency = 0
  4856. Tors.Material = "Metal"
  4857. Tors.Size = Vector3.new(0.1, 0.1, 0.1)
  4858. Tors.TopSurface = Enum.SurfaceType.Smooth
  4859. Tors.BottomSurface = Enum.SurfaceType.Smooth
  4860. local TorsWeld = Instance.new("Weld", Tors)
  4861. TorsWeld.Part0 = Torso
  4862. TorsWeld.Part1 = Tors
  4863. TorsWeld.C1 = CFrame.new(0, 0.44, -0.44) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90))
  4864. TMesh = Instance.new("SpecialMesh", Tors)
  4865. TMesh.Scale = Vector3.new(11.6, 11.6, 11.6)
  4866. TMesh.TextureId = "rbxassetid://74620702"
  4867. TMesh.MeshType = "Wedge"
  4868. for i = 0, 0.3, 0.01 do
  4869. angleSpeed = 1
  4870. axisSpeed = 1
  4871. change = 0.5
  4872. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(50) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  4873. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(-35), math.rad(-120)), 0.15)
  4874. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(10), math.rad(0)), 0.15)
  4875. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(-10), math.rad(0)), 0.15)
  4876. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.05 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  4877. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(30), math.rad(45), math.rad(0)), 0.15)
  4878. swait()
  4879. end
  4880. Animations = false
  4881. transforming = false
  4882. attack2 = false
  4883. attack = false
  4884. transformed2 = true
  4885. end
  4886. tp = true
  4887. Player:GetMouse().KeyDown:connect(function(k)
  4888. if k == "t" and tp == true then
  4889. tp = false
  4890. S = Instance.new("Sound")
  4891. S.Parent = rootPart
  4892. S.SoundId = "rbxassetid://3373991228"
  4893. S.Volume = 10
  4894. S.Looped = false
  4895. S.Pitch = 0.8
  4896. S:Play()
  4897. Trace()
  4898. Character.Head.face.Parent = game.Lighting
  4899. Character.HumanoidRootPart.CFrame = Player:GetMouse().Hit * CFrame.new(0, 3.5, 0)
  4900. game.Lighting.face.Parent = Character.Head
  4901. tp = true
  4902. end
  4903. end)
  4904. talk = math.random(1, 5)
  4905. function CobraPunch()
  4906. attack = true
  4907. Animations = true
  4908. talk = math.random(1, 5)
  4909. if talk == 5 then
  4910. Head.face.Texture = "rbxassetid://0"
  4911. Qe = Instance.new("Sound")
  4912. Qe.Parent = Character.Torso
  4913. Qe.SoundId = "rbxassetid://1146553450"
  4914. Qe.Volume = 10
  4915. Qe.Looped = false
  4916. Qe.Pitch = 1
  4917. Qe:Play()
  4918. end
  4919. if talk ~= 5 then
  4920. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  4921. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  4922. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(10, 15)
  4923. S = Instance.new("Sound")
  4924. S.Parent = Character.Torso
  4925. S.SoundId = "rbxassetid://1063050323"
  4926. S.Volume = 8
  4927. S.Looped = false
  4928. S.Pitch = 1
  4929. S:Play()
  4930. else
  4931. end
  4932. end
  4933. end
  4934. for i = 0, 0.3, 0.01 do
  4935. angleSpeed = 1
  4936. axisSpeed = 1
  4937. change = 0.5
  4938. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, -0.5) * c_angles(math.rad(90), math.rad(0), math.rad(-80)), 0.15)
  4939. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(-80)), 0.15)
  4940. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(0), math.rad(-5)), 0.15)
  4941. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(0), math.rad(5)), 0.15)
  4942. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-80), math.rad(0)), 0.15)
  4943. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-10), math.rad(80), math.rad(0)), 0.15)
  4944. swait()
  4945. end
  4946. if talk == 5 then
  4947. wait(0.5)
  4948. Head.face.Texture = "rbxassetid://0"
  4949. dashing = true
  4950. rootPart.Velocity = rootPart.CFrame.lookVector * 150
  4951. else
  4952. rootPart.Velocity = rootPart.CFrame.lookVector * 100
  4953. end
  4954. if talk == 5 then
  4955. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  4956. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  4957. v:FindFirstChild("Humanoid").Health = 0
  4958. S = Instance.new("Sound")
  4959. S.Parent = Character.Torso
  4960. S.SoundId = "rbxassetid://1063050323"
  4961. S.Volume = 8
  4962. S.Looped = false
  4963. S.Pitch = 1
  4964. S:Play()
  4965. else
  4966. end
  4967. end
  4968. else
  4969. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  4970. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") then
  4971. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(20, 25)
  4972. S = Instance.new("Sound")
  4973. S.Parent = Character.Torso
  4974. S.SoundId = "rbxassetid://1063050323"
  4975. S.Volume = 8
  4976. S.Looped = false
  4977. S.Pitch = 1
  4978. S:Play()
  4979. else
  4980. end
  4981. end
  4982. end
  4983. for i = 0, 0.2, 0.01 do
  4984. angleSpeed = 1
  4985. axisSpeed = 1
  4986. change = 0.5
  4987. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(90), math.rad(0), math.rad(80)), 0.15)
  4988. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.5, -0.5) * c_angles(math.rad(90), math.rad(0), math.rad(80)), 0.15)
  4989. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.15)
  4990. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(0), math.rad(-10)), 0.15)
  4991. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(80), math.rad(0)), 0.15)
  4992. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-80), math.rad(0)), 0.15)
  4993. swait()
  4994. end
  4995. if talk == 5 then
  4996. wait(0.05)
  4997. dashing = false
  4998. wait(0.5)
  4999. Qe:Destroy()
  5000. Head.face.Texture = "rbxassetid://0"
  5001. end
  5002. Animations = false
  5003. attack = false
  5004. end
  5005. function attackone()
  5006. attack = true
  5007. Animations = true
  5008. Head.face.Texture = "rbxassetid://0"
  5009. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  5010. if v:FindFirstChild("HumanoidRootPart") then
  5011. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  5012. S = Instance.new("Sound")
  5013. S.Parent = Character.Torso
  5014. S.SoundId = "rbxassetid://1063050323"
  5015. S.Volume = 2
  5016. S.Looped = false
  5017. S.Pitch = 1
  5018. S:Play()
  5019. end
  5020. end
  5021. S = Instance.new("Sound")
  5022. S.Parent = Character.Torso
  5023. s2 = math.random(1, 4)
  5024. if s2 == 1 then
  5025. S.SoundId = "rbxassetid://1146556706"
  5026. elseif s2 == 2 then
  5027. S.SoundId = "rbxassetid://1146556975"
  5028. elseif s2 == 3 or s2 == 4 then
  5029. S.SoundId = "rbxassetid://0"
  5030. end
  5031. S.Volume = 10
  5032. S.Looped = false
  5033. S.Pitch = 1
  5034. S:Play()
  5035. for i = 0, 0.08, 0.01 do
  5036. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(120), math.rad(0), math.rad(20)), 0.15)
  5037. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  5038. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.15)
  5039. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.15)
  5040. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  5041. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  5042. swait()
  5043. end
  5044. for i = 0, 0.08, 0.01 do
  5045. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, -0.8) * c_angles(math.rad(90), math.rad(0), math.rad(-20)), 0.5)
  5046. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.5)
  5047. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.5)
  5048. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-30), math.rad(0)), 0.5)
  5049. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.5)
  5050. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.5)
  5051. swait()
  5052. end
  5053. Head.face.Texture = "rbxassetid://0"
  5054. Animations = false
  5055. attack = false
  5056. end
  5057. function attacktwo()
  5058. attack = true
  5059. Animations = true
  5060. Head.face.Texture = "rbxassetid://0"
  5061. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  5062. if v:FindFirstChild("HumanoidRootPart") then
  5063. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  5064. S = Instance.new("Sound")
  5065. S.Parent = Character.Torso
  5066. S.SoundId = "rbxassetid://1063050323"
  5067. S.Volume = 8
  5068. S.Looped = false
  5069. S.Pitch = 1
  5070. S:Play()
  5071. end
  5072. end
  5073. S = Instance.new("Sound")
  5074. S.Parent = Character.Torso
  5075. s2 = math.random(1, 4)
  5076. if s2 == 1 then
  5077. S.SoundId = "rbxassetid://1146556706"
  5078. elseif s2 == 2 then
  5079. S.SoundId = "rbxassetid://1146556975"
  5080. elseif s2 == 3 or s2 == 4 then
  5081. S.SoundId = "rbxassetid://0"
  5082. end
  5083. S.Volume = 10
  5084. S.Looped = false
  5085. S.Pitch = 1
  5086. S:Play()
  5087. for i = 0, 0.08, 0.01 do
  5088. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  5089. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(120), math.rad(0), math.rad(-20)), 0.15)
  5090. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.15)
  5091. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.15)
  5092. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  5093. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  5094. swait()
  5095. end
  5096. for i = 0, 0.08, 0.01 do
  5097. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.5)
  5098. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.5, -0.8) * c_angles(math.rad(90), math.rad(0), math.rad(20)), 0.5)
  5099. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.5)
  5100. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.5)
  5101. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  5102. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.5)
  5103. swait()
  5104. end
  5105. Head.face.Texture = "rbxassetid://0"
  5106. Animations = false
  5107. attack = false
  5108. end
  5109. function attackthree()
  5110. attack = true
  5111. Animations = true
  5112. for i = 0, 0.08, 0.01 do
  5113. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  5114. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  5115. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5116. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(20)), 0.15)
  5117. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.15)
  5118. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5119. swait()
  5120. end
  5121. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  5122. if v:FindFirstChild("HumanoidRootPart") then
  5123. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  5124. S = Instance.new("Sound")
  5125. S.Parent = Character.Torso
  5126. S.SoundId = "rbxassetid://1063050323"
  5127. S.Volume = 8
  5128. S.Looped = false
  5129. S.Pitch = 1
  5130. S:Play()
  5131. end
  5132. end
  5133. for i = 0, 0.06, 0.01 do
  5134. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  5135. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  5136. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5137. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(110), math.rad(0), math.rad(0)), 0.15)
  5138. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(20), math.rad(0)), 0.15)
  5139. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  5140. swait()
  5141. end
  5142. Animations = false
  5143. attack = false
  5144. end
  5145. function attackfour()
  5146. attack = true
  5147. Animations = true
  5148. for i = 0, 0.08, 0.01 do
  5149. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  5150. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(45), math.rad(0), math.rad(0)), 0.15)
  5151. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.15)
  5152. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5153. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(20), math.rad(0)), 0.15)
  5154. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5155. swait()
  5156. end
  5157. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  5158. if v:FindFirstChild("HumanoidRootPart") then
  5159. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  5160. S = Instance.new("Sound")
  5161. S.Parent = Character.Torso
  5162. S.SoundId = "rbxassetid://1063050323"
  5163. S.Volume = 8
  5164. S.Looped = false
  5165. S.Pitch = 1
  5166. S:Play()
  5167. end
  5168. end
  5169. for i = 0, 0.06, 0.01 do
  5170. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  5171. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  5172. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(110), math.rad(0), math.rad(0)), 0.15)
  5173. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5174. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(-20), math.rad(0)), 0.15)
  5175. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  5176. swait()
  5177. end
  5178. Animations = false
  5179. attack = false
  5180. end
  5181. function attackfive()
  5182. attack = true
  5183. Animations = true
  5184. Head.face.Texture = "rbxassetid://0"
  5185. for i = 0, 0.01, 0.01 do
  5186. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5187. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5188. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5189. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5190. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5191. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5192. end
  5193. for i = 0, 0.08, 0.01 do
  5194. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(0)), 0.15)
  5195. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(0)), 0.15)
  5196. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  5197. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.15)
  5198. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5199. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5200. swait()
  5201. end
  5202. S = Instance.new("Sound")
  5203. S.Parent = Character.Torso
  5204. S.SoundId = "rbxassetid://1278006076"
  5205. S.Volume = 10
  5206. S.Looped = false
  5207. S.Pitch = 1
  5208. S:Play()
  5209. for i = 0, 0.05, 0.01 do
  5210. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(-40)), 0.15)
  5211. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(40)), 0.15)
  5212. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5213. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5214. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5215. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5216. swait()
  5217. end
  5218. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  5219. if v:FindFirstChild("HumanoidRootPart") then
  5220. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(25, 35)
  5221. S = Instance.new("Sound")
  5222. S.Parent = Character.Torso
  5223. S.SoundId = "rbxassetid://1063050323"
  5224. S.Volume = 8
  5225. S.Looped = false
  5226. S.Pitch = 1
  5227. S:Play()
  5228. end
  5229. end
  5230. for i = 0, 0.01, 0.01 do
  5231. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0) * c_angles(math.rad(80), math.rad(0), math.rad(-40)), 0.15)
  5232. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-0.8, 0.5, 0) * c_angles(math.rad(80), math.rad(0), math.rad(40)), 0.15)
  5233. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5234. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5235. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5236. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5237. swait()
  5238. end
  5239. for i = 0, 0.04, 0.01 do
  5240. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.2, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(-40)), 0.15)
  5241. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.2, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(40)), 0.15)
  5242. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5243. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5244. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5245. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5246. swait()
  5247. end
  5248. wait(0.1)
  5249. Head.face.Texture = "rbxassetid://0"
  5250. Animations = false
  5251. attack = false
  5252. end
  5253. function attackoneA()
  5254. attack = true
  5255. Animations = true
  5256. Head.face.Texture = "rbxassetid://0"
  5257. S = Instance.new("Sound")
  5258. S.Parent = Character.Torso
  5259. s2 = math.random(1, 4)
  5260. if s2 == 1 then
  5261. S.SoundId = "rbxassetid://1146556706"
  5262. elseif s2 == 2 then
  5263. S.SoundId = "rbxassetid://1146556975"
  5264. elseif s2 == 3 or s2 == 4 then
  5265. S.SoundId = "rbxassetid://0"
  5266. end
  5267. S.Volume = 10
  5268. S.Looped = false
  5269. S.Pitch = 1
  5270. S:Play()
  5271. for i = 0, 0.2, 0.01 do
  5272. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(80), math.rad(0), math.rad(120)), 0.15)
  5273. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  5274. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.15)
  5275. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.15)
  5276. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  5277. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  5278. swait()
  5279. end
  5280. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 6)) do
  5281. if v:FindFirstChild("HumanoidRootPart") then
  5282. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(20, 30)
  5283. S = Instance.new("Sound")
  5284. S.Parent = Character.Torso
  5285. S.SoundId = "rbxassetid://1063050323"
  5286. S.Volume = 2
  5287. S.Looped = false
  5288. S.Pitch = 1
  5289. S:Play()
  5290. end
  5291. end
  5292. for i = 0, 0.2, 0.01 do
  5293. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2, 0.5, -0.8) * c_angles(math.rad(75), math.rad(0), math.rad(-50)), 0.15)
  5294. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.15)
  5295. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.15)
  5296. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-30), math.rad(0)), 0.15)
  5297. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  5298. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  5299. swait()
  5300. end
  5301. Head.face.Texture = "rbxassetid://0"
  5302. Animations = false
  5303. attack = false
  5304. end
  5305. function attacktwoA()
  5306. attack = true
  5307. Animations = true
  5308. Head.face.Texture = "rbxassetid://0"
  5309. S = Instance.new("Sound")
  5310. S.Parent = Character.Torso
  5311. s2 = math.random(1, 4)
  5312. if s2 == 1 then
  5313. S.SoundId = "rbxassetid://1146556706"
  5314. elseif s2 == 2 then
  5315. S.SoundId = "rbxassetid://1146556975"
  5316. elseif s2 == 3 or s2 == 4 then
  5317. S.SoundId = "rbxassetid://0"
  5318. end
  5319. S.Volume = 10
  5320. S.Looped = false
  5321. S.Pitch = 1
  5322. S:Play()
  5323. for i = 0, 0.08, 0.01 do
  5324. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  5325. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(120), math.rad(0), math.rad(-20)), 0.15)
  5326. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.15)
  5327. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.15)
  5328. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  5329. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  5330. swait()
  5331. end
  5332. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 4)) do
  5333. if v:FindFirstChild("HumanoidRootPart") then
  5334. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(2, 15)
  5335. S = Instance.new("Sound")
  5336. S.Parent = Character.Torso
  5337. S.SoundId = "rbxassetid://1063050323"
  5338. S.Volume = 8
  5339. S.Looped = false
  5340. S.Pitch = 1
  5341. S:Play()
  5342. end
  5343. end
  5344. for i = 0, 0.08, 0.01 do
  5345. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.5)
  5346. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.5, -0.8) * c_angles(math.rad(90), math.rad(0), math.rad(20)), 0.5)
  5347. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.5)
  5348. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.5)
  5349. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  5350. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.5)
  5351. swait()
  5352. end
  5353. Head.face.Texture = "rbxassetid://0"
  5354. Animations = false
  5355. attack = false
  5356. end
  5357. function attacktwoB()
  5358. attack = true
  5359. Animations = true
  5360. Head.face.Texture = "rbxassetid://0"
  5361. S = Instance.new("Sound")
  5362. S.Parent = Character.Torso
  5363. s2 = math.random(1, 4)
  5364. if s2 == 1 then
  5365. S.SoundId = "rbxassetid://1146556706"
  5366. elseif s2 == 2 then
  5367. S.SoundId = "rbxassetid://1146556975"
  5368. elseif s2 == 3 or s2 == 4 then
  5369. S.SoundId = "rbxassetid://0"
  5370. end
  5371. S.Volume = 10
  5372. S.Looped = false
  5373. S.Pitch = 1
  5374. S:Play()
  5375. for i = 0, 0.2, 0.01 do
  5376. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.15)
  5377. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(80), math.rad(0), math.rad(-120)), 0.15)
  5378. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(5), math.rad(-20), math.rad(0)), 0.15)
  5379. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.15)
  5380. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  5381. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(-20), math.rad(0)), 0.15)
  5382. swait()
  5383. end
  5384. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 6)) do
  5385. if v:FindFirstChild("HumanoidRootPart") then
  5386. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(20, 30)
  5387. S = Instance.new("Sound")
  5388. S.Parent = Character.Torso
  5389. S.SoundId = "rbxassetid://1063050323"
  5390. S.Volume = 8
  5391. S.Looped = false
  5392. S.Pitch = 1
  5393. S:Play()
  5394. end
  5395. end
  5396. for i = 0, 0.2, 0.01 do
  5397. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(50)), 0.15)
  5398. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2, 0.5, -0.8) * c_angles(math.rad(75), math.rad(0), math.rad(20)), 0.15)
  5399. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.15)
  5400. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(5), math.rad(20), math.rad(0)), 0.15)
  5401. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(-30), math.rad(0)), 0.15)
  5402. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(20), math.rad(0)), 0.15)
  5403. swait()
  5404. end
  5405. Head.face.Texture = "rbxassetid://0"
  5406. Animations = false
  5407. attack = false
  5408. end
  5409. function attackthreeB()
  5410. attack = true
  5411. Animations = true
  5412. Head.face.Texture = "rbxassetid://0"
  5413. for i = 0, 0.2, 0.01 do
  5414. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(20)), 0.1)
  5415. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-20)), 0.15)
  5416. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5417. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5418. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5419. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5420. end
  5421. for i = 0, 0.2, 0.01 do
  5422. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(20)), 0.1)
  5423. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(180), math.rad(0), math.rad(-20)), 0.15)
  5424. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5425. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5426. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5427. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5428. swait()
  5429. end
  5430. Head.face.Texture = "rbxassetid://0"
  5431. S = Instance.new("Sound")
  5432. S.Parent = Character.Torso
  5433. S.SoundId = "rbxassetid://1278006076"
  5434. S.Volume = 10
  5435. S.Looped = false
  5436. S.Pitch = 1
  5437. S:Play()
  5438. for i = 0, 0.05, 0.01 do
  5439. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(20)), 0.15)
  5440. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(200), math.rad(0), math.rad(-20)), 0.15)
  5441. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5442. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5443. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5444. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5445. swait()
  5446. end
  5447. local rng2 = Instance.new("Part", Character)
  5448. rng2.Anchored = true
  5449. rng2.BrickColor = BrickColor.new("Really black")
  5450. rng2.CanCollide = false
  5451. rng2.FormFactor = 3
  5452. rng2.Name = "Shockwave"
  5453. rng2.Size = Vector3.new(1, 1, 1)
  5454. rng2.Transparency = 0.35
  5455. rng2.TopSurface = 0
  5456. rng2.BottomSurface = 0
  5457. rng2.CFrame = rootPart.CFrame
  5458. local rngm2 = Instance.new("SpecialMesh", rng2)
  5459. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5460. rngm2.Scale = Vector3.new(1, 0, 1)
  5461. rngm2.Offset = Vector3.new(0, 0, -5)
  5462. Spawn(function()
  5463. for i = 1, 60, 2 do
  5464. rngm2.Scale = Vector3.new(1 + i * 0.8, 5 - i * 0.1, 1 + i * 0.8)
  5465. rng2.Transparency = i / 30
  5466. rng2.CFrame = rng2.CFrame - Vector3.new(0, 0.2, 0)
  5467. swait()
  5468. end
  5469. wait()
  5470. rng2:Destroy()
  5471. end)
  5472. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  5473. if v:FindFirstChild("HumanoidRootPart") then
  5474. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(100, 150)
  5475. S = Instance.new("Sound")
  5476. S.Parent = Character.Torso
  5477. S.SoundId = "rbxassetid://1063050323"
  5478. S.Volume = 8
  5479. S.Looped = false
  5480. S.Pitch = 1
  5481. S:Play()
  5482. end
  5483. end
  5484. S = Instance.new("Sound")
  5485. S.Parent = Character.Torso
  5486. S.SoundId = "rbxassetid://2248511"
  5487. S.Volume = 10
  5488. S.Looped = false
  5489. S.Pitch = 1
  5490. S:Play()
  5491. for i = 0, 0.01, 0.01 do
  5492. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0, -0.5) * c_angles(math.rad(25), math.rad(0), math.rad(20)), 0.15)
  5493. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(25), math.rad(0), math.rad(-20)), 0.15)
  5494. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5495. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5496. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5497. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5498. swait()
  5499. end
  5500. for i = 0, 0.04, 0.01 do
  5501. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  5502. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.15)
  5503. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5504. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5505. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5506. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5507. swait()
  5508. end
  5509. wait(0.1)
  5510. Head.face.Texture = "rbxassetid://0"
  5511. Animations = false
  5512. attack = false
  5513. end
  5514. function attackthreeA()
  5515. attack = true
  5516. Animations = true
  5517. Head.face.Texture = "rbxassetid://0"
  5518. for i = 0, 0.2, 0.01 do
  5519. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(20)), 0.1)
  5520. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  5521. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5522. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5523. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5524. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5525. end
  5526. for i = 0, 0.2, 0.01 do
  5527. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 1.2, 0) * c_angles(math.rad(180), math.rad(0), math.rad(20)), 0.1)
  5528. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  5529. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5530. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5531. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5532. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5533. swait()
  5534. end
  5535. Head.face.Texture = "rbxassetid://0"
  5536. S = Instance.new("Sound")
  5537. S.Parent = Character.Torso
  5538. S.SoundId = "rbxassetid://1278006076"
  5539. S.Volume = 10
  5540. S.Looped = false
  5541. S.Pitch = 1
  5542. S:Play()
  5543. for i = 0, 0.05, 0.01 do
  5544. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0.5, 0.2) * c_angles(math.rad(200), math.rad(0), math.rad(20)), 0.15)
  5545. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  5546. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5547. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5548. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5549. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5550. swait()
  5551. end
  5552. local rng2 = Instance.new("Part", Character)
  5553. rng2.Anchored = true
  5554. rng2.BrickColor = BrickColor.new("Really black")
  5555. rng2.CanCollide = false
  5556. rng2.FormFactor = 3
  5557. rng2.Name = "Shockwave"
  5558. rng2.Size = Vector3.new(1, 1, 1)
  5559. rng2.Transparency = 0.35
  5560. rng2.TopSurface = 0
  5561. rng2.BottomSurface = 0
  5562. rng2.CFrame = rootPart.CFrame
  5563. local rngm2 = Instance.new("SpecialMesh", rng2)
  5564. rngm2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5565. rngm2.Scale = Vector3.new(1, 0, 1)
  5566. rngm2.Offset = Vector3.new(0.5, 0, -5)
  5567. Spawn(function()
  5568. for i = 1, 60, 2 do
  5569. rngm2.Scale = Vector3.new(1 + i * 0.3, 5 - i * 0.1, 1 + i * 0.3)
  5570. rng2.Transparency = i / 30
  5571. rng2.CFrame = rng2.CFrame - Vector3.new(0, 0.2, 0)
  5572. swait()
  5573. end
  5574. wait()
  5575. rng2:Destroy()
  5576. end)
  5577. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  5578. if v:FindFirstChild("HumanoidRootPart") then
  5579. v:FindFirstChild("Humanoid").Health = v:FindFirstChild("Humanoid").Health - math.random(40, 45)
  5580. S = Instance.new("Sound")
  5581. S.Parent = Character.Torso
  5582. S.SoundId = "rbxassetid://1063050323"
  5583. S.Volume = 8
  5584. S.Looped = false
  5585. S.Pitch = 1
  5586. S:Play()
  5587. end
  5588. end
  5589. S = Instance.new("Sound")
  5590. S.Parent = Character.Torso
  5591. S.SoundId = "rbxassetid://1310889008"
  5592. S.Volume = 10
  5593. S.Looped = false
  5594. S.Pitch = 1
  5595. S:Play()
  5596. for i = 0, 0.01, 0.01 do
  5597. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(0.8, 0, -0.5) * c_angles(math.rad(25), math.rad(0), math.rad(20)), 0.15)
  5598. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  5599. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5600. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5601. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5602. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5603. swait()
  5604. end
  5605. for i = 0, 0.04, 0.01 do
  5606. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  5607. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  5608. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5609. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5610. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5611. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5612. swait()
  5613. end
  5614. wait(0.1)
  5615. Head.face.Texture = "rbxassetid://0"
  5616. Animations = false
  5617. attack = false
  5618. end
  5619. attktype = 1
  5620. mouse.Button1Down:connect(function(key)
  5621. if attack == false and crouching == false then
  5622. if gun == false then
  5623. if transformed == false then
  5624. if attktype == 1 then
  5625. attackone()
  5626. elseif attktype == 2 then
  5627. attacktwo()
  5628. elseif attktype == 3 then
  5629. attackthree()
  5630. elseif attktype == 4 then
  5631. attackfour()
  5632. elseif attktype == 5 then
  5633. attackfive()
  5634. elseif attktype == 6 then
  5635. CobraPunch()
  5636. attktype = 0
  5637. end
  5638. attktype = attktype + 1
  5639. elseif transformed == true then
  5640. if attktype == 1 then
  5641. attackoneA()
  5642. elseif attktype == 2 then
  5643. if transformed2 == false then
  5644. attacktwoA()
  5645. elseif transformed2 == true then
  5646. attacktwoB()
  5647. end
  5648. elseif attktype == 3 then
  5649. if transformed2 == false then
  5650. attackthreeA()
  5651. elseif transformed2 == true then
  5652. attackthreeB()
  5653. end
  5654. attktype = 0
  5655. end
  5656. attktype = attktype + 1
  5657. end
  5658. end
  5659. elseif gun == true then
  5660. shoot = true
  5661. elseif attack == false and crouching == true then
  5662. UpperCut()
  5663. end
  5664. end)
  5665. function findCloseHumanoid(centre, distance)
  5666. local tab = {}
  5667. for _, child in pairs(game.Workspace:GetChildren()) do
  5668. if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
  5669. local vtors = child.Torso
  5670. local mag = math.abs((vtors.Position - centre).magnitude)
  5671. if distance >= mag then
  5672. table.insert(tab, child.Humanoid)
  5673. end
  5674. end
  5675. end
  5676. return tab
  5677. end
  5678. function rayCast(Pos, Dir, Max, Ignore)
  5679. return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  5680. end
  5681. function QuaternionFromCFrame(cf)
  5682. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  5683. local trace = m00 + m11 + m22
  5684. if trace > 0 then
  5685. local s = math.sqrt(1 + trace)
  5686. local recip = 0.5 / s
  5687. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  5688. else
  5689. local i = 0
  5690. if m00 < m11 then
  5691. i = 1
  5692. end
  5693. if m22 > (i == 0 and m00 or m11) then
  5694. i = 2
  5695. end
  5696. if i == 0 then
  5697. local s = math.sqrt(m00 - m11 - m22 + 1)
  5698. local recip = 0.5 / s
  5699. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  5700. elseif i == 1 then
  5701. local s = math.sqrt(m11 - m22 - m00 + 1)
  5702. local recip = 0.5 / s
  5703. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  5704. elseif i == 2 then
  5705. local s = math.sqrt(m22 - m00 - m11 + 1)
  5706. local recip = 0.5 / s
  5707. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  5708. end
  5709. end
  5710. end
  5711. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  5712. local xs, ys, zs = x + x, y + y, z + z
  5713. local wx, wy, wz = w * xs, w * ys, w * zs
  5714. local xx = x * xs
  5715. local xy = x * ys
  5716. local xz = x * zs
  5717. local yy = y * ys
  5718. local yz = y * zs
  5719. local zz = z * zs
  5720. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  5721. end
  5722. function QuaternionSlerp(a, b, t)
  5723. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  5724. local startInterp, finishInterp
  5725. if cosTheta >= 1.0E-4 then
  5726. if 1 - cosTheta > 1.0E-4 then
  5727. local theta = math.acos(cosTheta)
  5728. local invSinTheta = 1 / math.sin(theta)
  5729. startInterp = math.sin((1 - t) * theta) * invSinTheta
  5730. finishInterp = math.sin(t * theta) * invSinTheta
  5731. else
  5732. startInterp = 1 - t
  5733. finishInterp = t
  5734. end
  5735. elseif 1 + cosTheta > 1.0E-4 then
  5736. local theta = math.acos(-cosTheta)
  5737. local invSinTheta = 1 / math.sin(theta)
  5738. startInterp = math.sin((t - 1) * theta) * invSinTheta
  5739. finishInterp = math.sin(t * theta) * invSinTheta
  5740. else
  5741. startInterp = t - 1
  5742. finishInterp = t
  5743. end
  5744. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  5745. end
  5746. function clerp(a, b, t)
  5747. local qa = {
  5748. QuaternionFromCFrame(a)
  5749. }
  5750. local qb = {
  5751. QuaternionFromCFrame(b)
  5752. }
  5753. local ax, ay, az = a.x, a.y, a.z
  5754. local bx, by, bz = b.x, b.y, b.z
  5755. local _t = 1 - t
  5756. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  5757. end
  5758. swait()
  5759. LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0)
  5760. Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  5761. RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0)
  5762. Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  5763. LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0)
  5764. Left_Leg.Weld.C1 = CFrame.new(0, 1, 0)
  5765. RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0)
  5766. Right_Leg.Weld.C1 = CFrame.new(0, 1, 0)
  5767. Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0)
  5768. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  5769. Head_Weld = newWeld(Torso, Head, 0, 1.5, 0)
  5770. for i, v in pairs(Character:GetChildren()) do
  5771. if v:IsA("Accoutrement") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh") then
  5772. v:Destroy()
  5773. elseif v:IsA("Part") and v.Name == "Head" then
  5774. v.face.Texture = "rbxassetid://315622231"
  5775. end
  5776. end
  5777. shirt = Instance.new("Shirt", Character)
  5778. pants = Instance.new("Pants", Character)
  5779. shirt.ShirtTemplate = "rbxassetid://155329817"
  5780. pants.PantsTemplate = "rbxassetid://155329869"
  5781. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  5782. Character["Body Colors"].TorsoColor = BrickColor.new("Really black")
  5783. Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
  5784. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  5785. Character["Body Colors"].RightLegColor = BrickColor.new("Really black")
  5786. Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  5787. Humanoid.DisplayDistanceType = "None"
  5788. sine = 0
  5789. change = 1
  5790. sprint = false
  5791. local punches = {
  5792. a = false,
  5793. b = false,
  5794. c = false
  5795. }
  5796. UIService.InputBegan:connect(function(Input, GUIProcessed)
  5797. if not GUIProcessed and Input.UserInputType == Enum.UserInputType.MouseButton1 then
  5798. if punches.a == false then
  5799. punches.a = true
  5800. wait(0.4)
  5801. punches.a = false
  5802. else
  5803. punches.a = true
  5804. if punches.b == false then
  5805. punches.b = true
  5806. wait(0.4)
  5807. punches.b = false
  5808. else
  5809. punches.b = true
  5810. if punches.c == false then
  5811. punches.c = true
  5812. wait(0.4)
  5813. punches.c = false
  5814. else
  5815. punches.c = true
  5816. end
  5817. end
  5818. end
  5819. elseif not GUIProcessed and Input.KeyCode == Enum.KeyCode.LeftShift then
  5820. sprint = true
  5821. end
  5822. end)
  5823. Humanoid.Died:connect(function()
  5824. Theme:Destroy()
  5825. for i, v in pairs(Character:GetChildren()) do
  5826. if v:IsA("Part") or v:IsA("Accessory") then
  5827. v:Destroy()
  5828. end
  5829. end
  5830. end)
  5831. UIService.InputEnded:connect(function(Input, GUIProcessed)
  5832. if not GUIProcessed and Input.KeyCode == Enum.KeyCode.LeftShift then
  5833. sprint = false
  5834. end
  5835. end)
  5836. coroutine.wrap(function()
  5837. while true do
  5838. if sprint == false then
  5839. if attack2 == false and crouching == false then
  5840. Humanoid.WalkSpeed = 8
  5841. Humanoid.JumpPower = 50
  5842. elseif attack2 == true or crouching == true then
  5843. Humanoid.WalkSpeed = 0
  5844. Humanoid.JumpPower = 0
  5845. end
  5846. elseif sprint == true then
  5847. if attack2 == false and crouching == false then
  5848. Humanoid.WalkSpeed = 25
  5849. Humanoid.JumpPower = 100
  5850. elseif attack2 == true or crouching == true then
  5851. Humanoid.WalkSpeed = 0
  5852. Humanoid.JumpPower = 0
  5853. end
  5854. end
  5855. wait()
  5856. end
  5857. end)()
  5858. game:GetService("RunService").RenderStepped:connect(function()
  5859. Angle = Angle % 100 + angleSpeed / 10
  5860. Axis = Axis % 100 + axisSpeed / 10
  5861. walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
  5862. jumpVel = Torso.Velocity.Y
  5863. sine = change + sine
  5864. if jumpVel > 1 then
  5865. currentAnim = "Jumping"
  5866. elseif jumpVel < -1 then
  5867. currentAnim = "Falling"
  5868. elseif walkingMagnitude < 2 then
  5869. currentAnim = "Idling"
  5870. elseif isSprinting == true then
  5871. currentAnim = "Sprinting"
  5872. elseif walkingMagnitude > 2 then
  5873. currentAnim = "Walking"
  5874. elseif isAttacking == true then
  5875. currentAnim = "Attacking"
  5876. end
  5877. if currentAnim == "Jumping" and Animations == false then
  5878. angleSpeed = 2
  5879. axisSpeed = 2
  5880. change = 0.5
  5881. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(15), math.rad(0), math.rad(20)), 0.15)
  5882. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(-20)), 0.15)
  5883. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  5884. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5885. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5886. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  5887. elseif currentAnim == "Falling" and Animations == false then
  5888. if transformed == false then
  5889. angleSpeed = 2
  5890. axisSpeed = 2
  5891. change = 0.5
  5892. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(25)), 0.15)
  5893. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-25)), 0.15)
  5894. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5895. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  5896. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  5897. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5898. elseif transformed == true and transformed2 == false then
  5899. angleSpeed = 2
  5900. axisSpeed = 2
  5901. change = 0.5
  5902. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(80)), 0.15)
  5903. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(-25)), 0.15)
  5904. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5905. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  5906. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  5907. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5908. elseif transformed == true and transformed2 == true then
  5909. angleSpeed = 2
  5910. axisSpeed = 2
  5911. change = 0.5
  5912. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(80)), 0.15)
  5913. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(20), math.rad(0), math.rad(-80)), 0.15)
  5914. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5915. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  5916. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  5917. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  5918. end
  5919. elseif currentAnim == "Idling" and Animations == false then
  5920. if transformed == false then
  5921. angleSpeed = 1
  5922. axisSpeed = 1
  5923. change = 0.5
  5924. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.15)
  5925. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1, 0.5 + math.sin(sine / 15) / 10, 0.5) * c_angles(math.rad(-20), math.rad(0), math.rad(30)), 0.15)
  5926. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  5927. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) - math.sin(sine / 15) / 20, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  5928. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0) + math.sin(sine / 15) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  5929. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-20) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  5930. elseif transformed == true and transformed2 == false then
  5931. angleSpeed = 1
  5932. axisSpeed = 1
  5933. change = 0.5
  5934. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(50) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  5935. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(10) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-10) - math.sin(sine / 15) / 10), 0.15)
  5936. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(10), math.rad(0)), 0.15)
  5937. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(-10), math.rad(0)), 0.15)
  5938. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.05 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  5939. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(0)), 0.15)
  5940. elseif transformed == true and transformed2 == true then
  5941. angleSpeed = 1
  5942. axisSpeed = 1
  5943. change = 0.5
  5944. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(50) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  5945. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(50) - math.sin(sine / 15) / 10, math.rad(0), math.rad(-50) - math.sin(sine / 15) / 10), 0.15)
  5946. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(10), math.rad(0)), 0.15)
  5947. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.55, -0.9 + -math.sin(sine / 15) / 10, -0.2) * c_angles(math.rad(10), math.rad(-10), math.rad(0)), 0.15)
  5948. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1.05 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  5949. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(10), math.rad(0), math.rad(0)), 0.15)
  5950. end
  5951. elseif currentAnim == "Walking" and Animations == false then
  5952. if transformed == false then
  5953. if sprint == false then
  5954. angleSpeed = 1
  5955. axisSpeed = 1
  5956. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(5)), 0.15)
  5957. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-5)), 0.15)
  5958. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.sin(sine / 4) / 3, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  5959. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(-math.sin(sine / 4) / 3, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  5960. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0), math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  5961. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  5962. else
  5963. angleSpeed = 10
  5964. axisSpeed = 10
  5965. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.sin(sine / 3) / 1, math.rad(0), math.rad(10)), 0.15)
  5966. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(-10)), 0.15)
  5967. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  5968. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  5969. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-20) + math.sin(sine / 3) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 15) / 2), 0.15)
  5970. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.sin(rootPart.RotVelocity.Y / 1) / 2, math.rad(0)), 0.15)
  5971. end
  5972. elseif transformed == true and transformed2 == false then
  5973. if sprint == false then
  5974. angleSpeed = 1
  5975. axisSpeed = 1
  5976. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  5977. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-5)), 0.15)
  5978. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.sin(sine / 4) / 3, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  5979. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(-math.sin(sine / 4) / 3, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  5980. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0), math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  5981. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  5982. else
  5983. angleSpeed = 10
  5984. axisSpeed = 10
  5985. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(-45) + math.sin(sine / 3) / 10, math.rad(0), math.rad(20) + math.sin(sine / 3) / 10), 0.15)
  5986. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(-10)), 0.15)
  5987. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  5988. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  5989. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-20) + math.sin(sine / 3) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 15) / 2), 0.15)
  5990. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.sin(rootPart.RotVelocity.Y / 1) / 2, math.rad(0)), 0.15)
  5991. end
  5992. elseif transformed == true and transformed2 == true then
  5993. if sprint == false then
  5994. angleSpeed = 1
  5995. axisSpeed = 1
  5996. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(20) + math.sin(sine / 15) / 10, math.rad(0), math.rad(50) + math.sin(sine / 15) / 10), 0.15)
  5997. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.4, 0.5 + math.sin(sine / 15) / 10, 0.2) * c_angles(math.rad(20) + math.sin(sine / 15) / 10, math.rad(0), math.rad(-50) - math.sin(sine / 15) / 10), 0.15)
  5998. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(math.sin(sine / 4) / 3, math.sin(rootPart.RotVelocity.Y / 10) / 2, -math.sin(rootPart.RotVelocity.Y / 10) / 2), 0.15)
  5999. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1 + -math.sin(sine / 15) / 10, 0) * c_angles(-math.sin(sine / 4) / 3, -math.sin(rootPart.RotVelocity.Y / 10) / 2, math.sin(-rootPart.RotVelocity.Y / 10) / 2), 0.15)
  6000. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 15) / 10, 0) * c_angles(math.rad(0), math.rad(0), math.sin(rootPart.RotVelocity.Y / 30) / 2), 0.15)
  6001. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.2 + math.sin(sine / 15) / 10) * c_angles(math.rad(-10) + math.sin(sine / 15) / 10, math.sin(rootPart.RotVelocity.Y / 2.5) / 2, math.rad(0)), 0.15)
  6002. else
  6003. angleSpeed = 10
  6004. axisSpeed = 10
  6005. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-45) + math.sin(sine / 3) / 10, math.rad(0), math.rad(20) + math.sin(sine / 3) / 10), 0.15)
  6006. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-45) + math.sin(sine / 3) / 10, math.rad(0), math.rad(-20) - math.sin(sine / 3) / 10), 0.15)
  6007. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  6008. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(-math.sin(sine / 3) / 1, math.rad(0), math.rad(0)), 0.15)
  6009. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine / 1.5) / 5, 0) * c_angles(math.rad(-20) + math.sin(sine / 3) / 20, math.rad(0), math.sin(rootPart.RotVelocity.Y / 15) / 2), 0.15)
  6010. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20), math.sin(rootPart.RotVelocity.Y / 1) / 2, math.rad(0)), 0.15)
  6011. end
  6012. end
  6013. end
  6014. end)
Advertisement
Add Comment
Please, Sign In to add comment