Advertisement
agariogamer2345

Psycho axe

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