metilol

Untitled

Mar 3rd, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  2. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  3. txtfag.Adornee = Hello
  4. txtfag.Name = "Hoi."
  5. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  6. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  7. local textfag = Instance.new("TextLabel", txtfag)
  8. textfag.Size = UDim2.new(6, 0, 1, 0)
  9. textfag.FontSize = "Size10"
  10. textfag.TextScaled = true
  11. textfag.TextTransparency = 0
  12. textfag.BackgroundTransparency = 1
  13. textfag.TextTransparency = 0
  14. textfag.TextStrokeTransparency = 0
  15. textfag.Font = "Cartoon"
  16. textfag.TextStrokeColor3 = Color3.fromRGB(255,0,0)
  17. textfag.Text = "..."
  18. wait(0.6)
  19. textfag.Text = "Heh..."
  20. wait(0.9)
  21. textfag.Text = "Mety"
  22.  
  23. do
  24. local filteredMessages = { ['____'] = '___' };
  25. local onPropertyChanged = function (obj)
  26. if (obj:isDescendantOf (workspace)) then
  27. local objText = obj.Text;
  28.  
  29. if (objText ~= '___' and objText:find '(%S)') then
  30. if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  31. obj.Text = filteredMessages [objText];
  32. elseif (not filteredMessages [objText]) then
  33. obj.Text = '___';
  34.  
  35. local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
  36.  
  37. filteredMessages [objText] = filtered;
  38. filteredMessages [filtered] = filtered;
  39.  
  40. obj.Text = filtered;
  41. end;
  42. end;
  43. end;
  44. end;
  45.  
  46. local newInstance = Instance.new;
  47. Instance = {
  48. new = function (class, parent)
  49. local obj = newInstance (class, parent);
  50.  
  51. if (pcall (function()return obj.Text;end)) then
  52. obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
  53. obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
  54. end;
  55.  
  56. return obj;
  57. end;
  58. };
  59. end;
  60. plr = game.Players.LocalPlayer
  61. mouse = plr:GetMouse()
  62. part = nil
  63. bp = nil
  64. particles = nil
  65. base = Instance.new("ScreenGui",plr.PlayerGui)
  66. bbg = Instance.new("BillboardGui",plr.Character.Head)
  67. bbg.Size = UDim2.new(0,200,0,50)
  68. bbg.StudsOffset = Vector3.new(0,5,0)
  69. bbgTl = Instance.new("TextLabel",bbg)
  70. bbgTl.BackgroundTransparency = 1
  71. bbgTl.Size = UDim2.new(10,0,1,0)
  72. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  73. bbgTl.Font = "Cartoon"
  74. bbgTl.Text = " "
  75. bbgTl.TextSize = 40
  76. bbgTl.TextStrokeColor3 = Color3.new(300,88,99)
  77. bbgTl.TextStrokeTransparency = 0
  78. bbgTl.TextWrapped = true
  79. plr.Chatted:connect(function(msg)
  80. bbgTl.Text = msg
  81. wait(5)
  82. if bbgTl.Text == msg then
  83. bbgTl.Text = " "
  84. while true do
  85. textfag.TextColor3 = Color3.new ("Really red")
  86. bbgTl.TextColor3 = Color3.new ("Really red")
  87. wait(.1)
  88. end
  89. end
  90. end)
  91. New = function(Object, Parent, Name, Data)
  92. local Object = Instance.new(Object)
  93. for Index, Value in pairs(Data or {}) do
  94. Object[Index] = Value
  95. end
  96. Object.Parent = Parent
  97. Object.Name = Name
  98. return Object
  99. end
  100.  
  101.  
  102. Player = game:GetService("Players").LocalPlayer
  103. PlayerGui = Player.PlayerGui
  104. Cam = workspace.CurrentCamera
  105. Backpack = Player.Backpack
  106. Character = Player.Character
  107. Humanoid = Character.Humanoid
  108. Mouse = Player:GetMouse()
  109. RootPart = Character["HumanoidRootPart"]
  110. Torso = Character["Torso"]
  111. Head = Character["Head"]
  112. RightArm = Character["Right Arm"]
  113. LeftArm = Character["Left Arm"]
  114. RightLeg = Character["Right Leg"]
  115. LeftLeg = Character["Left Leg"]
  116. RootJoint = RootPart["RootJoint"]
  117. Neck = Torso["Neck"]
  118. RightShoulder = Torso["Right Shoulder"]
  119. LeftShoulder = Torso["Left Shoulder"]
  120. RightHip = Torso["Right Hip"]
  121. LeftHip = Torso["Left Hip"]
  122. local sick = Instance.new("Sound",Character)
  123. sick.SoundId = "rbxassetid://200514784"
  124. sick.Looped = true
  125. sick.Pitch = 1
  126. sick.Volume = 1
  127. sick:Play()
  128. Humanoid.DisplayDistanceType = "None"
  129. game.Lighting.ClockTime = 1000000000000000000000
  130.  
  131. IT = Instance.new
  132. CF = CFrame.new
  133. VT = Vector3.new
  134. RAD = math.rad
  135. C3 = Color3.new
  136. UD2 = UDim2.new
  137. BRICKC = BrickColor.new
  138. ANGLES = CFrame.Angles
  139. EULER = CFrame.fromEulerAnglesXYZ
  140. COS = math.cos
  141. ACOS = math.acos
  142. SIN = math.sin
  143. ASIN = math.asin
  144. ABS = math.abs
  145. MRANDOM = math.random
  146. FLOOR = math.floor
  147.  
  148. local Sky = IT("Sky")
  149. Sky.Parent = game.Lighting
  150. Sky.MoonAngularSize = 43
  151. Sky.MoonTextureId = "http://www.roblox.com/asset/?id=34229693"
  152.  
  153. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  154. local NEWMESH = IT(MESH)
  155. if MESH == "SpecialMesh" then
  156. NEWMESH.MeshType = MESHTYPE
  157. if MESHID ~= "nil" and MESHID ~= "" then
  158. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  159. end
  160. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  161. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  162. end
  163. end
  164. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  165. NEWMESH.Scale = SCALE
  166. NEWMESH.Parent = PARENT
  167. return NEWMESH
  168. end
  169.  
  170. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  171. local NEWPART = IT("Part")
  172. NEWPART.formFactor = FORMFACTOR
  173. NEWPART.Reflectance = REFLECTANCE
  174. NEWPART.Transparency = TRANSPARENCY
  175. NEWPART.CanCollide = false
  176. NEWPART.Locked = true
  177. NEWPART.Anchored = true
  178. if ANCHOR == false then
  179. NEWPART.Anchored = false
  180. end
  181. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  182. NEWPART.Name = NAME
  183. NEWPART.Size = SIZE
  184. NEWPART.Position = Torso.Position
  185. NEWPART.Material = MATERIAL
  186. NEWPART:BreakJoints()
  187. NEWPART.Parent = PARENT
  188. return NEWPART
  189. end
  190.  
  191. --//=================================\\
  192. --|| CUSTOMIZATION
  193. --\\=================================//
  194.  
  195. Player_Size = 1 --Size of the player.
  196. Animation_Speed = 3
  197. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  198.  
  199. local Speed = 16
  200. local Effects2 = {}
  201.  
  202. --//=================================\\
  203. --|| END OF CUSTOMIZATION
  204. --\\=================================//
  205. Shade = New("Part",Character,"Shade",{BrickColor = BrickColor.new("Bright yellow"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  206. Mesh = New("SpecialMesh",Shade,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  207. Weld = New("ManualWeld",Shade,"Weld",{Part0 = Shade,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  208.  
  209.  
  210. local function weldBetween(a, b)
  211. local weldd = Instance.new("ManualWeld")
  212. weldd.Part0 = a
  213. weldd.Part1 = b
  214. weldd.C0 = CFrame.new()
  215. weldd.C1 = b.CFrame:inverse() * a.CFrame
  216. weldd.Parent = a
  217. return weldd
  218. end
  219.  
  220. --//=================================\\
  221. --|| USEFUL VALUES
  222. --\\=================================//
  223.  
  224. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  225. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  226. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  227. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  228. local CHANGEDEFENSE = 0
  229. local CHANGEDAMAGE = 0
  230. local CHANGEMOVEMENT = 0
  231. local ANIM = "Idle"
  232. local ATTACK = false
  233. local EQUIPPED = false
  234. local HOLD = false
  235. local COMBO = 1
  236. local Rooted = false
  237. local SINE = 0
  238. local KEYHOLD = false
  239. local CHANGE = 2 / Animation_Speed
  240. local WALKINGANIM = false
  241. local WALK = 0
  242. local VALUE1 = false
  243. local VALUE2 = false
  244. local ROBLOXIDLEANIMATION = IT("Animation")
  245. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  246. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  247. --ROBLOXIDLEANIMATION.Parent = Humanoid
  248. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  249. WEAPONGUI.Name = "Weapon GUI"
  250. local Weapon = IT("Model")
  251. Weapon.Name = "Adds"
  252. local Effects = IT("Folder", Weapon)
  253. Effects.Name = "Effects"
  254. local ANIMATOR = Humanoid.Animator
  255. local ANIMATE = Character.Animate
  256. local HITPLAYERSOUNDS = {"1383928887"}
  257. local HITARMORSOUNDS = {"1383928887"}
  258. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  259. local HITBLOCKSOUNDS = {"1383928887"}
  260. local UNANCHOR = true
  261. local KILLINSTINCT = 0
  262.  
  263. local SKILLTEXTCOLOR = C3(1,0,0)
  264.  
  265. --//=================================\\
  266. --\\=================================//
  267.  
  268.  
  269. --//=================================\\
  270. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  271. --\\=================================//
  272.  
  273. ArtificialHB = Instance.new("BindableEvent", script)
  274. ArtificialHB.Name = "ArtificialHB"
  275.  
  276. script:WaitForChild("ArtificialHB")
  277.  
  278. frame = Frame_Speed
  279. tf = 0
  280. allowframeloss = false
  281. tossremainder = false
  282. lastframe = tick()
  283. script.ArtificialHB:Fire()
  284.  
  285. game:GetService("RunService").Heartbeat:connect(function(s, p)
  286. tf = tf + s
  287. if tf >= frame then
  288. if allowframeloss then
  289. script.ArtificialHB:Fire()
  290. lastframe = tick()
  291. else
  292. for i = 1, math.floor(tf / frame) do
  293. script.ArtificialHB:Fire()
  294. end
  295. lastframe = tick()
  296. end
  297. if tossremainder then
  298. tf = 0
  299. else
  300. tf = tf - frame * math.floor(tf / frame)
  301. end
  302. end
  303. end)
  304.  
  305. --//=================================\\
  306. --\\=================================//
  307.  
  308.  
  309.  
  310.  
  311.  
  312. --//=================================\\
  313. --|| SOME FUNCTIONS
  314. --\\=================================//
  315.  
  316. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  317. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  318. end
  319.  
  320. function PositiveAngle(NUMBER)
  321. if NUMBER >= 0 then
  322. NUMBER = 0
  323. end
  324. return NUMBER
  325. end
  326.  
  327. function NegativeAngle(NUMBER)
  328. if NUMBER <= 0 then
  329. NUMBER = 0
  330. end
  331. return NUMBER
  332. end
  333.  
  334. function Swait(NUMBER)
  335. if NUMBER == 0 or NUMBER == nil then
  336. ArtificialHB.Event:wait()
  337. else
  338. for i = 1, NUMBER do
  339. ArtificialHB.Event:wait()
  340. end
  341. end
  342. end
  343.  
  344. function QuaternionFromCFrame(cf)
  345. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  346. local trace = m00 + m11 + m22
  347. if trace > 0 then
  348. local s = math.sqrt(1 + trace)
  349. local recip = 0.5 / s
  350. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  351. else
  352. local i = 0
  353. if m11 > m00 then
  354. i = 1
  355. end
  356. if m22 > (i == 0 and m00 or m11) then
  357. i = 2
  358. end
  359. if i == 0 then
  360. local s = math.sqrt(m00 - m11 - m22 + 1)
  361. local recip = 0.5 / s
  362. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  363. elseif i == 1 then
  364. local s = math.sqrt(m11 - m22 - m00 + 1)
  365. local recip = 0.5 / s
  366. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  367. elseif i == 2 then
  368. local s = math.sqrt(m22 - m00 - m11 + 1)
  369. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  370. end
  371. end
  372. end
  373.  
  374. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  375. local xs, ys, zs = x + x, y + y, z + z
  376. local wx, wy, wz = w * xs, w * ys, w * zs
  377. local xx = x * xs
  378. local xy = x * ys
  379. local xz = x * zs
  380. local yy = y * ys
  381. local yz = y * zs
  382. local zz = z * zs
  383. 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))
  384. end
  385.  
  386. function QuaternionSlerp(a, b, t)
  387. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  388. local startInterp, finishInterp;
  389. if cosTheta >= 0.0001 then
  390. if (1 - cosTheta) > 0.0001 then
  391. local theta = ACOS(cosTheta)
  392. local invSinTheta = 1 / SIN(theta)
  393. startInterp = SIN((1 - t) * theta) * invSinTheta
  394. finishInterp = SIN(t * theta) * invSinTheta
  395. else
  396. startInterp = 1 - t
  397. finishInterp = t
  398. end
  399. else
  400. if (1 + cosTheta) > 0.0001 then
  401. local theta = ACOS(-cosTheta)
  402. local invSinTheta = 1 / SIN(theta)
  403. startInterp = SIN((t - 1) * theta) * invSinTheta
  404. finishInterp = SIN(t * theta) * invSinTheta
  405. else
  406. startInterp = t - 1
  407. finishInterp = t
  408. end
  409. end
  410. 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
  411. end
  412.  
  413. function Clerp(a, b, t)
  414. local qa = {QuaternionFromCFrame(a)}
  415. local qb = {QuaternionFromCFrame(b)}
  416. local ax, ay, az = a.x, a.y, a.z
  417. local bx, by, bz = b.x, b.y, b.z
  418. local _t = 1 - t
  419. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  420. end
  421.  
  422. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  423. local frame = IT("Frame")
  424. frame.BackgroundTransparency = TRANSPARENCY
  425. frame.BorderSizePixel = BORDERSIZEPIXEL
  426. frame.Position = POSITION
  427. frame.Size = SIZE
  428. frame.BackgroundColor3 = COLOR
  429. frame.BorderColor3 = BORDERCOLOR
  430. frame.Name = NAME
  431. frame.Parent = PARENT
  432. return frame
  433. end
  434.  
  435. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  436. local label = IT("TextLabel")
  437. label.BackgroundTransparency = 1
  438. label.Size = UD2(1, 0, 1, 0)
  439. label.Position = UD2(0, 0, 0, 0)
  440. label.TextColor3 = TEXTCOLOR
  441. label.TextStrokeTransparency = STROKETRANSPARENCY
  442. label.TextTransparency = TRANSPARENCY
  443. label.FontSize = TEXTFONTSIZE
  444. label.Font = TEXTFONT
  445. label.BorderSizePixel = BORDERSIZEPIXEL
  446. label.TextScaled = false
  447. label.Text = TEXT
  448. label.Name = NAME
  449. label.Parent = PARENT
  450. return label
  451. end
  452.  
  453. function NoOutlines(PART)
  454. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  455. end
  456.  
  457.  
  458. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  459. local NEWWELD = IT(TYPE)
  460. NEWWELD.Part0 = PART0
  461. NEWWELD.Part1 = PART1
  462. NEWWELD.C0 = C0
  463. NEWWELD.C1 = C1
  464. NEWWELD.Parent = PARENT
  465. return NEWWELD
  466. end
  467.  
  468. function CreateSound(ID, PARENT, VOLUME, PITCH)
  469. local NEWSOUND = nil
  470. coroutine.resume(coroutine.create(function()
  471. NEWSOUND = IT("Sound", PARENT)
  472. NEWSOUND.Volume = VOLUME
  473. NEWSOUND.Pitch = PITCH
  474. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  475. Swait()
  476. NEWSOUND:play()
  477. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  478. end))
  479. return NEWSOUND
  480. end
  481.  
  482. function CFrameFromTopBack(at, top, back)
  483. local right = top:Cross(back)
  484. 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)
  485. end
  486.  
  487. function MakeForm(PART,TYPE)
  488. if TYPE == "Cyl" then
  489. local MSH = IT("CylinderMesh",PART)
  490. elseif TYPE == "Ball" then
  491. local MSH = IT("SpecialMesh",PART)
  492. MSH.MeshType = "Sphere"
  493. elseif TYPE == "Wedge" then
  494. local MSH = IT("SpecialMesh",PART)
  495. MSH.MeshType = "Wedge"
  496. end
  497. end
  498.  
  499. Debris = game:GetService("Debris")
  500. --//=================================\\
  501. --|| WEAPON CREATION
  502. --\\=================================//
  503.  
  504. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  505. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "145815658", "917070127", VT(0.9,0.9,0.9), VT(0, 0, 0))
  506. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(1), RAD(1), RAD(1)), CF(1, 1, 1))
  507.  
  508. local DECAL = IT("Decal",HandlePart)
  509. DECAL.Texture = "http://www.roblox.com/asset/?id=917070127"
  510.  
  511. for _, c in pairs(Weapon:GetChildren()) do
  512. if c.ClassName == "Part" then
  513. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  514. end
  515. end
  516.  
  517. local A = IT("Attachment",HandlePart)
  518. A.Position = VT(0, -1.5, 0)
  519. local B = IT("Attachment",HandlePart)
  520. B.Position = VT(0, 2.2, 1)
  521. local Trail = IT("Trail",HandlePart)
  522. Trail.Attachment0 = A
  523. Trail.Attachment1 = B
  524. Trail.Lifetime = 0.2
  525. Trail.Transparency = NumberSequence.new(-0.8, 1)
  526. Trail.Enabled = false
  527.  
  528. Weapon.Parent = Character
  529.  
  530. Humanoid.Died:connect(function()
  531. ATTACK = true
  532. end)
  533.  
  534. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  535. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  536. --local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  537. --local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  538. --local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  539.  
  540. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK] Swing", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 1")
  541. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Enrage", SKILLTEXTCOLOR, 8, "Cartoon", 0, 2, 1, "Text 2")
  542. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 3")
  543. --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text 4")
  544. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Ability 5", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 5")
  545.  
  546. --//=================================\\
  547. --|| DAMAGING
  548. --\\=================================//
  549.  
  550. local asd = Instance.new("ParticleEmitter")
  551. asd.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
  552. asd.LightEmission = .1
  553. asd.Size = NumberSequence.new(0.2)
  554. asd.Texture = "http://www.roblox.com/asset/?ID=103029617"
  555. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  556. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  557. asd.Transparency = bbb
  558. asd.Size = aaa
  559. asd.ZOffset = .9
  560. asd.Acceleration = Vector3.new(0, -5, 0)
  561. asd.LockedToPart = false
  562. asd.EmissionDirection = "Back"
  563. asd.Lifetime = NumberRange.new(1, 2)
  564. asd.Rotation = NumberRange.new(-100, 100)
  565. asd.RotSpeed = NumberRange.new(-100, 100)
  566. asd.Speed = NumberRange.new(2)
  567. asd.Enabled = false
  568. asd.VelocitySpread = 10000
  569.  
  570. function getbloody(victim,amount)
  571. local prtcl = asd:Clone()
  572. prtcl.Parent = victim
  573. prtcl:Emit(amount)
  574. end
  575.  
  576. local TORSOVELOCITY = 0
  577.  
  578. function Ragdoll(Character2,CharTorso)
  579. local svch = Character2
  580. local hum = Character2:findFirstChild("Humanoid")
  581. local q = Character2:GetChildren()
  582. local CLONE = IT("Model",Effects)
  583. local DummyHead = nil
  584. for i = 1,#q do
  585. if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
  586. q[i].Parent = CLONE
  587. if q[i].Name == "Head" then
  588. DummyHead = CLONE.Head:Clone()
  589. q[i]:ClearAllChildren()
  590. q[i].Transparency = 1
  591. end
  592. else
  593. if q[i].ClassName ~= "Humanoid" then
  594. q[i]:remove()
  595. end
  596. end
  597. end
  598. local chrclone = CLONE
  599.  
  600. for _, c in pairs(Character2:GetChildren()) do
  601. if c.ClassName == "Accessory" then
  602. c:remove()
  603. end
  604. end
  605.  
  606. local ch = chrclone:GetChildren()
  607. local i
  608. for i = 1,#ch do
  609. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  610. ch[i]:remove()
  611. end
  612. end
  613. local function Scan(ch)
  614. local e
  615. for e = 1,#ch do
  616. Scan(ch[e]:GetChildren())
  617. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  618. ch[e]:remove()
  619. end
  620. end
  621. end
  622. Scan(chrclone:GetChildren())
  623.  
  624. local ch = Character2:GetChildren()
  625. local i
  626. for i = 1,#ch do
  627. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  628. ch[i]:remove()
  629. end
  630. end
  631.  
  632. local ch = Character2:GetChildren()
  633. local i
  634. for i = 1,#ch do
  635. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  636. ch[i]:remove()
  637. end
  638. end
  639. Character2 = chrclone
  640. local Torso2 = Character2.Torso
  641. local movevector = Vector3.new()
  642.  
  643. if Torso2 then
  644. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  645. local Head = Character2:FindFirstChild("Head")
  646. if Head then
  647. local Neck = Instance.new("Weld")
  648. Neck.Name = "Neck"
  649. Neck.Part0 = Torso2
  650. Neck.Part1 = Head
  651. Neck.C0 = CFrame.new(0, 1.5, 0)
  652. Neck.C1 = CFrame.new()
  653. Neck.Parent = Torso2
  654. Head:ClearAllChildren()
  655. Head.Transparency = 1
  656.  
  657. end
  658. local Limb = Character2:FindFirstChild("Right Arm")
  659. if Limb then
  660.  
  661. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  662. local Joint = Instance.new("Glue")
  663. Joint.Name = "RightShoulder"
  664. Joint.Part0 = Torso2
  665. Joint.Part1 = Limb
  666. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  667. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  668. Joint.Parent = Torso2
  669.  
  670. local B = Instance.new("Part")
  671. B.TopSurface = 0
  672. B.BottomSurface = 0
  673. B.formFactor = "Symmetric"
  674. B.Size = Vector3.new(1, 1, 1)
  675. B.Transparency = 1
  676. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  677. B.Parent = Character2
  678. local W = Instance.new("Weld")
  679. W.Part0 = Limb
  680. W.Part1 = B
  681. W.C0 = CFrame.new(0, -0.5, 0)
  682. W.Parent = Limb
  683.  
  684. end
  685. local Limb = Character2:FindFirstChild("Left Arm")
  686. if Limb then
  687.  
  688. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  689. local Joint = Instance.new("Glue")
  690. Joint.Name = "LeftShoulder"
  691. Joint.Part0 = Torso2
  692. Joint.Part1 = Limb
  693. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  694. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  695. Joint.Parent = Torso2
  696.  
  697. local B = Instance.new("Part")
  698. B.TopSurface = 0
  699. B.BottomSurface = 0
  700. B.formFactor = "Symmetric"
  701. B.Size = Vector3.new(1, 1, 1)
  702. B.Transparency = 1
  703. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  704. B.Parent = Character2
  705. local W = Instance.new("Weld")
  706. W.Part0 = Limb
  707. W.Part1 = B
  708. W.C0 = CFrame.new(0, -0.5, 0)
  709. W.Parent = Limb
  710.  
  711. end
  712. local Limb = Character2:FindFirstChild("Right Leg")
  713. if Limb then
  714.  
  715. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  716. local Joint = Instance.new("Glue")
  717. Joint.Name = "RightHip"
  718. Joint.Part0 = Torso2
  719. Joint.Part1 = Limb
  720. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  721. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  722. Joint.Parent = Torso2
  723.  
  724. local B = Instance.new("Part")
  725. B.TopSurface = 0
  726. B.BottomSurface = 0
  727. B.formFactor = "Symmetric"
  728. B.Size = Vector3.new(1, 1, 1)
  729. B.Transparency = 1
  730. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  731. B.Parent = Character2
  732. local W = Instance.new("Weld")
  733. W.Part0 = Limb
  734. W.Part1 = B
  735. W.C0 = CFrame.new(0, -0.5, 0)
  736. W.Parent = Limb
  737.  
  738. end
  739. local Limb = Character2:FindFirstChild("Left Leg")
  740. if Limb then
  741.  
  742. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  743. local Joint = Instance.new("Glue")
  744. Joint.Name = "LeftHip"
  745. Joint.Part0 = Torso2
  746. Joint.Part1 = Limb
  747. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  748. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  749. Joint.Parent = Torso2
  750.  
  751. local B = Instance.new("Part")
  752. B.TopSurface = 0
  753. B.BottomSurface = 0
  754. B.formFactor = "Symmetric"
  755. B.Size = Vector3.new(1, 1, 1)
  756. B.Transparency = 1
  757. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  758. B.Parent = Character2
  759. local W = Instance.new("Weld")
  760. W.Part0 = Limb
  761. W.Part1 = B
  762. W.C0 = CFrame.new(0, -0.5, 0)
  763. W.Parent = Limb
  764.  
  765. end
  766. --[
  767. local Bar = Instance.new("Part")
  768. Bar.TopSurface = 0
  769. Bar.BottomSurface = 0
  770. Bar.formFactor = "Symmetric"
  771. Bar.Size = Vector3.new(1, 1, 1)
  772. Bar.Transparency = 1
  773. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  774. Bar.Parent = Character2
  775. local Weld = Instance.new("Weld")
  776. Weld.Part0 = Torso2
  777. Weld.Part1 = Bar
  778. Weld.C0 = CFrame.new(0, 0.5, 0)
  779. Weld.Parent = Torso2
  780. --]]
  781. end
  782. Character2.Parent = Weapon
  783. if movevector ~= Vector3.new() then
  784. for i = 1,10 do
  785. Torso2.Velocity = movevector * 30
  786. end
  787. end
  788. DummyHead.Name = "FakeHead"
  789. DummyHead.Parent = CLONE
  790. local BLOOD = CreatePart(3, DummyHead, "Neon", 0, 0, "Really red", "Blood", VT(0.65,0.25,0.65),false)
  791. BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
  792. MakeForm(BLOOD,"Cyl")
  793. weldBetween(DummyHead,BLOOD)
  794. local BLOOD = CreatePart(3, Torso2, "Neon", 0, 0, "Really red", "Blood", VT(0.65,0.2,0.65),false)
  795. BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
  796. MakeForm(BLOOD,"Cyl")
  797. weldBetween(Torso2,BLOOD)
  798. Character2.Name = "Corpse"
  799. local hum2 = svch:findFirstChild("Humanoid")
  800.  
  801. return Character2,Torso2,DummyHead
  802. end
  803.  
  804. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  805. local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  806. if HITFLOOR ~= nil then
  807. if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  808. if HITFLOOR.Name == "BloodPuddle" then
  809. local DIST = (Position - HITFLOOR.Position).Magnitude
  810. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  811. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  812. end
  813. else
  814. if HITFLOOR.Anchored == true then
  815. local BLOOD = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "BloodPuddle", VT(1,0,1))
  816. BLOOD.CFrame = CF(HITPOS)
  817. MakeForm(BLOOD,"Cyl")
  818. coroutine.resume(coroutine.create(function()
  819. Swait(75)
  820. while true do
  821. Swait()
  822. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  823. if BLOOD.Size.Z < 0.051 then
  824. BLOOD:remove()
  825. break
  826. end
  827. end
  828. end))
  829. end
  830. end
  831. end
  832. end
  833. end
  834.  
  835. function SprayBlood(POSITION,DIRECTION,BloodSize)
  836. local BLOOD = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "BloodPuddle", VT(0.5,0.5,0.5),false)
  837. BLOOD.CFrame = CF(POSITION)
  838. MakeForm(BLOOD,"Ball")
  839. local bv = Instance.new("BodyVelocity",BLOOD)
  840. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  841. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15
  842. bv.Name = "MOVE"
  843. Debris:AddItem(bv,0.05)
  844. coroutine.resume(coroutine.create(function()
  845. local HASTOUCHEDGROUND = false
  846. local HIT = BLOOD.Touched:Connect(function(hit)
  847. if hit.Anchored == true then
  848. HASTOUCHEDGROUND = true
  849. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  850. end
  851. end)
  852. for i = 1, 50 do
  853. Swait()
  854. if HASTOUCHEDGROUND == true then
  855. break
  856. end
  857. BLOOD.Size = BLOOD.Size * 1
  858. end
  859. BLOOD:remove()
  860. end))
  861. end
  862.  
  863. function Kill(Target)
  864. if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
  865. Target:BreakJoints()
  866. local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
  867. local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
  868. getbloody(DummyHead,45)
  869. if TORS2 ~= nil then
  870. CreateSound("1383928887", TORS2, 10, (math.random(8,12)/10))
  871. CreateSound("1383928887", DummyHead, 5, (math.random(8,18)/10))
  872. local HUM = IT("Humanoid")
  873. HUM.MaxHealth = 0
  874. HUM.Health = 0
  875. HUM.Name = "CorpseHumanoid"
  876. HUM.PlatformStand = true
  877. HUM.Parent = CLONE
  878. KILLINSTINCT = KILLINSTINCT + 20
  879. TORS2.CFrame = CFRAME
  880. coroutine.resume(coroutine.create(function()
  881. for i = 1, 450 do
  882. wait()
  883. SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5)
  884. SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10)
  885. --PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3)
  886. --PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6)
  887. end
  888. CLONE:Remove()
  889. end))
  890. end
  891. end
  892. end
  893.  
  894. --//=================================\\
  895. --|| ATTACK FUNCTIONS AND STUFF
  896. --\\=================================//
  897.  
  898. function Swing()
  899. ATTACK = true
  900. Rooted = false
  901. for i=0, 1, 0.1 / Animation_Speed do
  902. Swait()
  903. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  904. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  905. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  906. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  907. 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)
  908. 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)
  909. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed)
  910. end
  911. Trail.Enabled = true
  912. HandlePart.CanCollide = true
  913. CreateSound("151414336", HandlePart, 1, (math.random(8,12)/10))
  914. local HIT = HandlePart.Touched:Connect(function(hit)
  915. Kill(hit.Parent)
  916. end)
  917. for i=0, 0.8, 0.1 / Animation_Speed do
  918. Swait()
  919. if Speed == 25 and TORSOVELOCITY > 0.3 then
  920. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  921. end
  922. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  923. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  924. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  925. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  926. 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)
  927. 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)
  928. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(25), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  929. end
  930. Trail.Enabled = false
  931. HandlePart.CanCollide = false
  932. HIT:disconnect()
  933. ATTACK = false
  934. Rooted = false
  935. end
  936.  
  937. function Laugh()
  938. ATTACK = true
  939. Rooted = true
  940. CreateSound("1074233689", Torso, 6, 1)
  941. for i=0, 3.5, 0.1 / Animation_Speed do
  942. Swait()
  943. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  944. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  945. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.35 * COS(SINE / 2), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  946. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  947. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  948. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  949. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  950. end
  951. ATTACK = false
  952. Rooted = false
  953. end
  954.  
  955. --//=================================\\
  956. --|| ASSIGN THINGS TO iEYS ||
  957. --\\=================================//
  958.  
  959. function MouseDown(Mouse)
  960. if ATTACK == false then
  961. Swing()
  962. end
  963. end
  964.  
  965. function MouseUp(Mouse)
  966. HOLD = false
  967. end
  968.  
  969. function KeyDown(Key)
  970. KEYHOLD = true
  971. if Key == "b" and ATTACK == false then
  972. if Speed == 10 then
  973. Speed = 30
  974. elseif Speed == 25 then
  975. Speed = 10
  976. end
  977. end
  978.  
  979. if Key == "t" and ATTACK == false then
  980. Laugh()
  981. end
  982. end
  983.  
  984. function KeyUp(Key)
  985. KEYHOLD = false
  986. end
  987.  
  988. Mouse.Button1Down:connect(function(NEWKEY)
  989. MouseDown(NEWKEY)
  990. end)
  991. Mouse.Button1Up:connect(function(NEWKEY)
  992. MouseUp(NEWKEY)
  993. end)
  994. Mouse.KeyDown:connect(function(NEWKEY)
  995. KeyDown(NEWKEY)
  996. end)
  997. Mouse.KeyUp:connect(function(NEWKEY)
  998. KeyUp(NEWKEY)
  999. end)
  1000.  
  1001. --//=================================\\
  1002. --\\=================================//
  1003.  
  1004.  
  1005. function unanchor()
  1006. if UNANCHOR == true then
  1007. g = Character:GetChildren()
  1008. for i = 1, #g do
  1009. if g[i].ClassName == "Part" then
  1010. g[i].Anchored = false
  1011. end
  1012. end
  1013. end
  1014. end
  1015.  
  1016.  
  1017. --//=================================\\
  1018. --|| WRAP THE WHOLE SCRIPT UP
  1019. --\\=================================//
  1020.  
  1021. Humanoid.Changed:connect(function(Jump)
  1022. if Jump == "Jump" and (Disable_Jump == true) then
  1023. Humanoid.Jump = false
  1024. end
  1025. end)
  1026.  
  1027. Speed = 10
  1028.  
  1029. local naeeym2 = Instance.new("BillboardGui",Character)
  1030. naeeym2.AlwaysOnTop = true
  1031. naeeym2.Size = UDim2.new(5,35,2,35)
  1032. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1033. naeeym2.Adornee = Character.Head
  1034. naeeym2.Name = "Name"
  1035. naeeym2.PlayerToHideFrom = Player
  1036. local tecks2 = Instance.new("TextLabel",naeeym2)
  1037. tecks2.BackgroundTransparency = 1
  1038. tecks2.TextScaled = true
  1039. tecks2.BorderSizePixel = 0
  1040. tecks2.Text = game.Players.LocalPlayer.Character.Name.." Ugandan Noob"
  1041. tecks2.Font = "Cartoon"
  1042. tecks2.TextSize = 30
  1043. tecks2.TextStrokeTransparency = 0
  1044. tecks2.TextColor3 = Color3.new(300,88,99)
  1045. tecks2.TextStrokeColor3 = Color3.new(300,88,99)
  1046. tecks2.Size = UDim2.new(1,0,0.5,0)
  1047. tecks2.Parent = naeeym2
  1048.  
  1049. while true do
  1050. ANIMATE.Parent = nil
  1051. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1052. IDLEANIMATION:Play()
  1053. SINE = SINE + CHANGE
  1054. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1055. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1056. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1057. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1058. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1059. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1060. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1061. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1062. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1063. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1064. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1065. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1066. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1067. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1068. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1069. end
  1070. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1071. ANIM = "Jump"
  1072. if ATTACK == false then
  1073. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1074. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1076. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1077. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1078. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1079. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-165), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1080. end
  1081. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1082. ANIM = "Fall"
  1083. if ATTACK == false then
  1084. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1085. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1086. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1087. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1088. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1089. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1090. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-85), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1091. end
  1092. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1093. ANIM = "Idle"
  1094. if ATTACK == false then
  1095. 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)
  1096. if VALUE1 == false then
  1097. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1098. end
  1099. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1100. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1101. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1102. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1103. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1104. if VALUE1 == false and MRANDOM(1,200) == 1 then
  1105. coroutine.resume(coroutine.create(function()
  1106. VALUE1 = true
  1107. for i = 1, 25 do
  1108. Swait()
  1109. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
  1110. end
  1111. VALUE1 = false
  1112. end))
  1113. end
  1114. end
  1115. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1116. ANIM = "Walk"
  1117. WALK = WALK + 1 / Animation_Speed
  1118. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1119. WALK = 0
  1120. if WALKINGANIM == true then
  1121. WALKINGANIM = false
  1122. elseif WALKINGANIM == false then
  1123. WALKINGANIM = true
  1124. end
  1125. end
  1126. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1127. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1128. if ATTACK == false then
  1129. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1130. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(25), RAD(0)), 0.15 / Animation_Speed)
  1131. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 - 0.15 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(-20), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1132. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1133. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1134. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1135. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.75 + 0.3 * COS(SINE / (WALKSPEEDVALUE/2)), 0) * ANGLES(RAD(-145), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1136. end
  1137. end
  1138. unanchor()
  1139. Humanoid.MaxHealth = "inf"
  1140. Humanoid.Health = "inf"
  1141. if Rooted == false then
  1142. Disable_Jump = false
  1143. Humanoid.WalkSpeed = Speed
  1144. elseif Rooted == true then
  1145. Disable_Jump = true
  1146. Humanoid.WalkSpeed = 0
  1147. end
  1148. if KILLINSTINCT > 0 then
  1149. PuddleOfBlood(HandlePart.CFrame*CF(0,1,0).p,3,HandlePart,2)
  1150. KILLINSTINCT = KILLINSTINCT - 0.1
  1151. end
  1152. if Head:FindFirstChild("face") then
  1153. Head.face.Texture = "http://www.roblox.com/asset/?id=1243374078"
  1154. end
  1155. Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70))
  1156. local MATHS = {"0","1"}
  1157. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)].."P"..MATHS[MRANDOM(1,#MATHS)].."S"..MATHS[MRANDOM(1,#MATHS)].."Y"..MATHS[MRANDOM(1,#MATHS)].."C"..MATHS[MRANDOM(1,#MATHS)].."H"..MATHS[MRANDOM(1,#MATHS)].."O"..MATHS[MRANDOM(1,#MATHS)]
  1158. Humanoid.PlatformStand = false
  1159. script.Name = Humanoid.Name
  1160. if math.random(1,70-Speed) == 1 then
  1161. tecks2.Text = "Heh..."
  1162. elseif math.random(1,70-Speed) == 2 then
  1163. tecks2.Text = "I'm the pinker!"
  1164. elseif math.random(1,70-Speed) == 3 then
  1165. tecks2.Text = "YOU ARE WORTHLESS!"
  1166. else
  1167. if KILLINSTINCT > 0 then
  1168. if KILLINSTINCT < 1 then
  1169. if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then
  1170. tecks2.Text = "Rekt m8"
  1171. else
  1172. tecks2.Text = "MUHAHAHA!"
  1173. end
  1174. elseif KILLINSTINCT >= 100 then
  1175. if MRANDOM(1,5) == 1 then
  1176. tecks2.Text = "GAMEKILLERTOY DA NUB!"
  1177. end
  1178. else
  1179. tecks2.Text = "MUHAHAHA!"
  1180. end
  1181. else
  1182. tecks2.Text = "MUHAHAHA!"
  1183. end
  1184. end
  1185. DECAL.Transparency = 1-(KILLINSTINCT/25)
  1186. Swait()
  1187. if Head:FindFirstChildOfClass("Sound") then
  1188. Head:FindFirstChildOfClass("Sound"):remove()
  1189. end
  1190. if KILLINSTINCT > 1 then
  1191. KILLINSTINCT = 1
  1192. end
  1193. sick.Parent = Character
  1194. Sky.Parent = game.Lighting
  1195. game.Lighting.ClockTime = 100
  1196. script.Parent = PlayerGui
  1197. end
  1198.  
  1199. --//=================================\\
  1200. --\\=================================//
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206. --//====================================================\\--
  1207. --|| END OF SCRIPT
  1208. --\\====================================================//--
Add Comment
Please, Sign In to add comment