Advertisement
Guest User

Despacito, indeed!

a guest
Dec 16th, 2018
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.15 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. Parent = h,
  353. }
  354. game:GetService("Debris"):AddItem(c, .5)
  355. if HitSound ~= nil and HitPitch ~= nil then
  356. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  357. end
  358. local Damage = math.random(minim, maxim)
  359. local blocked = false
  360. local block = hit.Parent:findFirstChild("Block")
  361. if block ~= nil then
  362. if block.className == "IntValue" then
  363. if block.Value > 0 then
  364. blocked = true
  365. block.Value = block.Value - 1
  366. print(block.Value)
  367. end
  368. end
  369. end
  370. if blocked == false then
  371. h.Health = h.Health - Damage
  372. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  373. else
  374. h.Health = h.Health - (Damage / 2)
  375. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  376. end
  377. if Type == "Knockdown" then
  378. local hum = hit.Parent.Humanoid
  379. hum.PlatformStand = true
  380. coroutine.resume(coroutine.create(function(HHumanoid)
  381. swait(1)
  382. HHumanoid.PlatformStand = false
  383. end), hum)
  384. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  385. local bodvol = Create("BodyVelocity"){
  386. velocity = angle * knockback,
  387. P = 5000,
  388. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  389. Parent = hit,
  390. }
  391. local rl = Create("BodyAngularVelocity"){
  392. P = 3000,
  393. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  394. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  395. Parent = hit,
  396. }
  397. game:GetService("Debris"):AddItem(bodvol, .5)
  398. game:GetService("Debris"):AddItem(rl, .5)
  399. elseif Type == "Normal" then
  400. local vp = Create("BodyVelocity"){
  401. P = 500,
  402. maxForce = Vector3.new(math.huge, 0, math.huge),
  403. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  404. }
  405. if knockback > 0 then
  406. vp.Parent = hit.Parent.Torso
  407. end
  408. game:GetService("Debris"):AddItem(vp, .5)
  409. elseif Type == "Up" then
  410. local bodyVelocity = Create("BodyVelocity"){
  411. velocity = Vector3.new(0, 20, 0),
  412. P = 5000,
  413. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  414. Parent = hit,
  415. }
  416. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  417. elseif Type == "DarkUp" then
  418. coroutine.resume(coroutine.create(function()
  419. for i = 0, 1, 0.1 do
  420. swait()
  421. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  422. end
  423. end))
  424. local bodyVelocity = Create("BodyVelocity"){
  425. velocity = Vector3.new(0, 20, 0),
  426. P = 5000,
  427. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  428. Parent = hit,
  429. }
  430. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  431. elseif Type == "Snare" then
  432. local bp = Create("BodyPosition"){
  433. P = 2000,
  434. D = 100,
  435. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  436. position = hit.Parent.Torso.Position,
  437. Parent = hit.Parent.Torso,
  438. }
  439. game:GetService("Debris"):AddItem(bp, 1)
  440. elseif Type == "Freeze" then
  441. local BodPos = Create("BodyPosition"){
  442. P = 50000,
  443. D = 1000,
  444. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  445. position = hit.Parent.Torso.Position,
  446. Parent = hit.Parent.Torso,
  447. }
  448. local BodGy = Create("BodyGyro") {
  449. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  450. P = 20e+003,
  451. Parent = hit.Parent.Torso,
  452. cframe = hit.Parent.Torso.CFrame,
  453. }
  454. hit.Parent.Torso.Anchored = true
  455. coroutine.resume(coroutine.create(function(Part)
  456. swait(1.5)
  457. Part.Anchored = false
  458. end), hit.Parent.Torso)
  459. game:GetService("Debris"):AddItem(BodPos, 3)
  460. game:GetService("Debris"):AddItem(BodGy, 3)
  461. end
  462. local debounce = Create("BoolValue"){
  463. Name = "DebounceHit",
  464. Parent = hit.Parent,
  465. Value = true,
  466. }
  467. game:GetService("Debris"):AddItem(debounce, Delay)
  468. c = Create("ObjectValue"){
  469. Name = "creator",
  470. Value = Player,
  471. Parent = h,
  472. }
  473. game:GetService("Debris"):AddItem(c, .5)
  474. end
  475. end
  476. -------------------------------------------------------
  477. --End Damage Function--
  478. -------------------------------------------------------
  479.  
  480. -------------------------------------------------------
  481. --Start Damage Function Customization--
  482. -------------------------------------------------------
  483. function ShowDamage(Pos, Text, Time, Color)
  484. local Rate = (1 / 30)
  485. local Pos = (Pos or Vector3.new(0, 0, 0))
  486. local Text = (Text or "")
  487. local Time = (Time or 2)
  488. local Color = (Color or Color3.new(1, 0, 1))
  489. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  490. EffectPart.Anchored = true
  491. local BillboardGui = Create("BillboardGui"){
  492. Size = UDim2.new(3, 0, 3, 0),
  493. Adornee = EffectPart,
  494. Parent = EffectPart,
  495. }
  496. local TextLabel = Create("TextLabel"){
  497. BackgroundTransparency = 1,
  498. Size = UDim2.new(1, 0, 1, 0),
  499. Text = Text,
  500. Font = "Bodoni",
  501. TextColor3 = Color,
  502. TextScaled = true,
  503. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  504. Parent = BillboardGui,
  505. }
  506. game.Debris:AddItem(EffectPart, (Time))
  507. EffectPart.Parent = game:GetService("Workspace")
  508. delay(0, function()
  509. local Frames = (Time / Rate)
  510. for Frame = 1, Frames do
  511. wait(Rate)
  512. local Percent = (Frame / Frames)
  513. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  514. TextLabel.TextTransparency = Percent
  515. end
  516. if EffectPart and EffectPart.Parent then
  517. EffectPart:Destroy()
  518. end
  519. end)
  520. end
  521. -------------------------------------------------------
  522. --End Damage Function Customization--
  523. -------------------------------------------------------
  524.  
  525. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  526. for _, c in pairs(workspace:children()) do
  527. local hum = c:findFirstChild("Humanoid")
  528. if hum ~= nil then
  529. local head = c:findFirstChild("Head")
  530. if head ~= nil then
  531. local targ = head.Position - Part.Position
  532. local mag = targ.magnitude
  533. if magni >= mag and c.Name ~= plr.Name then
  534. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  535. end
  536. end
  537. end
  538. end
  539. end
  540.  
  541.  
  542. CFuncs = {
  543. Part = {
  544. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  545. local Part = Create("Part")({
  546. Parent = Parent,
  547. Reflectance = Reflectance,
  548. Transparency = Transparency,
  549. CanCollide = false,
  550. Locked = true,
  551. BrickColor = BrickColor.new(tostring(BColor)),
  552. Name = Name,
  553. Size = Size,
  554. Material = Material
  555. })
  556. RemoveOutlines(Part)
  557. return Part
  558. end
  559. },
  560. Mesh = {
  561. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  562. local Msh = Create(Mesh)({
  563. Parent = Part,
  564. Offset = OffSet,
  565. Scale = Scale
  566. })
  567. if Mesh == "SpecialMesh" then
  568. Msh.MeshType = MeshType
  569. Msh.MeshId = MeshId
  570. end
  571. return Msh
  572. end
  573. },
  574. Mesh = {
  575. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  576. local Msh = Create(Mesh)({
  577. Parent = Part,
  578. Offset = OffSet,
  579. Scale = Scale
  580. })
  581. if Mesh == "SpecialMesh" then
  582. Msh.MeshType = MeshType
  583. Msh.MeshId = MeshId
  584. end
  585. return Msh
  586. end
  587. },
  588. Weld = {
  589. Create = function(Parent, Part0, Part1, C0, C1)
  590. local Weld = Create("Weld")({
  591. Parent = Parent,
  592. Part0 = Part0,
  593. Part1 = Part1,
  594. C0 = C0,
  595. C1 = C1
  596. })
  597. return Weld
  598. end
  599. },
  600. Sound = {
  601. Create = function(id, par, vol, pit)
  602. coroutine.resume(coroutine.create(function()
  603. local S = Create("Sound")({
  604. Volume = vol,
  605. Pitch = pit or 1,
  606. SoundId = id,
  607. Parent = par or workspace
  608. })
  609. wait()
  610. S:play()
  611. game:GetService("Debris"):AddItem(S, 6)
  612. end))
  613. end
  614. },
  615. ParticleEmitter = {
  616. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  617. local fp = Create("ParticleEmitter")({
  618. Parent = Parent,
  619. Color = ColorSequence.new(Color1, Color2),
  620. LightEmission = LightEmission,
  621. Size = Size,
  622. Texture = Texture,
  623. Transparency = Transparency,
  624. ZOffset = ZOffset,
  625. Acceleration = Accel,
  626. Drag = Drag,
  627. LockedToPart = LockedToPart,
  628. VelocityInheritance = VelocityInheritance,
  629. EmissionDirection = EmissionDirection,
  630. Enabled = Enabled,
  631. Lifetime = LifeTime,
  632. Rate = Rate,
  633. Rotation = Rotation,
  634. RotSpeed = RotSpeed,
  635. Speed = Speed,
  636. VelocitySpread = VelocitySpread
  637. })
  638. return fp
  639. end
  640. }
  641. }
  642. function RemoveOutlines(part)
  643. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  644. end
  645. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  646. local Part = Create("Part")({
  647. formFactor = FormFactor,
  648. Parent = Parent,
  649. Reflectance = Reflectance,
  650. Transparency = Transparency,
  651. CanCollide = false,
  652. Locked = true,
  653. BrickColor = BrickColor.new(tostring(BColor)),
  654. Name = Name,
  655. Size = Size,
  656. Material = Material
  657. })
  658. RemoveOutlines(Part)
  659. return Part
  660. end
  661. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  662. local Msh = Create(Mesh)({
  663. Parent = Part,
  664. Offset = OffSet,
  665. Scale = Scale
  666. })
  667. if Mesh == "SpecialMesh" then
  668. Msh.MeshType = MeshType
  669. Msh.MeshId = MeshId
  670. end
  671. return Msh
  672. end
  673. function CreateWeld(Parent, Part0, Part1, C0, C1)
  674. local Weld = Create("Weld")({
  675. Parent = Parent,
  676. Part0 = Part0,
  677. Part1 = Part1,
  678. C0 = C0,
  679. C1 = C1
  680. })
  681. return Weld
  682. end
  683.  
  684.  
  685. -------------------------------------------------------
  686. --Start Effect Function--
  687. -------------------------------------------------------
  688. EffectModel = Instance.new("Model", char)
  689. Effects = {
  690. Block = {
  691. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  692. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  693. prt.Anchored = true
  694. prt.CFrame = cframe
  695. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  696. game:GetService("Debris"):AddItem(prt, 10)
  697. if Type == 1 or Type == nil then
  698. table.insert(Effects, {
  699. prt,
  700. "Block1",
  701. delay,
  702. x3,
  703. y3,
  704. z3,
  705. msh
  706. })
  707. elseif Type == 2 then
  708. table.insert(Effects, {
  709. prt,
  710. "Block2",
  711. delay,
  712. x3,
  713. y3,
  714. z3,
  715. msh
  716. })
  717. else
  718. table.insert(Effects, {
  719. prt,
  720. "Block3",
  721. delay,
  722. x3,
  723. y3,
  724. z3,
  725. msh
  726. })
  727. end
  728. end
  729. },
  730. Sphere = {
  731. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  732. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  733. prt.Anchored = true
  734. prt.CFrame = cframe
  735. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  736. game:GetService("Debris"):AddItem(prt, 10)
  737. table.insert(Effects, {
  738. prt,
  739. "Cylinder",
  740. delay,
  741. x3,
  742. y3,
  743. z3,
  744. msh
  745. })
  746. end
  747. },
  748. Cylinder = {
  749. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  750. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  751. prt.Anchored = true
  752. prt.CFrame = cframe
  753. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  754. game:GetService("Debris"):AddItem(prt, 10)
  755. table.insert(Effects, {
  756. prt,
  757. "Cylinder",
  758. delay,
  759. x3,
  760. y3,
  761. z3,
  762. msh
  763. })
  764. end
  765. },
  766. Wave = {
  767. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  768. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  769. prt.Anchored = true
  770. prt.CFrame = cframe
  771. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  772. game:GetService("Debris"):AddItem(prt, 10)
  773. table.insert(Effects, {
  774. prt,
  775. "Cylinder",
  776. delay,
  777. x3 / 60,
  778. y3 / 60,
  779. z3 / 60,
  780. msh
  781. })
  782. end
  783. },
  784. Ring = {
  785. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  786. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  787. prt.Anchored = true
  788. prt.CFrame = cframe
  789. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  790. game:GetService("Debris"):AddItem(prt, 10)
  791. table.insert(Effects, {
  792. prt,
  793. "Cylinder",
  794. delay,
  795. x3,
  796. y3,
  797. z3,
  798. msh
  799. })
  800. end
  801. },
  802. Break = {
  803. Create = function(brickcolor, cframe, x1, y1, z1)
  804. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  805. prt.Anchored = true
  806. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  807. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  808. local num = math.random(10, 50) / 1000
  809. game:GetService("Debris"):AddItem(prt, 10)
  810. table.insert(Effects, {
  811. prt,
  812. "Shatter",
  813. num,
  814. prt.CFrame,
  815. math.random() - math.random(),
  816. 0,
  817. math.random(50, 100) / 100
  818. })
  819. end
  820. },
  821. Spiral = {
  822. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  823. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  824. prt.Anchored = true
  825. prt.CFrame = cframe
  826. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  827. game:GetService("Debris"):AddItem(prt, 10)
  828. table.insert(Effects, {
  829. prt,
  830. "Cylinder",
  831. delay,
  832. x3,
  833. y3,
  834. z3,
  835. msh
  836. })
  837. end
  838. },
  839. Push = {
  840. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  841. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  842. prt.Anchored = true
  843. prt.CFrame = cframe
  844. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  845. game:GetService("Debris"):AddItem(prt, 10)
  846. table.insert(Effects, {
  847. prt,
  848. "Cylinder",
  849. delay,
  850. x3,
  851. y3,
  852. z3,
  853. msh
  854. })
  855. end
  856. }
  857. }
  858. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  859. local fp = IT("Part")
  860. fp.formFactor = formfactor
  861. fp.Parent = parent
  862. fp.Reflectance = reflectance
  863. fp.Transparency = transparency
  864. fp.CanCollide = false
  865. fp.Locked = true
  866. fp.BrickColor = brickcolor
  867. fp.Name = name
  868. fp.Size = size
  869. fp.Position = tors.Position
  870. RemoveOutlines(fp)
  871. fp.Material = "SmoothPlastic"
  872. fp:BreakJoints()
  873. return fp
  874. end
  875.  
  876. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  877. local mesh = IT(Mesh)
  878. mesh.Parent = part
  879. if Mesh == "SpecialMesh" then
  880. mesh.MeshType = meshtype
  881. if meshid ~= "nil" then
  882. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  883. end
  884. end
  885. mesh.Offset = offset
  886. mesh.Scale = scale
  887. return mesh
  888. end
  889.  
  890. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  891. local type = type
  892. local rng = Instance.new("Part", char)
  893. rng.Anchored = true
  894. rng.BrickColor = color
  895. rng.CanCollide = false
  896. rng.FormFactor = 3
  897. rng.Name = "Ring"
  898. rng.Material = "Neon"
  899. rng.Size = Vector3.new(1, 1, 1)
  900. rng.Transparency = 0
  901. rng.TopSurface = 0
  902. rng.BottomSurface = 0
  903. rng.CFrame = pos
  904. local rngm = Instance.new("SpecialMesh", rng)
  905. rngm.MeshType = MType
  906. rngm.Scale = scale
  907. local scaler2 = 1
  908. if type == "Add" then
  909. scaler2 = 1 * value
  910. elseif type == "Divide" then
  911. scaler2 = 1 / value
  912. end
  913. coroutine.resume(coroutine.create(function()
  914. for i = 0, 10 / bonuspeed, 0.1 do
  915. swait()
  916. if type == "Add" then
  917. scaler2 = scaler2 - 0.01 * value / bonuspeed
  918. elseif type == "Divide" then
  919. scaler2 = scaler2 - 0.01 / value * bonuspeed
  920. end
  921. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  922. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  923. end
  924. rng:Destroy()
  925. end))
  926. end
  927.  
  928. function Eviscerate(dude)
  929. if dude.Name ~= char then
  930. local bgf = IT("BodyGyro", dude.Head)
  931. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  932. local val = IT("BoolValue", dude)
  933. val.Name = "IsHit"
  934. local ds = coroutine.wrap(function()
  935. dude:WaitForChild("Head"):BreakJoints()
  936. wait(0.5)
  937. target = nil
  938. coroutine.resume(coroutine.create(function()
  939. for i, v in pairs(dude:GetChildren()) do
  940. if v:IsA("Accessory") then
  941. v:Destroy()
  942. end
  943. if v:IsA("Humanoid") then
  944. v:Destroy()
  945. end
  946. if v:IsA("CharacterMesh") then
  947. v:Destroy()
  948. end
  949. if v:IsA("Model") then
  950. v:Destroy()
  951. end
  952. if v:IsA("Part") or v:IsA("MeshPart") then
  953. for x, o in pairs(v:GetChildren()) do
  954. if o:IsA("Decal") then
  955. o:Destroy()
  956. end
  957. end
  958. coroutine.resume(coroutine.create(function()
  959. v.Material = "Neon"
  960. v.CanCollide = false
  961. local PartEmmit1 = IT("ParticleEmitter", v)
  962. PartEmmit1.LightEmission = 1
  963. PartEmmit1.Texture = "rbxassetid://284205403"
  964. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  965. PartEmmit1.Rate = 150
  966. PartEmmit1.Lifetime = NumberRange.new(1)
  967. PartEmmit1.Size = NumberSequence.new({
  968. NumberSequenceKeypoint.new(0, 0.75, 0),
  969. NumberSequenceKeypoint.new(1, 0, 0)
  970. })
  971. PartEmmit1.Transparency = NumberSequence.new({
  972. NumberSequenceKeypoint.new(0, 0, 0),
  973. NumberSequenceKeypoint.new(1, 1, 0)
  974. })
  975. PartEmmit1.Speed = NumberRange.new(0, 0)
  976. PartEmmit1.VelocitySpread = 30000
  977. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  978. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  979. local BodPoss = IT("BodyPosition", v)
  980. BodPoss.P = 3000
  981. BodPoss.D = 1000
  982. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  983. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  984. v.Color = maincolor.Color
  985. coroutine.resume(coroutine.create(function()
  986. for i = 0, 49 do
  987. swait(1)
  988. v.Transparency = v.Transparency + 0.08
  989. end
  990. wait(0.5)
  991. PartEmmit1.Enabled = false
  992. wait(3)
  993. v:Destroy()
  994. dude:Destroy()
  995. end))
  996. end))
  997. end
  998. end
  999. end))
  1000. end)
  1001. ds()
  1002. end
  1003. end
  1004.  
  1005. function FindNearestHead(Position, Distance, SinglePlayer)
  1006. if SinglePlayer then
  1007. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1008. end
  1009. local List = {}
  1010. for i, v in pairs(workspace:GetChildren()) do
  1011. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1012. table.insert(List, v)
  1013. end
  1014. end
  1015. return List
  1016. end
  1017.  
  1018. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1019. local type = type
  1020. local rng = Instance.new("Part", char)
  1021. rng.Anchored = true
  1022. rng.BrickColor = color
  1023. rng.CanCollide = false
  1024. rng.FormFactor = 3
  1025. rng.Name = "Ring"
  1026. rng.Material = "Neon"
  1027. rng.Size = Vector3.new(1, 1, 1)
  1028. rng.Transparency = 0
  1029. rng.TopSurface = 0
  1030. rng.BottomSurface = 0
  1031. rng.CFrame = pos
  1032. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1033. local rngm = Instance.new("SpecialMesh", rng)
  1034. rngm.MeshType = MType
  1035. rngm.Scale = Vector3.new(x1, y1, z1)
  1036. local scaler2 = 1
  1037. local speeder = FastSpeed
  1038. if type == "Add" then
  1039. scaler2 = 1 * value
  1040. elseif type == "Divide" then
  1041. scaler2 = 1 / value
  1042. end
  1043. coroutine.resume(coroutine.create(function()
  1044. for i = 0, 10 / bonuspeed, 0.1 do
  1045. swait()
  1046. if type == "Add" then
  1047. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1048. elseif type == "Divide" then
  1049. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1050. end
  1051. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1052. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1053. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1054. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1055. end
  1056. rng:Destroy()
  1057. end))
  1058. end
  1059.  
  1060. function SoulSteal(dude)
  1061. if dude.Name ~= char then
  1062. local bgf = IT("BodyGyro", dude.Head)
  1063. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1064. local val = IT("BoolValue", dude)
  1065. val.Name = "IsHit"
  1066. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1067. local soulst = coroutine.wrap(function()
  1068. local soul = Instance.new("Part",dude)
  1069. soul.Size = Vector3.new(1,1,1)
  1070. soul.CanCollide = false
  1071. soul.Anchored = false
  1072. soul.Position = torso.Position
  1073. soul.Transparency = 1
  1074. local PartEmmit1 = IT("ParticleEmitter", soul)
  1075. PartEmmit1.LightEmission = 1
  1076. PartEmmit1.Texture = "rbxassetid://569507414"
  1077. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1078. PartEmmit1.Rate = 250
  1079. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1080. PartEmmit1.Size = NumberSequence.new({
  1081. NumberSequenceKeypoint.new(0, 1, 0),
  1082. NumberSequenceKeypoint.new(1, 0, 0)
  1083. })
  1084. PartEmmit1.Transparency = NumberSequence.new({
  1085. NumberSequenceKeypoint.new(0, 0, 0),
  1086. NumberSequenceKeypoint.new(1, 1, 0)
  1087. })
  1088. PartEmmit1.Speed = NumberRange.new(0, 0)
  1089. PartEmmit1.VelocitySpread = 30000
  1090. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1091. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1092. local BodPoss = IT("BodyPosition", soul)
  1093. BodPoss.P = 3000
  1094. BodPoss.D = 1000
  1095. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1096. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1097. wait(1.6)
  1098. soul.Touched:connect(function(hit)
  1099. if hit.Parent == char then
  1100. soul:Destroy()
  1101. end
  1102. end)
  1103. wait(1.2)
  1104. while soul do
  1105. swait()
  1106. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1107. BodPoss.Position = tors.Position
  1108. end
  1109. end)
  1110. soulst()
  1111. end
  1112. end
  1113. function FaceMouse()
  1114. local Cam = workspace.CurrentCamera
  1115. return {
  1116. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1117. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1118. }
  1119. end
  1120. -------------------------------------------------------
  1121. --End Effect Function--
  1122. -------------------------------------------------------
  1123. function Cso(ID, PARENT, VOLUME, PITCH)
  1124. local NSound = nil
  1125. coroutine.resume(coroutine.create(function()
  1126. NSound = IT("Sound", PARENT)
  1127. NSound.Volume = VOLUME
  1128. NSound.Pitch = PITCH
  1129. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1130. swait()
  1131. NSound:play()
  1132. game:GetService("Debris"):AddItem(NSound, 10)
  1133. end))
  1134. return NSound
  1135. end
  1136. function CameraEnshaking(Length, Intensity)
  1137. coroutine.resume(coroutine.create(function()
  1138. local intensity = 1 * Intensity
  1139. local rotM = 0.01 * Intensity
  1140. for i = 0, Length, 0.1 do
  1141. swait()
  1142. intensity = intensity - 0.05 * Intensity / Length
  1143. rotM = rotM - 5.0E-4 * Intensity / Length
  1144. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1145. 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)
  1146. end
  1147. hum.CameraOffset = Vector3.new(0, 0, 0)
  1148. end))
  1149. end
  1150. function chatfunc(text, color)
  1151. local chat = coroutine.wrap(function()
  1152. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1153. char:FindFirstChild("TalkingBillBoard"):destroy()
  1154. end
  1155. local naeeym2 = Instance.new("BillboardGui", char)
  1156. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1157. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1158. naeeym2.Adornee = hed
  1159. naeeym2.Name = "TalkingBillBoard"
  1160. local tecks2 = Instance.new("TextLabel", naeeym2)
  1161. tecks2.BackgroundTransparency = 1
  1162. tecks2.BorderSizePixel = 0
  1163. tecks2.Text = ""
  1164. tecks2.Font = "SciFi"
  1165. tecks2.TextSize = 30
  1166. tecks2.TextStrokeTransparency = 0
  1167. tecks2.TextColor3 = color
  1168. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1169. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1170. coroutine.resume(coroutine.create(function()
  1171. while true do
  1172. swait(1)
  1173. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1174. tecks2.Rotation = math.random(-5, 5)
  1175. end
  1176. end))
  1177. for i = 1, string.len(text) do
  1178. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1179. tecks2.Text = string.sub(text, 1, i)
  1180. swait(1)
  1181. end
  1182. wait(1)
  1183. naeeym2:Destroy()
  1184. end)
  1185. chat()
  1186. end
  1187. -------------------------------------------------------
  1188. --End Important Functions--
  1189. -------------------------------------------------------
  1190.  
  1191.  
  1192. -------------------------------------------------------
  1193. --Start Customization--
  1194. -------------------------------------------------------
  1195. local Player_Size = 1
  1196. if Player_Size ~= 1 then
  1197. root.Size = root.Size * Player_Size
  1198. tors.Size = tors.Size * Player_Size
  1199. hed.Size = hed.Size * Player_Size
  1200. ra.Size = ra.Size * Player_Size
  1201. la.Size = la.Size * Player_Size
  1202. rl.Size = rl.Size * Player_Size
  1203. ll.Size = ll.Size * Player_Size
  1204. ----------------------------------------------------------------------------------
  1205. rootj.Parent = root
  1206. neck.Parent = tors
  1207. RW.Parent = tors
  1208. LW.Parent = tors
  1209. RH.Parent = tors
  1210. LH.Parent = tors
  1211. ----------------------------------------------------------------------------------
  1212. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1213. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1214. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1215. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1216. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1217. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1218. ----------------------------------------------------------------------------------
  1219. 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))
  1220. 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))
  1221. 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))
  1222. 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))
  1223. --hat.Parent = Character
  1224. end
  1225. ----------------------------------------------------------------------------------
  1226. local SONG = 703597239
  1227. local SONG2 = 853707984
  1228. local Music = Instance.new("Sound",tors)
  1229. Music.Volume = 2.5
  1230. Music.Looped = true
  1231. Music.Pitch = 1 --Pitcher
  1232. ----------------------------------------------------------------------------------
  1233. local equipped = false
  1234. local idle = 0
  1235. local change = 1
  1236. local val = 0
  1237. local toim = 0
  1238. local idleanim = 0.4
  1239. local sine = 0
  1240. local Sit = 1
  1241. ----------------------------------------------------------------------------------
  1242. hum.WalkSpeed = 16
  1243. hum.JumpPower = 57
  1244. hum.Animator.Parent = nil
  1245. ----------------------------------------------------------------------------------
  1246. local Blobby = Instance.new("Part", char)
  1247. Blobby.Name = "Blob"
  1248. Blobby.CanCollide = false
  1249. Blobby.BrickColor = BrickColor.new("Really black")
  1250. Blobby.Transparency = 0
  1251. Blobby.Material = "Plastic"
  1252. Blobby.Size = Vector3.new(1, 1, 2)
  1253. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1254. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1255.  
  1256. local Weld = Instance.new("Weld", Blobby)
  1257. Weld.Part0 = ra
  1258. Weld.Part1 = Blobby
  1259. Weld.C1 = CFrame.new(0, -2, 1.1)
  1260. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1261.  
  1262. local M2 = Instance.new("SpecialMesh")
  1263. M2.Parent = Blobby
  1264. M2.MeshId = "http://www.roblox.com/asset/?id=10604848"
  1265. M2.TextureId = "http://www.roblox.com/asset/?id=10605252"
  1266. M2.Scale = Vector3.new(1, 1, 1)
  1267.  
  1268. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1269. naeeym2.AlwaysOnTop = true
  1270. naeeym2.Size = UDim2.new(5,35,2,15)
  1271. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1272. naeeym2.Adornee = hed
  1273. naeeym2.Name = "Name"
  1274. --naeeym2.PlayerToHideFrom = Player
  1275. local tecks2 = Instance.new("TextLabel",naeeym2)
  1276. tecks2.BackgroundTransparency = 1
  1277. tecks2.TextScaled = true
  1278. tecks2.BorderSizePixel = 0
  1279. tecks2.Text = "Fight Me"
  1280. tecks2.Font = Enum.Font.Bodoni
  1281. tecks2.TextSize = 30
  1282. tecks2.TextStrokeTransparency = 0
  1283. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1284. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1285. tecks2.Size = UDim2.new(1,0,0.5,0)
  1286. tecks2.Parent = naeeym2]]
  1287. -------------------------------------------------------
  1288. --End Customization--
  1289. -------------------------------------------------------
  1290.  
  1291.  
  1292. -------------------------------------------------------
  1293. --Start Attacks N Stuff--
  1294. -------------------------------------------------------
  1295. function Ban()
  1296. attack = true
  1297. for i = 0, 2.6, 0.1 do
  1298. swait()
  1299. 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)
  1300. 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)
  1301. 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)
  1302. 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)
  1303. 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)
  1304. 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)
  1305. end
  1306. Cso("147722910", tors, 10, 1)
  1307. CameraEnshaking(2, 15)
  1308. 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)
  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. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  1312. if v:FindFirstChild("Head") then
  1313. Eviscerate(v)
  1314. end
  1315. end
  1316. for i = 0, 3, 0.1 do
  1317. swait()
  1318. 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)
  1319. 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)
  1320. 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)
  1321. 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)
  1322. 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)
  1323. 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)
  1324. end
  1325. attack = false
  1326. end
  1327. function BigBan()
  1328. attack = true
  1329. Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0))
  1330. for i = 0, 3.6, 0.1 do
  1331. swait()
  1332. 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)
  1333. 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)
  1334. 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)
  1335. 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)
  1336. 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)
  1337. 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)
  1338. end
  1339. Cso("147722910", tors, 10, 1)
  1340. CameraEnshaking(2, 15)
  1341. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1342. 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. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do
  1345. if v:FindFirstChild("Head") then
  1346. Eviscerate(v)
  1347. end
  1348. end
  1349. for i = 0, 2.6, 0.1 do
  1350. swait()
  1351. 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)
  1352. 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)
  1353. 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)
  1354. 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)
  1355. 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)
  1356. 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)
  1357. end
  1358. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1359. attack = false
  1360. end
  1361. function BANN()
  1362. attack = true
  1363. M2.Scale = Vector3.new(2, 2, 2)
  1364. for i = 0, 4.6, 0.1 do
  1365. swait()
  1366. 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)
  1367. 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)
  1368. 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)
  1369. 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)
  1370. 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)
  1371. 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)
  1372. end
  1373. Cso("147722910", char, 10, 1)
  1374. CameraEnshaking(2, 35)
  1375. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1376. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1377. Effects.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.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)
  1379. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  1380. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  1381. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  1382. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do
  1383. if v:FindFirstChild("Head") then
  1384. Eviscerate(v)
  1385. end
  1386. end
  1387. for i = 0, 3, 0.1 do
  1388. swait()
  1389. 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)
  1390. 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)
  1391. 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)
  1392. 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)
  1393. 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)
  1394. 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)
  1395. end
  1396. M2.Scale = Vector3.new(1, 1, 1)
  1397. attack = false
  1398. end
  1399. -------------------------------------------------------
  1400. --End Attacks N Stuff--
  1401. -------------------------------------------------------
  1402. mouse.KeyDown:connect(function(key)
  1403. if string.byte(key) == 48 then
  1404. Swing = 2
  1405. hum.WalkSpeed = 38.82
  1406. end
  1407. end)
  1408. mouse.KeyUp:connect(function(key)
  1409. if string.byte(key) == 48 then
  1410. Swing = 1
  1411. hum.WalkSpeed = 16
  1412. end
  1413. end)
  1414. mouse.KeyDown:connect(function(key)
  1415. if attack == false then
  1416. if key == 'e' then
  1417. BigBan()
  1418. elseif key == 'r' then
  1419. BANN()
  1420. elseif key == 't' then
  1421. Cso("1450018171", hed, 10, 1)
  1422. end
  1423. end
  1424. end)
  1425. mouse.Button1Down:connect(function(key)
  1426. if attack == false then
  1427. Ban()
  1428. end
  1429. end)
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437. -------------------------------------------------------
  1438. --Start Animations--
  1439. -------------------------------------------------------
  1440. while true do
  1441. swait()
  1442. sine = sine + change
  1443. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1444. local velderp = root.Velocity.y
  1445. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1446. if equipped == true or equipped == false then
  1447. if attack == false then
  1448. idle = idle + 1
  1449. else
  1450. idle = 0
  1451. end
  1452. --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")
  1453. if 1 < root.Velocity.y and hitfloor == nil then
  1454. Anim = "Jump"
  1455. if attack == false then
  1456. 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)
  1457. 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)
  1458. 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)
  1459. 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)
  1460. 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)
  1461. 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)
  1462. end
  1463. elseif -1 > root.Velocity.y and hitfloor == nil then
  1464. Anim = "Fall"
  1465. if attack == false then
  1466. 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)
  1467. 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)
  1468. 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)
  1469. 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)
  1470. 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)
  1471. 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)
  1472. end
  1473. elseif torvel < 1 and hitfloor ~= nil then
  1474. Anim = "Idle"
  1475. change = 1
  1476. if attack == false then
  1477. 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)
  1478. 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)
  1479. 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)
  1480. 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)
  1481. 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)
  1482. 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)
  1483. end
  1484. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1485. Anim = "Walk"
  1486. change = 1
  1487. if attack == false then
  1488. 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)
  1489. 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)
  1490. 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)
  1491. 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)
  1492. 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)
  1493. 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)
  1494. end
  1495. elseif torvel >= 25 and hitfloor ~= nil then
  1496. Anim = "Sprint"
  1497. change = 1.35
  1498. if attack == false then
  1499. 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)
  1500. 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)
  1501. 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)
  1502. 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)
  1503. 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)
  1504. 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)
  1505. end
  1506. end
  1507. end
  1508. Music.SoundId = "rbxassetid://"..SONG
  1509. Music.Looped = true
  1510. Music.Pitch = 1
  1511. Music.Volume = 1.5
  1512. Music.Parent = tors
  1513. Music:Resume()
  1514. if 0 < #Effects then
  1515. for e = 1, #Effects do
  1516. if Effects[e] ~= nil then
  1517. local Thing = Effects[e]
  1518. if Thing ~= nil then
  1519. local Part = Thing[1]
  1520. local Mode = Thing[2]
  1521. local Delay = Thing[3]
  1522. local IncX = Thing[4]
  1523. local IncY = Thing[5]
  1524. local IncZ = Thing[6]
  1525. if 1 >= Thing[1].Transparency then
  1526. if Thing[2] == "Block1" then
  1527. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1528. local Mesh = Thing[1].Mesh
  1529. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1530. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1531. elseif Thing[2] == "Block2" then
  1532. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1533. local Mesh = Thing[7]
  1534. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1535. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1536. elseif Thing[2] == "Block3" then
  1537. 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)
  1538. local Mesh = Thing[7]
  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] == "Cylinder" then
  1542. local Mesh = Thing[1].Mesh
  1543. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1544. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1545. elseif Thing[2] == "Blood" then
  1546. local Mesh = Thing[7]
  1547. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1548. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1549. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1550. elseif Thing[2] == "Elec" then
  1551. local Mesh = Thing[1].Mesh
  1552. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1553. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1554. elseif Thing[2] == "Disappear" then
  1555. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1556. elseif Thing[2] == "Shatter" then
  1557. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1558. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1559. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1560. Thing[6] = Thing[6] + Thing[5]
  1561. end
  1562. else
  1563. Part.Parent = nil
  1564. table.remove(Effects, e)
  1565. end
  1566. end
  1567. end
  1568. end
  1569. end
  1570. end
  1571. -------------------------------------------------------
  1572. --End Animations And Script--
  1573. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement