Advertisement
StarzoZero

leaked d

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