Advertisement
Guest User

Untitled

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