Advertisement
DarkScriptZEditors

FE Script Hammer

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