Silver_cole

kris be like (fixed)

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