NoHackJustStevePlayz

Creterisk Ban hammer v2 (Edited by gamingwithgabriellol)

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