Advertisement
kostik228

ht

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