Advertisement
LanderDusty

Coffee

Jul 19th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.97 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : CoffeeCopter ]]--
  3. --[[ Description : Based off an old name. ]]--
  4. --[[ \ None / ]]--
  5. -------------------------------------------------------
  6. --A script By Creterisk/makhail07
  7. --Discord Creterisk#2958
  8. --Edited By flowerybooga
  9. -------------------------------------------------------
  10.  
  11. --Everything is Meaningless.....
  12.  
  13. wait(1 / 60)
  14.  
  15. local plr = game:service'Players'.LocalPlayer
  16. print('Local User is '..plr.Name)
  17. print('CoffeeCopter Loaded')
  18. print([[
  19. I honestly, don't know why I made this,
  20. but it's a simple script, so I don't really care much about it.
  21.  
  22. Controls :
  23. Q - Sit
  24. Click - Sipp
  25. ]])
  26. script:ClearAllChildren()
  27. wait(0.2)
  28.  
  29. Player = game:GetService("Players").LocalPlayer
  30. PlayerGui = Player.PlayerGui
  31. Cam = workspace.CurrentCamera
  32. Backpack = Player.Backpack
  33. Character = Player.Character
  34. Humanoid = Character.Humanoid
  35. Mouse = Player:GetMouse()
  36. RootPart = Character["HumanoidRootPart"]
  37. Torso = Character["Torso"]
  38. Head = Character["Head"]
  39. RightArm = Character["Right Arm"]
  40. LeftArm = Character["Left Arm"]
  41. RightLeg = Character["Right Leg"]
  42. LeftLeg = Character["Left Leg"]
  43. RootJoint = RootPart["RootJoint"]
  44. Neck = Torso["Neck"]
  45. RightShoulder = Torso["Right Shoulder"]
  46. LeftShoulder = Torso["Left Shoulder"]
  47. RightHip = Torso["Right Hip"]
  48. LeftHip = Torso["Left Hip"]
  49. local TIME = 0
  50. local sick = Instance.new("Sound",Torso)
  51.  
  52. IT = Instance.new
  53. CF = CFrame.new
  54. VT = Vector3.new
  55. RAD = math.rad
  56. C3 = Color3.new
  57. UD2 = UDim2.new
  58. BRICKC = BrickColor.new
  59. ANGLES = CFrame.Angles
  60. EULER = CFrame.fromEulerAnglesXYZ
  61. COS = math.cos
  62. ACOS = math.acos
  63. SIN = math.sin
  64. ASIN = math.asin
  65. ABS = math.abs
  66. MRANDOM = math.random
  67. FLOOR = math.floor
  68. local RWINGS = {}
  69. local LWINGS = {}
  70. local GunPoint
  71. Player_Size = 1
  72.  
  73.  
  74. local char = plr.Character
  75. local hum = char:FindFirstChildOfClass'Humanoid'
  76. local hed = char.Head
  77. local root = char:FindFirstChild'HumanoidRootPart'
  78. local rootj = root.RootJoint
  79. local tors = char.Torso
  80. local ra = char["Right Arm"]
  81. local la = char["Left Arm"]
  82. local rl = char["Right Leg"]
  83. local ll = char["Left Leg"]
  84. local neck = tors["Neck"]
  85. local mouse = plr:GetMouse()
  86. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  87. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  88. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  89. local maincolor = BrickColor.new("Institutional white")
  90. -------------------------------------------------------
  91. --Start Good Stuff--
  92. -------------------------------------------------------
  93. cam = game.Workspace.CurrentCamera
  94. CF = CFrame.new
  95. angles = CFrame.Angles
  96. attack = false
  97. Euler = CFrame.fromEulerAnglesXYZ
  98. Rad = math.rad
  99. IT = Instance.new
  100. BrickC = BrickColor.new
  101. Cos = math.cos
  102. Acos = math.acos
  103. Sin = math.sin
  104. Asin = math.asin
  105. Abs = math.abs
  106. Mrandom = math.random
  107. Floor = math.floor
  108. -------------------------------------------------------
  109. --End Good Stuff--
  110. -------------------------------------------------------
  111. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  112. RSH, LSH = nil, nil
  113. RW = Instance.new("Weld")
  114. LW = Instance.new("Weld")
  115. RH = tors["Right Hip"]
  116. LH = tors["Left Hip"]
  117. RSH = tors["Right Shoulder"]
  118. LSH = tors["Left Shoulder"]
  119. RSH.Parent = nil
  120. LSH.Parent = nil
  121. RW.Name = "RW"
  122. RW.Part0 = tors
  123. RW.C0 = CF(1.5, 0.5, 0)
  124. RW.C1 = CF(0, 0.5, 0)
  125. RW.Part1 = ra
  126. RW.Parent = tors
  127. LW.Name = "LW"
  128. LW.Part0 = tors
  129. LW.C0 = CF(-1.5, 0.5, 0)
  130. LW.C1 = CF(0, 0.5, 0)
  131. LW.Part1 = la
  132. LW.Parent = tors
  133. Effects = {}
  134. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  135. local wld = Instance.new("Weld", wp1)
  136. wld.Part0 = wp0
  137. wld.Part1 = wp1
  138. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  139. end
  140. newWeld(tors, ll, -0.5, -1, 0)
  141. ll.Weld.C1 = CFrame.new(0, 1, 0)
  142. newWeld(tors, rl, 0.5, -1, 0)
  143. rl.Weld.C1 = CFrame.new(0, 1, 0)
  144. -------------------------------------------------------
  145. --Start HeartBeat--
  146. -------------------------------------------------------
  147. ArtificialHB = Instance.new("BindableEvent", script)
  148. ArtificialHB.Name = "Heartbeat"
  149. script:WaitForChild("Heartbeat")
  150.  
  151. frame = 1 / 60
  152. tf = 0
  153. allowframeloss = false
  154. tossremainder = false
  155.  
  156.  
  157. lastframe = tick()
  158. script.Heartbeat:Fire()
  159.  
  160.  
  161. game:GetService("RunService").Heartbeat:connect(function(s, p)
  162. tf = tf + s
  163. if tf >= frame then
  164. if allowframeloss then
  165. script.Heartbeat:Fire()
  166. lastframe = tick()
  167. else
  168. for i = 1, math.floor(tf / frame) do
  169. script.Heartbeat:Fire()
  170. end
  171. lastframe = tick()
  172. end
  173. if tossremainder then
  174. tf = 0
  175. else
  176. tf = tf - frame * math.floor(tf / frame)
  177. end
  178. end
  179. end)
  180. -------------------------------------------------------
  181. --End HeartBeat--
  182. -------------------------------------------------------
  183. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  184. local NEWPART = IT("Part")
  185. NEWPART.formFactor = FORMFACTOR
  186. NEWPART.Reflectance = REFLECTANCE
  187. NEWPART.Transparency = TRANSPARENCY
  188. NEWPART.CanCollide = false
  189. NEWPART.Locked = true
  190. NEWPART.Anchored = true
  191. if ANCHOR == false then
  192. NEWPART.Anchored = false
  193. end
  194. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  195. NEWPART.Name = NAME
  196. NEWPART.Size = SIZE
  197. NEWPART.Position = Torso.Position
  198. NEWPART.Material = MATERIAL
  199. NEWPART:BreakJoints()
  200. NEWPART.Parent = PARENT
  201. return NEWPART
  202. end
  203.  
  204. local function weldBetween(a, b)
  205. local weldd = Instance.new("ManualWeld")
  206. weldd.Part0 = a
  207. weldd.Part1 = b
  208. weldd.C0 = CFrame.new()
  209. weldd.C1 = b.CFrame:inverse() * a.CFrame
  210. weldd.Parent = a
  211. return weldd
  212. end
  213.  
  214.  
  215. function QuaternionFromCFrame(cf)
  216. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  217. local trace = m00 + m11 + m22
  218. if trace > 0 then
  219. local s = math.sqrt(1 + trace)
  220. local recip = 0.5 / s
  221. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  222. else
  223. local i = 0
  224. if m11 > m00 then
  225. i = 1
  226. end
  227. if m22 > (i == 0 and m00 or m11) then
  228. i = 2
  229. end
  230. if i == 0 then
  231. local s = math.sqrt(m00 - m11 - m22 + 1)
  232. local recip = 0.5 / s
  233. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  234. elseif i == 1 then
  235. local s = math.sqrt(m11 - m22 - m00 + 1)
  236. local recip = 0.5 / s
  237. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  238. elseif i == 2 then
  239. local s = math.sqrt(m22 - m00 - m11 + 1)
  240. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  241. end
  242. end
  243. end
  244.  
  245. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  246. local xs, ys, zs = x + x, y + y, z + z
  247. local wx, wy, wz = w * xs, w * ys, w * zs
  248. local xx = x * xs
  249. local xy = x * ys
  250. local xz = x * zs
  251. local yy = y * ys
  252. local yz = y * zs
  253. local zz = z * zs
  254. 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))
  255. end
  256.  
  257. function QuaternionSlerp(a, b, t)
  258. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  259. local startInterp, finishInterp;
  260. if cosTheta >= 0.0001 then
  261. if (1 - cosTheta) > 0.0001 then
  262. local theta = ACOS(cosTheta)
  263. local invSinTheta = 1 / SIN(theta)
  264. startInterp = SIN((1 - t) * theta) * invSinTheta
  265. finishInterp = SIN(t * theta) * invSinTheta
  266. else
  267. startInterp = 1 - t
  268. finishInterp = t
  269. end
  270. else
  271. if (1 + cosTheta) > 0.0001 then
  272. local theta = ACOS(-cosTheta)
  273. local invSinTheta = 1 / SIN(theta)
  274. startInterp = SIN((t - 1) * theta) * invSinTheta
  275. finishInterp = SIN(t * theta) * invSinTheta
  276. else
  277. startInterp = t - 1
  278. finishInterp = t
  279. end
  280. end
  281. 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
  282. end
  283.  
  284. function Clerp(a, b, t)
  285. local qa = {QuaternionFromCFrame(a)}
  286. local qb = {QuaternionFromCFrame(b)}
  287. local ax, ay, az = a.x, a.y, a.z
  288. local bx, by, bz = b.x, b.y, b.z
  289. local _t = 1 - t
  290. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  291. end
  292.  
  293. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  294. local frame = IT("Frame")
  295. frame.BackgroundTransparency = TRANSPARENCY
  296. frame.BorderSizePixel = BORDERSIZEPIXEL
  297. frame.Position = POSITION
  298. frame.Size = SIZE
  299. frame.BackgroundColor3 = COLOR
  300. frame.BorderColor3 = BORDERCOLOR
  301. frame.Name = NAME
  302. frame.Parent = PARENT
  303. return frame
  304. end
  305.  
  306. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  307. local label = IT("TextLabel")
  308. label.BackgroundTransparency = 1
  309. label.Size = UD2(1, 0, 1, 0)
  310. label.Position = UD2(0, 0, 0, 0)
  311. label.TextColor3 = TEXTCOLOR
  312. label.TextStrokeTransparency = STROKETRANSPARENCY
  313. label.TextTransparency = TRANSPARENCY
  314. label.FontSize = TEXTFONTSIZE
  315. label.Font = TEXTFONT
  316. label.BorderSizePixel = BORDERSIZEPIXEL
  317. label.TextScaled = false
  318. label.Text = TEXT
  319. label.Name = NAME
  320. label.Parent = PARENT
  321. return label
  322. end
  323.  
  324. function NoOutlines(PART)
  325. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  326. end
  327.  
  328. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  329. local NEWWELD = IT(TYPE)
  330. NEWWELD.Part0 = PART0
  331. NEWWELD.Part1 = PART1
  332. NEWWELD.C0 = C0
  333. NEWWELD.C1 = C1
  334. NEWWELD.Parent = PARENT
  335. return NEWWELD
  336. end
  337.  
  338. local S = IT("Sound")
  339. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  340. local NEWSOUND = nil
  341. coroutine.resume(coroutine.create(function()
  342. NEWSOUND = S:Clone()
  343. NEWSOUND.Parent = PARENT
  344. NEWSOUND.Volume = VOLUME
  345. NEWSOUND.Pitch = PITCH
  346. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  347. NEWSOUND:play()
  348. if DOESLOOP == true then
  349. NEWSOUND.Looped = true
  350. else
  351. repeat wait(1) until NEWSOUND.Playing == false
  352. NEWSOUND:remove()
  353. end
  354. end))
  355. return NEWSOUND
  356. end
  357.  
  358. local EyeSizes={
  359. NumberSequenceKeypoint.new(0,2,0),
  360. NumberSequenceKeypoint.new(1,0,0)
  361. }
  362. local EyeTrans={
  363. NumberSequenceKeypoint.new(0,0.5,0),
  364. NumberSequenceKeypoint.new(1,1,0)
  365. }
  366. local PE=Instance.new("ParticleEmitter",nil)
  367. PE.LightEmission=.8
  368. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Neon").Color)
  369. PE.Size=NumberSequence.new(EyeSizes)
  370. PE.Transparency=NumberSequence.new(EyeTrans)
  371. PE.Lifetime=NumberRange.new(0.35,1)
  372. PE.Rotation=NumberRange.new(0,360)
  373. PE.Rate=100
  374. PE.VelocitySpread = 10000
  375. PE.Acceleration = Vector3.new(0,85,0)
  376. PE.Drag = 5
  377. PE.Speed = NumberRange.new(0.1,5)
  378. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  379. PE.ZOffset = 0.5
  380. PE.Name = "PE"
  381. PE.Enabled = false
  382.  
  383. function Fire(art)
  384. local PARTICLES = PE:Clone()
  385. PARTICLES.Parent = art
  386. PARTICLES.Enabled = true
  387. return PARTICLES
  388. end
  389.  
  390. function CFrameFromTopBack(at, top, back)
  391. local right = top:Cross(back)
  392. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  393. end
  394.  
  395. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  396. function WACKYEFFECT(Table)
  397. local TYPE = (Table.EffectType or "Sphere")
  398. local SIZE = (Table.Size or VT(1,1,1))
  399. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  400. local TRANSPARENCY = (Table.Transparency or 0)
  401. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  402. local CFRAME = (Table.CFrame or Torso.CFrame)
  403. local MOVEDIRECTION = (Table.MoveToPos or nil)
  404. local ROTATION1 = (Table.RotationX or 0)
  405. local ROTATION2 = (Table.RotationY or 0)
  406. local ROTATION3 = (Table.RotationZ or 0)
  407. local MATERIAL = (Table.Material or "Neon")
  408. local COLOR = (Table.Color or C3(1,1,1))
  409. local TIME = (Table.Time or 45)
  410. local SOUNDID = (Table.SoundID or nil)
  411. local SOUNDPITCH = (Table.SoundPitch or nil)
  412. local SOUNDVOLUME = (Table.SoundVolume or nil)
  413. coroutine.resume(coroutine.create(function()
  414. local PLAYSSOUND = false
  415. local SOUND = nil
  416. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Crimson"), "Effect", VT(1,1,1), true)
  417. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  418. PLAYSSOUND = true
  419. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  420. end
  421. EFFECT.Color = COLOR
  422. local MSH = nil
  423. if TYPE == "Sphere" then
  424. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  425. elseif TYPE == "Block" or TYPE == "Box" then
  426. MSH = IT("BlockMesh",EFFECT)
  427. MSH.Scale = SIZE
  428. elseif TYPE == "Wave" then
  429. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  430. elseif TYPE == "Ring" then
  431. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  432. elseif TYPE == "Slash" then
  433. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  434. elseif TYPE == "Round Slash" then
  435. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  436. elseif TYPE == "Swirl" then
  437. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  438. elseif TYPE == "Skull" then
  439. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  440. elseif TYPE == "Crystal" then
  441. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  442. end
  443. if MSH ~= nil then
  444. local MOVESPEED = nil
  445. if MOVEDIRECTION ~= nil then
  446. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  447. end
  448. local GROWTH = SIZE - ENDSIZE
  449. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  450. if TYPE == "Block" then
  451. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  452. else
  453. EFFECT.CFrame = CFRAME
  454. end
  455. for LOOP = 1, TIME+1 do
  456. Swait()
  457. MSH.Scale = MSH.Scale - GROWTH/TIME
  458. if TYPE == "Wave" then
  459. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  460. end
  461. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  462. if TYPE == "Block" then
  463. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  464. else
  465. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  466. end
  467. if MOVEDIRECTION ~= nil then
  468. local ORI = EFFECT.Orientation
  469. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  470. EFFECT.Orientation = ORI
  471. end
  472. end
  473. if PLAYSSOUND == false then
  474. EFFECT:remove()
  475. else
  476. repeat wait(1) until SOUND.Playing == false
  477. EFFECT:remove()
  478. end
  479. else
  480. if PLAYSSOUND == false then
  481. EFFECT:remove()
  482. else
  483. repeat Swait() until SOUND.Playing == false
  484. EFFECT:remove()
  485. end
  486. end
  487. end))
  488. end
  489.  
  490. function MakeForm(PART,TYPE)
  491. if TYPE == "Cyl" then
  492. local MSH = IT("CylinderMesh",PART)
  493. elseif TYPE == "Ball" then
  494. local MSH = IT("SpecialMesh",PART)
  495. MSH.MeshType = "Sphere"
  496. elseif TYPE == "Wedge" then
  497. local MSH = IT("SpecialMesh",PART)
  498. MSH.MeshType = "Wedge"
  499. end
  500. end
  501.  
  502. Debris = game:GetService("Debris")
  503.  
  504. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  505. local DIRECTION = CF(StartPos,EndPos).lookVector
  506. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  507. end
  508.  
  509. local HATWELD = nil
  510. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  511. PLAYMAINANIM = false
  512. if WhichPose == "Cast1" then
  513. for i=0, Time, 0.1 / Animation_Speed do
  514. Swait()
  515. if Magic == true then
  516. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  517. end
  518. if Gyro ~= nil and Gyro ~= false then
  519. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  520. end
  521. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  522. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  523. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  524. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  525. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  526. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  527. end
  528. elseif WhichPose == "Cast2" then
  529. for i=0, Time, 0.1 / Animation_Speed do
  530. Swait()
  531. if Magic == true then
  532. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  533. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  534. end
  535. if Gyro ~= nil and Gyro ~= false then
  536. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  537. end
  538. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  539. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  540. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  541. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  542. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  543. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  544. end
  545. elseif WhichPose == "RightArmUp" then
  546. for i=0, Time, 0.1 / Animation_Speed do
  547. Swait()
  548. if Magic == true then
  549. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  550. end
  551. if Gyro ~= nil and Gyro ~= false then
  552. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  553. end
  554. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  555. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  556. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  558. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  559. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  560. end
  561. elseif WhichPose == "Taunt" then
  562. for i=0, Time, 0.1 / Animation_Speed do
  563. Swait()
  564. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  565. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  566. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  567. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  568. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  569. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  570. end
  571. HATWELD.Part0 = RightArm
  572. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  573. CreateSound(221057812,Torso,10,1,false)
  574. for i=0, Time*2, 0.1 / Animation_Speed do
  575. Swait()
  576. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  580. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  582. end
  583. for i=0, Time, 0.1 / Animation_Speed do
  584. Swait()
  585. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  586. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  587. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  588. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  589. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  590. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  591. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  592. end
  593. HATWELD.Part0 = Head
  594. HATWELD.C0 = CF(0,0.35,0)
  595. elseif WhichPose == "Prepare key" then
  596. for i=0, Time, 0.1 / Animation_Speed do
  597. Swait()
  598. if Gyro ~= nil and Gyro ~= false then
  599. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  600. end
  601. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  602. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  603. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  604. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  605. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  606. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  607. end
  608. elseif WhichPose == "Turn key" then
  609. for i=0, Time, 0.1 / Animation_Speed do
  610. Swait()
  611. if Gyro ~= nil and Gyro ~= false then
  612. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  613. end
  614. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  615. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  616. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  617. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  618. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  619. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  620. end
  621. end
  622. PLAYMAINANIM = true
  623. end
  624.  
  625. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  626. function Lightning(Table)
  627. local Color = Table.Color or C3(1,1,1)
  628. local StartPos = Table.Start or Torso.Position
  629. local EndPos = Table.End or Mouse.Hit.p
  630. local SegmentLength = Table.SegmentL or 2
  631. local Thickness = Table.Thickness or 0.1
  632. local Dissapear = Table.DoesFade or false
  633. local Parent = Table.Ignore or Character
  634. local MaxDist = Table.MaxDist or 400
  635. local Branches = Table.Branches or false
  636. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  637. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  638. local LIGHTNINGMODEL = IT("Model",Effects)
  639. LIGHTNINGMODEL.Name = "Lightning"
  640. local LastBolt = nil
  641. for E = 1, DISTANCE do
  642. local ExtraSize = (DISTANCE-E)/15
  643. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  644. PART.Color = Color
  645. MakeForm(PART,"Cyl")
  646. if LastBolt == nil then
  647. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  648. else
  649. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  650. end
  651. LastBolt = PART
  652. if Branches == true then
  653. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  654. if CHOICE == 1 then
  655. local LASTBRANCH = nil
  656. for i = 1, MRANDOM(2,5) do
  657. local ExtraSize2 = ((DISTANCE-E)/25)/i
  658. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  659. PART.Color = Color
  660. MakeForm(PART,"Cyl")
  661. if LASTBRANCH == nil then
  662. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  663. else
  664. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  665. end
  666. LASTBRANCH = PART
  667. end
  668. end
  669. end
  670. end
  671. if Dissapear == true then
  672. coroutine.resume(coroutine.create(function()
  673. for i = 1, 10 do
  674. Swait()
  675. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  676. if c.ClassName == "Part" then
  677. c.Transparency = i/10
  678. end
  679. end
  680. end
  681. LIGHTNINGMODEL:remove()
  682. end))
  683. elseif Dissapear == false then
  684. Debris:AddItem(LIGHTNINGMODEL,0.1)
  685. end
  686. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  687. end
  688.  
  689. --//=================================\\
  690. --|| WEAPON CREATION
  691. --\\=================================//
  692.  
  693. for i = 1, 15 do
  694. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  695. FACE.Color = C3(0,0,0)
  696. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  697. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  698. end
  699. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  700. MakeForm(HAT1,"Cyl")
  701. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  702. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  703. BELT.Color = C3(15/255,15/255,15/255)
  704. MakeForm(BELT,"Cyl")
  705. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  706. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  707. MakeForm(HAT2,"Cyl")
  708. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  709. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  710. BELT.Color = C3(15/255,15/255,15/255)
  711. MakeForm(BELT,"Cyl")
  712. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  713. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.25,0.25,0.1),false)
  714. MakeForm(GEM,"Ball")
  715. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  716. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.25,0.25,0.1),false)
  717. MakeForm(GEM,"Ball")
  718. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  719. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.1,0.25,0.25),false)
  720. MakeForm(GEM,"Ball")
  721. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  722. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.1,0.25,0.25),false)
  723. MakeForm(GEM,"Ball")
  724. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  725. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  726. BELT.Color = C3(15/255,15/255,15/255)
  727. MakeForm(BELT,"Cyl")
  728. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  729. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  730. BELT.Color = C3(15/255,15/255,15/255)
  731. MakeForm(BELT,"Cyl")
  732. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  733. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  734. BELT.Color = C3(15/255,15/255,15/255)
  735. MakeForm(BELT,"Cyl")
  736. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  737. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  738. BELT.Color = C3(15/255,15/255,15/255)
  739. MakeForm(BELT,"Cyl")
  740. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  741. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  742. MakeForm(BELT,"Ball")
  743. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  744. Humanoid.DisplayDistanceType = "None"
  745. local naeeym2 = IT("BillboardGui",Character)
  746. naeeym2.AlwaysOnTop = true
  747. naeeym2.Size = UDim2.new(5,35,2,15)
  748. naeeym2.StudsOffset = Vector3.new(0,3,0)
  749. naeeym2.MaxDistance = 75
  750. naeeym2.Adornee = Character.Head
  751. naeeym2.Name = "Name"
  752. naeeym2.PlayerToHideFrom = Player
  753. local tecks2 = IT("TextLabel",naeeym2)
  754. tecks2.BackgroundTransparency = 1
  755. tecks2.TextScaled = true
  756. tecks2.BorderSizePixel = 0
  757. tecks2.Text = "Warden - Off Duty"
  758. tecks2.Font = "Bodoni"
  759. tecks2.TextSize = 30
  760. tecks2.TextStrokeTransparency = 0.5
  761. tecks2.TextColor3 = C3(0,0,0)
  762. tecks2.TextStrokeColor3 = BRICKC"Really red".Color
  763. tecks2.Size = UDim2.new(1,0,0.5,0)
  764. tecks2.Parent = naeeym2
  765. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.6,0.1,1)/2,false)
  766. MakeForm(EYE,"Ball")
  767. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  768. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.6,0.1,1)/2,false)
  769. MakeForm(EYE,"Ball")
  770. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  771. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.1,1,1)/2,false)
  772. MakeForm(EYE,"Ball")
  773. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  774. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "FaceGradient", VT(0.1,1,1)/2,false)
  775. MakeForm(EYE,"Ball")
  776. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  777.  
  778. local top = Instance.new("Shirt")
  779. top.ShirtTemplate = "rbxassetid://676428254"
  780. top.Parent = Character
  781. top.Name = "Cloth"
  782. local bottom = Instance.new("Pants")
  783. bottom.PantsTemplate = "rbxassetid://676428351"
  784. bottom.Parent = Character
  785. bottom.Name = "Cloth"
  786. for _, c in pairs(Character:GetChildren()) do
  787. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  788. c.Material = "Neon"
  789. if c:FindFirstChildOfClass("ParticleEmitter") then
  790. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  791. end
  792. c.Color = C3(1,1,1)
  793. if c == Head then
  794. if c:FindFirstChild("face") then
  795. c.face:remove()
  796. end
  797. end
  798. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  799. c:remove()
  800. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  801. c:remove()
  802. end
  803. end
  804. local BODY = {}
  805. for _, c in pairs(Character:GetDescendants()) do
  806. if c:IsA("BasePart") and c.Name ~= "Handle" then
  807. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  808. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  809. end
  810. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  811. elseif c:IsA("JointInstance") then
  812. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  813. end
  814. end
  815. for e = 1, #BODY do
  816. if BODY[e] ~= nil then
  817. local STUFF = BODY[e]
  818. local PART = STUFF[1]
  819. local PARENT = STUFF[2]
  820. local MATERIAL = STUFF[3]
  821. local COLOR = STUFF[4]
  822. local TRANSPARENCY = STUFF[5]
  823. if PART.ClassName == "Part" and PART ~= RootPart then
  824. PART.Material = MATERIAL
  825. PART.Color = COLOR
  826. PART.Transparency = TRANSPARENCY
  827. end
  828. PART.AncestryChanged:Connect(function()
  829. PART.Parent = PARENT
  830. end)
  831. end
  832. end
  833. function refit()
  834. Character.Parent = workspace
  835. for e = 1, #BODY do
  836. if BODY[e] ~= nil then
  837. local STUFF = BODY[e]
  838. local PART = STUFF[1]
  839. local PARENT = STUFF[2]
  840. local MATERIAL = STUFF[3]
  841. local COLOR = STUFF[4]
  842. local TRANSPARENCY = STUFF[5]
  843. if PART.ClassName == "Part" and PART ~= RootPart then
  844. PART.Material = MATERIAL
  845. PART.Color = COLOR
  846. PART.Transparency = TRANSPARENCY
  847. end
  848. if PART.Parent ~= PARENT then
  849. Humanoid:remove()
  850. PART.Parent = PARENT
  851. Humanoid = IT("Humanoid",Character)
  852. end
  853. end
  854. end
  855. end
  856. local SKILLTEXTCOLOR = BRICKC"Really red".Color
  857. local SKILLFONT = "Bodoni"
  858. local SKILLTEXTSIZE = 7
  859.  
  860. Humanoid.Died:connect(function()
  861. refit()
  862. end)
  863. -------------------------------------------------------
  864. --Start Important Functions--
  865. -------------------------------------------------------
  866. function swait(num)
  867. if num == 0 or num == nil then
  868. game:service("RunService").Stepped:wait(0)
  869. else
  870. for i = 0, num do
  871. game:service("RunService").Stepped:wait(0)
  872. end
  873. end
  874. end
  875. function thread(f)
  876. coroutine.resume(coroutine.create(f))
  877. end
  878. function clerp(a, b, t)
  879. local qa = {
  880. QuaternionFromCFrame(a)
  881. }
  882. local qb = {
  883. QuaternionFromCFrame(b)
  884. }
  885. local ax, ay, az = a.x, a.y, a.z
  886. local bx, by, bz = b.x, b.y, b.z
  887. local _t = 1 - t
  888. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  889. end
  890. function QuaternionFromCFrame(cf)
  891. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  892. local trace = m00 + m11 + m22
  893. if trace > 0 then
  894. local s = math.sqrt(1 + trace)
  895. local recip = 0.5 / s
  896. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  897. else
  898. local i = 0
  899. if m00 < m11 then
  900. i = 1
  901. end
  902. if m22 > (i == 0 and m00 or m11) then
  903. i = 2
  904. end
  905. if i == 0 then
  906. local s = math.sqrt(m00 - m11 - m22 + 1)
  907. local recip = 0.5 / s
  908. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  909. elseif i == 1 then
  910. local s = math.sqrt(m11 - m22 - m00 + 1)
  911. local recip = 0.5 / s
  912. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  913. elseif i == 2 then
  914. local s = math.sqrt(m22 - m00 - m11 + 1)
  915. local recip = 0.5 / s
  916. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  917. end
  918. end
  919. end
  920. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  921. local xs, ys, zs = x + x, y + y, z + z
  922. local wx, wy, wz = w * xs, w * ys, w * zs
  923. local xx = x * xs
  924. local xy = x * ys
  925. local xz = x * zs
  926. local yy = y * ys
  927. local yz = y * zs
  928. local zz = z * zs
  929. 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))
  930. end
  931. function QuaternionSlerp(a, b, t)
  932. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  933. local startInterp, finishInterp
  934. if cosTheta >= 1.0E-4 then
  935. if 1 - cosTheta > 1.0E-4 then
  936. local theta = math.acos(cosTheta)
  937. local invSinTheta = 1 / Sin(theta)
  938. startInterp = Sin((1 - t) * theta) * invSinTheta
  939. finishInterp = Sin(t * theta) * invSinTheta
  940. else
  941. startInterp = 1 - t
  942. finishInterp = t
  943. end
  944. elseif 1 + cosTheta > 1.0E-4 then
  945. local theta = math.acos(-cosTheta)
  946. local invSinTheta = 1 / Sin(theta)
  947. startInterp = Sin((t - 1) * theta) * invSinTheta
  948. finishInterp = Sin(t * theta) * invSinTheta
  949. else
  950. startInterp = t - 1
  951. finishInterp = t
  952. end
  953. 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
  954. end
  955. function rayCast(Position, Direction, Range, Ignore)
  956. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  957. end
  958. local RbxUtility = LoadLibrary("RbxUtility")
  959. local Create = RbxUtility.Create
  960.  
  961. -------------------------------------------------------
  962. --Start Damage Function--
  963. -------------------------------------------------------
  964. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  965. if hit.Parent == nil then
  966. return
  967. end
  968. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  969. for _, v in pairs(hit.Parent:children()) do
  970. if v:IsA("Humanoid") then
  971. h = v
  972. end
  973. end
  974. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  975.  
  976. hit.Parent:FindFirstChild("Head"):BreakJoints()
  977. end
  978.  
  979. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  980. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  981. if hit.Parent.DebounceHit.Value == true then
  982. return
  983. end
  984. end
  985. if insta == true then
  986. hit.Parent:FindFirstChild("Head"):BreakJoints()
  987. end
  988. local c = Create("ObjectValue"){
  989. Name = "creator",
  990. Value = game:service("Players").LocalPlayer,
  991. Parent = h,
  992. }
  993. game:GetService("Debris"):AddItem(c, .5)
  994. if HitSound ~= nil and HitPitch ~= nil then
  995. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  996. end
  997. local Damage = math.random(minim, maxim)
  998. local blocked = false
  999. local block = hit.Parent:findFirstChild("Block")
  1000. if block ~= nil then
  1001. if block.className == "IntValue" then
  1002. if block.Value > 0 then
  1003. blocked = true
  1004. block.Value = block.Value - 1
  1005. print(block.Value)
  1006. end
  1007. end
  1008. end
  1009. if blocked == false then
  1010. h.Health = h.Health - Damage
  1011. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1012. else
  1013. h.Health = h.Health - (Damage / 2)
  1014. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1015. end
  1016. if Type == "Knockdown" then
  1017. local hum = hit.Parent.Humanoid
  1018. hum.PlatformStand = true
  1019. coroutine.resume(coroutine.create(function(HHumanoid)
  1020. swait(1)
  1021. HHumanoid.PlatformStand = false
  1022. end), hum)
  1023. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1024. local bodvol = Create("BodyVelocity"){
  1025. velocity = angle * knockback,
  1026. P = 5000,
  1027. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1028. Parent = hit,
  1029. }
  1030. local rl = Create("BodyAngularVelocity"){
  1031. P = 3000,
  1032. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1033. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1034. Parent = hit,
  1035. }
  1036. game:GetService("Debris"):AddItem(bodvol, .5)
  1037. game:GetService("Debris"):AddItem(rl, .5)
  1038. elseif Type == "Normal" then
  1039. local vp = Create("BodyVelocity"){
  1040. P = 500,
  1041. maxForce = Vector3.new(math.huge, 0, math.huge),
  1042. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1043. }
  1044. if knockback > 0 then
  1045. vp.Parent = hit.Parent.Torso
  1046. end
  1047. game:GetService("Debris"):AddItem(vp, .5)
  1048. elseif Type == "Up" then
  1049. local bodyVelocity = Create("BodyVelocity"){
  1050. velocity = Vector3.new(0, 20, 0),
  1051. P = 5000,
  1052. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1053. Parent = hit,
  1054. }
  1055. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1056. elseif Type == "DarkUp" then
  1057. coroutine.resume(coroutine.create(function()
  1058. for i = 0, 1, 0.1 do
  1059. swait()
  1060. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1061. end
  1062. end))
  1063. local bodyVelocity = Create("BodyVelocity"){
  1064. velocity = Vector3.new(0, 20, 0),
  1065. P = 5000,
  1066. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1067. Parent = hit,
  1068. }
  1069. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1070. elseif Type == "Snare" then
  1071. local bp = Create("BodyPosition"){
  1072. P = 2000,
  1073. D = 100,
  1074. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1075. position = hit.Parent.Torso.Position,
  1076. Parent = hit.Parent.Torso,
  1077. }
  1078. game:GetService("Debris"):AddItem(bp, 1)
  1079. elseif Type == "Freeze" then
  1080. local BodPos = Create("BodyPosition"){
  1081. P = 50000,
  1082. D = 1000,
  1083. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1084. position = hit.Parent.Torso.Position,
  1085. Parent = hit.Parent.Torso,
  1086. }
  1087. local BodGy = Create("BodyGyro") {
  1088. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1089. P = 20e+003,
  1090. Parent = hit.Parent.Torso,
  1091. cframe = hit.Parent.Torso.CFrame,
  1092. }
  1093. hit.Parent.Torso.Anchored = true
  1094. coroutine.resume(coroutine.create(function(Part)
  1095. swait(1.5)
  1096. Part.Anchored = false
  1097. end), hit.Parent.Torso)
  1098. game:GetService("Debris"):AddItem(BodPos, 3)
  1099. game:GetService("Debris"):AddItem(BodGy, 3)
  1100. end
  1101. local debounce = Create("BoolValue"){
  1102. Name = "DebounceHit",
  1103. Parent = hit.Parent,
  1104. Value = true,
  1105. }
  1106. game:GetService("Debris"):AddItem(debounce, Delay)
  1107. c = Create("ObjectValue"){
  1108. Name = "creator",
  1109. Value = Player,
  1110. Parent = h,
  1111. }
  1112. game:GetService("Debris"):AddItem(c, .5)
  1113. end
  1114. end
  1115. -------------------------------------------------------
  1116. --End Damage Function--
  1117. -------------------------------------------------------
  1118.  
  1119. -------------------------------------------------------
  1120. --Start Damage Function Customization--
  1121. -------------------------------------------------------
  1122. function ShowDamage(Pos, Text, Time, Color)
  1123. local Rate = (1 / 30)
  1124. local Pos = (Pos or Vector3.new(0, 0, 0))
  1125. local Text = (Text or "")
  1126. local Time = (Time or 2)
  1127. local Color = (Color or Color3.new(1, 0, 1))
  1128. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1129. EffectPart.Anchored = true
  1130. local BillboardGui = Create("BillboardGui"){
  1131. Size = UDim2.new(3, 0, 3, 0),
  1132. Adornee = EffectPart,
  1133. Parent = EffectPart,
  1134. }
  1135. local TextLabel = Create("TextLabel"){
  1136. BackgroundTransparency = 1,
  1137. Size = UDim2.new(1, 0, 1, 0),
  1138. Text = Text,
  1139. Font = "Bodoni",
  1140. TextColor3 = Color,
  1141. TextScaled = true,
  1142. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1143. Parent = BillboardGui,
  1144. }
  1145. game.Debris:AddItem(EffectPart, (Time))
  1146. EffectPart.Parent = game:GetService("Workspace")
  1147. delay(0, function()
  1148. local Frames = (Time / Rate)
  1149. for Frame = 1, Frames do
  1150. wait(Rate)
  1151. local Percent = (Frame / Frames)
  1152. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1153. TextLabel.TextTransparency = Percent
  1154. end
  1155. if EffectPart and EffectPart.Parent then
  1156. EffectPart:Destroy()
  1157. end
  1158. end)
  1159. end
  1160. -------------------------------------------------------
  1161. --End Damage Function Customization--
  1162. -------------------------------------------------------
  1163.  
  1164. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1165. for _, c in pairs(workspace:children()) do
  1166. local hum = c:findFirstChild("Humanoid")
  1167. if hum ~= nil then
  1168. local head = c:findFirstChild("Head")
  1169. if head ~= nil then
  1170. local targ = head.Position - Part.Position
  1171. local mag = targ.magnitude
  1172. if magni >= mag and c.Name ~= plr.Name then
  1173. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1174. end
  1175. end
  1176. end
  1177. end
  1178. end
  1179.  
  1180.  
  1181. CFuncs = {
  1182. Part = {
  1183. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1184. local Part = Create("Part")({
  1185. Parent = Parent,
  1186. Reflectance = Reflectance,
  1187. Transparency = Transparency,
  1188. CanCollide = false,
  1189. Locked = true,
  1190. BrickColor = BrickColor.new(tostring(BColor)),
  1191. Name = Name,
  1192. Size = Size,
  1193. Material = Material
  1194. })
  1195. RemoveOutlines(Part)
  1196. return Part
  1197. end
  1198. },
  1199. Mesh = {
  1200. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1201. local Msh = Create(Mesh)({
  1202. Parent = Part,
  1203. Offset = OffSet,
  1204. Scale = Scale
  1205. })
  1206. if Mesh == "SpecialMesh" then
  1207. Msh.MeshType = MeshType
  1208. Msh.MeshId = MeshId
  1209. end
  1210. return Msh
  1211. end
  1212. },
  1213. Mesh = {
  1214. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1215. local Msh = Create(Mesh)({
  1216. Parent = Part,
  1217. Offset = OffSet,
  1218. Scale = Scale
  1219. })
  1220. if Mesh == "SpecialMesh" then
  1221. Msh.MeshType = MeshType
  1222. Msh.MeshId = MeshId
  1223. end
  1224. return Msh
  1225. end
  1226. },
  1227. Weld = {
  1228. Create = function(Parent, Part0, Part1, C0, C1)
  1229. local Weld = Create("Weld")({
  1230. Parent = Parent,
  1231. Part0 = Part0,
  1232. Part1 = Part1,
  1233. C0 = C0,
  1234. C1 = C1
  1235. })
  1236. return Weld
  1237. end
  1238. },
  1239. Sound = {
  1240. Create = function(id, par, vol, pit)
  1241. coroutine.resume(coroutine.create(function()
  1242. local S = Create("Sound")({
  1243. Volume = vol,
  1244. Pitch = pit or 1,
  1245. SoundId = id,
  1246. Parent = par or workspace
  1247. })
  1248. wait()
  1249. S:play()
  1250. game:GetService("Debris"):AddItem(S, 6)
  1251. end))
  1252. end
  1253. },
  1254. ParticleEmitter = {
  1255. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1256. local fp = Create("ParticleEmitter")({
  1257. Parent = Parent,
  1258. Color = ColorSequence.new(Color1, Color2),
  1259. LightEmission = LightEmission,
  1260. Size = Size,
  1261. Texture = Texture,
  1262. Transparency = Transparency,
  1263. ZOffset = ZOffset,
  1264. Acceleration = Accel,
  1265. Drag = Drag,
  1266. LockedToPart = LockedToPart,
  1267. VelocityInheritance = VelocityInheritance,
  1268. EmissionDirection = EmissionDirection,
  1269. Enabled = Enabled,
  1270. Lifetime = LifeTime,
  1271. Rate = Rate,
  1272. Rotation = Rotation,
  1273. RotSpeed = RotSpeed,
  1274. Speed = Speed,
  1275. VelocitySpread = VelocitySpread
  1276. })
  1277. return fp
  1278. end
  1279. }
  1280. }
  1281. function RemoveOutlines(part)
  1282. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1283. end
  1284. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1285. local Part = Create("Part")({
  1286. formFactor = FormFactor,
  1287. Parent = Parent,
  1288. Reflectance = Reflectance,
  1289. Transparency = Transparency,
  1290. CanCollide = false,
  1291. Locked = true,
  1292. BrickColor = BrickColor.new(tostring(BColor)),
  1293. Name = Name,
  1294. Size = Size,
  1295. Material = Material
  1296. })
  1297. RemoveOutlines(Part)
  1298. return Part
  1299. end
  1300. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1301. local Msh = Create(Mesh)({
  1302. Parent = Part,
  1303. Offset = OffSet,
  1304. Scale = Scale
  1305. })
  1306. if Mesh == "SpecialMesh" then
  1307. Msh.MeshType = MeshType
  1308. Msh.MeshId = MeshId
  1309. end
  1310. return Msh
  1311. end
  1312. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1313. local Weld = Create("Weld")({
  1314. Parent = Parent,
  1315. Part0 = Part0,
  1316. Part1 = Part1,
  1317. C0 = C0,
  1318. C1 = C1
  1319. })
  1320. return Weld
  1321. end
  1322.  
  1323.  
  1324. -------------------------------------------------------
  1325. --Start Effect Function--
  1326. -------------------------------------------------------
  1327. EffectModel = Instance.new("Model", char)
  1328. Effects = {
  1329. Block = {
  1330. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1331. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1332. prt.Anchored = true
  1333. prt.CFrame = cframe
  1334. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1335. game:GetService("Debris"):AddItem(prt, 10)
  1336. if Type == 1 or Type == nil then
  1337. table.insert(Effects, {
  1338. prt,
  1339. "Block1",
  1340. delay,
  1341. x3,
  1342. y3,
  1343. z3,
  1344. msh
  1345. })
  1346. elseif Type == 2 then
  1347. table.insert(Effects, {
  1348. prt,
  1349. "Block2",
  1350. delay,
  1351. x3,
  1352. y3,
  1353. z3,
  1354. msh
  1355. })
  1356. else
  1357. table.insert(Effects, {
  1358. prt,
  1359. "Block3",
  1360. delay,
  1361. x3,
  1362. y3,
  1363. z3,
  1364. msh
  1365. })
  1366. end
  1367. end
  1368. },
  1369. Sphere = {
  1370. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1371. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1372. prt.Anchored = true
  1373. prt.CFrame = cframe
  1374. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1375. game:GetService("Debris"):AddItem(prt, 10)
  1376. table.insert(Effects, {
  1377. prt,
  1378. "Cylinder",
  1379. delay,
  1380. x3,
  1381. y3,
  1382. z3,
  1383. msh
  1384. })
  1385. end
  1386. },
  1387. Cylinder = {
  1388. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1389. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1390. prt.Anchored = true
  1391. prt.CFrame = cframe
  1392. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1393. game:GetService("Debris"):AddItem(prt, 10)
  1394. table.insert(Effects, {
  1395. prt,
  1396. "Cylinder",
  1397. delay,
  1398. x3,
  1399. y3,
  1400. z3,
  1401. msh
  1402. })
  1403. end
  1404. },
  1405. Wave = {
  1406. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1407. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1408. prt.Anchored = true
  1409. prt.CFrame = cframe
  1410. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1411. game:GetService("Debris"):AddItem(prt, 10)
  1412. table.insert(Effects, {
  1413. prt,
  1414. "Cylinder",
  1415. delay,
  1416. x3 / 60,
  1417. y3 / 60,
  1418. z3 / 60,
  1419. msh
  1420. })
  1421. end
  1422. },
  1423. Ring = {
  1424. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1425. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1426. prt.Anchored = true
  1427. prt.CFrame = cframe
  1428. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1429. game:GetService("Debris"):AddItem(prt, 10)
  1430. table.insert(Effects, {
  1431. prt,
  1432. "Cylinder",
  1433. delay,
  1434. x3,
  1435. y3,
  1436. z3,
  1437. msh
  1438. })
  1439. end
  1440. },
  1441. Break = {
  1442. Create = function(brickcolor, cframe, x1, y1, z1)
  1443. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1444. prt.Anchored = true
  1445. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1446. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1447. local num = math.random(10, 50) / 1000
  1448. game:GetService("Debris"):AddItem(prt, 10)
  1449. table.insert(Effects, {
  1450. prt,
  1451. "Shatter",
  1452. num,
  1453. prt.CFrame,
  1454. math.random() - math.random(),
  1455. 0,
  1456. math.random(50, 100) / 100
  1457. })
  1458. end
  1459. },
  1460. Spiral = {
  1461. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1462. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1463. prt.Anchored = true
  1464. prt.CFrame = cframe
  1465. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1466. game:GetService("Debris"):AddItem(prt, 10)
  1467. table.insert(Effects, {
  1468. prt,
  1469. "Cylinder",
  1470. delay,
  1471. x3,
  1472. y3,
  1473. z3,
  1474. msh
  1475. })
  1476. end
  1477. },
  1478. Push = {
  1479. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1480. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1481. prt.Anchored = true
  1482. prt.CFrame = cframe
  1483. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1484. game:GetService("Debris"):AddItem(prt, 10)
  1485. table.insert(Effects, {
  1486. prt,
  1487. "Cylinder",
  1488. delay,
  1489. x3,
  1490. y3,
  1491. z3,
  1492. msh
  1493. })
  1494. end
  1495. }
  1496. }
  1497. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1498. local fp = IT("Part")
  1499. fp.formFactor = formfactor
  1500. fp.Parent = parent
  1501. fp.Reflectance = reflectance
  1502. fp.Transparency = transparency
  1503. fp.CanCollide = false
  1504. fp.Locked = true
  1505. fp.BrickColor = brickcolor
  1506. fp.Name = name
  1507. fp.Size = size
  1508. fp.Position = tors.Position
  1509. RemoveOutlines(fp)
  1510. fp.Material = "SmoothPlastic"
  1511. fp:BreakJoints()
  1512. return fp
  1513. end
  1514.  
  1515. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1516. local mesh = IT(Mesh)
  1517. mesh.Parent = part
  1518. if Mesh == "SpecialMesh" then
  1519. mesh.MeshType = meshtype
  1520. if meshid ~= "nil" then
  1521. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1522. end
  1523. end
  1524. mesh.Offset = offset
  1525. mesh.Scale = scale
  1526. return mesh
  1527. end
  1528.  
  1529. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1530. local type = type
  1531. local rng = Instance.new("Part", char)
  1532. rng.Anchored = true
  1533. rng.BrickColor = color
  1534. rng.CanCollide = false
  1535. rng.FormFactor = 3
  1536. rng.Name = "Ring"
  1537. rng.Material = "Neon"
  1538. rng.Size = Vector3.new(1, 1, 1)
  1539. rng.Transparency = 0
  1540. rng.TopSurface = 0
  1541. rng.BottomSurface = 0
  1542. rng.CFrame = pos
  1543. local rngm = Instance.new("SpecialMesh", rng)
  1544. rngm.MeshType = MType
  1545. rngm.Scale = scale
  1546. local scaler2 = 1
  1547. if type == "Add" then
  1548. scaler2 = 1 * value
  1549. elseif type == "Divide" then
  1550. scaler2 = 1 / value
  1551. end
  1552. coroutine.resume(coroutine.create(function()
  1553. for i = 0, 10 / bonuspeed, 0.1 do
  1554. swait()
  1555. if type == "Add" then
  1556. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1557. elseif type == "Divide" then
  1558. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1559. end
  1560. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1561. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1562. end
  1563. rng:Destroy()
  1564. end))
  1565. end
  1566.  
  1567. function Eviscerate(dude)
  1568. if dude.Name ~= char then
  1569. local bgf = IT("BodyGyro", dude.Head)
  1570. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1571. local val = IT("BoolValue", dude)
  1572. val.Name = "IsHit"
  1573. local ds = coroutine.wrap(function()
  1574. dude:WaitForChild("Head"):BreakJoints()
  1575. wait(0.5)
  1576. target = nil
  1577. coroutine.resume(coroutine.create(function()
  1578. for i, v in pairs(dude:GetChildren()) do
  1579. if v:IsA("Accessory") then
  1580. v:Destroy()
  1581. end
  1582. if v:IsA("Humanoid") then
  1583. v:Destroy()
  1584. end
  1585. if v:IsA("CharacterMesh") then
  1586. v:Destroy()
  1587. end
  1588. if v:IsA("Model") then
  1589. v:Destroy()
  1590. end
  1591. if v:IsA("Part") or v:IsA("MeshPart") then
  1592. for x, o in pairs(v:GetChildren()) do
  1593. if o:IsA("Decal") then
  1594. o:Destroy()
  1595. end
  1596. end
  1597. coroutine.resume(coroutine.create(function()
  1598. v.Material = "Neon"
  1599. v.CanCollide = false
  1600. local PartEmmit1 = IT("ParticleEmitter", v)
  1601. PartEmmit1.LightEmission = 1
  1602. PartEmmit1.Texture = "rbxassetid://284205403"
  1603. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1604. PartEmmit1.Rate = 150
  1605. PartEmmit1.Lifetime = NumberRange.new(1)
  1606. PartEmmit1.Size = NumberSequence.new({
  1607. NumberSequenceKeypoint.new(0, 0.75, 0),
  1608. NumberSequenceKeypoint.new(1, 0, 0)
  1609. })
  1610. PartEmmit1.Transparency = NumberSequence.new({
  1611. NumberSequenceKeypoint.new(0, 0, 0),
  1612. NumberSequenceKeypoint.new(1, 1, 0)
  1613. })
  1614. PartEmmit1.Speed = NumberRange.new(0, 0)
  1615. PartEmmit1.VelocitySpread = 30000
  1616. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1617. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1618. local BodPoss = IT("BodyPosition", v)
  1619. BodPoss.P = 3000
  1620. BodPoss.D = 1000
  1621. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1622. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1623. v.Color = maincolor.Color
  1624. coroutine.resume(coroutine.create(function()
  1625. for i = 0, 49 do
  1626. swait(1)
  1627. v.Transparency = v.Transparency + 0.08
  1628. end
  1629. wait(0.5)
  1630. PartEmmit1.Enabled = false
  1631. wait(3)
  1632. v:Destroy()
  1633. dude:Destroy()
  1634. end))
  1635. end))
  1636. end
  1637. end
  1638. end))
  1639. end)
  1640. ds()
  1641. end
  1642. end
  1643.  
  1644. function FindNearestHead(Position, Distance, SinglePlayer)
  1645. if SinglePlayer then
  1646. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1647. end
  1648. local List = {}
  1649. for i, v in pairs(workspace:GetChildren()) do
  1650. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1651. table.insert(List, v)
  1652. end
  1653. end
  1654. return List
  1655. end
  1656.  
  1657. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1658. local type = type
  1659. local rng = Instance.new("Part", char)
  1660. rng.Anchored = true
  1661. rng.BrickColor = color
  1662. rng.CanCollide = false
  1663. rng.FormFactor = 3
  1664. rng.Name = "Ring"
  1665. rng.Material = "Neon"
  1666. rng.Size = Vector3.new(1, 1, 1)
  1667. rng.Transparency = 0
  1668. rng.TopSurface = 0
  1669. rng.BottomSurface = 0
  1670. rng.CFrame = pos
  1671. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1672. local rngm = Instance.new("SpecialMesh", rng)
  1673. rngm.MeshType = MType
  1674. rngm.Scale = Vector3.new(x1, y1, z1)
  1675. local scaler2 = 1
  1676. local speeder = FastSpeed
  1677. if type == "Add" then
  1678. scaler2 = 1 * value
  1679. elseif type == "Divide" then
  1680. scaler2 = 1 / value
  1681. end
  1682. coroutine.resume(coroutine.create(function()
  1683. for i = 0, 10 / bonuspeed, 0.1 do
  1684. swait()
  1685. if type == "Add" then
  1686. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1687. elseif type == "Divide" then
  1688. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1689. end
  1690. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1691. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1692. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1693. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1694. end
  1695. rng:Destroy()
  1696. end))
  1697. end
  1698.  
  1699. function SoulSteal(dude)
  1700. if dude.Name ~= char then
  1701. local bgf = IT("BodyGyro", dude.Head)
  1702. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1703. local val = IT("BoolValue", dude)
  1704. val.Name = "IsHit"
  1705. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1706. local soulst = coroutine.wrap(function()
  1707. local soul = Instance.new("Part",dude)
  1708. soul.Size = Vector3.new(1,1,1)
  1709. soul.CanCollide = false
  1710. soul.Anchored = false
  1711. soul.Position = torso.Position
  1712. soul.Transparency = 1
  1713. local PartEmmit1 = IT("ParticleEmitter", soul)
  1714. PartEmmit1.LightEmission = 1
  1715. PartEmmit1.Texture = "rbxassetid://569507414"
  1716. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1717. PartEmmit1.Rate = 250
  1718. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1719. PartEmmit1.Size = NumberSequence.new({
  1720. NumberSequenceKeypoint.new(0, 1, 0),
  1721. NumberSequenceKeypoint.new(1, 0, 0)
  1722. })
  1723. PartEmmit1.Transparency = NumberSequence.new({
  1724. NumberSequenceKeypoint.new(0, 0, 0),
  1725. NumberSequenceKeypoint.new(1, 1, 0)
  1726. })
  1727. PartEmmit1.Speed = NumberRange.new(0, 0)
  1728. PartEmmit1.VelocitySpread = 30000
  1729. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1730. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1731. local BodPoss = IT("BodyPosition", soul)
  1732. BodPoss.P = 3000
  1733. BodPoss.D = 1000
  1734. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1735. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1736. wait(1.6)
  1737. soul.Touched:connect(function(hit)
  1738. if hit.Parent == char then
  1739. soul:Destroy()
  1740. end
  1741. end)
  1742. wait(1.2)
  1743. while soul do
  1744. swait()
  1745. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1746. BodPoss.Position = tors.Position
  1747. end
  1748. end)
  1749. soulst()
  1750. end
  1751. end
  1752. function FaceMouse()
  1753. local Cam = workspace.CurrentCamera
  1754. return {
  1755. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1756. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1757. }
  1758. end
  1759. Effects = {
  1760. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  1761. local p = Instance.new("Part",EffectModel)
  1762. p.BrickColor = BrickColor.new(colour)
  1763. p.Size = partsize
  1764. p.Anchored = true
  1765. p.CanCollide = false
  1766. p.Material = matr
  1767. p.CFrame = cf
  1768. if inverse == true then
  1769. p.Transparency = 1
  1770. else
  1771. p.Transparency = 0
  1772. end
  1773. local m = Instance.new("BlockMesh",p)
  1774. m.Scale = meshstart
  1775. coroutine.wrap(function()
  1776. for i = 0, 1, factor do
  1777. swait()
  1778. if inverse == true then
  1779. p.Transparency = 1-i
  1780. else
  1781. p.Transparency = i
  1782. end
  1783. m.Scale = m.Scale + meshadd
  1784. if spin == true then
  1785. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1786. end
  1787. end
  1788. p:Destroy()
  1789. end)()
  1790. return p
  1791. end,
  1792. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1793. local p = Instance.new("Part",EffectModel)
  1794. p.BrickColor = BrickColor.new(colour)
  1795. p.Size = partsize
  1796. p.Anchored = true
  1797. p.CanCollide = false
  1798. p.Material = matr
  1799. p.CFrame = cf
  1800. if inverse == true then
  1801. p.Transparency = 1
  1802. else
  1803. p.Transparency = 0
  1804. end
  1805. local m = Instance.new("SpecialMesh",p)
  1806. m.MeshType = "Sphere"
  1807. m.Scale = meshstart
  1808. coroutine.wrap(function()
  1809. for i=0,1,factor do
  1810. swait()
  1811. if inverse == true then
  1812. p.Transparency = 1-i
  1813. else
  1814. p.Transparency = i
  1815. end
  1816. m.Scale = m.Scale + meshadd
  1817. end
  1818. p:Destroy()
  1819. end)()
  1820. return p
  1821. end,
  1822.  
  1823. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1824. local p = Instance.new("Part",EffectModel)
  1825. p.BrickColor = BrickColor.new(colour)
  1826. p.Size = partsize
  1827. p.Anchored = true
  1828. p.CanCollide = false
  1829. p.Material = matr
  1830. p.CFrame = cf
  1831. if inverse == true then
  1832. p.Transparency = 1
  1833. else
  1834. p.Transparency = 0
  1835. end
  1836. local m = Instance.new("CylinderMesh",p)
  1837. m.Scale = meshstart
  1838. coroutine.wrap(function()
  1839. for i=0,1,factor do
  1840. swait()
  1841. if inverse == true then
  1842. p.Transparency = 1-i
  1843. else
  1844. p.Transparency = i
  1845. end
  1846. m.Scale = m.Scale + meshadd
  1847. end
  1848. p:Destroy()
  1849. end)()
  1850. return p
  1851. end,
  1852.  
  1853. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  1854. local p = Instance.new("Part",EffectModel)
  1855. p.BrickColor = BrickColor.new(colour)
  1856. p.Size = Vector3.new()
  1857. p.Anchored = true
  1858. p.CanCollide = false
  1859. p.CFrame = cf
  1860. if inverse == true then
  1861. p.Transparency = 1
  1862. else
  1863. p.Transparency = 0
  1864. end
  1865. local m = Instance.new("SpecialMesh",p)
  1866. m.MeshId = "rbxassetid://20329976"
  1867. m.Scale = meshstart
  1868. coroutine.wrap(function()
  1869. for i=0,1,factor do
  1870. swait()
  1871. if inverse == true then
  1872. p.Transparency = 1-i
  1873. else
  1874. p.Transparency = i
  1875. end
  1876. m.Scale = m.Scale + meshadd
  1877. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1878. end
  1879. p:Destroy()
  1880. end)()
  1881. return p
  1882. end,
  1883.  
  1884. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  1885. local p = Instance.new("Part",EffectModel)
  1886. p.BrickColor = BrickColor.new(colour)
  1887. p.Size = Vector3.new()
  1888. p.Anchored = true
  1889. p.CanCollide = false
  1890. p.CFrame = cf
  1891. if inverse == true then
  1892. p.Transparency = 1
  1893. else
  1894. p.Transparency = 0
  1895. end
  1896. local m = Instance.new("SpecialMesh",p)
  1897. m.MeshId = "rbxassetid://3270017"
  1898. m.Scale = meshstart
  1899. coroutine.wrap(function()
  1900. for i=0,1,factor do
  1901. swait()
  1902. if inverse == true then
  1903. p.Transparency = 1-i
  1904. else
  1905. p.Transparency = i
  1906. end
  1907. m.Scale = m.Scale + meshadd
  1908. end
  1909. p:Destroy()
  1910. end)()
  1911. return p
  1912. end,
  1913.  
  1914. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1915. local p = Instance.new("Part",EffectModel)
  1916. p.BrickColor = BrickColor.new(colour)
  1917. p.Size = Vector3.new()
  1918. p.Anchored = true
  1919. p.CanCollide = false
  1920. p.CFrame = cf
  1921. if inverse == true then
  1922. p.Transparency = 1
  1923. else
  1924. p.Transparency = 0
  1925. end
  1926. local m = Instance.new("SpecialMesh",p)
  1927. m.MeshId = meshid
  1928. m.TextureId = textid
  1929. m.Scale = meshstart
  1930. coroutine.wrap(function()
  1931. for i=0,1,factor do
  1932. swait()
  1933. if inverse == true then
  1934. p.Transparency = 1-i
  1935. else
  1936. p.Transparency = i
  1937. end
  1938. m.Scale = m.Scale + meshadd
  1939. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1940. end
  1941. p:Destroy()
  1942. end)()
  1943. return p
  1944. end,
  1945.  
  1946. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  1947. local p = Instance.new("Part",EffectModel)
  1948. p.BrickColor = BrickColor.new(colour)
  1949. p.Size = partsize
  1950. p.Anchored = true
  1951. p.CanCollide = false
  1952. p.Material = matr
  1953. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1954. if inverse == true then
  1955. p.Transparency = 1
  1956. else
  1957. p.Transparency = 0
  1958. end
  1959. local m = Instance.new("SpecialMesh",p)
  1960. m.MeshType = "Sphere"
  1961. m.Scale = meshstart
  1962. coroutine.wrap(function()
  1963. for i=0,1,factor do
  1964. swait()
  1965. if inverse == true then
  1966. p.Transparency = 1-i
  1967. else
  1968. p.Transparency = i
  1969. end
  1970. m.Scale = m.Scale + meshadd
  1971. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  1972. end
  1973. p:Destroy()
  1974. end)()
  1975. return p
  1976. end,
  1977.  
  1978. }
  1979. -------------------------------------------------------
  1980. --End Effect Function--
  1981. -------------------------------------------------------
  1982. function Cso(ID, PARENT, VOLUME, PITCH)
  1983. local NSound = nil
  1984. coroutine.resume(coroutine.create(function()
  1985. NSound = IT("Sound", PARENT)
  1986. NSound.Volume = VOLUME
  1987. NSound.Pitch = PITCH
  1988. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1989. swait()
  1990. NSound:play()
  1991. game:GetService("Debris"):AddItem(NSound, 10)
  1992. end))
  1993. return NSound
  1994. end
  1995. function CamShake(Length, Intensity)
  1996. coroutine.resume(coroutine.create(function()
  1997. local intensity = 1 * Intensity
  1998. local rotM = 0.01 * Intensity
  1999. for i = 0, Length, 0.1 do
  2000. swait()
  2001. intensity = intensity - 0.05 * Intensity / Length
  2002. rotM = rotM - 5.0E-4 * Intensity / Length
  2003. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  2004. 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)
  2005. end
  2006. hum.CameraOffset = Vector3.new(0, 0, 0)
  2007. end))
  2008. end
  2009. NewInstance = function(instance,parent,properties)
  2010. local inst = Instance.new(instance)
  2011. inst.Parent = parent
  2012. if(properties)then
  2013. for i,v in next, properties do
  2014. pcall(function() inst[i] = v end)
  2015. end
  2016. end
  2017. return inst;
  2018. end
  2019. hum.MaxHealth = 1.0E298
  2020. hum.Health = 1.0E298
  2021. game:GetService("RunService"):BindToRenderStep("HOT", 0, function()
  2022. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  2023. hum.MaxHealth = 1.0E298
  2024. hum.Health = 1.0E298
  2025. end
  2026. end)
  2027. function chatfunc(text, color)
  2028. local chat = coroutine.wrap(function()
  2029. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  2030. char:FindFirstChild("TalkingBillBoard"):destroy()
  2031. end
  2032. local naeeym2 = Instance.new("BillboardGui", char)
  2033. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  2034. naeeym2.StudsOffset = Vector3.new(0, 1.5, 0)
  2035. naeeym2.Adornee = hed
  2036. naeeym2.Name = "TalkingBillBoard"
  2037. local tecks2 = Instance.new("TextLabel", naeeym2)
  2038. tecks2.BackgroundTransparency = 1
  2039. tecks2.BorderSizePixel = 0
  2040. tecks2.Text = ""
  2041. tecks2.Font = "Fantasy"
  2042. tecks2.TextSize = 30
  2043. tecks2.TextStrokeTransparency = 0
  2044. tecks2.TextColor3 = color
  2045. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  2046. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2047. for i = 1, string.len(text) do
  2048. CFuncs.Sound.Create("rbxassetid://418252437", hed, 1, Mrandom(8,12)/15)
  2049. tecks2.Text = string.sub(text, 1, i)
  2050. swait(1)
  2051. end
  2052. wait(1)
  2053. naeeym2:Destroy()
  2054. end)
  2055. chat()
  2056. end
  2057. New = function(Object, Parent, Name, Data)
  2058. local Object = Instance.new(Object)
  2059. for Index, Value in pairs(Data or {}) do
  2060. Object[Index] = Value
  2061. end
  2062. Object.Parent = Parent
  2063. Object.Name = Name
  2064. return Object
  2065. end
  2066.  
  2067. Cupo = New("Model",char,"Cupo",{})
  2068. 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),})
  2069. 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,})
  2070. 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),})
  2071. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 6),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  2072. 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),})
  2073. 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),})
  2074. Mesh = New("CylinderMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.200000003, 0),Scale = Vector3.new(1, 0.100000001, 1),})
  2075. 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),})
  2076. Coffee = New("Part",Cupo,"Coffee",{BrickColor = BrickColor.new("Reddish brown"),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),})
  2077. Mesh = New("CylinderMesh",Coffee,"Mesh",{Scale = Vector3.new(1, 1.20000005, 1),})
  2078. 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),})
  2079.  
  2080. 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))})
  2081.  
  2082. -------------------------------------------------------
  2083. --End Important Functions--
  2084. -------------------------------------------------------
  2085.  
  2086.  
  2087. -------------------------------------------------------
  2088. --Start Customization--
  2089. -------------------------------------------------------
  2090. local Player_Size = 1
  2091. if Player_Size ~= 1 then
  2092. root.Size = root.Size * Player_Size
  2093. tors.Size = tors.Size * Player_Size
  2094. hed.Size = hed.Size * Player_Size
  2095. ra.Size = ra.Size * Player_Size
  2096. la.Size = la.Size * Player_Size
  2097. rl.Size = rl.Size * Player_Size
  2098. ll.Size = ll.Size * Player_Size
  2099. ----------------------------------------------------------------------------------
  2100. rootj.Parent = root
  2101. neck.Parent = tors
  2102. RW.Parent = tors
  2103. LW.Parent = tors
  2104. RH.Parent = tors
  2105. LH.Parent = tors
  2106. ----------------------------------------------------------------------------------
  2107. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2108. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2109. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2110. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2111. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2112. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2113. ----------------------------------------------------------------------------------
  2114. 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))
  2115. 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))
  2116. 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))
  2117. 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))
  2118. --hat.Parent = Character
  2119. end
  2120. ----------------------------------------------------------------------------------
  2121. local SONG = 1128536404
  2122. local SONG2 = 0
  2123. local Music = Instance.new("Sound",tors)
  2124. Music.Volume = .6
  2125. Music.Looped = true
  2126. Music.Pitch = 1 --Pitcher
  2127. ----------------------------------------------------------------------------------
  2128. local equipped = false
  2129. local idle = 0
  2130. local change = 1
  2131. local val = 0
  2132. local toim = 0
  2133. local idleanim = 0.4
  2134. local sine = 0
  2135. local Sit = 1
  2136. local WasAir = false
  2137. local InAir = false
  2138. local LandTick = 0
  2139. local movelegs = false
  2140. local FF = Instance.new("ForceField",char)
  2141. FF.Visible = false
  2142. local Speed = 16
  2143. local Sitt = false
  2144. local VALUE1 = false
  2145. ----------------------------------------------------------------------------------
  2146. hum.JumpPower = 55
  2147. hum.Animator.Parent = nil
  2148. -------------------------------------------------------
  2149. --End Customization--
  2150. -------------------------------------------------------
  2151.  
  2152.  
  2153. -------------------------------------------------------
  2154. --Start Attacks N Stuff--
  2155. -------------------------------------------------------
  2156. function AttackTemplate()
  2157. attack = true
  2158. for i = 0, 2, 0.1 do
  2159. swait()
  2160. 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)
  2161. 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)
  2162. 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)
  2163. 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)
  2164. 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)
  2165. 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)
  2166. end
  2167. attack = false
  2168. end
  2169. function Taunt()
  2170. attack = true
  2171. movelegs = true
  2172. Speed = 12
  2173. local Chatty = Mrandom(1,5)
  2174. if Chatty == 1 then
  2175. chatfunc(" ", maincolor.Color)
  2176. elseif Chatty == 2 then
  2177. chatfunc(" ", maincolor.Color)
  2178. elseif Chatty == 3 then
  2179. chatfunc(" ", maincolor.Color)
  2180. elseif Chatty == 4 then
  2181. chatfunc(" ", maincolor.Color)
  2182. elseif Chatty == 5 then
  2183. chatfunc("*Sigh*", maincolor.Color)
  2184. end
  2185. if Chatty ~= 5 then
  2186. for i = 0, 9, 0.1 do
  2187. swait()
  2188. 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)
  2189. 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)
  2190. 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)
  2191. 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)
  2192. 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)
  2193. 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)
  2194. end
  2195. else
  2196. for i = 0, 9, 0.1 do
  2197. swait()
  2198. 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)
  2199. 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)
  2200. 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)
  2201. 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)
  2202. 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)
  2203. 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)
  2204. end
  2205. end
  2206. movelegs = false
  2207. attack = false
  2208. Speed = 16
  2209. end
  2210. function Sippy()
  2211. attack = true
  2212. Speed = 0
  2213. local Sip = Cso("1420260652", hed, 1.2, 1)
  2214. swait()
  2215. repeat
  2216. swait()
  2217. 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)
  2218. 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)
  2219. 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)
  2220. 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)
  2221. 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)
  2222. 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)
  2223. until Sip.Playing == false
  2224. Speed = 16
  2225. attack = false
  2226. end
  2227. function SittyBoi()
  2228. attack = true
  2229. Sitt = true
  2230. Speed = 0
  2231. repeat
  2232. swait()
  2233. for i = 0, 1, 0.1 do
  2234. swait()
  2235. 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)
  2236. 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)
  2237. 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)
  2238. 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)
  2239. 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)
  2240. 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)
  2241. end
  2242. until Sitt == false
  2243. attack = false
  2244. Speed = 16
  2245. end
  2246. -------------------------------------------------------
  2247. --End Attacks N Stuff--
  2248. -------------------------------------------------------
  2249. mouse.Button1Down:connect(function(key)
  2250. if attack == false then
  2251. Sippy()
  2252. end
  2253. end)
  2254. mouse.KeyDown:connect(function(key)
  2255. if (VALUE1 == false and attack == false) or Sitt == true then
  2256. if key == "q" then
  2257. if Sitt == false then
  2258. SittyBoi()
  2259. elseif Sitt == true then
  2260. Sitt = false
  2261. end
  2262. end
  2263. end
  2264. if attack == false then
  2265. if key == "asdf" then
  2266. Taunt()
  2267. end
  2268. end
  2269. end)
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278. -------------------------------------------------------
  2279. --Start Animations--
  2280. -------------------------------------------------------
  2281. print("By Makhail07")
  2282. print("Edited By flowerybooga")
  2283. warn("T̶h̴e̵r̴e̶ ̸i̶s̸ ̸s̶o̸m̵e̵t̴h̵i̴n̸g̶ ̶o̷f̷f̶.̶.̴.̷ ")
  2284. while true do
  2285. swait()
  2286. sine = sine + change
  2287. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2288. local velderp = root.Velocity.y
  2289. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2290. if equipped == true or equipped == false then
  2291. if attack == false then
  2292. idle = idle + 1
  2293. else
  2294. idle = 0
  2295. end
  2296. local Landed = false
  2297. if(hitfloor)then
  2298. WasAir = false
  2299. else
  2300. WasAir = true
  2301. end
  2302. if(WasAir == false)then
  2303. if(InAir == true)then
  2304. LandTick = time()
  2305. Landed = true
  2306. end
  2307. end
  2308. if(time()-LandTick < .3)then
  2309. Landed = true
  2310. end
  2311. if(hitfloor)then
  2312. InAir = false
  2313. else
  2314. InAir = true
  2315. end
  2316. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  2317. 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")
  2318. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  2319. if(State == 'Jump')then
  2320. hum.JumpPower = 55
  2321. if attack == false then
  2322. 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)
  2323. 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)
  2324. 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)
  2325. 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)
  2326. 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)
  2327. 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)
  2328. end
  2329. elseif(State == 'Fall')then
  2330. if attack == false then
  2331. 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)
  2332. 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)
  2333. 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)
  2334. 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)
  2335. 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)
  2336. 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)
  2337. end
  2338. elseif(State == 'Land')then
  2339. hum.JumpPower = 0
  2340. if attack == false then
  2341. 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)
  2342. 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)
  2343. 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)
  2344. 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)
  2345. 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)
  2346. 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)
  2347. end
  2348. elseif(State == 'Idle')then
  2349. change = 0.90
  2350. if attack == false then
  2351. 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)
  2352. 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)
  2353. 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)
  2354. 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)
  2355. 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)
  2356. 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)
  2357. end
  2358. elseif(State == 'Walk')then
  2359. change = 0.76
  2360. hum.JumpPower = 55
  2361. if attack == false then
  2362. 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)
  2363. 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)
  2364. 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)
  2365. 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)
  2366. 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)
  2367. 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)
  2368. elseif attack == true and movelegs == true then
  2369. 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)
  2370. 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)
  2371. end
  2372. end
  2373. end
  2374. hum.Name = "HUM"
  2375. hum.WalkSpeed = Speed
  2376. Music.SoundId = "rbxassetid://"..SONG
  2377. Music.Looped = true
  2378. Music.Pitch = 1
  2379. Music.Volume = .2
  2380. Music.Parent = tors
  2381. Music.Playing = true
  2382. if 0 < #Effects then
  2383. for e = 1, #Effects do
  2384. if Effects[e] ~= nil then
  2385. local Thing = Effects[e]
  2386. if Thing ~= nil then
  2387. local Part = Thing[1]
  2388. local Mode = Thing[2]
  2389. local Delay = Thing[3]
  2390. local IncX = Thing[4]
  2391. local IncY = Thing[5]
  2392. local IncZ = Thing[6]
  2393. if 1 >= Thing[1].Transparency then
  2394. if Thing[2] == "Block1" then
  2395. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2396. local Mesh = Thing[1].Mesh
  2397. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2398. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2399. elseif Thing[2] == "Block2" then
  2400. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2401. local Mesh = Thing[7]
  2402. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2403. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2404. elseif Thing[2] == "Block3" then
  2405. 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)
  2406. local Mesh = Thing[7]
  2407. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2408. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2409. elseif Thing[2] == "Cylinder" then
  2410. local Mesh = Thing[1].Mesh
  2411. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2412. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2413. elseif Thing[2] == "Blood" then
  2414. local Mesh = Thing[7]
  2415. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2416. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2417. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2418. elseif Thing[2] == "Elec" then
  2419. local Mesh = Thing[1].Mesh
  2420. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2421. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2422. elseif Thing[2] == "Disappear" then
  2423. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2424. elseif Thing[2] == "Shatter" then
  2425. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2426. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2427. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2428. Thing[6] = Thing[6] + Thing[5]
  2429. end
  2430. else
  2431. Part.Parent = nil
  2432. table.remove(Effects, e)
  2433. end
  2434. end
  2435. end
  2436. end
  2437. end
  2438. end
  2439. -------------------------------------------------------
  2440. --End Animations And Script--
  2441. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement