Advertisement
scriptingboi1

RuderBusterCoffee

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