Advertisement
DarkScriptZEditors

LEEL

Jan 8th, 2019
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.90 KB | None | 0 0
  1. ---------------
  2. --Nahid jevil--
  3. ----------------------------------------------------------------
  4. print([[
  5. --made by Makhail07
  6. --FE code by Mokiros
  7. --Edited by ozzak1003 and then by 1nd1k --
  8. --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
  9. --Discord: ozzak1003#3275
  10. --------------------------------
  11. hello good sir
  12. Don't leak pls
  13. Enjoy ;)
  14. --------------------------------
  15. ]])
  16.  
  17. spawn(function()
  18. local plr = owner
  19. local char = plr.Character
  20. local hum = char:FindFirstChildOfClass("Humanoid")
  21. local idleanim = Instance.new("Animation")
  22. idleanim.Name = "Roblox Idle Animation"
  23. idleanim.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  24. local idleanimplay = hum:LoadAnimation(idleanim)
  25. idleanimplay:Play()
  26. wait(0.1)
  27. if char:FindFirstChild("Animate") then
  28. char.Animate:Destroy()
  29. end
  30. local remote = Instance.new("RemoteEvent", char)
  31. remote.Name = "ReplicationEvent"
  32. local client = NLS([==[
  33. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  34. local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  35. spawn(function()
  36. while game:GetService("RunService").Heartbeat:Wait() do
  37. remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  38. end
  39. end)
  40. game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
  41. if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
  42. remote:FireServer(1, input.KeyCode)
  43. end
  44. end)
  45. mouse.Button1Down:Connect(function()
  46. remote:FireServer(2)
  47. end)
  48. remote.OnClientEvent:Connect(function()
  49. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
  50. end)
  51. ]==], char)
  52. local crabrave = Instance.new("Sound", char.Torso)
  53. local RS = char.Torso["Right Shoulder"]
  54. local LS = char.Torso["Left Shoulder"]
  55. local RH = char.Torso["Right Hip"]
  56. local LH = char.Torso["Left Hip"]
  57. local rootj = char.HumanoidRootPart.RootJoint
  58. local throwbutton = false
  59. local throw = false
  60. local normalanim = true
  61. local attackd = false
  62. local animpose = "Idle"
  63. local timepos = 0
  64. local sine = 0
  65. local RSnor = RS.C0
  66. local LSnor = LS.C0
  67. local RHnor = RH.C0
  68. local LHnor = LH.C0
  69. local rootjnor = rootj.C0
  70.  
  71. ---------------------------------
  72. --------------Set up-------------
  73. ---------------------------------
  74.  
  75. ---------------------------------
  76. -----------Wrapping up-----------
  77. ---------------------------------
  78.  
  79. while game:GetService("RunService").Heartbeat:Wait() do
  80. if normalanim then
  81. sine = sine + 1
  82. end
  83. if crabrave.Parent == char.Torso then
  84. crabrave.SoundId = "rbxassetid://0"
  85. crabrave.Playing = true
  86. crabrave.Volume = 1
  87. crabrave.Looped = true
  88. timepos = crabrave.TimePosition
  89. else
  90. crabrave = Instance.new("Sound", char.Torso)
  91. crabrave.TimePosition = timepos
  92. end
  93. if remote.Parent == char then
  94. remote.Name = "ReplicationEvent"
  95. else
  96. remote = Instance.new("RemoteEvent", char)
  97. end
  98. local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
  99. if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
  100. animpose = "Walking"
  101. elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
  102. animpose = "Jumping"
  103. elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
  104. animpose = "Falling"
  105. else
  106. animpose = "Idle"
  107. end
  108. if animpose == "Idle" and normalanim then
  109.  
  110. RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  111. LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  112. rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  113. elseif animpose == "Walking" and normalanim then
  114.  
  115. RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  116. LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  117. rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  118. elseif animpose == "Jumping" and normalanim then
  119.  
  120. RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  121. LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  122. rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  123. elseif animpose == "Falling" and normalanim then
  124.  
  125. RH.C0 = RH.C0:Lerp(RHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  126. LH.C0 = LH.C0:Lerp(LHnor, 0.1) - Vector3.new(0, rootj.C0.Position.Y / 10, 0)
  127. rootj.C0 = rootjnor * CFrame.new(math.sin(sine / 10) / 2, 0, math.sin(sine / 5) / 2)
  128. end
  129. end
  130. end)
  131.  
  132.  
  133. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  134. local Player,game,owner = owner,game
  135. local RealPlayer = Player
  136. do
  137. local rp = RealPlayer
  138. script.Parent = rp.Character
  139.  
  140. --RemoteEvent for communicating
  141. local Event = Instance.new("RemoteEvent")
  142. Event.Name = "UserInput_Event"
  143.  
  144. --Fake event to make stuff like Mouse.KeyDown work
  145. local function fakeEvent()
  146. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  147. t.connect = t.Connect
  148. return t
  149. end
  150.  
  151. --Creating fake input objects with fake variables
  152. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  153. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  154. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  155. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  156. end}
  157. --Merged 2 functions into one by checking amount of arguments
  158. CAS.UnbindAction = CAS.BindAction
  159.  
  160. --This function will trigger the events that have been :Connect()'ed
  161. local function te(self,ev,...)
  162. local t = m[ev]
  163. if t and t._fakeEvent then
  164. for _,f in pairs(t.Functions) do
  165. f(...)
  166. end
  167. end
  168. end
  169. m.TrigEvent = te
  170. UIS.TrigEvent = te
  171.  
  172. Event.OnServerEvent:Connect(function(plr,io)
  173. if plr~=rp then return end
  174. m.Target = io.Target
  175. m.Hit = io.Hit
  176. if not io.isMouse then
  177. local b = io.UserInputState == Enum.UserInputState.Begin
  178. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  179. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  180. end
  181. for _,t in pairs(CAS.Actions) do
  182. for _,k in pairs(t.Keys) do
  183. if k==io.KeyCode then
  184. t.Function(t.Name,io.UserInputState,io)
  185. end
  186. end
  187. end
  188. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  189. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  190. end
  191. end)
  192. Event.Parent = NLS([==[
  193. local Player = game:GetService("Players").LocalPlayer
  194. local Event = script:WaitForChild("UserInput_Event")
  195.  
  196. local Mouse = Player:GetMouse()
  197. local UIS = game:GetService("UserInputService")
  198. local input = function(io,a)
  199. if a then return end
  200. --Since InputObject is a client-side instance, we create and pass table instead
  201. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  202. end
  203. UIS.InputBegan:Connect(input)
  204. UIS.InputEnded:Connect(input)
  205.  
  206. local h,t
  207. --Give the server mouse data 30 times every second, but only if the values changed
  208. --If player is not moving their mouse, client won't fire events
  209. while wait(1/30) do
  210. if h~=Mouse.Hit or t~=Mouse.Target then
  211. h,t=Mouse.Hit,Mouse.Target
  212. Event:FireServer({isMouse=true,Target=t,Hit=h})
  213. end
  214. end]==],Player.Character)
  215.  
  216. ----Sandboxed game object that allows the usage of client-side methods and services
  217. --Real game object
  218. local _rg = game
  219.  
  220. --Metatable for fake service
  221. local fsmt = {
  222. __index = function(self,k)
  223. local s = rawget(self,"_RealService")
  224. if s then return s[k] end
  225. end,
  226. __newindex = function(self,k,v)
  227. local s = rawget(self,"_RealService")
  228. if s then s[k]=v end
  229. end,
  230. __call = function(self,...)
  231. local s = rawget(self,"_RealService")
  232. if s then return s(...) end
  233. end
  234. }
  235. local function FakeService(t,RealService)
  236. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  237. return setmetatable(t,fsmt)
  238. end
  239.  
  240. --Fake game object
  241. local g = {
  242. GetService = function(self,s)
  243. return self[s]
  244. end,
  245. Players = FakeService({
  246. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  247. },"Players"),
  248. UserInputService = FakeService(UIS,"UserInputService"),
  249. ContextActionService = FakeService(CAS,"ContextActionService"),
  250. }
  251. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  252. g.service = g.GetService
  253.  
  254. g.RunService = FakeService({
  255. RenderStepped = _rg:GetService("RunService").Heartbeat,
  256. BindToRenderStep = function(self,name,_,fun)
  257. self._btrs[name] = self.Heartbeat:Connect(fun)
  258. end,
  259. UnbindFromRenderStep = function(self,name)
  260. self._btrs[name]:Disconnect()
  261. end,
  262. },"RunService")
  263.  
  264. setmetatable(g,{
  265. __index=function(self,s)
  266. return _rg:GetService(s) or typeof(_rg[s])=="function"
  267. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  268. end,
  269. __newindex = fsmt.__newindex,
  270. __call = fsmt.__call
  271. })
  272. --Changing owner to fake player object to support owner:GetMouse()
  273. game,owner = g,g.Players.LocalPlayer
  274. end
  275.  
  276. Player = owner
  277. PlayerGui = Player.PlayerGui
  278. Cam = workspace.CurrentCamera
  279. Backpack = Player.Backpack
  280. Character = Player.Character
  281. Humanoid = Character.Humanoid
  282. Mouse = Player:GetMouse()
  283. RootPart = Character["HumanoidRootPart"]
  284. Torso = Character["Torso"]
  285. Head = Character["Head"]
  286. RightArm = Character["Right Arm"]
  287. LeftArm = Character["Left Arm"]
  288. RightLeg = Character["Right Leg"]
  289. LeftLeg = Character["Left Leg"]
  290. RootJoint = RootPart["RootJoint"]
  291. Neck = Torso["Neck"]
  292. RightShoulder = Torso["Right Shoulder"]
  293. LeftShoulder = Torso["Left Shoulder"]
  294. RightHip = Torso["Right Hip"]
  295. LeftHip = Torso["Left Hip"]
  296.  
  297. Character = Player.Character
  298. Humanoid = Character.Humanoid
  299.  
  300. ---------
  301. plr = game.Players.LocalPlayer
  302. chara = plr.Character
  303. mouse = plr:GetMouse()
  304. Create = Instance.new
  305. Huge = math.huge
  306.  
  307.  
  308.  
  309. Player = game:GetService("Players").LocalPlayer
  310. PlayerGui = Player.PlayerGui
  311. Cam = workspace.CurrentCamera
  312. Backpack = Player.Backpack
  313. Character = Player.Character
  314. char = Player.Character
  315. Humanoid = Character.Humanoid
  316. Mouse = Player:GetMouse()
  317. RootPart = Character["HumanoidRootPart"]
  318. Torso = Character["Torso"]
  319. Head = Character["Head"]
  320. RightArm = Character["Right Arm"]
  321. LeftArm = Character["Left Arm"]
  322. RightLeg = Character["Right Leg"]
  323. LeftLeg = Character["Left Leg"]
  324. RootJoint = RootPart["RootJoint"]
  325. Neck = Torso["Neck"]
  326. RightShoulder = Torso["Right Shoulder"]
  327. LeftShoulder = Torso["Left Shoulder"]
  328. RightHip = Torso["Right Hip"]
  329. LeftHip = Torso["Left Hip"]
  330.  
  331. local Orin = "http://www.roblox.com/asset/?id=7074786"
  332. Head.face.Texture = Orin
  333. function weld(a, b, acf)
  334. local w = Instance.new("Weld", a)
  335. w.Part0 = a
  336. w.Part1 = b
  337. w.C0 = acf
  338. end
  339.  
  340. local righteyebrickcolor = "Institutional white"
  341. local reye = Instance.new("Part", char)
  342. reye.CanCollide = false
  343. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  344. reye.Material = "Neon"
  345. reye.Size = Vector3.new(.25,.35,.25)
  346. weld(reye, char.Head, CFrame.new(-0.12,-0.2,0.55), CFrame.new(1,0,0))
  347. m1 = Instance.new("SpecialMesh", reye)
  348. m1.MeshType = "Sphere"
  349. m1.Scale = Vector3.new(0.9,0.9,0.9)
  350. reye.Locked = true
  351. reye.Name = "re"
  352.  
  353.  
  354. local righteyebrickcolor = "Really red"
  355. local reye = Instance.new("Part", char)
  356. reye.CanCollide = false
  357. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  358. reye.Material = "Neon"
  359. reye.Size = Vector3.new(.25,.35,.15)
  360. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  361. m1 = Instance.new("SpecialMesh", reye)
  362. m1.MeshType = "Sphere"
  363. m1.Scale = Vector3.new(0.9,0.9,0.9)
  364. reye.Locked = true
  365. reye.Name = "re"
  366.  
  367. Character.Head.face.Texture = "rbxassetid://411546407"
  368.  
  369.  
  370. local FavIDs = {
  371. 340106355, --Nefl Crystals
  372. 927529620, --Dimension
  373. 876981900, --Fantasy
  374. 398987889, --Ordinary Days
  375. 1117396305, --Oh wait, it's you.
  376. 885996042, --Action Winter Journey
  377. 919231299, --Sprawling Idiot Effigy
  378. 743466274, --Good Day Sunshine
  379. 727411183, --Knife Fight
  380. 1402748531, --The Earth Is Counting On You!
  381. 595230126 --Robot Language
  382. }
  383.  
  384.  
  385.  
  386. --The reality of my life isn't real but a Universe -makhail07
  387. wait(0.2)
  388. local plr = game:service'Players'.LocalPlayer
  389. print('Local User is '..plr.Name)
  390. print('SCRIPTNAME Loaded')
  391. print('SCRIPT DESCRIPTION')
  392. local char = plr.Character
  393. local hum = char.Humanoid
  394. local hed = char.Head
  395. local root = char.HumanoidRootPart
  396. local rootj = root.RootJoint
  397. local tors = char.Torso
  398. local ra = char["Right Arm"]
  399. local la = char["Left Arm"]
  400. local rl = char["Right Leg"]
  401. local ll = char["Left Leg"]
  402. local neck = tors["Neck"]
  403. local mouse = plr:GetMouse()
  404. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  405. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  406. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  407. local maincolor = BrickColor.new("Storm blue")
  408.  
  409. -------------------------------------------------------
  410. --Start Good Stuff--
  411. -------------------------------------------------------
  412. cam = game.Workspace.CurrentCamera
  413. CF = CFrame.new
  414. angles = CFrame.Angles
  415. attack = false
  416. Euler = CFrame.fromEulerAnglesXYZ
  417. Rad = math.rad
  418. IT = Instance.new
  419. BrickC = BrickColor.new
  420. Cos = math.cos
  421. Acos = math.acos
  422. Sin = math.sin
  423. Asin = math.asin
  424. Abs = math.abs
  425. Mrandom = math.random
  426. Floor = math.floor
  427. -------------------------------------------------------
  428. --End Good Stuff--
  429. -------------------------------------------------------
  430. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  431. RSH, LSH = nil, nil
  432. RW = Instance.new("Weld")
  433. LW = Instance.new("Weld")
  434. RH = tors["Right Hip"]
  435. LH = tors["Left Hip"]
  436. RSH = tors["Right Shoulder"]
  437. LSH = tors["Left Shoulder"]
  438. RSH.Parent = nil
  439. LSH.Parent = nil
  440. RW.Name = "RW"
  441. RW.Part0 = tors
  442. RW.C0 = CF(1.5, 0.5, 0)
  443. RW.C1 = CF(0, 0.5, 0)
  444. RW.Part1 = ra
  445. RW.Parent = tors
  446. LW.Name = "LW"
  447. LW.Part0 = tors
  448. LW.C0 = CF(-1.5, 0.5, 0)
  449. LW.C1 = CF(0, 0.5, 0)
  450. LW.Part1 = la
  451. LW.Parent = tors
  452. Effects = {}
  453. -------------------------------------------------------
  454. --Start HeartBeat--
  455. -------------------------------------------------------
  456. ArtificialHB = Instance.new("BindableEvent", script)
  457. ArtificialHB.Name = "Heartbeat"
  458. script:WaitForChild("Heartbeat")
  459.  
  460. frame = 1 / 60
  461. tf = 0
  462. allowframeloss = false
  463. tossremainder = false
  464.  
  465.  
  466. lastframe = tick()
  467. script.Heartbeat:Fire()
  468.  
  469.  
  470. game:GetService("RunService").Heartbeat:connect(function(s, p)
  471. tf = tf + s
  472. if tf >= frame then
  473. if allowframeloss then
  474. script.Heartbeat:Fire()
  475. lastframe = tick()
  476. else
  477. for i = 1, math.floor(tf / frame) do
  478. script.Heartbeat:Fire()
  479. end
  480. lastframe = tick()
  481. end
  482. if tossremainder then
  483. tf = 0
  484. else
  485. tf = tf - frame * math.floor(tf / frame)
  486. end
  487. end
  488. end)
  489. -------------------------------------------------------
  490. --End HeartBeat--
  491. -------------------------------------------------------
  492.  
  493. -------------------------------------------------------
  494. --Start Important Functions--
  495. -------------------------------------------------------
  496. function swait(num)
  497. if num == 0 or num == nil then
  498. game:service("RunService").Stepped:wait(0)
  499. else
  500. for i = 0, num do
  501. game:service("RunService").Stepped:wait(0)
  502. end
  503. end
  504. end
  505. function thread(f)
  506. coroutine.resume(coroutine.create(f))
  507. end
  508. function clerp(a, b, t)
  509. local qa = {
  510. QuaternionFromCFrame(a)
  511. }
  512. local qb = {
  513. QuaternionFromCFrame(b)
  514. }
  515. local ax, ay, az = a.x, a.y, a.z
  516. local bx, by, bz = b.x, b.y, b.z
  517. local _t = 1 - t
  518. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  519. end
  520. function QuaternionFromCFrame(cf)
  521. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  522. local trace = m00 + m11 + m22
  523. if trace > 0 then
  524. local s = math.sqrt(1 + trace)
  525. local recip = 0.5 / s
  526. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  527. else
  528. local i = 0
  529. if m00 < m11 then
  530. i = 1
  531. end
  532. if m22 > (i == 0 and m00 or m11) then
  533. i = 2
  534. end
  535. if i == 0 then
  536. local s = math.sqrt(m00 - m11 - m22 + 1)
  537. local recip = 0.5 / s
  538. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  539. elseif i == 1 then
  540. local s = math.sqrt(m11 - m22 - m00 + 1)
  541. local recip = 0.5 / s
  542. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  543. elseif i == 2 then
  544. local s = math.sqrt(m22 - m00 - m11 + 1)
  545. local recip = 0.5 / s
  546. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  547. end
  548. end
  549. end
  550. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  551. local xs, ys, zs = x + x, y + y, z + z
  552. local wx, wy, wz = w * xs, w * ys, w * zs
  553. local xx = x * xs
  554. local xy = x * ys
  555. local xz = x * zs
  556. local yy = y * ys
  557. local yz = y * zs
  558. local zz = z * zs
  559. 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))
  560. end
  561. function QuaternionSlerp(a, b, t)
  562. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  563. local startInterp, finishInterp
  564. if cosTheta >= 1.0E-4 then
  565. if 1 - cosTheta > 1.0E-4 then
  566. local theta = math.acos(cosTheta)
  567. local invSinTheta = 1 / Sin(theta)
  568. startInterp = Sin((1 - t) * theta) * invSinTheta
  569. finishInterp = Sin(t * theta) * invSinTheta
  570. else
  571. startInterp = 1 - t
  572. finishInterp = t
  573. end
  574. elseif 1 + cosTheta > 1.0E-4 then
  575. local theta = math.acos(-cosTheta)
  576. local invSinTheta = 1 / Sin(theta)
  577. startInterp = Sin((t - 1) * theta) * invSinTheta
  578. finishInterp = Sin(t * theta) * invSinTheta
  579. else
  580. startInterp = t - 1
  581. finishInterp = t
  582. end
  583. 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
  584. end
  585. function rayCast(Position, Direction, Range, Ignore)
  586. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  587. end
  588. local RbxUtility = LoadLibrary("RbxUtility")
  589. local Create = RbxUtility.Create
  590.  
  591. -------------------------------------------------------
  592. --Start Damage Function--
  593. -------------------------------------------------------
  594. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  595. if hit.Parent == nil then
  596. return
  597. end
  598. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  599. for _, v in pairs(hit.Parent:children()) do
  600. if v:IsA("Humanoid") then
  601. h = v
  602. end
  603. end
  604. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  605.  
  606. hit.Parent:FindFirstChild("Head"):BreakJoints()
  607. end
  608.  
  609. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  610. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  611. if hit.Parent.DebounceHit.Value == true then
  612. return
  613. end
  614. end
  615. if insta == true then
  616. hit.Parent:FindFirstChild("Head"):BreakJoints()
  617. end
  618. local c = Create("ObjectValue"){
  619. Name = "creator",
  620. Value = game:service("Players").LocalPlayer,
  621. Parent = h,
  622. }
  623. game:GetService("Debris"):AddItem(c, .5)
  624. if HitSound ~= nil and HitPitch ~= nil then
  625. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  626. end
  627. local Damage = math.random(minim, maxim)
  628. local blocked = false
  629. local block = hit.Parent:findFirstChild("Block")
  630. if block ~= nil then
  631. if block.className == "IntValue" then
  632. if block.Value > 0 then
  633. blocked = true
  634. block.Value = block.Value - 1
  635. print(block.Value)
  636. end
  637. end
  638. end
  639. if blocked == false then
  640. h.Health = h.Health - Damage
  641. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  642. else
  643. h.Health = h.Health - (Damage / 2)
  644. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  645. end
  646. if Type == "Knockdown" then
  647. local hum = hit.Parent.Humanoid
  648. hum.PlatformStand = true
  649. coroutine.resume(coroutine.create(function(HHumanoid)
  650. swait(1)
  651. HHumanoid.PlatformStand = false
  652. end), hum)
  653. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  654. local bodvol = Create("BodyVelocity"){
  655. velocity = angle * knockback,
  656. P = 5000,
  657. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  658. Parent = hit,
  659. }
  660. local rl = Create("BodyAngularVelocity"){
  661. P = 3000,
  662. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  663. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  664. Parent = hit,
  665. }
  666. game:GetService("Debris"):AddItem(bodvol, .5)
  667. game:GetService("Debris"):AddItem(rl, .5)
  668. elseif Type == "Normal" then
  669. local vp = Create("BodyVelocity"){
  670. P = 500,
  671. maxForce = Vector3.new(math.huge, 0, math.huge),
  672. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  673. }
  674. if knockback > 0 then
  675. vp.Parent = hit.Parent.Torso
  676. end
  677. game:GetService("Debris"):AddItem(vp, .5)
  678. elseif Type == "Up" then
  679. local bodyVelocity = Create("BodyVelocity"){
  680. velocity = Vector3.new(0, 20, 0),
  681. P = 5000,
  682. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  683. Parent = hit,
  684. }
  685. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  686. elseif Type == "DarkUp" then
  687. coroutine.resume(coroutine.create(function()
  688. for i = 0, 1, 0.1 do
  689. swait()
  690. Effects.Block.Create(BrickColor.new("Royal purple"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  691. end
  692. end))
  693. local bodyVelocity = Create("BodyVelocity"){
  694. velocity = Vector3.new(0, 20, 0),
  695. P = 5000,
  696. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  697. Parent = hit,
  698. }
  699. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  700. elseif Type == "Snare" then
  701. local bp = Create("BodyPosition"){
  702. P = 2000,
  703. D = 100,
  704. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  705. position = hit.Parent.Torso.Position,
  706. Parent = hit.Parent.Torso,
  707. }
  708. game:GetService("Debris"):AddItem(bp, 1)
  709. elseif Type == "Freeze" then
  710. local BodPos = Create("BodyPosition"){
  711. P = 50000,
  712. D = 1000,
  713. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  714. position = hit.Parent.Torso.Position,
  715. Parent = hit.Parent.Torso,
  716. }
  717. local BodGy = Create("BodyGyro") {
  718. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  719. P = 20e+003,
  720. Parent = hit.Parent.Torso,
  721. cframe = hit.Parent.Torso.CFrame,
  722. }
  723. hit.Parent.Torso.Anchored = true
  724. coroutine.resume(coroutine.create(function(Part)
  725. swait(1.5)
  726. Part.Anchored = false
  727. end), hit.Parent.Torso)
  728. game:GetService("Debris"):AddItem(BodPos, 3)
  729. game:GetService("Debris"):AddItem(BodGy, 3)
  730. end
  731. local debounce = Create("BoolValue"){
  732. Name = "DebounceHit",
  733. Parent = hit.Parent,
  734. Value = true,
  735. }
  736. game:GetService("Debris"):AddItem(debounce, Delay)
  737. c = Create("ObjectValue"){
  738. Name = "creator",
  739. Value = Player,
  740. Parent = h,
  741. }
  742. game:GetService("Debris"):AddItem(c, .5)
  743. end
  744. end
  745.  
  746. function damage(range,mindam,maxdam,pos)
  747. for i,v in ipairs(workspace:GetChildren()) do
  748. if v:IsA("Model") then
  749. if v.Name ~= Player.Name then
  750. if v:FindFirstChildOfClass("Humanoid") then
  751. if v:FindFirstChild("Head") then
  752. if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
  753. if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
  754. v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
  755. end
  756. end
  757. end
  758. end
  759. end
  760. end
  761. end
  762. end
  763. -------------------------------------------------------
  764. --End Damage Function--
  765. -------------------------------------------------------
  766.  
  767. -------------------------------------------------------
  768. --Start Damage Function Customization--
  769. -------------------------------------------------------
  770. local RbxUtility = LoadLibrary("RbxUtility")
  771. local Create = RbxUtility.Create
  772. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
  773. local type = type
  774. local rng = Instance.new("Part", char)
  775. rng.Anchored = true
  776. rng.BrickColor = color
  777. rng.CanCollide = false
  778. rng.FormFactor = 3
  779. rng.Name = "Ring"
  780. rng.Material = "Neon"
  781. rng.Size = Vector3.new(1, 1, 1)
  782. rng.Transparency = 0
  783. rng.TopSurface = 0
  784. rng.BottomSurface = 0
  785. rng.CFrame = pos
  786. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  787. local rngm = Instance.new("SpecialMesh", rng)
  788. rngm.MeshType = "Brick"
  789. if rainbowmode == true then
  790. rng.Color = Color3.new(r/255,g/255,b/255)
  791. end
  792. local scaler2 = 1
  793. local speeder = FastSpeed/10
  794. if type == "Add" then
  795. scaler2 = 1*value
  796. elseif type == "Divide" then
  797. scaler2 = 1/value
  798. end
  799. coroutine.resume(coroutine.create(function()
  800. for i = 0,10/bonuspeed,0.1 do
  801. swait()
  802. if type == "Add" then
  803. scaler2 = scaler2 - 0.01*value/bonuspeed
  804. elseif type == "Divide" then
  805. scaler2 = scaler2 - 0.01/value*bonuspeed
  806. end
  807. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  808. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  809. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  810. end
  811. rng:Destroy()
  812. end))
  813. end
  814. function ShowDamage(Pos, Text, Time, Color)
  815. local Rate = (1 / 30)
  816. local Pos = (Pos or Vector3.new(0, 0, 0))
  817. local Text = (Text or "")
  818. local Time = (Time or 2)
  819. local Color = (Color or Color3.new(1, 0, 1))
  820. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  821. EffectPart.Anchored = true
  822. local BillboardGui = Create("BillboardGui"){
  823. Size = UDim2.new(3, 0, 3, 0),
  824. Adornee = EffectPart,
  825. Parent = EffectPart,
  826. }
  827. local TextLabel = Create("TextLabel"){
  828. BackgroundTransparency = 1,
  829. Size = UDim2.new(1, 0, 1, 0),
  830. Text = Text,
  831. Font = "Bodoni",
  832. TextColor3 = Color,
  833. TextScaled = true,
  834. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  835. Parent = BillboardGui,
  836. }
  837. game.Debris:AddItem(EffectPart, (Time))
  838. EffectPart.Parent = game:GetService("Workspace")
  839. delay(0, function()
  840. local Frames = (Time / Rate)
  841. for Frame = 1, Frames do
  842. wait(Rate)
  843. local Percent = (Frame / Frames)
  844. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  845. TextLabel.TextTransparency = Percent
  846. end
  847. if EffectPart and EffectPart.Parent then
  848. EffectPart:Destroy()
  849. end
  850. end)
  851. end
  852. -------------------------------------------------------
  853. --End Damage Function Customization--
  854. -------------------------------------------------------
  855.  
  856. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  857. for _, c in pairs(workspace:children()) do
  858. local hum = c:findFirstChild("Humanoid")
  859. if hum ~= nil then
  860. local head = c:findFirstChild("Head")
  861. if head ~= nil then
  862. local targ = head.Position - Part.Position
  863. local mag = targ.magnitude
  864. if magni >= mag and c.Name ~= plr.Name then
  865. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  866. end
  867. end
  868. end
  869. end
  870. end
  871.  
  872.  
  873. CFuncs = {
  874. Part = {
  875. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  876. local Part = Create("Part")({
  877. Parent = Parent,
  878. Reflectance = Reflectance,
  879. Transparency = Transparency,
  880. CanCollide = false,
  881. Locked = true,
  882. BrickColor = BrickColor.new(tostring(BColor)),
  883. Name = Name,
  884. Size = Size,
  885. Material = Material
  886. })
  887. RemoveOutlines(Part)
  888. return Part
  889. end
  890. },
  891. Mesh = {
  892. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  893. local Msh = Create(Mesh)({
  894. Parent = Part,
  895. Offset = OffSet,
  896. Scale = Scale
  897. })
  898. if Mesh == "SpecialMesh" then
  899. Msh.MeshType = MeshType
  900. Msh.MeshId = MeshId
  901. end
  902. return Msh
  903. end
  904. },
  905. Mesh = {
  906. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  907. local Msh = Create(Mesh)({
  908. Parent = Part,
  909. Offset = OffSet,
  910. Scale = Scale
  911. })
  912. if Mesh == "SpecialMesh" then
  913. Msh.MeshType = MeshType
  914. Msh.MeshId = MeshId
  915. end
  916. return Msh
  917. end
  918. },
  919. Weld = {
  920. Create = function(Parent, Part0, Part1, C0, C1)
  921. local Weld = Create("Weld")({
  922. Parent = Parent,
  923. Part0 = Part0,
  924. Part1 = Part1,
  925. C0 = C0,
  926. C1 = C1
  927. })
  928. return Weld
  929. end
  930. },
  931. Sound = {
  932. Create = function(id, par, vol, pit)
  933. coroutine.resume(coroutine.create(function()
  934. local S = Create("Sound")({
  935. Volume = vol,
  936. Pitch = pit or 1,
  937. SoundId = id,
  938. Parent = par or workspace
  939. })
  940. wait()
  941. S:play()
  942. game:GetService("Debris"):AddItem(S, 6)
  943. end))
  944. end
  945. },
  946. ParticleEmitter = {
  947. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  948. local fp = Create("ParticleEmitter")({
  949. Parent = Parent,
  950. Color = ColorSequence.new(Color1, Color2),
  951. LightEmission = LightEmission,
  952. Size = Size,
  953. Texture = Texture,
  954. Transparency = Transparency,
  955. ZOffset = ZOffset,
  956. Acceleration = Accel,
  957. Drag = Drag,
  958. LockedToPart = LockedToPart,
  959. VelocityInheritance = VelocityInheritance,
  960. EmissionDirection = EmissionDirection,
  961. Enabled = Enabled,
  962. Lifetime = LifeTime,
  963. Rate = Rate,
  964. Rotation = Rotation,
  965. RotSpeed = RotSpeed,
  966. Speed = Speed,
  967. VelocitySpread = VelocitySpread
  968. })
  969. return fp
  970. end
  971. }
  972. }
  973. function RemoveOutlines(part)
  974. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  975. end
  976. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  977. local Part = Create("Part")({
  978. formFactor = FormFactor,
  979. Parent = Parent,
  980. Reflectance = Reflectance,
  981. Transparency = Transparency,
  982. CanCollide = false,
  983. Locked = true,
  984. BrickColor = BrickColor.new(tostring(BColor)),
  985. Name = Name,
  986. Size = Size,
  987. Material = Material
  988. })
  989. RemoveOutlines(Part)
  990. return Part
  991. end
  992. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  993. local Msh = Create(Mesh)({
  994. Parent = Part,
  995. Offset = OffSet,
  996. Scale = Scale
  997. })
  998. if Mesh == "SpecialMesh" then
  999. Msh.MeshType = MeshType
  1000. Msh.MeshId = MeshId
  1001. end
  1002. return Msh
  1003. end
  1004. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1005. local Weld = Create("Weld")({
  1006. Parent = Parent,
  1007. Part0 = Part0,
  1008. Part1 = Part1,
  1009. C0 = C0,
  1010. C1 = C1
  1011. })
  1012. return Weld
  1013. end
  1014.  
  1015.  
  1016. -------------------------------------------------------
  1017. --Start Effect Function--
  1018. -------------------------------------------------------
  1019. EffectModel = Instance.new("Model", char)
  1020. Effects = {
  1021. Block = {
  1022. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1023. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1024. prt.Anchored = true
  1025. prt.CFrame = cframe
  1026. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1027. game:GetService("Debris"):AddItem(prt, 10)
  1028. if Type == 1 or Type == nil then
  1029. table.insert(Effects, {
  1030. prt,
  1031. "Block1",
  1032. delay,
  1033. x3,
  1034. y3,
  1035. z3,
  1036. msh
  1037. })
  1038. elseif Type == 2 then
  1039. table.insert(Effects, {
  1040. prt,
  1041. "Block2",
  1042. delay,
  1043. x3,
  1044. y3,
  1045. z3,
  1046. msh
  1047. })
  1048. else
  1049. table.insert(Effects, {
  1050. prt,
  1051. "Block3",
  1052. delay,
  1053. x3,
  1054. y3,
  1055. z3,
  1056. msh
  1057. })
  1058. end
  1059. end
  1060. },
  1061. Sphere = {
  1062. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1063. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1064. prt.Anchored = true
  1065. prt.CFrame = cframe
  1066. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1067. game:GetService("Debris"):AddItem(prt, 10)
  1068. table.insert(Effects, {
  1069. prt,
  1070. "Cylinder",
  1071. delay,
  1072. x3,
  1073. y3,
  1074. z3,
  1075. msh
  1076. })
  1077. end
  1078. },
  1079. Cylinder = {
  1080. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1081. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1082. prt.Anchored = true
  1083. prt.CFrame = cframe
  1084. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1085. game:GetService("Debris"):AddItem(prt, 10)
  1086. table.insert(Effects, {
  1087. prt,
  1088. "Cylinder",
  1089. delay,
  1090. x3,
  1091. y3,
  1092. z3,
  1093. msh
  1094. })
  1095. end
  1096. },
  1097. Wave = {
  1098. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1099. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1100. prt.Anchored = true
  1101. prt.CFrame = cframe
  1102. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1103. game:GetService("Debris"):AddItem(prt, 10)
  1104. table.insert(Effects, {
  1105. prt,
  1106. "Cylinder",
  1107. delay,
  1108. x3 / 60,
  1109. y3 / 60,
  1110. z3 / 60,
  1111. msh
  1112. })
  1113. end
  1114. },
  1115. Ring = {
  1116. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1117. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1118. prt.Anchored = true
  1119. prt.CFrame = cframe
  1120. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1121. game:GetService("Debris"):AddItem(prt, 10)
  1122. table.insert(Effects, {
  1123. prt,
  1124. "Cylinder",
  1125. delay,
  1126. x3,
  1127. y3,
  1128. z3,
  1129. msh
  1130. })
  1131. end
  1132. },
  1133. Break = {
  1134. Create = function(brickcolor, cframe, x1, y1, z1)
  1135. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1136. prt.Anchored = true
  1137. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1138. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1139. local num = math.random(10, 50) / 1000
  1140. game:GetService("Debris"):AddItem(prt, 10)
  1141. table.insert(Effects, {
  1142. prt,
  1143. "Shatter",
  1144. num,
  1145. prt.CFrame,
  1146. math.random() - math.random(),
  1147. 0,
  1148. math.random(50, 100) / 100
  1149. })
  1150. end
  1151. },
  1152. Spiral = {
  1153. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1154. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1155. prt.Anchored = true
  1156. prt.CFrame = cframe
  1157. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1158. game:GetService("Debris"):AddItem(prt, 10)
  1159. table.insert(Effects, {
  1160. prt,
  1161. "Cylinder",
  1162. delay,
  1163. x3,
  1164. y3,
  1165. z3,
  1166. msh
  1167. })
  1168. end
  1169. },
  1170. Push = {
  1171. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1172. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1173. prt.Anchored = true
  1174. prt.CFrame = cframe
  1175. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1176. game:GetService("Debris"):AddItem(prt, 10)
  1177. table.insert(Effects, {
  1178. prt,
  1179. "Cylinder",
  1180. delay,
  1181. x3,
  1182. y3,
  1183. z3,
  1184. msh
  1185. })
  1186. end
  1187. }
  1188. }
  1189. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1190. local fp = IT("Part")
  1191. fp.formFactor = formfactor
  1192. fp.Parent = parent
  1193. fp.Reflectance = reflectance
  1194. fp.Transparency = transparency
  1195. fp.CanCollide = false
  1196. fp.Locked = true
  1197. fp.BrickColor = brickcolor
  1198. fp.Name = name
  1199. fp.Size = size
  1200. fp.Position = tors.Position
  1201. RemoveOutlines(fp)
  1202. fp.Material = "SmoothPlastic"
  1203. fp:BreakJoints()
  1204. return fp
  1205. end
  1206.  
  1207. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1208. local mesh = IT(Mesh)
  1209. mesh.Parent = part
  1210. if Mesh == "SpecialMesh" then
  1211. mesh.MeshType = meshtype
  1212. if meshid ~= "nil" then
  1213. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1214. end
  1215. end
  1216. mesh.Offset = offset
  1217. mesh.Scale = scale
  1218. return mesh
  1219. end
  1220.  
  1221. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1222. local type = type
  1223. local rng = Instance.new("Part", char)
  1224. rng.Anchored = true
  1225. rng.BrickColor = color
  1226. rng.CanCollide = false
  1227. rng.FormFactor = 3
  1228. rng.Name = "Ring"
  1229. rng.Material = "Neon"
  1230. rng.Size = Vector3.new(1, 1, 1)
  1231. rng.Transparency = 0
  1232. rng.TopSurface = 0
  1233. rng.BottomSurface = 0
  1234. rng.CFrame = pos
  1235. local rngm = Instance.new("SpecialMesh", rng)
  1236. rngm.MeshType = MType
  1237. rngm.Scale = scale
  1238. local scaler2 = 1
  1239. if type == "Add" then
  1240. scaler2 = 1 * value
  1241. elseif type == "Divide" then
  1242. scaler2 = 1 / value
  1243. end
  1244. coroutine.resume(coroutine.create(function()
  1245. for i = 0, 10 / bonuspeed, 0.1 do
  1246. swait()
  1247. if type == "Add" then
  1248. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1249. elseif type == "Divide" then
  1250. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1251. end
  1252. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1253. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1254. end
  1255. rng:Destroy()
  1256. end))
  1257. end
  1258.  
  1259. function Eviscerate(dude)
  1260. if dude.Name ~= char then
  1261. local bgf = IT("BodyGyro", dude.Head)
  1262. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1263. local val = IT("BoolValue", dude)
  1264. val.Name = "IsHit"
  1265. local ds = coroutine.wrap(function()
  1266. dude:WaitForChild("Head"):BreakJoints()
  1267. wait(0.5)
  1268. target = nil
  1269. coroutine.resume(coroutine.create(function()
  1270. for i, v in pairs(dude:GetChildren()) do
  1271. if v:IsA("Accessory") then
  1272. v:Destroy()
  1273. end
  1274. if v:IsA("Humanoid") then
  1275. v:Destroy()
  1276. end
  1277. if v:IsA("CharacterMesh") then
  1278. v:Destroy()
  1279. end
  1280. if v:IsA("Model") then
  1281. v:Destroy()
  1282. end
  1283. if v:IsA("Part") or v:IsA("MeshPart") then
  1284. for x, o in pairs(v:GetChildren()) do
  1285. if o:IsA("Decal") then
  1286. o:Destroy()
  1287. end
  1288. end
  1289. coroutine.resume(coroutine.create(function()
  1290. v.Material = "Neon"
  1291. v.CanCollide = false
  1292. local PartEmmit1 = IT("ParticleEmitter", v)
  1293. PartEmmit1.LightEmission = 1
  1294. PartEmmit1.Texture = "rbxassetid://284205403"
  1295. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1296. PartEmmit1.Rate = 150
  1297. PartEmmit1.Lifetime = NumberRange.new(1)
  1298. PartEmmit1.Size = NumberSequence.new({
  1299. NumberSequenceKeypoint.new(0, 0.75, 0),
  1300. NumberSequenceKeypoint.new(1, 0, 0)
  1301. })
  1302. PartEmmit1.Transparency = NumberSequence.new({
  1303. NumberSequenceKeypoint.new(0, 0, 0),
  1304. NumberSequenceKeypoint.new(1, 1, 0)
  1305. })
  1306. PartEmmit1.Speed = NumberRange.new(0, 0)
  1307. PartEmmit1.VelocitySpread = 30000
  1308. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1309. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1310. local BodPoss = IT("BodyPosition", v)
  1311. BodPoss.P = 3000
  1312. BodPoss.D = 1000
  1313. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1314. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1315. v.Color = maincolor.Color
  1316. coroutine.resume(coroutine.create(function()
  1317. for i = 0, 49 do
  1318. swait(1)
  1319. v.Transparency = v.Transparency + 0.08
  1320. end
  1321. wait(0.5)
  1322. PartEmmit1.Enabled = false
  1323. wait(3)
  1324. v:Destroy()
  1325. dude:Destroy()
  1326. end))
  1327. end))
  1328. end
  1329. end
  1330. end))
  1331. end)
  1332. ds()
  1333. end
  1334. end
  1335.  
  1336. function FindNearestHead(Position, Distance, SinglePlayer)
  1337. if SinglePlayer then
  1338. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1339. end
  1340. local List = {}
  1341. for i, v in pairs(workspace:GetChildren()) do
  1342. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1343. table.insert(List, v)
  1344. end
  1345. end
  1346. return List
  1347. end
  1348.  
  1349. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1350. local type = type
  1351. local rng = Instance.new("Part", char)
  1352. rng.Anchored = true
  1353. rng.BrickColor = color
  1354. rng.CanCollide = false
  1355. rng.FormFactor = 3
  1356. rng.Name = "Ring"
  1357. rng.Material = "Neon"
  1358. rng.Size = Vector3.new(1, 1, 1)
  1359. rng.Transparency = 0
  1360. rng.TopSurface = 0
  1361. rng.BottomSurface = 0
  1362. rng.CFrame = pos
  1363. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1364. local rngm = Instance.new("SpecialMesh", rng)
  1365. rngm.MeshType = MType
  1366. rngm.Scale = Vector3.new(x1, y1, z1)
  1367. local scaler2 = 1
  1368. local speeder = FastSpeed
  1369. if type == "Add" then
  1370. scaler2 = 1 * value
  1371. elseif type == "Divide" then
  1372. scaler2 = 1 / value
  1373. end
  1374. coroutine.resume(coroutine.create(function()
  1375. for i = 0, 10 / bonuspeed, 0.1 do
  1376. swait()
  1377. if type == "Add" then
  1378. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1379. elseif type == "Divide" then
  1380. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1381. end
  1382. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1383. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1384. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1385. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1386. end
  1387. rng:Destroy()
  1388. end))
  1389. end
  1390.  
  1391. function SoulSteal(dude)
  1392. if dude.Name ~= char then
  1393. local bgf = IT("BodyGyro", dude.Head)
  1394. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1395. local val = IT("BoolValue", dude)
  1396. val.Name = "IsHit"
  1397. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1398. local soulst = coroutine.wrap(function()
  1399. local soul = Instance.new("Part",dude)
  1400. soul.Size = Vector3.new(1,1,1)
  1401. soul.CanCollide = false
  1402. soul.Anchored = false
  1403. soul.Position = torso.Position
  1404. soul.Transparency = 1
  1405. local PartEmmit1 = IT("ParticleEmitter", soul)
  1406. PartEmmit1.LightEmission = 1
  1407. PartEmmit1.Texture = "rbxassetid://569507414"
  1408. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1409. PartEmmit1.Rate = 250
  1410. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1411. PartEmmit1.Size = NumberSequence.new({
  1412. NumberSequenceKeypoint.new(0, 1, 0),
  1413. NumberSequenceKeypoint.new(1, 0, 0)
  1414. })
  1415. PartEmmit1.Transparency = NumberSequence.new({
  1416. NumberSequenceKeypoint.new(0, 0, 0),
  1417. NumberSequenceKeypoint.new(1, 1, 0)
  1418. })
  1419. PartEmmit1.Speed = NumberRange.new(0, 0)
  1420. PartEmmit1.VelocitySpread = 30000
  1421. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1422. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1423. local BodPoss = IT("BodyPosition", soul)
  1424. BodPoss.P = 3000
  1425. BodPoss.D = 1000
  1426. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1427. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1428. wait(1.6)
  1429. soul.Touched:connect(function(hit)
  1430. if hit.Parent == char then
  1431. soul:Destroy()
  1432. end
  1433. end)
  1434. wait(1.2)
  1435. while soul do
  1436. swait()
  1437. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1438. BodPoss.Position = tors.Position
  1439. end
  1440. end)
  1441. soulst()
  1442. end
  1443. end
  1444. function FaceMouse()
  1445. local Cam = workspace.CurrentCamera
  1446. return {
  1447. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1448. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1449. }
  1450. end
  1451.  
  1452. BTAUNT = Instance.new("Sound", tors)
  1453. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=2582332053"
  1454. BTAUNT.Volume = 2
  1455. BTAUNT.Pitch = 1
  1456. BTAUNT.Looped = true
  1457. BTAUNT.TimePosition = 0
  1458.  
  1459. BTAUNT3 = Instance.new("Sound", tors)
  1460. BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=157016540"
  1461. BTAUNT3.Volume = 10
  1462. BTAUNT3.Pitch = 1
  1463. BTAUNT3.Looped = false
  1464. BTAUNT3.TimePosition = 0
  1465.  
  1466. TEST = Instance.new("Sound", tors)
  1467. TEST.SoundId = "http://www.roblox.com/asset/?id=2544975373"
  1468. TEST.Volume = 25
  1469. TEST.Pitch = 1
  1470. TEST.Looped = false
  1471. TEST.TimePosition = 0
  1472. -------------------------------------------------------
  1473. --End Effect Function--
  1474. -------------------------------------------------------
  1475. function Cso(ID, PARENT, VOLUME, PITCH)
  1476. local NSound = nil
  1477. coroutine.resume(coroutine.create(function()
  1478. NSound = IT("Sound", PARENT)
  1479. NSound.Volume = VOLUME
  1480. NSound.Pitch = PITCH
  1481. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1482. swait()
  1483. NSound:play()
  1484. game:GetService("Debris"):AddItem(NSound, 50)
  1485. end))
  1486. return NSound
  1487. end
  1488. function CameraEnshaking(Length, Intensity)
  1489. coroutine.resume(coroutine.create(function()
  1490. local intensity = 1 * Intensity
  1491. local rotM = 0.01 * Intensity
  1492. for i = 0, Length, 0.1 do
  1493. swait()
  1494. intensity = intensity - 0.05 * Intensity / Length
  1495. rotM = rotM - 5.0E-4 * Intensity / Length
  1496. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1497. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1498. end
  1499. hum.CameraOffset = Vector3.new(0, 0, 0)
  1500. end))
  1501. end
  1502.  
  1503. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1504. local Part = Create("Part"){
  1505. Parent = Parent,
  1506. Reflectance = Reflectance,
  1507. Transparency = Transparency,
  1508. CanCollide = false,
  1509. Locked = true,
  1510. BrickColor = BrickColor.new(tostring(BColor)),
  1511. Name = Name,
  1512. Size = Size,
  1513. Material = Material,
  1514. }
  1515. RemoveOutlines(Part)
  1516. return Part
  1517. end
  1518.  
  1519. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1520. local Msh = Create(Mesh){
  1521. Parent = Part,
  1522. Offset = OffSet,
  1523. Scale = Scale,
  1524. }
  1525. if Mesh == "SpecialMesh" then
  1526. Msh.MeshType = MeshType
  1527. Msh.MeshId = MeshId
  1528. end
  1529. return Msh
  1530. end
  1531.  
  1532. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1533. local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1534. prt.Anchored = true
  1535. prt.CFrame = cframe
  1536. local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  1537. game:GetService("Debris"):AddItem(prt,2)
  1538. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1539. for i=0,1,delay do
  1540. swait()
  1541. Part.Transparency=i
  1542. Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3)
  1543. end
  1544. Part.Parent=nil
  1545. end),prt,msh,(math.random(0,1)+math.random())/5)
  1546. end
  1547. function getRegion(point,range,ignore)
  1548. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  1549. end
  1550.  
  1551. function GetTorso(char)
  1552. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1553. end
  1554.  
  1555. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  1556.  
  1557. NewInstance = function(instance,parent,properties)
  1558. local inst = Instance.new(instance)
  1559. inst.Parent = parent
  1560. if(properties)then
  1561. for i,v in next, properties do
  1562. pcall(function() inst[i] = v end)
  1563. end
  1564. end
  1565. return inst;
  1566. end
  1567.  
  1568. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1569. local part = Instance.new("Part")
  1570. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
  1571. part.Material = material or Enum.Material.SmoothPlastic
  1572. part.TopSurface,part.BottomSurface=10,10
  1573. part.Size = size or Vector3.new(1,1,1)
  1574. part.CFrame = cframe or CF(0,0,0)
  1575. part.Anchored = anchored or true
  1576. part.CanCollide = cancollide or false
  1577. part.Parent = parent or char
  1578. return part
  1579. end
  1580. -------------------------------------------------------
  1581. --End Important Functions--
  1582. -------------------------------------------------------
  1583.  
  1584.  
  1585. -------------------------------------------------------
  1586. --Start Customization--
  1587. -------------------------------------------------------
  1588. local Player_Size = 1
  1589. if Player_Size ~= 1 then
  1590. root.Size = root.Size * Player_Size
  1591. tors.Size = tors.Size * Player_Size
  1592. hed.Size = hed.Size * Player_Size
  1593. ra.Size = ra.Size * Player_Size
  1594. la.Size = la.Size * Player_Size
  1595. rl.Size = rl.Size * Player_Size
  1596. ll.Size = ll.Size * Player_Size
  1597. ----------------------------------------------------------------------------------
  1598. rootj.Parent = root
  1599. neck.Parent = tors
  1600. RW.Parent = tors
  1601. LW.Parent = tors
  1602. RH.Parent = tors
  1603. LH.Parent = tors
  1604. ----------------------------------------------------------------------------------
  1605. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1606. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1607. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1608. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1609. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1610. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1611. ----------------------------------------------------------------------------------
  1612. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1613. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1614. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1615. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1616. --hat.Parent = Character
  1617. end
  1618. ----------------------------------------------------------------------------------
  1619. ----------------------------------------------------------------------------------
  1620. local equipped = false
  1621. local idle = 0
  1622. local change = 1
  1623. local val = 0
  1624. local toim = 0
  1625. local idleanim = 0.4
  1626. local sine = 0
  1627. local Sit = 1
  1628. ----------------------------------------------------------------------------------
  1629. hum.WalkSpeed = 8
  1630. hum.JumpPower = 57
  1631. hum.Animator.Parent = nil
  1632. ----------------------------------------------------------------------------------
  1633.  
  1634. -------------------------------------------------------
  1635. --End Customization--
  1636. -------------------------------------------------------
  1637. local Blobby = Instance.new("Part", char)
  1638. Blobby.Name = "Blob"
  1639. Blobby.CanCollide = false
  1640. Blobby.BrickColor = BrickColor.new("Really black")
  1641. Blobby.Transparency = 0
  1642. Blobby.Material = "Plastic"
  1643. Blobby.Size = Vector3.new(1, 1, 2)
  1644. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1645. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1646.  
  1647. local Weld = Instance.new("Weld", Blobby)
  1648. Weld.Part0 = ra
  1649. Weld.Part1 = Blobby
  1650. Weld.C1 = CFrame.new(0, 0.8, 0)
  1651. Weld.C0 = CFrame.Angles(Rad(-180),0,135)
  1652.  
  1653. local M2 = Instance.new("SpecialMesh")
  1654. M2.Parent = Blobby
  1655. M2.MeshId = "rbxassetid://28140935"
  1656. M2.TextureId = "rbxassetid://411546407"
  1657. M2.Scale = Vector3.new(1, 0.8, 1)
  1658.  
  1659. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1660. naeeym2.AlwaysOnTop = true
  1661. naeeym2.Size = UDim2.new(5,35,2,15)
  1662. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1663. naeeym2.Adornee = hed
  1664. naeeym2.Name = "Name"
  1665. --naeeym2.PlayerToHideFrom = Player
  1666. local tecks2 = Instance.new("TextLabel",naeeym2)
  1667. tecks2.BackgroundTransparency = 1
  1668. tecks2.TextScaled = true
  1669. tecks2.BorderSizePixel = 0
  1670. tecks2.Text = "Fight Me"
  1671. tecks2.Font = Enum.Font.Bodoni
  1672. tecks2.TextSize = 30
  1673. tecks2.TextStrokeTransparency = 0
  1674. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1675. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1676. tecks2.Size = UDim2.new(1,0,0.5,0)
  1677. tecks2.Parent = naeeym2]]
  1678. ----------------------------------------------------------------------------------
  1679. local AddInstance = function(Object, ...)
  1680. local Obj = Instance.new(Object)
  1681. for i,v in next,(...) do
  1682. Obj[i] = v
  1683. end
  1684. return Obj
  1685. end
  1686. ----------------------------------------------------
  1687. local Reaper = AddInstance("Part",{
  1688. Parent = hed,
  1689. CFrame = hed.CFrame,
  1690. formFactor = "Symmetric",
  1691. Size = Vector3.new(1, 1, 1),
  1692. CanCollide = false,
  1693. TopSurface = "Smooth",
  1694. BottomSurface = "Smooth",
  1695. Locked = true,
  1696. })
  1697. local Weld = AddInstance("Weld",{
  1698. Parent = Reaper,
  1699. Part0 = hed,
  1700. C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0),
  1701. Part1 = Reaper,
  1702. })
  1703. local Mesh = AddInstance("SpecialMesh",{
  1704. Parent = Reaper,
  1705. MeshId = "rbxassetid://193760002",
  1706. TextureId = "rbxassetid://411546407",
  1707. Scale = Vector3.new(1.1, 1.1, 1.1),
  1708. VertexColor = Vector3.new(0.5, 0.5, 0.5),
  1709. })
  1710. -------------------------------------------------------
  1711. wait(1)
  1712. plr = game.Players.LocalPlayer
  1713. char = plr.Character
  1714. mouse = plr:GetMouse()
  1715. whitecolor = Color3.new(1,1,1)
  1716. epicmode = false
  1717. normal = true
  1718. for i,v in pairs(char:GetChildren()) do
  1719. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  1720. v:Destroy()
  1721. end
  1722. end
  1723. local shirt = Instance.new("Shirt",char)
  1724. shirt.ShirtTemplate = "rbxassetid://676428254"
  1725. local pants = Instance.new("Pants",char)
  1726. pants.PantsTemplate = "rbxassetid://676428351"
  1727. local bdycolors = char["Body Colors"]
  1728. bdycolors.HeadColor3 = whitecolor
  1729. bdycolors.LeftArmColor3 = whitecolor
  1730. bdycolors.LeftLegColor3 = whitecolor
  1731. bdycolors.RightArmColor3 = whitecolor
  1732. bdycolors.RightLegColor3 = whitecolor
  1733. bdycolors.TorsoColor3 = whitecolor
  1734. for i,v in pairs(char:GetChildren()) do
  1735. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  1736. v:Destroy()
  1737. end
  1738. end
  1739.  
  1740. -------------------------------------------------------
  1741. --Start Attacks N Stuff--
  1742. -------------------------------------------------------
  1743. local naeeym2 = Instance.new("BillboardGui",char)
  1744. naeeym2.AlwaysOnTop = true
  1745. naeeym2.Size = UDim2.new(5,35,2,35)
  1746. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1747. naeeym2.Adornee = hed
  1748. naeeym2.Name = "Name"
  1749.  
  1750. local tecks2 = Instance.new("TextLabel",naeeym2)
  1751. tecks2.BackgroundTransparency = 1
  1752. tecks2.TextScaled = true
  1753. tecks2.BorderSizePixel = 0
  1754. tecks2.Text = "nahid J҉ E҉ V҉ I҉ L҉"
  1755. tecks2.Font = "Fantasy"
  1756. tecks2.TextSize = 50
  1757. tecks2.TextStrokeTransparency = 0
  1758. tecks2.TextColor3 = BrickColor.new('Really black').Color
  1759. tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
  1760. tecks2.Size = UDim2.new(1,0,0.5,0)
  1761. tecks2.Parent = naeeym2
  1762. textfag = tecks2
  1763. tecks2.Text = "nahid J҉ E҉ V҉ I҉ L҉"
  1764. BTAUNT:Play()
  1765. coroutine.resume(coroutine.create(function()
  1766. while textfag ~= nil do
  1767. swait()
  1768. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  1769. textfag.Rotation = math.random(-3,3)
  1770. end
  1771. end))
  1772. function finalChaos()
  1773. attack = true
  1774. spawn(function()
  1775. local p = Instance.new("Part",char)
  1776. p.Anchored = true
  1777. p.CanCollide = false
  1778. p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0))
  1779. local m = Instance.new("SpecialMesh",p)
  1780. m.MeshId = "https://roblox.com/asset/?id=28140935"
  1781. m.Scale = Vector3.new(2,2,2)
  1782. for i=1,30 do
  1783. p.CFrame = p.CFrame-Vector3.new(0,3.3333,0)
  1784. p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0)
  1785. wait()
  1786. end
  1787. local beam = Instance.new("Part",char)
  1788. beam.Anchored = true
  1789. beam.CanCollide = false
  1790. beam.BrickColor = BrickColor.new("Reall black")
  1791. beam.Material = Enum.Material.Neon
  1792. beam.Size = Vector3.new(1,1,1)
  1793. beam.Position = p.Position+Vector3.new(0,1000,0)
  1794. beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354)
  1795. local m = Instance.new("SpecialMesh",beam)
  1796. m.MeshType = "Cylinder"
  1797. m.Scale = Vector3.new(2000,15,15)
  1798. damage(6,20,35,p.Position)
  1799. p.Transparency = 1
  1800. CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1)
  1801. for i=1,10 do
  1802. m.Scale = m.Scale-Vector3.new(0,1,1)
  1803. beam.Transparency = i / 10
  1804. wait()
  1805. end
  1806. p:Destroy()
  1807. end)
  1808. attack = false
  1809. end
  1810. function Attack()
  1811. attack = true
  1812. for i = 0, 2.6, 0.1 do
  1813. swait()
  1814. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1815. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1816. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1817. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  1818. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1819. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  1820. end
  1821. Cso("2545012765", tors, 10, 1)
  1822. CameraEnshaking(2, 15)
  1823. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1824. Effects.Wave.Create(BrickColor.new("Really bkack"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1825. Effects.Wave.Create(BrickColor.new("White"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1826. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  1827. if v:FindFirstChild("Head") then
  1828. Eviscerate(v)
  1829. end
  1830. end
  1831. for i = 0, 3, 0.1 do
  1832. swait()
  1833. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1834. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1835. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1836. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1837. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1838. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1839. end
  1840. attack = false
  1841. end
  1842. function Taunt2()
  1843. attack = true
  1844. hum.WalkSpeed = 0
  1845. CFuncs.Sound.Create("rbxassetid://2545008459", head, 100, 1)
  1846. for i = 0, 2, 0.1 do
  1847. swait()
  1848. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1849. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1850. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1851. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1852. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1853. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1854. end
  1855. for i = 0, 6, 0.1 do
  1856. swait()
  1857. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .2 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1858. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
  1859. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1860. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1861. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1862. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1863. end
  1864. for i = 0, 2, 0.1 do
  1865. swait()
  1866. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1867. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1868. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1869. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1870. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1871. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1872. end
  1873. attack = false
  1874. hum.WalkSpeed = 20
  1875. end
  1876. function icando()
  1877. attack = true
  1878. hum.WalkSpeed = 0
  1879. TEST:Remove()
  1880. TEST:Play()
  1881. repeat
  1882. for i = 0,4,0.1 do
  1883. swait()
  1884. TEST.Parent = tors
  1885. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1886. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  1887. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1888. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1889. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-76)), 0.1)
  1890. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.05 * Cos(sine / 12)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(56)), 0.1)
  1891. end
  1892. until TEST.Playing == false
  1893. TEST:Stop()
  1894. TEST:Play()
  1895. TEST:Remove()
  1896. print('I CAN DO ANYTHING')
  1897. attack = false
  1898. hum.WalkSpeed = 20
  1899. end
  1900. function Chain2()
  1901. if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1902. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1903. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1904. local HEAD = HUM.Parent:FindFirstChild("Head")
  1905. local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
  1906. local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
  1907. if HEAD and TORSO and HUM.Health > 0 then
  1908. local GYRO = IT("BodyGyro",root)
  1909. GYRO.D = 275
  1910. GYRO.P = 20000
  1911. GYRO.MaxTorque = Vector3.new(0,40000,0)
  1912. attack = true
  1913. hum.WalkSpeed = 0
  1914. local hit,pos,hummie;
  1915. local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  1916. Hook2.Transparency = 1
  1917. local A2 = NewInstance("Attachment",Hook2)
  1918. local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  1919. local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(138,138,138),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://73042633",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  1920. for i = 0, 2.3, .1 do
  1921. swait()
  1922. GYRO.cframe = CF(root.Position,TORSO.Position)
  1923. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-7), Rad(0), Rad(0)), 0.15)
  1924. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1925. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  1926. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  1927. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1928. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  1929. end
  1930. Cso("169105657", ra, 7, 1.2)
  1931. for i = 0, 5, .1 do
  1932. if(hit)then break end
  1933. swait()
  1934. GYRO.cframe = CF(root.Position,TORSO.Position)
  1935. Hook2.CFrame = TORSO.CFrame
  1936. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(7), Rad(0), Rad(0)), 0.15)
  1937. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1938. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  1939. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  1940. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1941. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  1942. end
  1943. Cso("169105657", ra, 5, .8)
  1944. Cso("2545211765", char, 7, 1)
  1945. GYRO:remove()
  1946. TORSO:BreakJoints()
  1947. for i = 0, 6, .1 do
  1948. swait()
  1949. Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
  1950. if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new()
  1951. end
  1952. if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then
  1953. break
  1954. end
  1955. Chain2.TextureLength = 4
  1956. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-7), Rad(0), Rad(0)), 0.15)
  1957. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1958. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(90)), 0.15)
  1959. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  1960. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1961. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  1962. end
  1963. hum.WalkSpeed = 16
  1964. attack = false
  1965. Hook2:Destroy()
  1966. end
  1967. end
  1968. end
  1969. -------------------------------------------------------
  1970. --End Attacks N Stuff--
  1971. -------------------------------------------------------
  1972. mouse.KeyDown:connect(function(key)
  1973. if attack == false then
  1974. if key == 'z' then
  1975. finalChaos()
  1976. elseif key == 'q' then
  1977. icando()
  1978. elseif key == 'e' then
  1979. Taunt2()
  1980. elseif key == 'x' then
  1981. Chain2()
  1982. end
  1983. end
  1984. end)
  1985.  
  1986.  
  1987.  
  1988.  
  1989. mouse.Button1Down:connect(function(key)
  1990. if attack == false then
  1991. Attack()
  1992. end
  1993. end)
  1994.  
  1995. -------------------------------------------------------
  1996. --Start Animations--
  1997. -------------------------------------------------------
  1998. print("By Makhail07")
  1999. while true do
  2000. swait()
  2001. sine = sine + change
  2002. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2003. local velderp = root.Velocity.y
  2004. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2005. if equipped == true or equipped == false then
  2006. if attack == false then
  2007. idle = idle + 1
  2008. else
  2009. idle = 0
  2010. end
  2011. if 1 < root.Velocity.y and hitfloor == nil then
  2012. Anim = "Jump"
  2013. if attack == false then
  2014. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  2015. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2016. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2017. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2018. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2019. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2020. end
  2021. elseif -1 > root.Velocity.y and hitfloor == nil then
  2022. Anim = "Fall"
  2023. if attack == false then
  2024. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2025. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2026. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2027. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2028. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2029. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2030. end
  2031. elseif torvel < 1 and hitfloor ~= nil then
  2032. Anim = "Idle"
  2033. change = 1
  2034. if attack == false then
  2035. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  2036. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2037. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9.5), Rad(0), Rad(0)), 0.15)
  2038. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2039. RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
  2040. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2041. end
  2042. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2043. Anim = "Walk"
  2044. change = 1
  2045. if attack == false then
  2046. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  2047. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2048. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2049. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2050. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
  2051. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2052. end
  2053. elseif torvel >= 25 and hitfloor ~= nil then
  2054. Anim = "Sprint"
  2055. change = 1.35
  2056. if attack == false then
  2057. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2058. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2059. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2060. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2061. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2062. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2063. end
  2064. end
  2065. end
  2066. if 0 < #Effects then
  2067. for e = 1, #Effects do
  2068. if Effects[e] ~= nil then
  2069. local Thing = Effects[e]
  2070. if Thing ~= nil then
  2071. local Part = Thing[1]
  2072. local Mode = Thing[2]
  2073. local Delay = Thing[3]
  2074. local IncX = Thing[4]
  2075. local IncY = Thing[5]
  2076. local IncZ = Thing[6]
  2077. if 1 >= Thing[1].Transparency then
  2078. if Thing[2] == "Block1" then
  2079. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2080. local Mesh = Thing[1].Mesh
  2081. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2082. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2083. elseif Thing[2] == "Block2" then
  2084. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2085. local Mesh = Thing[7]
  2086. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2087. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2088. elseif Thing[2] == "Block3" then
  2089. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2090. local Mesh = Thing[7]
  2091. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2092. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2093. elseif Thing[2] == "Cylinder" then
  2094. local Mesh = Thing[1].Mesh
  2095. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2096. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2097. elseif Thing[2] == "Blood" then
  2098. local Mesh = Thing[7]
  2099. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2100. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2101. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2102. elseif Thing[2] == "Elec" then
  2103. local Mesh = Thing[1].Mesh
  2104. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2105. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2106. elseif Thing[2] == "Disappear" then
  2107. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2108. elseif Thing[2] == "Shatter" then
  2109. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2110. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2111. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2112. Thing[6] = Thing[6] + Thing[5]
  2113. end
  2114. else
  2115. Part.Parent = nil
  2116. table.remove(Effects, e)
  2117. end
  2118. end
  2119. end
  2120. end
  2121. end
  2122. end
  2123. -------------------------------------------------------
  2124. --End Animations And Script--
  2125. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement