Advertisement
valentino2016

Ban Hammer Cretisk Fe

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