Advertisement
doryna2281337

Untitled

Sep 9th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.50 KB | None | 0 0
  1. wait(0.2)
  2. Player = game:GetService("Players").LocalPlayer
  3. PlayerGui = Player.PlayerGui
  4. Cam = workspace.CurrentCamera
  5. Backpack = Player.Backpack
  6. Character = Player.Character
  7. Humanoid = Character.Humanoid
  8. Mouse = Player:GetMouse()
  9. RootPart = Character["HumanoidRootPart"]
  10. Torso = Character["Torso"]
  11. Head = Character["Head"]
  12. RightArm = Character["Right Arm"]
  13. LeftArm = Character["Left Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LeftLeg = Character["Left Leg"]
  16. RootJoint = RootPart["RootJoint"]
  17. Neck = Torso["Neck"]
  18. RightShoulder = Torso["Right Shoulder"]
  19. LeftShoulder = Torso["Left Shoulder"]
  20. RightHip = Torso["Right Hip"]
  21. LeftHip = Torso["Left Hip"]
  22. local sick = Instance.new("Sound",Character)
  23. local LAUGHS = {834001699,834001752,834001797,834001828}
  24.  
  25. IT = Instance.new
  26. CF = CFrame.new
  27. VT = Vector3.new
  28. RAD = math.rad
  29. C3 = Color3.new
  30. UD2 = UDim2.new
  31. BRICKC = BrickColor.new
  32. ANGLES = CFrame.Angles
  33. EULER = CFrame.fromEulerAnglesXYZ
  34. COS = math.cos
  35. ACOS = math.acos
  36. SIN = math.sin
  37. ASIN = math.asin
  38. ABS = math.abs
  39. MRANDOM = math.random
  40. FLOOR = math.floor
  41.  
  42. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  43. local NEWMESH = IT(MESH)
  44. if MESH == "SpecialMesh" then
  45. NEWMESH.MeshType = MESHTYPE
  46. if MESHID ~= "nil" and MESHID ~= "" then
  47. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  48. end
  49. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  50. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  51. end
  52. end
  53. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  54. NEWMESH.Scale = SCALE
  55. NEWMESH.Parent = PARENT
  56. return NEWMESH
  57. end
  58.  
  59. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  60. local NEWPART = IT("Part")
  61. NEWPART.formFactor = FORMFACTOR
  62. NEWPART.Reflectance = REFLECTANCE
  63. NEWPART.Transparency = TRANSPARENCY
  64. NEWPART.CanCollide = false
  65. NEWPART.Locked = true
  66. NEWPART.Anchored = true
  67. if ANCHOR == false then
  68. NEWPART.Anchored = false
  69. end
  70. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  71. NEWPART.Name = NAME
  72. NEWPART.Size = SIZE
  73. NEWPART.Position = Torso.Position
  74. NEWPART.Material = MATERIAL
  75. NEWPART:BreakJoints()
  76. NEWPART.Parent = PARENT
  77. return NEWPART
  78. end
  79.  
  80. Class_Name = "Void Face"
  81. Weapon_Name = "Add-ons"
  82.  
  83. Player_Size = 3 --Size of the player.
  84. Animation_Speed = 1
  85. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  86.  
  87. local Speed = 100
  88. local Effects2 = {}
  89.  
  90. local function weldBetween(a, b)
  91. local weldd = Instance.new("ManualWeld")
  92. weldd.Part0 = a
  93. weldd.Part1 = b
  94. weldd.C0 = CFrame.new()
  95. weldd.C1 = b.CFrame:inverse() * a.CFrame
  96. weldd.Parent = a
  97. return weldd
  98. end
  99.  
  100. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  101. local acs = Instance.new("Part")
  102. acs.CanCollide = false
  103. acs.Anchored = false
  104. acs.Size = Vector3.new(0,0,0)
  105. acs.CFrame = attachmentpart.CFrame
  106. acs.Parent = Character
  107. acs.BrickColor = color
  108. local meshs = Instance.new("SpecialMesh")
  109. meshs.MeshId = mesh
  110. meshs.TextureId = texture
  111. meshs.Parent = acs
  112. meshs.Scale = scale
  113. meshs.Offset = offset
  114. weldBetween(attachmentpart,acs)
  115. end
  116.  
  117. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  118. if TYPE == "Gem" then
  119. local acs = CreatePart(3, Character, "Glass", 0, 0, COLOR, "Part", VT(0,0,0))
  120. acs.Anchored = false
  121. acs.CanCollide = false
  122. acs.CFrame = PART.CFrame
  123. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  124. weldBetween(PART,acs)
  125. elseif TYPE == "Skull" then
  126. local acs = CreatePart(3, Character, "Glass", 0, 0, COLOR, "Part", VT(0,0,0))
  127. acs.Anchored = false
  128. acs.CanCollide = false
  129. acs.CFrame = PART.CFrame
  130. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  131. weldBetween(PART,acs)
  132. elseif TYPE == "Eye" then
  133. local acs = CreatePart(3, Character, "Glass", 0, 0, COLOR, "Part", VT(0,0,0))
  134. acs.Anchored = false
  135. acs.CanCollide = false
  136. acs.CFrame = PART.CFrame
  137. local acs2 = CreateMesh("SpecialMesh", acs, "Block", "", "", SIZE, OFFSET)
  138. weldBetween(PART,acs)
  139. end
  140. end
  141.  
  142. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  143. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  144. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  145. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  146. local CHANGEDEFENSE = 0
  147. local CHANGEDAMAGE = 0
  148. local CHANGEMOVEMENT = 0
  149. local ANIM = "Swim"
  150. local ATTACK = false
  151. local EQUIPPED = false
  152. local HOLD = false
  153. local COMBO = 1
  154. local Rooted = false
  155. local SINE = 0
  156. local KEYHOLD = false
  157. local CHANGE = 2 / Animation_Speed
  158. local WALKINGANIM = false
  159. local WALK = 0
  160. local VALUE1 = false
  161. local VALUE2 = false
  162. local ROBLOXIDLEANIMATION = IT("Animation")
  163. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  164. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  165. --ROBLOXIDLEANIMATION.Parent = Humanoid
  166. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  167. WEAPONGUI.Name = "Weapon GUI"
  168. local Weapon = IT("Model")
  169. Weapon.Name = Weapon_Name
  170. local Effects = IT("Folder", Weapon)
  171. Effects.Name = "Effects"
  172. local ANIMATOR = Humanoid.Animator
  173. local ANIMATE = Character.Animate
  174. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  175. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  176. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  177. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  178. local TAUNTS = {"368794227","368794903","368794985"}
  179. local UNANCHOR = true
  180.  
  181. ArtificialHB = Instance.new("BindableEvent", script)
  182. ArtificialHB.Name = "ArtificialHB"
  183.  
  184. script:WaitForChild("ArtificialHB")
  185.  
  186. frame = Frame_Speed
  187. tf = 0
  188. allowframeloss = false
  189. tossremainder = false
  190. lastframe = tick()
  191. script.ArtificialHB:Fire()
  192.  
  193. game:GetService("RunService").Heartbeat:connect(function(s, p)
  194. tf = tf + s
  195. if tf >= frame then
  196. if allowframeloss then
  197. script.ArtificialHB:Fire()
  198. lastframe = tick()
  199. else
  200. for i = 1, math.floor(tf / frame) do
  201. script.ArtificialHB:Fire()
  202. end
  203. lastframe = tick()
  204. end
  205. if tossremainder then
  206. tf = 0
  207. else
  208. tf = tf - frame * math.floor(tf / frame)
  209. end
  210. end
  211. end)
  212.  
  213. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  214. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  215. end
  216.  
  217. function PositiveAngle(NUMBER)
  218. if NUMBER >= 0 then
  219. NUMBER = 0
  220. end
  221. return NUMBER
  222. end
  223.  
  224. function NegativeAngle(NUMBER)
  225. if NUMBER <= 0 then
  226. NUMBER = 0
  227. end
  228. return NUMBER
  229. end
  230.  
  231. function Swait(NUMBER)
  232. if NUMBER == 0 or NUMBER == nil then
  233. ArtificialHB.Event:wait()
  234. else
  235. for i = 1, NUMBER do
  236. ArtificialHB.Event:wait()
  237. end
  238. end
  239. end
  240.  
  241. function QuaternionFromCFrame(cf)
  242. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  243. local trace = m00 + m11 + m22
  244. if trace > 0 then
  245. local s = math.sqrt(1 + trace)
  246. local recip = 0.5 / s
  247. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  248. else
  249. local i = 0
  250. if m11 > m00 then
  251. i = 1
  252. end
  253. if m22 > (i == 0 and m00 or m11) then
  254. i = 2
  255. end
  256. if i == 0 then
  257. local s = math.sqrt(m00 - m11 - m22 + 1)
  258. local recip = 0.5 / s
  259. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  260. elseif i == 1 then
  261. local s = math.sqrt(m11 - m22 - m00 + 1)
  262. local recip = 0.5 / s
  263. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  264. elseif i == 2 then
  265. local s = math.sqrt(m22 - m00 - m11 + 1)
  266. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  267. end
  268. end
  269. end
  270.  
  271. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  272. local xs, ys, zs = x + x, y + y, z + z
  273. local wx, wy, wz = w * xs, w * ys, w * zs
  274. local xx = x * xs
  275. local xy = x * ys
  276. local xz = x * zs
  277. local yy = y * ys
  278. local yz = y * zs
  279. local zz = z * zs
  280. 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))
  281. end
  282.  
  283. function QuaternionSlerp(a, b, t)
  284. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  285. local startInterp, finishInterp;
  286. if cosTheta >= 0.0001 then
  287. if (1 - cosTheta) > 0.0001 then
  288. local theta = ACOS(cosTheta)
  289. local invSinTheta = 1 / SIN(theta)
  290. startInterp = SIN((1 - t) * theta) * invSinTheta
  291. finishInterp = SIN(t * theta) * invSinTheta
  292. else
  293. startInterp = 1 - t
  294. finishInterp = t
  295. end
  296. else
  297. if (1 + cosTheta) > 0.0001 then
  298. local theta = ACOS(-cosTheta)
  299. local invSinTheta = 1 / SIN(theta)
  300. startInterp = SIN((t - 1) * theta) * invSinTheta
  301. finishInterp = SIN(t * theta) * invSinTheta
  302. else
  303. startInterp = t - 1
  304. finishInterp = t
  305. end
  306. end
  307. 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
  308. end
  309.  
  310. function Clerp(a, b, t)
  311. local qa = {QuaternionFromCFrame(a)}
  312. local qb = {QuaternionFromCFrame(b)}
  313. local ax, ay, az = a.x, a.y, a.z
  314. local bx, by, bz = b.x, b.y, b.z
  315. local _t = 1 - t
  316. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  317. end
  318.  
  319. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  320. local frame = IT("Frame")
  321. frame.BackgroundTransparency = TRANSPARENCY
  322. frame.BorderSizePixel = BORDERSIZEPIXEL
  323. frame.Position = POSITION
  324. frame.Size = SIZE
  325. frame.BackgroundColor3 = COLOR
  326. frame.BorderColor3 = BORDERCOLOR
  327. frame.Name = NAME
  328. frame.Parent = PARENT
  329. return frame
  330. end
  331.  
  332. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  333. local label = IT("TextLabel")
  334. label.BackgroundTransparency = 1
  335. label.Size = UD2(1, 0, 1, 0)
  336. label.Position = UD2(0, 0, 0, 0)
  337. label.TextColor3 = TEXTCOLOR
  338. label.TextStrokeTransparency = STROKETRANSPARENCY
  339. label.TextTransparency = TRANSPARENCY
  340. label.FontSize = TEXTFONTSIZE
  341. label.Font = TEXTFONT
  342. label.BorderSizePixel = BORDERSIZEPIXEL
  343. label.TextScaled = false
  344. label.Text = TEXT
  345. label.Name = NAME
  346. label.Parent = PARENT
  347. return label
  348. end
  349.  
  350. function NoOutlines(PART)
  351. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  352. end
  353.  
  354.  
  355. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  356. local NEWWELD = IT(TYPE)
  357. NEWWELD.Part0 = PART0
  358. NEWWELD.Part1 = PART1
  359. NEWWELD.C0 = C0
  360. NEWWELD.C1 = C1
  361. NEWWELD.Parent = PARENT
  362. return NEWWELD
  363. end
  364.  
  365. local sound = IT("Sound",nil)
  366.  
  367. function CreateSound(ID, PARENT, VOLUME, PITCH)
  368. local NEWSOUND = nil
  369. coroutine.resume(coroutine.create(function()
  370. NEWSOUND = sound:Clone()
  371. NEWSOUND.Parent = PARENT
  372. NEWSOUND.Volume = VOLUME
  373. NEWSOUND.Pitch = PITCH
  374. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  375. Swait()
  376. NEWSOUND:play()
  377. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  378. end))
  379. return NEWSOUND
  380. end
  381.  
  382. --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})
  383. function WACKYEFFECT(Table)
  384. local TYPE = (Table.EffectType or "Sphere")
  385. local SIZE = (Table.Size or VT(1,1,1))
  386. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  387. local TRANSPARENCY = (Table.Transparency or 0)
  388. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  389. local CFRAME = (Table.CFrame or Torso.CFrame)
  390. local MOVEDIRECTION = (Table.MoveToPos or nil)
  391. local ROTATION1 = (Table.RotationX or 0)
  392. local ROTATION2 = (Table.RotationY or 0)
  393. local ROTATION3 = (Table.RotationZ or 0)
  394. local MATERIAL = (Table.Material or "Neon")
  395. local COLOR = (Table.Color or C3(1,1,1))
  396. local TIME = (Table.Time or 45)
  397. local SOUNDID = (Table.SoundID or nil)
  398. local SOUNDPITCH = (Table.SoundPitch or nil)
  399. local SOUNDVOLUME = (Table.SoundVolume or nil)
  400. coroutine.resume(coroutine.create(function()
  401. local PLAYSSOUND = false
  402. local SOUND = nil
  403. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  404. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  405. PLAYSSOUND = true
  406. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  407. end
  408. EFFECT.Color = COLOR
  409. local MSH = nil
  410. if TYPE == "Sphere" then
  411. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  412. elseif TYPE == "Block" then
  413. MSH = IT("BlockMesh",EFFECT)
  414. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  415. elseif TYPE == "Wave" then
  416. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  417. elseif TYPE == "Ring" then
  418. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  419. elseif TYPE == "Slash" then
  420. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  421. elseif TYPE == "Round Slash" then
  422. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  423. elseif TYPE == "Swirl" then
  424. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  425. elseif TYPE == "Skull" then
  426. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  427. elseif TYPE == "Crystal" then
  428. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  429. end
  430. if MSH ~= nil then
  431. local MOVESPEED = nil
  432. if MOVEDIRECTION ~= nil then
  433. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  434. end
  435. local GROWTH = SIZE - ENDSIZE
  436. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  437. if TYPE == "Block" then
  438. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  439. else
  440. EFFECT.CFrame = CFRAME
  441. end
  442. for LOOP = 1, TIME+1 do
  443. Swait()
  444. MSH.Scale = MSH.Scale - GROWTH/TIME
  445. if TYPE == "Wave" then
  446. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  447. end
  448. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  449. if TYPE == "Block" then
  450. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  451. else
  452. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  453. end
  454. if MOVEDIRECTION ~= nil then
  455. local ORI = EFFECT.Orientation
  456. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  457. EFFECT.Orientation = ORI
  458. end
  459. end
  460. if PLAYSSOUND == false then
  461. EFFECT:remove()
  462. else
  463. SOUND.Stopped:Connect(function()
  464. EFFECT:remove()
  465. end)
  466. end
  467. else
  468. if PLAYSSOUND == false then
  469. EFFECT:remove()
  470. else
  471. repeat Swait() until SOUND.Playing == false
  472. EFFECT:remove()
  473. end
  474. end
  475. end))
  476. end
  477.  
  478. function MakeForm(PART,TYPE)
  479. if TYPE == "Cyl" then
  480. local MSH = IT("CylinderMesh",PART)
  481. elseif TYPE == "Ball" then
  482. local MSH = IT("SpecialMesh",PART)
  483. MSH.MeshType = "Sphere"
  484. elseif TYPE == "Wedge" then
  485. local MSH = IT("SpecialMesh",PART)
  486. MSH.MeshType = "Wedge"
  487. end
  488. end
  489.  
  490. Debris = game:GetService("Debris")
  491.  
  492. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  493. local DIRECTION = CF(StartPos,EndPos).lookVector
  494. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  495. end
  496.  
  497. function turnto(position)
  498. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  499. end
  500.  
  501. function SpawnTrail(FROM,TO,BIG)
  502. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  503. MakeForm(TRAIL,"Cyl")
  504. local DIST = (FROM - TO).Magnitude
  505. if BIG == true then
  506. TRAIL.Size = VT(0.5,DIST,0.5)
  507. else
  508. TRAIL.Size = VT(0.25,DIST,0.25)
  509. end
  510. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  511. coroutine.resume(coroutine.create(function()
  512. for i = 1, 5 do
  513. Swait()
  514. TRAIL.Transparency = TRAIL.Transparency + 0.1
  515. end
  516. TRAIL:remove()
  517. end))
  518. end
  519.  
  520. local asd = Instance.new("ParticleEmitter")
  521. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  522. asd.LightEmission = .1
  523. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  524. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  525. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  526. asd.Transparency = bbb
  527. asd.Size = aaa
  528. asd.ZOffset = .9
  529. asd.Acceleration = Vector3.new(0, -15, 0)
  530. asd.LockedToPart = false
  531. asd.EmissionDirection = "Back"
  532. asd.Lifetime = NumberRange.new(1, 2)
  533. asd.Rotation = NumberRange.new(-100, 100)
  534. asd.RotSpeed = NumberRange.new(-100, 100)
  535. asd.Speed = NumberRange.new(10)
  536. asd.Enabled = false
  537. asd.VelocitySpread = 999
  538.  
  539. function getbloody(victim,amount)
  540. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  541. PART.CFrame = victim.CFrame
  542. local HITPLAYERSOUNDS = {"356551938","264486467"}
  543. Debris:AddItem(PART,5)
  544. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  545. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  546. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  547. local prtcl = asd:Clone()
  548. prtcl.Parent = PART
  549. prtcl:Emit(amount*10)
  550. end
  551.  
  552. local Particle = IT("ParticleEmitter",nil)
  553. Particle.Enabled = false
  554. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  555. Particle.LightEmission = 0.5
  556. Particle.Rate = 150
  557. Particle.ZOffset = 1
  558. Particle.Rotation = NumberRange.new(-180, 180)
  559. Particle.RotSpeed = NumberRange.new(-180, 180)
  560. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  561. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  562.  
  563. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  564. function ParticleEmitter(Table)
  565. local PRTCL = Particle:Clone()
  566. local Speed = Table.Speed or 5
  567. local Drag = Table.Drag or 0
  568. local Size1 = Table.Size1 or 1
  569. local Size2 = Table.Size2 or 5
  570. local Lifetime1 = Table.Lifetime1 or 1
  571. local Lifetime2 = Table.Lifetime2 or 1.5
  572. local Parent = Table.Parent or Torso
  573. local Emit = Table.Emit or 100
  574. local Offset = Table.Offset or 360
  575. local Acel = Table.Acel or VT(0,0,0)
  576. local Enabled = Table.Enabled or false
  577. PRTCL.Parent = Parent
  578. PRTCL.Size = NumberSequence.new(Size1,Size2)
  579. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  580. PRTCL.Speed = NumberRange.new(Speed)
  581. PRTCL.VelocitySpread = Offset
  582. PRTCL.Drag = Drag
  583. PRTCL.Acceleration = Acel
  584. if Enabled == false then
  585. PRTCL:Emit(Emit)
  586. Debris:AddItem(PRTCL,Lifetime2)
  587. else
  588. PRTCL.Enabled = true
  589. end
  590. return PRTCL
  591. end
  592.  
  593.  
  594. function CFrameFromTopBack(at, top, back)
  595. local right = top:Cross(back)
  596. 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)
  597. end
  598.  
  599. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  600. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  601. local mesh = IT("SpecialMesh",wave)
  602. mesh.MeshType = "FileMesh"
  603. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  604. mesh.Scale = SIZE
  605. mesh.Offset = VT(0,0,-SIZE.X/8)
  606. wave.CFrame = CFRAME
  607. coroutine.resume(coroutine.create(function(PART)
  608. for i = 1, WAIT do
  609. Swait()
  610. mesh.Scale = mesh.Scale + GROW
  611. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  612. if DOESROT == true then
  613. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  614. end
  615. wave.Transparency = wave.Transparency + (0.5/WAIT)
  616. if wave.Transparency > 0.99 then
  617. wave:remove()
  618. end
  619. end
  620. end))
  621. end
  622.  
  623. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  624. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  625. local mesh = IT("SpecialMesh",wave)
  626. mesh.MeshType = "FileMesh"
  627. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  628. mesh.Scale = SIZE
  629. mesh.Offset = VT(0,0,-SIZE.X/8)
  630. wave.CFrame = CFRAME
  631. coroutine.resume(coroutine.create(function(PART)
  632. for i = 1, WAIT do
  633. Swait()
  634. mesh.Scale = mesh.Scale + GROW
  635. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  636. if DOESROT == true then
  637. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  638. end
  639. wave.Transparency = wave.Transparency + (0.5/WAIT)
  640. if wave.Transparency > 0.99 then
  641. wave:remove()
  642. end
  643. end
  644. end))
  645. end
  646.  
  647. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  648. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  649. local mesh = IT("SpecialMesh",wave)
  650. mesh.MeshType = "FileMesh"
  651. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  652. mesh.Scale = SIZE
  653. mesh.Offset = VT(0,0,-SIZE.X/8)
  654. wave.CFrame = CFRAME
  655. coroutine.resume(coroutine.create(function(PART)
  656. for i = 1, WAIT do
  657. Swait()
  658. mesh.Scale = mesh.Scale + GROW
  659. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  660. if DOESROT == true then
  661. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  662. end
  663. wave.Transparency = wave.Transparency + (0.5/WAIT)
  664. if wave.Transparency > 0.99 then
  665. wave:remove()
  666. end
  667. end
  668. end))
  669. end
  670.  
  671. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  672. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  673. local mesh = IT("SpecialMesh",wave)
  674. mesh.MeshType = "FileMesh"
  675. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  676. mesh.Scale = SIZE
  677. mesh.Offset = VT(0,0,-SIZE.X/8)
  678. wave.CFrame = CFRAME
  679. coroutine.resume(coroutine.create(function(PART)
  680. for i = 1, WAIT do
  681. Swait()
  682. mesh.Scale = mesh.Scale + GROW
  683. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  684. if DOESROT == true then
  685. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  686. end
  687. wave.Transparency = wave.Transparency + (0.5/WAIT)
  688. if wave.Transparency > 0.99 then
  689. wave:remove()
  690. end
  691. end
  692. end))
  693. end
  694.  
  695. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  696. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  697. local mesh = IT("SpecialMesh",wave)
  698. mesh.MeshType = "FileMesh"
  699. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  700. mesh.Scale = SIZE
  701. wave.CFrame = CFRAME
  702. coroutine.resume(coroutine.create(function(PART)
  703. for i = 1, WAIT do
  704. Swait()
  705. mesh.Scale = mesh.Scale + GROW
  706. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  707. if DOESROT == true then
  708. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  709. end
  710. wave.Transparency = wave.Transparency + (0.5/WAIT)
  711. if wave.Transparency > 0.99 then
  712. wave:remove()
  713. end
  714. end
  715. end))
  716. end
  717.  
  718. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  719. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  720. local mesh = IT("SpecialMesh",wave)
  721. mesh.MeshType = "FileMesh"
  722. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  723. mesh.Scale = SIZE
  724. wave.CFrame = CFRAME
  725. coroutine.resume(coroutine.create(function(PART)
  726. for i = 1, WAIT do
  727. Swait()
  728. mesh.Scale = mesh.Scale + GROW
  729. if DOESROT == true then
  730. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  731. end
  732. wave.Transparency = wave.Transparency + (0.5/WAIT)
  733. if wave.Transparency > 0.99 then
  734. wave:remove()
  735. end
  736. end
  737. end))
  738. end
  739.  
  740. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  741. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  742. local mesh = IT("SpecialMesh",wave)
  743. mesh.MeshType = "FileMesh"
  744. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  745. mesh.Scale = SIZE
  746. mesh.Offset = VT(0,0,0)
  747. wave.CFrame = CFRAME
  748. coroutine.resume(coroutine.create(function(PART)
  749. for i = 1, WAIT do
  750. Swait()
  751. mesh.Scale = mesh.Scale + GROW
  752. if DOESROT == true then
  753. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  754. end
  755. wave.Transparency = wave.Transparency + (0.5/WAIT)
  756. if wave.Transparency > 0.99 then
  757. wave:remove()
  758. end
  759. end
  760. end))
  761. end
  762.  
  763. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  764. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  765. local mesh = IT("SpecialMesh",wave)
  766. mesh.MeshType = "Sphere"
  767. mesh.Scale = SIZE
  768. mesh.Offset = VT(0,0,0)
  769. wave.CFrame = CFRAME
  770. coroutine.resume(coroutine.create(function(PART)
  771. for i = 1, WAIT do
  772. Swait()
  773. mesh.Scale = mesh.Scale + GROW
  774. wave.Transparency = wave.Transparency + (1/WAIT)
  775. if wave.Transparency > 0.99 then
  776. wave:remove()
  777. end
  778. end
  779. end))
  780. end
  781.  
  782. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  783. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  784. local mesh = IT("BlockMesh",wave)
  785. wave.CFrame = CFRAME
  786. coroutine.resume(coroutine.create(function(PART)
  787. for i = 1, WAIT do
  788. Swait()
  789. mesh.Scale = mesh.Scale + GROW
  790. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  791. wave.Transparency = wave.Transparency + (1/WAIT)
  792. if wave.Transparency > 0.99 then
  793. wave:remove()
  794. end
  795. end
  796. end))
  797. end
  798.  
  799. function MakeForm(PART,TYPE)
  800. if TYPE == "Cyl" then
  801. local MSH = IT("CylinderMesh",PART)
  802. elseif TYPE == "Ball" then
  803. local MSH = IT("SpecialMesh",PART)
  804. MSH.MeshType = "Sphere"
  805. elseif TYPE == "Wedge" then
  806. local MSH = IT("SpecialMesh",PART)
  807. MSH.MeshType = "Wedge"
  808. elseif TYPE == "Head" then
  809. local MSH = IT("SpecialMesh",PART)
  810. MSH.Scale = VT(1.25,1.25,1.25)
  811. end
  812. end
  813.  
  814. function CheckTableForString(Table, String)
  815. for i, v in pairs(Table) do
  816. if string.find(string.lower(String), string.lower(v)) then
  817. return true
  818. end
  819. end
  820. return false
  821. end
  822.  
  823. function CheckIntangible(Hit)
  824. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  825. if Hit and Hit.Parent then
  826. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  827. return true
  828. end
  829. end
  830. return false
  831. end
  832.  
  833. Debris = game:GetService("Debris")
  834.  
  835. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  836. local Direction = CFrame.new(StartPos, Vec).lookVector
  837. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  838. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  839. if RayHit and CheckIntangible(RayHit) then
  840. if DelayIfHit then
  841. wait()
  842. end
  843. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  844. end
  845. return RayHit, RayPos, RayNormal
  846. end
  847.  
  848. function CreateMagicCircle()
  849. local sinkhole = IT("Part")
  850. sinkhole.Size = VT(0,0,0)
  851. sinkhole.Parent = Effects
  852. sinkhole.Material = "Neon"
  853. sinkhole.Color = C3(0,0,0)
  854. sinkhole.Anchored = true
  855. sinkhole.CanCollide = false
  856. sinkhole.Transparency = 1
  857. local decal = IT("Decal",sinkhole)
  858. decal.Face = "Top"
  859. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  860. local decal2 = IT("Decal",sinkhole)
  861. decal2.Face = "Bottom"
  862. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  863. return sinkhole
  864. end
  865.  
  866. function CreateGUICircle(TARGET)
  867. local GUI = Instance.new("BillboardGui",Character)
  868. GUI.Size = UDim2.new(0,0,0,0)
  869. GUI.Adornee = TARGET
  870. local GUI2 = IT("ImageLabel",GUI)
  871. GUI2.BackgroundTransparency = 1
  872. GUI2.BorderSizePixel = 0
  873. GUI2.Size = UDim2.new(1,0,1,0)
  874. GUI2.SizeConstraint = "RelativeYY"
  875. GUI.AlwaysOnTop = true
  876. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  877. return GUI,GUI2
  878. end
  879.  
  880. function CastWarpOutlines(TARGET)
  881. coroutine.resume(coroutine.create(function()
  882. local T = TARGET:GetChildren()
  883. for i = 1, # T do
  884. local child = T[i]
  885. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  886. local clone = child:Clone()
  887. clone.Parent = Effects
  888. clone.Anchored = true
  889. clone.CanCollide = false
  890. clone:ClearAllChildren()
  891. clone.CFrame = child.CFrame
  892. if clone.Name == "Head" then
  893. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  894. end
  895. if clone.ClassName == "MeshPart" then
  896. clone.TextureID = ""
  897. end
  898. clone.BrickColor = BRICKC"Black"
  899. clone.Material = "Neon"
  900. coroutine.resume(coroutine.create(function()
  901. for i = 1, 200 do
  902. Swait()
  903. clone.Transparency = clone.Transparency + 0.005
  904. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  905. end
  906. clone:remove()
  907. end))
  908. end
  909. end
  910. end))
  911. end
  912.  
  913. function turnto(position)
  914. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  915. end
  916.  
  917. local Player = game.Players.LocalPlayer
  918.  
  919. local Character = Player.Character
  920.  
  921. local maus = Player:GetMouse()
  922.  
  923. local H = Character["Head"]
  924.  
  925. local multiplier = 4
  926.  
  927. local ltdb = false
  928.  
  929. local Cloud = Instance.new('Part',Character)
  930.  
  931. Cloud.Size = Vector3.new(1,1,1)
  932.  
  933. Cloud.Anchored = true
  934.  
  935. Cloud.CanCollide = false
  936.  
  937. Cloud.Transparency = 0
  938.  
  939. Humanoid.DisplayDistanceType = "None"
  940. local naeeym2 = IT("BillboardGui",Character)
  941. naeeym2.AlwaysOnTop = true
  942. naeeym2.Size = UDim2.new(5,35,2,15)
  943. naeeym2.StudsOffset = Vector3.new(0,2,0)
  944. naeeym2.MaxDistance = 75
  945. naeeym2.Adornee = Character.Head
  946. naeeym2.Name = "Name"
  947. local tecks2 = IT("TextLabel",naeeym2)
  948. tecks2.BackgroundTransparency = 1
  949. tecks2.TextScaled = true
  950. tecks2.BorderSizePixel = 0
  951. tecks2.Text = "meme security"
  952. tecks2.Font = "Fantasy"
  953. tecks2.TextSize = 30
  954. tecks2.TextStrokeTransparency = 0
  955. tecks2.TextColor3 = C3(0,0,0)
  956. tecks2.TextStrokeColor3 = C3(255/255, 255/255, 0/255)
  957. tecks2.Size = UDim2.new(1,0,0.5,0)
  958. tecks2.Parent = naeeym2
  959. local top = Instance.new("Shirt")
  960. top.ShirtTemplate = "rbxassetid://45695443"
  961. top.Parent = Character
  962. top.Name = "Cloth"
  963. local bottom = Instance.new("Pants")
  964. bottom.PantsTemplate = "rbxassetid://45696190"
  965. bottom.Parent = Character
  966. bottom.Name = "Cloth"
  967.  
  968. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  969. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  970. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  971. local BODYGYRO = IT("BodyGyro", STATPART)
  972. local BODYPOSITION = IT("BodyPosition", STATPART)
  973. BODYPOSITION.P = 2000
  974. BODYPOSITION.D = 100
  975. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  976. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  977. game:GetService("Debris"):AddItem(STATPART ,5)
  978. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  979. BILLBOARDGUI.Adornee = STATPART
  980. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  981. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  982. BILLBOARDGUI.AlwaysOnTop = false
  983. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  984. TEXTLABEL.BackgroundTransparency = 1
  985. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  986. TEXTLABEL.Text = TEXT
  987. TEXTLABEL.Font = "SciFi"
  988. TEXTLABEL.FontSize="Size42"
  989. TEXTLABEL.TextColor3 = COLOR
  990. TEXTLABEL.TextStrokeTransparency = 1
  991. TEXTLABEL.TextScaled = true
  992. TEXTLABEL.TextWrapped = true
  993. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  994. if LABELTYPE == "Normal" then
  995. for i = 1, 20 do
  996. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  997. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  998. end
  999. elseif LABELTYPE == "Debuff" then
  1000. for i = 1, 20 do
  1001. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1002. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  1003. end
  1004. elseif LABELTYPE == "Shock" then
  1005. local ORIGIN = STATPART.Position
  1006. for i = 1, 20 do
  1007. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1008. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  1009. end
  1010. end
  1011. THEPART.Parent = nil
  1012. end),STATPART, BODYPOSITION, TEXTLABEL)
  1013. end
  1014.  
  1015. function BulletDetection(FROM,TO,BRUTAL)
  1016. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1017. coroutine.resume(coroutine.create(function()
  1018. if AIMHIT ~= nil then
  1019. if AIMHIT.Parent ~= Character then
  1020. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1021. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1022. if BRUTAL == true then
  1023. Kill(AIMHIT.Parent)
  1024. else
  1025. getbloody(AIMHIT,15)
  1026. AIMHIT.Parent:BreakJoints()
  1027. if AIMHIT.Name == "Head" then
  1028. AIMHIT.Name = "HEADSHOT"
  1029. AIMHIT:remove()
  1030. end
  1031. end
  1032. else
  1033. if BRUTAL == true then
  1034. Kill(AIMHIT.Parent.Parent)
  1035. else
  1036. AIMHIT.Parent.Parent:BreakJoints()
  1037. end
  1038. end
  1039. end
  1040. end
  1041. end
  1042. end))
  1043. SpawnTrail(FROM,AIMPOS)
  1044. return AIMHIT,AIMPOS,NORMAL
  1045. end
  1046.  
  1047. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  1048. local dmg = math.random(min,max)
  1049. for i,v in ipairs(workspace:GetChildren()) do
  1050. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1051. local body = v:GetChildren()
  1052. for part = 1, #body do
  1053. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1054. if(body[part].Position - position).Magnitude < radius then
  1055. if v.ClassName == "Model" then
  1056. if v:FindFirstChildOfClass("Humanoid") then
  1057. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  1058. if HUMAN.Health ~= 0 then
  1059. if HasChain == true then
  1060. local defence = Instance.new("BoolValue",v)
  1061. defence.Name = ("HitBy"..Player.Name)
  1062. game:GetService("Debris"):AddItem(defence, 1)
  1063. coroutine.resume(coroutine.create(function()
  1064. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1065. if TORSO then
  1066. --print("Found "..v.Name.."'s Torso")
  1067. local PART = IT("Part",Effects)
  1068. PART.Anchored = true
  1069. PART.CanCollide = false
  1070. PART.Transparency = 1
  1071. PART.CFrame = CF(position)
  1072. Debris:AddItem(PART,15)
  1073. local A = IT("Attachment",PART)
  1074. --TORSO.Anchored = true
  1075. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1076. --print("Chain start")
  1077. Front.CFrame = CF(position)
  1078. Front.CanCollide = true
  1079. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1080. local B = IT("Attachment",Front)
  1081. local ChainLink = IT("Beam",Effects)
  1082. ChainLink.Texture = "rbxassetid://1262544869"
  1083. ChainLink.TextureSpeed = 0
  1084. ChainLink.FaceCamera = true
  1085. ChainLink.Width0 = 3
  1086. ChainLink.Attachment0 = A
  1087. ChainLink.Attachment1 = B
  1088. ChainLink.TextureMode = "Static"
  1089. local bv = Instance.new("BodyVelocity")
  1090. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1091. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  1092. bv.Parent = Front
  1093. bv.Name = "MOVE"
  1094. --print("Chain made")
  1095. coroutine.resume(coroutine.create(function()
  1096. Swait(30)
  1097. bv:remove()
  1098. local POS = Front.Position
  1099. Front.CanCollide = false
  1100. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0)
  1101. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0)
  1102. for i = 0, 1, 0.07 do
  1103. Swait()
  1104. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  1105. end
  1106. Front:remove()
  1107. ChainLink:remove()
  1108. end))
  1109. local harm = Front.Touched:Connect(function(hit)
  1110. impale(Front,hit)
  1111. end)
  1112. end
  1113. end))
  1114. elseif DoesWarp == true then
  1115. local defence = Instance.new("BoolValue",v)
  1116. defence.Name = ("HitBy"..Player.Name)
  1117. game:GetService("Debris"):AddItem(defence, 0.001)
  1118. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1119. Warp(TORSO,Instakill)
  1120. else
  1121. if CanBeDodgedByJumping == true then
  1122. if body[part].Position.Y < position.Y+5 then
  1123. if math.random(1,100) < critrate+1 then
  1124. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  1125. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1126. else
  1127. HUMAN.Health = HUMAN.Health - dmg
  1128. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1129. end
  1130. local defence = Instance.new("BoolValue",v)
  1131. defence.Name = ("HitBy"..Player.Name)
  1132. game:GetService("Debris"):AddItem(defence, 0.01)
  1133. end
  1134. else
  1135. if beserk == true then
  1136. HUMAN.Health = 0
  1137. end
  1138. if math.random(1,100) < critrate+1 then
  1139. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  1140. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1141. else
  1142. HUMAN.Health = HUMAN.Health - dmg
  1143. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1144. end
  1145. local defence = Instance.new("BoolValue",v)
  1146. defence.Name = ("HitBy"..Player.Name)
  1147. game:GetService("Debris"):AddItem(defence, 0.01)
  1148. end
  1149. end
  1150. end
  1151. end
  1152. end
  1153. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1154. end
  1155. end
  1156. end
  1157. if v.ClassName == "Part" then
  1158. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1159. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1160. end
  1161. end
  1162. end
  1163. end
  1164. end
  1165.  
  1166. function Warp(Victim,WarpToVoid)
  1167. print("Warping "..Victim.Name.."...")
  1168. Victim.Anchored = true
  1169. coroutine.resume(coroutine.create(function()
  1170. local GUI,GUI2 = CreateGUICircle(Victim)
  1171. CreateSound("1208650519", Victim, 10, 1)
  1172. for i = 1, 100 do
  1173. Swait()
  1174. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  1175. GUI2.Rotation = GUI2.Rotation + 4
  1176. end
  1177. CastWarpOutlines(Victim.Parent)
  1178. if WarpToVoid == false then
  1179. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  1180. CreateSound("1177785010", Victim, 10, 1)
  1181. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  1182. if HUMANOID ~= nil then
  1183. local dmg = MRANDOM(75,95)
  1184. HUMANOID.Health = HUMANOID.Health - dmg
  1185. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  1186. end
  1187. for i = 1, 50 do
  1188. Swait()
  1189. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1190. GUI2.Rotation = GUI2.Rotation - 8
  1191. end
  1192. Victim.Anchored = false
  1193. GUI:remove()
  1194. elseif WarpToVoid == true then
  1195. CastWarpOutlines(Victim.Parent)
  1196. q = Victim.Parent:GetChildren()
  1197. for i = 1, #q do
  1198. if q[i] ~= Victim then
  1199. q[i]:remove()
  1200. end
  1201. end
  1202. CreateSound("1177785010", Victim, 10, 1)
  1203. Victim.Transparency = 1
  1204. for i = 1, 50 do
  1205. Swait()
  1206. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1207. GUI2.Rotation = GUI2.Rotation - 8
  1208. end
  1209. Victim.Parent:remove()
  1210. end
  1211. end))
  1212. end
  1213.  
  1214. function killnearest(position,range,maxstrength)
  1215. for i,v in ipairs(workspace:GetChildren()) do
  1216. local body = v:GetChildren()
  1217. for part = 1, #body do
  1218. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1219. if(body[part].Position - position).Magnitude < range then
  1220. if v.ClassName == "Model" then
  1221. v:BreakJoints()
  1222. end
  1223. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1224. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1225. end
  1226. end
  1227. end
  1228. if v.ClassName == "Part" then
  1229. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1230. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1231. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1232. end
  1233. end
  1234. end
  1235. end
  1236.  
  1237. function AttackTemplate()
  1238. ATTACK = true
  1239. Rooted = false
  1240. for i=0, 1, 0.1 / Animation_Speed do
  1241. Swait()
  1242. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1244. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1245. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1247. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1248. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1249. end
  1250. ATTACK = false
  1251. Rooted = false
  1252. end
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267. wait()
  1268. local Player = game.Players.localPlayer
  1269. local Character = Player.Character
  1270. local plr = game:service'Players'.LocalPlayer
  1271. local Humanoid = Character.Humanoid
  1272. local char = plr.Character
  1273. local hum = char.Humanoid
  1274. local ra = char["Right Arm"]
  1275. local la= char["Left Arm"]
  1276. local rl= char["Right Leg"]
  1277. local ll = char["Left Leg"]
  1278. local hed = char.Head
  1279. local root = char.HumanoidRootPart
  1280. local rootj = root.RootJoint
  1281. local tors = char.Torso
  1282. local mouse = plr:GetMouse()
  1283. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1284. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1285. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1286. local cam = game.Workspace.CurrentCamera
  1287. trazx = Instance.new("ParticleEmitter")
  1288. c = game.Players.LocalPlayer.Character
  1289. local sine=0
  1290. Character.Head.face.Texture = "rbxassetid://183225545"
  1291.  
  1292. -------------------------------------------------------
  1293. --Start Good Stuff--
  1294. -------------------------------------------------------
  1295. CF = CFrame.new
  1296. angles = CFrame.Angles
  1297. attack = false
  1298. timetofly = true
  1299. Euler = CFrame.fromEulerAnglesXYZ
  1300. Rad = math.rad
  1301. IT = Instance.new
  1302. BrickC = BrickColor.new
  1303. Cos = math.cos
  1304. Acos = math.acos
  1305. Sin = math.sin
  1306. Asin = math.asin
  1307. Abs = math.abs
  1308. Mrandom = math.random
  1309. Floor = math.floor
  1310. random = math.random
  1311. radian = math.rad
  1312. Vec3 = Vector3.new
  1313. cFrame = CFrame.new
  1314. Euler = CFrame.fromEulerAnglesXYZ
  1315. -------------------------------------------------------
  1316. --End Good Stuff--
  1317. -------------------------------------------------------
  1318. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1319. RSH, LSH = nil, nil
  1320. RW = Instance.new("Weld")
  1321. LW = Instance.new("Weld")
  1322. RH = tors["Right Hip"]
  1323. LH = tors["Left Hip"]
  1324. RSH = tors["Right Shoulder"]
  1325. LSH = tors["Left Shoulder"]
  1326. RSH.Parent = nil
  1327. LSH.Parent = nil
  1328. RW.Name = "RW"
  1329. RW.Part0 = tors
  1330. RW.C0 = CF(1.5, 0.5, 0)
  1331. RW.C1 = CF(0, 0.5, 0)
  1332. RW.Part1 = ra
  1333. RW.Parent = tors
  1334. LW.Name = "LW"
  1335. LW.Part0 = tors
  1336. LW.C0 = CF(-1.5, 0.5, 0)
  1337. LW.C1 = CF(0, 0.5, 0)
  1338. LW.Part1 = la
  1339. LW.Parent = tors
  1340. Effects = {}
  1341.  
  1342. -------------------------------------------------------
  1343. --Start HeartBeat--
  1344. -------------------------------------------------------
  1345. ArtificialHB = Instance.new("BindableEvent", script)
  1346. ArtificialHB.Name = "Heartbeat"
  1347. script:WaitForChild("Heartbeat")
  1348.  
  1349. frame = 1 / 60
  1350. tf = 0
  1351. allowframeloss = false
  1352. tossremainder = false
  1353.  
  1354.  
  1355. lastframe = tick()
  1356. script.Heartbeat:Fire()
  1357.  
  1358.  
  1359. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1360. tf = tf + s
  1361. if tf >= frame then
  1362. if allowframeloss then
  1363. script.Heartbeat:Fire()
  1364. lastframe = tick()
  1365. else
  1366. for i = 1, math.floor(tf / frame) do
  1367. script.Heartbeat:Fire()
  1368. end
  1369. lastframe = tick()
  1370. end
  1371. if tossremainder then
  1372. tf = 0
  1373. else
  1374. tf = tf - frame * math.floor(tf / frame)
  1375. end
  1376. end
  1377. end)
  1378. -------------------------------------------------------
  1379. --End HeartBeat--
  1380. -------------------------------------------------------
  1381.  
  1382. function CameraEnshaking(Length, Intensity) --Took Straight from StarGlitcher!
  1383. coroutine.resume(coroutine.create(function()
  1384. local intensity = 1 * Intensity
  1385. local rotM = 0.01 * Intensity
  1386. for i = 0, Length, 0.1 do
  1387. swait()
  1388. intensity = intensity - 0.05 * Intensity / Length
  1389. rotM = rotM - 5.0E-4 * Intensity / Length
  1390. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  1391. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  1392. end
  1393. Humanoid.CameraOffset = Vec3(0, 0, 0)
  1394. end))
  1395. end
  1396.  
  1397. local joyemoji = Instance.new('ParticleEmitter', tors)
  1398. joyemoji.VelocitySpread = 2000
  1399. joyemoji.Lifetime = NumberRange.new(1)
  1400. joyemoji.Speed = NumberRange.new(40)
  1401. joy= {}
  1402. for i=0, 19 do
  1403. joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1404. end
  1405. joyemoji.Size = NumberSequence.new(joy)
  1406. joyemoji.Rate = 0
  1407. joyemoji.LockedToPart = false
  1408. joyemoji.LightEmission = 0
  1409. joyemoji.Texture = "rbxassetid://1176402123"
  1410. joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  1411.  
  1412.  
  1413. local LIT = Instance.new('ParticleEmitter', tors)
  1414. LIT.VelocitySpread = 2000
  1415. LIT.Lifetime = NumberRange.new(1)
  1416. LIT.Speed = NumberRange.new(45)
  1417. nani= {}
  1418. for i=0, 19 do
  1419. nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1420. end
  1421. LIT.Size = NumberSequence.new(nani)
  1422. LIT.Rate = 0
  1423. LIT.LockedToPart = false
  1424. LIT.LightEmission = 0
  1425. LIT.Texture = "rbxassetid://1492670151"
  1426. LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  1427.  
  1428. local toast = Instance.new('ParticleEmitter', tors)
  1429. toast.VelocitySpread = 2000
  1430. toast.Lifetime = NumberRange.new(1)
  1431. toast.Speed = NumberRange.new(60)
  1432. toasterstoasttoast= {}
  1433. for i=0, 19 do
  1434. toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1435. end
  1436. toast.Size = NumberSequence.new(toasterstoasttoast)
  1437. toast.Rate = 0
  1438. toast.LockedToPart = false
  1439. toast.LightEmission = 0
  1440. toast.Texture = "rbxassetid://436096230"
  1441. toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  1442.  
  1443. local ok = Instance.new('ParticleEmitter', tors)
  1444. ok.VelocitySpread = 2000
  1445. ok.Lifetime = NumberRange.new(1)
  1446. ok.Speed = NumberRange.new(50)
  1447. cool= {}
  1448. for i=0, 19 do
  1449. cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1450. end
  1451. ok.Size = NumberSequence.new(cool)
  1452. ok.Rate = 0
  1453. ok.LockedToPart = false
  1454. ok.LightEmission = 0
  1455. ok.Texture = "rbxassetid://636768448"
  1456. ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  1457.  
  1458. -------------------------------------------------------
  1459. --Start Kyu's shitty stuff--
  1460. -------------------------------------------------------
  1461.  
  1462. function ragdoll(model)
  1463. local char = model
  1464. torso = char.HumanoidRootPart
  1465. torso2 = char.Torso
  1466. LW.Parent = nil
  1467. RW.Parent = nil
  1468. LH.Parent = nil
  1469. RH.Parent = nil
  1470. if hum ~= nil then
  1471. hum.PlatformStand = true
  1472. end
  1473.  
  1474. local Head = char:FindFirstChild("Head")
  1475. if Head then
  1476. local Neck = Instance.new("Weld")
  1477. Neck.Name = "Neck"
  1478. Neck.Part0 = torso
  1479. Neck.Part1 = Head
  1480. Neck.C0 = CFrame.new(0, 1.5, 0)
  1481. Neck.C1 = CFrame.new()
  1482. Neck.Parent = torso
  1483. end
  1484. local Limb = char:FindFirstChild("Right Arm")
  1485. if Limb then
  1486.  
  1487. Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  1488. local Joint = Instance.new("Glue")
  1489. Joint.Name = "RightShoulder"
  1490. Joint.Part0 = torso
  1491. Joint.Part1 = Limb
  1492. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1493. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1494. Joint.Parent = torso
  1495.  
  1496. local B = Instance.new("Part")
  1497. B.TopSurface = 0
  1498. B.BottomSurface = 0
  1499. B.formFactor = "Symmetric"
  1500. B.Size = Vector3.new(1, 1, 1)
  1501. B.Transparency = 1
  1502. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1503. B.Parent = char
  1504. local W = Instance.new("Weld")
  1505. W.Part0 = Limb
  1506. W.Part1 = B
  1507. W.C0 = CFrame.new(0, -0.5, 0)
  1508. W.Parent = Limb
  1509.  
  1510. end
  1511. local Limb = char:FindFirstChild("Left Arm")
  1512. if Limb then
  1513.  
  1514. Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  1515. local Joint = Instance.new("Glue")
  1516. Joint.Name = "LeftShoulder"
  1517. Joint.Part0 = torso
  1518. Joint.Part1 = Limb
  1519. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1520. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1521. Joint.Parent = torso
  1522.  
  1523. local B = Instance.new("Part")
  1524. B.TopSurface = 0
  1525. B.BottomSurface = 0
  1526. B.formFactor = "Symmetric"
  1527. B.Size = Vector3.new(1, 1, 1)
  1528. B.Transparency = 1
  1529. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1530. B.Parent = char
  1531. local W = Instance.new("Weld")
  1532. W.Part0 = Limb
  1533. W.Part1 = B
  1534. W.C0 = CFrame.new(0, -0.5, 0)
  1535. W.Parent = Limb
  1536.  
  1537. end
  1538. local Limb = char:FindFirstChild("Right Leg")
  1539. if Limb then
  1540.  
  1541. Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  1542. local Joint = Instance.new("Glue")
  1543. Joint.Name = "RightHip"
  1544. Joint.Part0 = torso
  1545. Joint.Part1 = Limb
  1546. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1547. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1548. Joint.Parent = torso
  1549.  
  1550. local B = Instance.new("Part")
  1551. B.TopSurface = 0
  1552. B.BottomSurface = 0
  1553. B.formFactor = "Symmetric"
  1554. B.Size = Vector3.new(1, 1, 1)
  1555. B.Transparency = 1
  1556. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1557. B.Parent = char
  1558. local W = Instance.new("Weld")
  1559. W.Part0 = Limb
  1560. W.Part1 = B
  1561. W.C0 = CFrame.new(0, -0.5, 0)
  1562. W.Parent = Limb
  1563.  
  1564. end
  1565. local Limb = char:FindFirstChild("Left Leg")
  1566. if Limb then
  1567.  
  1568. Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  1569. local Joint = Instance.new("Glue")
  1570. Joint.Name = "LeftHip"
  1571. Joint.Part0 = torso
  1572. Joint.Part1 = Limb
  1573. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1574. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1575. Joint.Parent = torso
  1576.  
  1577. local B = Instance.new("Part")
  1578. B.TopSurface = 0
  1579. B.BottomSurface = 0
  1580. B.formFactor = "Symmetric"
  1581. B.Size = Vector3.new(1, 1, 1)
  1582. B.Transparency = 1
  1583. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1584. B.Parent = char
  1585. local W = Instance.new("Weld")
  1586. W.Part0 = Limb
  1587. W.Part1 = B
  1588. W.C0 = CFrame.new(0, -0.5, 0)
  1589. W.Parent = Limb
  1590.  
  1591. end
  1592. --[
  1593. local Bar = Instance.new("Part")
  1594. Bar.TopSurface = 0
  1595. Bar.BottomSurface = 0
  1596. Bar.formFactor = "Symmetric"
  1597. Bar.Size = Vector3.new(1, 1, 1)
  1598. Bar.Transparency = 1
  1599. Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  1600. Bar.Parent = char
  1601. local Weld = Instance.new("Weld")
  1602. Weld.Part0 = torso
  1603. Weld.Part1 = Bar
  1604. Weld.C0 = CFrame.new(0, 0.5, 0)
  1605. Weld.Parent = torso
  1606. --]]
  1607.  
  1608. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  1609.  
  1610. end
  1611.  
  1612. -------------------------------------------------------
  1613. --End Kyu's shitty stuff--
  1614. -------------------------------------------------------
  1615.  
  1616. -------------------------------------------------------
  1617. --Start Important Functions--
  1618. -------------------------------------------------------
  1619. function swait(num)
  1620. if num == 0 or num == nil then
  1621. game:service("RunService").Stepped:wait(0)
  1622. else
  1623. for i = 0, num do
  1624. game:service("RunService").Stepped:wait(0)
  1625. end
  1626. end
  1627. end
  1628. function thread(f)
  1629. coroutine.resume(coroutine.create(f))
  1630. end
  1631. function clerp(a, b, t)
  1632. local qa = {
  1633. QuaternionFromCFrame(a)
  1634. }
  1635. local qb = {
  1636. QuaternionFromCFrame(b)
  1637. }
  1638. local ax, ay, az = a.x, a.y, a.z
  1639. local bx, by, bz = b.x, b.y, b.z
  1640. local _t = 1 - t
  1641. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1642. end
  1643. function QuaternionFromCFrame(cf)
  1644. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1645. local trace = m00 + m11 + m22
  1646. if trace > 0 then
  1647. local s = math.sqrt(1 + trace)
  1648. local recip = 0.5 / s
  1649. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1650. else
  1651. local i = 0
  1652. if m00 < m11 then
  1653. i = 1
  1654. end
  1655. if m22 > (i == 0 and m00 or m11) then
  1656. i = 2
  1657. end
  1658. if i == 0 then
  1659. local s = math.sqrt(m00 - m11 - m22 + 1)
  1660. local recip = 0.5 / s
  1661. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1662. elseif i == 1 then
  1663. local s = math.sqrt(m11 - m22 - m00 + 1)
  1664. local recip = 0.5 / s
  1665. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1666. elseif i == 2 then
  1667. local s = math.sqrt(m22 - m00 - m11 + 1)
  1668. local recip = 0.5 / s
  1669. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1670. end
  1671. end
  1672. end
  1673. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1674. local xs, ys, zs = x + x, y + y, z + z
  1675. local wx, wy, wz = w * xs, w * ys, w * zs
  1676. local xx = x * xs
  1677. local xy = x * ys
  1678. local xz = x * zs
  1679. local yy = y * ys
  1680. local yz = y * zs
  1681. local zz = z * zs
  1682. 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))
  1683. end
  1684. function QuaternionSlerp(a, b, t)
  1685. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1686. local startInterp, finishInterp
  1687. if cosTheta >= 1.0E-4 then
  1688. if 1 - cosTheta > 1.0E-4 then
  1689. local theta = math.acos(cosTheta)
  1690. local invSinTheta = 1 / Sin(theta)
  1691. startInterp = Sin((1 - t) * theta) * invSinTheta
  1692. finishInterp = Sin(t * theta) * invSinTheta
  1693. else
  1694. startInterp = 1 - t
  1695. finishInterp = t
  1696. end
  1697. elseif 1 + cosTheta > 1.0E-4 then
  1698. local theta = math.acos(-cosTheta)
  1699. local invSinTheta = 1 / Sin(theta)
  1700. startInterp = Sin((t - 1) * theta) * invSinTheta
  1701. finishInterp = Sin(t * theta) * invSinTheta
  1702. else
  1703. startInterp = t - 1
  1704. finishInterp = t
  1705. end
  1706. 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
  1707. end
  1708. function rayCast(Position, Direction, Range, Ignore)
  1709. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1710. end
  1711. local RbxUtility = LoadLibrary("RbxUtility")
  1712. local Create = RbxUtility.Create
  1713.  
  1714. -------------------------------------------------------
  1715. --Start Damage Function--
  1716. -------------------------------------------------------
  1717. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1718. if hit.Parent == nil then
  1719. return
  1720. end
  1721. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1722. for _, v in pairs(hit.Parent:children()) do
  1723. if v:IsA("Humanoid") then
  1724. h = v
  1725. end
  1726. end
  1727. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1728. warn'No R15 allowed'
  1729. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1730. end
  1731.  
  1732. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1733. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1734. if hit.Parent.DebounceHit.Value == true then
  1735. return
  1736. end
  1737. end
  1738. if insta == true then
  1739. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1740. end
  1741. local c = Create("ObjectValue"){
  1742. Name = "creator",
  1743. Value = game:service("Players").LocalPlayer,
  1744. Parent = h,
  1745. }
  1746. game:GetService("Debris"):AddItem(c, .5)
  1747. if HitSound ~= nil and HitPitch ~= nil then
  1748. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1749. end
  1750. local Damage = math.random(minim, maxim)
  1751. local blocked = false
  1752. local block = hit.Parent:findFirstChild("Block")
  1753. if block ~= nil then
  1754. if block.className == "IntValue" then
  1755. if block.Value > 0 then
  1756. blocked = true
  1757. block.Value = block.Value - 1
  1758. print(block.Value)
  1759. end
  1760. end
  1761. end
  1762. if blocked == false then
  1763. h.Health = h.Health - Damage
  1764. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1765. else
  1766. h.Health = h.Health - (Damage / 2)
  1767. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1768. end
  1769. if Type == "Knockdown" then
  1770. local hum = hit.Parent.Humanoid
  1771. hum.PlatformStand = true
  1772. coroutine.resume(coroutine.create(function(HHumanoid)
  1773. swait(1)
  1774. HHumanoid.PlatformStand = false
  1775. end), hum)
  1776. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1777. local bodvol = Create("BodyVelocity"){
  1778. velocity = angle * knockback,
  1779. P = 5000,
  1780. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1781. Parent = hit,
  1782. }
  1783. local rl = Create("BodyAngularVelocity"){
  1784. P = 3000,
  1785. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1786. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1787. Parent = hit,
  1788. }
  1789. game:GetService("Debris"):AddItem(bodvol, .5)
  1790. game:GetService("Debris"):AddItem(rl, .5)
  1791. elseif Type == "Normal" then
  1792. local vp = Create("BodyVelocity"){
  1793. P = 500,
  1794. maxForce = Vector3.new(math.huge, 0, math.huge),
  1795. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1796. }
  1797. if knockback > 0 then
  1798. vp.Parent = hit.Parent.Torso
  1799. end
  1800. game:GetService("Debris"):AddItem(vp, .5)
  1801. elseif Type == "Up" then
  1802. local bodyVelocity = Create("BodyVelocity"){
  1803. velocity = Vector3.new(0, 20, 0),
  1804. P = 5000,
  1805. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1806. Parent = hit,
  1807. }
  1808. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1809. elseif Type == "DarkUp" then
  1810. coroutine.resume(coroutine.create(function()
  1811. for i = 0, 1, 0.1 do
  1812. swait()
  1813. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1814. end
  1815. end))
  1816. local bodyVelocity = Create("BodyVelocity"){
  1817. velocity = Vector3.new(0, 20, 0),
  1818. P = 5000,
  1819. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1820. Parent = hit,
  1821. }
  1822. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1823. elseif Type == "Snare" then
  1824. local bp = Create("BodyPosition"){
  1825. P = 2000,
  1826. D = 100,
  1827. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1828. position = hit.Parent.Torso.Position,
  1829. Parent = hit.Parent.Torso,
  1830. }
  1831. game:GetService("Debris"):AddItem(bp, 1)
  1832. elseif Type == "Freeze" then
  1833. local BodPos = Create("BodyPosition"){
  1834. P = 50000,
  1835. D = 1000,
  1836. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1837. position = hit.Parent.Torso.Position,
  1838. Parent = hit.Parent.Torso,
  1839. }
  1840. local BodGy = Create("BodyGyro") {
  1841. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1842. P = 20e+003,
  1843. Parent = hit.Parent.Torso,
  1844. cframe = hit.Parent.Torso.CFrame,
  1845. }
  1846. hit.Parent.Torso.Anchored = true
  1847. coroutine.resume(coroutine.create(function(Part)
  1848. swait(1.5)
  1849. Part.Anchored = false
  1850. end), hit.Parent.Torso)
  1851. game:GetService("Debris"):AddItem(BodPos, 3)
  1852. game:GetService("Debris"):AddItem(BodGy, 3)
  1853. end
  1854. local debounce = Create("BoolValue"){
  1855. Name = "DebounceHit",
  1856. Parent = hit.Parent,
  1857. Value = true,
  1858. }
  1859. game:GetService("Debris"):AddItem(debounce, Delay)
  1860. c = Create("ObjectValue"){
  1861. Name = "creator",
  1862. Value = Player,
  1863. Parent = h,
  1864. }
  1865. game:GetService("Debris"):AddItem(c, .5)
  1866. end
  1867. end
  1868. -------------------------------------------------------
  1869. --End Damage Function--
  1870. -------------------------------------------------------
  1871.  
  1872. -------------------------------------------------------
  1873. --Start Damage Function Customization--
  1874. -------------------------------------------------------
  1875. function ShowDamage(Pos, Text, Time, Color)
  1876. local Rate = (1 / 30)
  1877. local Pos = (Pos or Vector3.new(0, 0, 0))
  1878. local Text = (Text or "")
  1879. local Time = (Time or 2)
  1880. local Color = (Color or Color3.new(1, 0, 1))
  1881. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1882. EffectPart.Anchored = true
  1883. local BillboardGui = Create("BillboardGui"){
  1884. Size = UDim2.new(3, 0, 3, 0),
  1885. Adornee = EffectPart,
  1886. Parent = EffectPart,
  1887. }
  1888. local TextLabel = Create("TextLabel"){
  1889. BackgroundTransparency = 1,
  1890. Size = UDim2.new(1, 0, 1, 0),
  1891. Text = Text,
  1892. Font = "Highway",
  1893. TextColor3 = Color,
  1894. TextScaled = true,
  1895. Parent = BillboardGui,
  1896. }
  1897. game.Debris:AddItem(EffectPart, (Time))
  1898. EffectPart.Parent = game:GetService("Workspace")
  1899. delay(0, function()
  1900. local Frames = (Time / Rate)
  1901. for Frame = 1, Frames do
  1902. wait(Rate)
  1903. local Percent = (Frame / Frames)
  1904. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1905. TextLabel.TextTransparency = Percent
  1906. end
  1907. if EffectPart and EffectPart.Parent then
  1908. EffectPart:Destroy()
  1909. end
  1910. end)
  1911. end
  1912. -------------------------------------------------------
  1913. --End Damage Function Customization--
  1914. -------------------------------------------------------
  1915.  
  1916. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1917. for _, c in pairs(workspace:children()) do
  1918. local hum = c:findFirstChild("Humanoid")
  1919. if hum ~= nil then
  1920. local head = c:findFirstChild("Head")
  1921. if head ~= nil then
  1922. local targ = head.Position - Part.Position
  1923. local mag = targ.magnitude
  1924. if magni >= mag and c.Name ~= plr.Name then
  1925. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  1926. end
  1927. end
  1928. end
  1929. end
  1930. end
  1931.  
  1932.  
  1933. CFuncs = {
  1934. Part = {
  1935. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1936. local Part = Create("Part")({
  1937. Parent = Parent,
  1938. Reflectance = Reflectance,
  1939. Transparency = Transparency,
  1940. CanCollide = false,
  1941. Locked = true,
  1942. BrickColor = BrickColor.new(tostring(BColor)),
  1943. Name = Name,
  1944. Size = Size,
  1945. Material = Material
  1946. })
  1947. RemoveOutlines(Part)
  1948. return Part
  1949. end
  1950. },
  1951. Mesh = {
  1952. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1953. local Msh = Create(Mesh)({
  1954. Parent = Part,
  1955. Offset = OffSet,
  1956. Scale = Scale
  1957. })
  1958. if Mesh == "SpecialMesh" then
  1959. Msh.MeshType = MeshType
  1960. Msh.MeshId = MeshId
  1961. end
  1962. return Msh
  1963. end
  1964. },
  1965. Mesh = {
  1966. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1967. local Msh = Create(Mesh)({
  1968. Parent = Part,
  1969. Offset = OffSet,
  1970. Scale = Scale
  1971. })
  1972. if Mesh == "SpecialMesh" then
  1973. Msh.MeshType = MeshType
  1974. Msh.MeshId = MeshId
  1975. end
  1976. return Msh
  1977. end
  1978. },
  1979. Weld = {
  1980. Create = function(Parent, Part0, Part1, C0, C1)
  1981. local Weld = Create("Weld")({
  1982. Parent = Parent,
  1983. Part0 = Part0,
  1984. Part1 = Part1,
  1985. C0 = C0,
  1986. C1 = C1
  1987. })
  1988. return Weld
  1989. end
  1990. },
  1991. Sound = {
  1992. Create = function(id, par, vol, pit)
  1993. coroutine.resume(coroutine.create(function()
  1994. local S = Create("Sound")({
  1995. Volume = vol,
  1996. Pitch = pit or 1,
  1997. SoundId = id,
  1998. Parent = par or workspace
  1999. })
  2000. wait()
  2001. S:play()
  2002. game:GetService("Debris"):AddItem(S, 6)
  2003. end))
  2004. end
  2005. },
  2006. ParticleEmitter = {
  2007. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2008. local fp = Create("ParticleEmitter")({
  2009. Parent = Parent,
  2010. Color = ColorSequence.new(Color1, Color2),
  2011. LightEmission = LightEmission,
  2012. Size = Size,
  2013. Texture = Texture,
  2014. Transparency = Transparency,
  2015. ZOffset = ZOffset,
  2016. Acceleration = Accel,
  2017. Drag = Drag,
  2018. LockedToPart = LockedToPart,
  2019. VelocityInheritance = VelocityInheritance,
  2020. EmissionDirection = EmissionDirection,
  2021. Enabled = Enabled,
  2022. Lifetime = LifeTime,
  2023. Rate = Rate,
  2024. Rotation = Rotation,
  2025. RotSpeed = RotSpeed,
  2026. Speed = Speed,
  2027. VelocitySpread = VelocitySpread
  2028. })
  2029. return fp
  2030. end
  2031. }
  2032. }
  2033. function RemoveOutlines(part)
  2034. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2035. end
  2036. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2037. local Part = Create("Part")({
  2038. formFactor = FormFactor,
  2039. Parent = Parent,
  2040. Reflectance = Reflectance,
  2041. Transparency = Transparency,
  2042. CanCollide = false,
  2043. Locked = true,
  2044. BrickColor = BrickColor.new(tostring(BColor)),
  2045. Name = Name,
  2046. Size = Size,
  2047. Material = Material
  2048. })
  2049. RemoveOutlines(Part)
  2050. return Part
  2051. end
  2052. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2053. local Msh = Create(Mesh)({
  2054. Parent = Part,
  2055. Offset = OffSet,
  2056. Scale = Scale
  2057. })
  2058. if Mesh == "SpecialMesh" then
  2059. Msh.MeshType = MeshType
  2060. Msh.MeshId = MeshId
  2061. end
  2062. return Msh
  2063. end
  2064. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2065. local Weld = Create("Weld")({
  2066. Parent = Parent,
  2067. Part0 = Part0,
  2068. Part1 = Part1,
  2069. C0 = C0,
  2070. C1 = C1
  2071. })
  2072. return Weld
  2073. end
  2074.  
  2075.  
  2076. -------------------------------------------------------
  2077. --Start Effect Function--
  2078. -------------------------------------------------------
  2079. EffectModel = Instance.new("Model", char)
  2080. Effects = {
  2081. Block = {
  2082. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2083. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2084. prt.Anchored = true
  2085. prt.CFrame = cframe
  2086. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2087. game:GetService("Debris"):AddItem(prt, 10)
  2088. if Type == 1 or Type == nil then
  2089. table.insert(Effects, {
  2090. prt,
  2091. "Block1",
  2092. delay,
  2093. x3,
  2094. y3,
  2095. z3,
  2096. msh
  2097. })
  2098. elseif Type == 2 then
  2099. table.insert(Effects, {
  2100. prt,
  2101. "Block2",
  2102. delay,
  2103. x3,
  2104. y3,
  2105. z3,
  2106. msh
  2107. })
  2108. else
  2109. table.insert(Effects, {
  2110. prt,
  2111. "Block3",
  2112. delay,
  2113. x3,
  2114. y3,
  2115. z3,
  2116. msh
  2117. })
  2118. end
  2119. end
  2120. },
  2121. Sphere = {
  2122. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2123. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2124. prt.Anchored = true
  2125. prt.CFrame = cframe
  2126. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0,0,0), Vector3.new(x1, y1, z1))
  2127. game:GetService("Debris"):AddItem(prt, 10)
  2128. table.insert(Effects, {
  2129. prt,
  2130. "Cylinder",
  2131. delay,
  2132. x3,
  2133. y3,
  2134. z3,
  2135. msh
  2136. })
  2137. end
  2138. },
  2139. Cylinder = {
  2140. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2141. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2142. prt.Anchored = true
  2143. prt.CFrame = cframe
  2144. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2145. game:GetService("Debris"):AddItem(prt, 10)
  2146. table.insert(Effects, {
  2147. prt,
  2148. "Cylinder",
  2149. delay,
  2150. x3,
  2151. y3,
  2152. z3,
  2153. msh
  2154. })
  2155. end
  2156. },
  2157. Wave = {
  2158. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2159. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2160. prt.Anchored = true
  2161. prt.CFrame = cframe
  2162. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2163. game:GetService("Debris"):AddItem(prt, 10)
  2164. table.insert(Effects, {
  2165. prt,
  2166. "Cylinder",
  2167. delay,
  2168. x3 / 60,
  2169. y3 / 60,
  2170. z3 / 60,
  2171. msh
  2172. })
  2173. end
  2174. },
  2175. Ring = {
  2176. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2177. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2178. prt.Anchored = true
  2179. prt.CFrame = cframe
  2180. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2181. game:GetService("Debris"):AddItem(prt, 10)
  2182. table.insert(Effects, {
  2183. prt,
  2184. "Cylinder",
  2185. delay,
  2186. x3,
  2187. y3,
  2188. z3,
  2189. msh
  2190. })
  2191. end
  2192. },
  2193. Break = {
  2194. Create = function(brickcolor, cframe, x1, y1, z1)
  2195. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2196. prt.Anchored = true
  2197. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2198. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2199. local num = math.random(10, 50) / 1000
  2200. game:GetService("Debris"):AddItem(prt, 10)
  2201. table.insert(Effects, {
  2202. prt,
  2203. "Shatter",
  2204. num,
  2205. prt.CFrame,
  2206. math.random() - math.random(),
  2207. 0,
  2208. math.random(50, 100) / 100
  2209. })
  2210. end
  2211. },
  2212. Spiral = {
  2213. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2214. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2215. prt.Anchored = true
  2216. prt.CFrame = cframe
  2217. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2218. game:GetService("Debris"):AddItem(prt, 10)
  2219. table.insert(Effects, {
  2220. prt,
  2221. "Cylinder",
  2222. delay,
  2223. x3,
  2224. y3,
  2225. z3,
  2226. msh
  2227. })
  2228. end
  2229. },
  2230. Push = {
  2231. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2232. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2233. prt.Anchored = true
  2234. prt.CFrame = cframe
  2235. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2236. game:GetService("Debris"):AddItem(prt, 10)
  2237. table.insert(Effects, {
  2238. prt,
  2239. "Cylinder",
  2240. delay,
  2241. x3,
  2242. y3,
  2243. z3,
  2244. msh
  2245. })
  2246. end
  2247. }
  2248. }
  2249. -------------------------------------------------------
  2250. --End Effect Function--
  2251. -------------------------------------------------------
  2252.  
  2253. function CreateSound(ID, PARENT, VOLUME, PITCH) --Very important.
  2254. local NSound = nil
  2255. coroutine.resume(coroutine.create(function()
  2256. NSound = Instance.new("Sound", PARENT)
  2257. NSound.Volume = VOLUME
  2258. NSound.Pitch = PITCH
  2259. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2260. swait()
  2261. NSound:play()
  2262. game:GetService("Debris"):AddItem(NSound, 10)
  2263. end))
  2264. return NSound
  2265. end
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271. -------------------------------------------------------
  2272. --End Important Functions--
  2273. -------------------------------------------------------
  2274.  
  2275. NEWS = Instance.new("Sound", tors) --O NO
  2276. NEWS.SoundId = "http://www.roblox.com/asset/?id=271850776"
  2277. NEWS.Volume = 100
  2278. NEWS.Pitch = 1
  2279. NEWS.Looped = false
  2280. NEWS.TimePosition = 1
  2281.  
  2282. AAAAA = Instance.new("Sound", tors) --aaa
  2283. AAAAA.SoundId = "http://www.roblox.com/asset/?id=0"
  2284. AAAAA.Volume = 10
  2285. AAAAA.Pitch = 1
  2286. AAAAA.Looped = false
  2287. AAAAA.TimePosition = 1
  2288.  
  2289. MERKIO = Instance.new("Sound", tors) --why
  2290. MERKIO.SoundId = "http://www.roblox.com/asset/?id=713550954"
  2291. MERKIO.Volume = 10
  2292. MERKIO.Pitch = 1
  2293. MERKIO.Looped = false
  2294. MERKIO.TimePosition = 0
  2295.  
  2296. -------------------------------------------------------
  2297. --Start Music Option--
  2298. -------------------------------------------------------
  2299. local Music = Instance.new("Sound",tors)
  2300. Music.Volume = 2.5
  2301. Music.SoundId = "rbxassetid://"
  2302. Music.Looped = true
  2303. Music.Pitch = 1 --Pitcher
  2304. Music:Play()
  2305. -------------------------------------------------------
  2306. --End Music Option--
  2307. -------------------------------------------------------
  2308. --hi fat >:)
  2309. -------------------------------------------------------
  2310. --Start Attacks N Stuff--
  2311. -------------------------------------------------------
  2312.  
  2313. function THEBESTOVERUSEDJOKEEVER() --oh god why did i make this a thing jeezus help me pls
  2314. attack = true
  2315. hum.WalkSpeed = 16
  2316. Character.Head.face.Texture = "rbxassetid://183225545"
  2317. NEWS:Play()
  2318. repeat
  2319. NEWS.Parent = tors
  2320. swait()
  2321. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  2322. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  2323. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  2324. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  2325. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  2326. LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  2327. until NEWS.Playing == false
  2328. game.Players.LocalPlayer.Character:BreakJoints()
  2329. local S = Instance.new("Explosion",workspace)
  2330. S.Position = tors.Position
  2331. S.BlastPressure = 9
  2332. S.BlastRadius = 30
  2333. S.ExplosionType = 0
  2334. attack = false
  2335. hum.WalkSpeed = 16
  2336. Character.Head.face.Texture = "rbxassetid://295197013"
  2337. attack = false
  2338. hum.WalkSpeed = 16
  2339. end
  2340.  
  2341. function sneakonehundred()
  2342. attack = true
  2343. hum.WalkSpeed = 0.03
  2344. Character.Head.face.Texture = "rbxassetid://948481357"
  2345. CreateSound("1542642349", tors, 10, 1.05)
  2346. for i = 0,20,0.1 do
  2347. swait()
  2348. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  2349. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
  2350. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2351. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2352. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(-180)), 0.4)
  2353. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(180)), 0.4)
  2354. end
  2355. CreateSound("236018639", tors, 10, 1.05)
  2356. wait(0.25)
  2357. Character.Head.face.Texture = "rbxassetid://1223903433"
  2358. for i = 0,7,0.1 do
  2359. swait()
  2360. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  2361. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
  2362. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2363. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2364. RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4)
  2365. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4)
  2366. end
  2367. Character.Head.face.Texture = "rbxassetid://183225545"
  2368. attack = false
  2369. hum.WalkSpeed = 16
  2370. end
  2371.  
  2372. function DANCEFORME()
  2373. attack = true
  2374. Character.Head.face.Texture = "rbxassetid://183225545"
  2375. MERKIO:Play()
  2376. repeat
  2377. for i = 0,0.7,0.2 do
  2378. swait()
  2379. MERKIO.Parent = tors
  2380. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  2381. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  2382. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  2383. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  2384. RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77)
  2385. LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67)
  2386. end
  2387. for i = 0,0.7,0.2 do
  2388. swait()
  2389. MERKIO.Parent = tors
  2390. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  2391. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  2392. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  2393. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  2394. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  2395. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.7)
  2396. end
  2397. until MERKIO.Playing == false
  2398. MERKIO:Stop()
  2399. Character.Head.face.Texture = "rbxassetid://183225545"
  2400. attack = false
  2401. hum.WalkSpeed = 16
  2402. end
  2403.  
  2404. function takethat()
  2405. attack = true
  2406. hum.WalkSpeed = 0
  2407. CreateSound("1238240145", tors, 10, 1.05)
  2408. for i = 0,8.3,0.1 do
  2409. swait()
  2410. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  2411. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30), Rad(0), Rad(0)), 0.7)
  2412. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  2413. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  2414. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(0)), 0.7)
  2415. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.7)
  2416. end
  2417. CreateSound("135165859", tors, 10, 1.05)
  2418. for i = 0,6,0.1 do
  2419. swait()
  2420. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2421. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.85)
  2422. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.7)
  2423. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  2424. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  2425. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-.6), Rad(0)), 0.7)
  2426. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(-.6), Rad(0 - 4.5 * Sin(sine / 20))), 0.7)
  2427. end
  2428. attack = false
  2429. hum.WalkSpeed = 16
  2430. end
  2431. function SCREAM()
  2432. attack = true
  2433. hum.WalkSpeed = 16
  2434. Character.Head.face.Texture = "rbxassetid://183225545"
  2435. local A = math.random(1,13)
  2436. if A == 1 then
  2437. AAAAA.SoundId = "rbxassetid://1213175909"
  2438. AAAAA.TimePosition = 0
  2439. end
  2440. if A == 2 then
  2441. AAAAA.SoundId = "rbxassetid://1439720915"
  2442. AAAAA.TimePosition = 0
  2443. end
  2444. if A == 3 then
  2445. AAAAA.SoundId = "rbxassetid://1213179504"
  2446. AAAAA.TimePosition = 0
  2447. end
  2448. if A == 4 then
  2449. AAAAA.SoundId = "rbxassetid://1129186687"
  2450. AAAAA.TimePosition = 0
  2451. end
  2452. if A == 5 then
  2453. AAAAA.SoundId = "rbxassetid://1163493843"
  2454. AAAAA.TimePosition = 0
  2455. end
  2456. if A == 6 then
  2457. AAAAA.SoundId = "rbxassetid://1163494840"
  2458. AAAAA.TimePosition = 0
  2459. end
  2460. if A == 7 then
  2461. AAAAA.SoundId = "rbxassetid://963936697"
  2462. AAAAA.TimePosition = 0
  2463. end
  2464. if A == 8 then
  2465. AAAAA.SoundId = "rbxassetid://1494176499"
  2466. AAAAA.TimePosition = 1
  2467. end
  2468. if A == 9 then
  2469. AAAAA.SoundId = "rbxassetid://1591656314"
  2470. AAAAA.TimePosition = 0
  2471. end
  2472. if A == 10 then
  2473. AAAAA.SoundId = "rbxassetid://130767645"
  2474. AAAAA.TimePosition = 0
  2475. end
  2476. if A == 11 then
  2477. AAAAA.SoundId = "rbxassetid://172818886"
  2478. AAAAA.TimePosition = 0
  2479. end
  2480. if A == 12 then
  2481. AAAAA.SoundId = "rbxassetid://1402021995"
  2482. AAAAA.TimePosition = 0
  2483. end
  2484. if A == 13 then
  2485. AAAAA.SoundId = "rbxassetid://130766856"
  2486. AAAAA.TimePosition = 0
  2487. end
  2488. AAAAA:Play()
  2489. repeat
  2490. swait()
  2491. AAAAA.Parent = tors
  2492. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2493. until AAAAA.Playing == false
  2494. hum.WalkSpeed = 16
  2495. attack = false
  2496. hum.WalkSpeed = 16
  2497. end
  2498.  
  2499. MoreTaunts = false
  2500. mouse.KeyDown:connect(function(key)
  2501. if attack == false then
  2502. if MoreTaunts == false then
  2503. if key == 'q' then
  2504. THEBESTOVERUSEDJOKEEVER()
  2505. elseif key == 'e' then
  2506. SCREAM()
  2507. elseif key == 'r' then
  2508. sneakonehundred()
  2509. elseif key == 't' then
  2510. DANCEFORME()
  2511. elseif key == 'y' then
  2512. takethat()
  2513. elseif key == 'z' then
  2514. local shirt = Instance.new("Shirt", game.Players.LocalPlayer.Character)
  2515. shirt.Name = "Shirt"
  2516. local pants = Instance.new("Pants", game.Players.LocalPlayer.Character)
  2517. pants.Name = "Pants"
  2518. --clothing
  2519. wait(.1)
  2520. game.Players.LocalPlayer.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=368980206"
  2521. game.Players.LocalPlayer.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=368980663"
  2522. game.Players.LocalPlayer.Character.Head.face:Remove()
  2523. local face = Instance.new("Decal",hed)
  2524. face.Texture="rbxassetid://2060629011"
  2525. end
  2526. end
  2527. end
  2528. end)
  2529.  
  2530. -------------------------------------------------------
  2531. --End Attacks N Stuff--
  2532. -------------------------------------------------------
  2533.  
  2534.  
  2535.  
  2536.  
  2537. while jumping do
  2538. Humanoid.Jump = true
  2539. wait(0.9)
  2540. end
  2541.  
  2542.  
  2543.  
  2544.  
  2545. -------------------------------------------------------
  2546. --Start Animations--
  2547. -------------------------------------------------------
  2548. local equipped = false
  2549. local idle = 0
  2550. local change = 1
  2551. local val = 0
  2552. local toim = 0
  2553. local idleanim = 0.4
  2554. hum.Animator.Parent = nil
  2555. while true do
  2556. swait()
  2557. sine = sine + change
  2558. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2559. local velderp = root.Velocity.y
  2560. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  2561. if equipped == true or equipped == false then
  2562. if attack == false then
  2563. idle = idle + 1
  2564. else
  2565. idle = 0
  2566. end
  2567. if 1 < root.Velocity.y and hitfloor == nil then
  2568. Anim = "Jump"
  2569. if attack == false then
  2570. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(60)), 0.15)
  2571. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2572. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2573. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2574. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2575. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  2576. end
  2577. elseif -1 > root.Velocity.y and hitfloor == nil then
  2578. Anim = "Fall"
  2579. if attack == false then
  2580. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(180), Rad(0), Rad(0)), 0.15)
  2581. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2582. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2583. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2584. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2585. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  2586. end
  2587. elseif torvel < 1 and hitfloor ~= nil then
  2588. Anim = "Idle"
  2589. change = 1
  2590. if attack == false then
  2591. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2592. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2593. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2594. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2595. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2596. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  2597. end
  2598. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  2599. Anim = "Walk"
  2600. change = 1
  2601. if attack == false then
  2602. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0-255.45), Rad(0), Rad(0)), 0.15)
  2603. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.3)
  2604. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2605. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2606. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2607. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  2608. end
  2609. end
  2610. end
  2611. if 0 < #Effects then
  2612. for e = 1, #Effects do
  2613. if Effects[e] ~= nil then
  2614. local Thing = Effects[e]
  2615. if Thing ~= nil then
  2616. local Part = Thing[1]
  2617. local Mode = Thing[2]
  2618. local Delay = Thing[3]
  2619. local IncX = Thing[4]
  2620. local IncY = Thing[5]
  2621. local IncZ = Thing[6]
  2622. if 1 >= Thing[1].Transparency then
  2623. if Thing[2] == "Block1" then
  2624. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2625. local Mesh = Thing[1].Mesh
  2626. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2627. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2628. elseif Thing[2] == "Block2" then
  2629. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2630. local Mesh = Thing[7]
  2631. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2632. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2633. elseif Thing[2] == "Block3" then
  2634. 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)
  2635. local Mesh = Thing[7]
  2636. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2637. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2638. elseif Thing[2] == "Cylinder" then
  2639. local Mesh = Thing[1].Mesh
  2640. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2641. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2642. elseif Thing[2] == "Blood" then
  2643. local Mesh = Thing[7]
  2644. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2645. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2646. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2647. elseif Thing[2] == "Elec" then
  2648. local Mesh = Thing[1].Mesh
  2649. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2650. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2651. elseif Thing[2] == "Disappear" then
  2652. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2653. elseif Thing[2] == "Shatter" then
  2654. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2655. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2656. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2657. Thing[6] = Thing[6] + Thing[5]
  2658. end
  2659. else
  2660. Part.Parent = nil
  2661. table.remove(Effects, e)
  2662. end
  2663. end
  2664. end
  2665. end
  2666. end
  2667. end
  2668. -------------------------------------------------------
  2669. --End Animations And Script--
  2670. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement