Advertisement
CerealK

Untitled

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