Advertisement
Guest User

Untitled

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