Flamingo123

Roblox script Nameclan axe

Dec 8th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.45 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Character = Player.Character
  3. local txt = Instance.new("BillboardGui", Character)
  4. txt.Adornee = Character.Head
  5. txt.Name = "_status"
  6. txt.Size = UDim2.new(2, 0, 1.2, 0)
  7. txt.StudsOffset = Vector3.new(-9, 8, 0)
  8. local text = Instance.new("TextLabel", txt)
  9. text.Size = UDim2.new(10, 0, 7, 0)
  10. text.FontSize = "Size24"
  11. text.TextScaled = true
  12. text.TextTransparency = 0
  13. text.BackgroundTransparency = 1
  14. text.TextTransparency = 0
  15. text.TextStrokeTransparency = 0
  16. text.Font = "Antique"
  17. text.TextStrokeColor3 = Color3.new(170,0,0)
  18. text.Text = "NameClan Axe"
  19.  
  20.  
  21.  
  22. --//====================================================\\--
  23. --|| CREATED BY SHACKLUSTER
  24. --\\====================================================//--
  25.  
  26. Character = game.Players.LocalPlayer.Character
  27. Player = game.Players.LocalPlayer
  28. char = Character
  29. hum = Character.Humanoid
  30. Torso = Character.Torso
  31. Head = Character.Head
  32.  
  33. char.Shirt.ShirtTemplate = "rbxassetid://791994658"
  34. char.Pants.PantsTemplate = "rbxassetid://1029442377"
  35.  
  36.  
  37. local BC = char["Body Colors"]
  38. BC.HeadColor = BrickColor.new("Really black")
  39. BC.LeftArmColor = BrickColor.new("Really black")
  40. BC.LeftLegColor = BrickColor.new("Really black")
  41. BC.RightArmColor = BrickColor.new("Really black")
  42. BC.RightLegColor = BrickColor.new("Really black")
  43. BC.TorsoColor = BrickColor.new("Really black")
  44.  
  45. char.Head.face.Texture = "rbxassetid://701379058"
  46.  
  47. hum.MaxHealth = math.huge
  48.  
  49.  
  50.  
  51.  
  52. for i,v in pairs(char:children()) do
  53. if v:IsA("Hat") then
  54. v:Destroy()
  55. end
  56. end
  57. for i,v in pairs(char:children()) do
  58. if v:IsA("Accessory") then
  59. v:Destroy()
  60. end
  61. end
  62. for i,v in pairs(char:children()) do
  63. if v:IsA("Hair") then
  64. v:Destroy()
  65. end
  66. end
  67. --141378828
  68. Reaper = Instance.new("Model")
  69. Reaper.Parent = Player.Character
  70. Reaper.Name = "Reaper"
  71. rh = Instance.new("Part")
  72. rh.Parent = Reaper
  73. rh.BrickColor = BrickColor.new("Really red")
  74. rh.Locked = true
  75. rh.CanCollide = false
  76. mesh = Instance.new("SpecialMesh")
  77. rh.formFactor = "Symmetric"
  78. mesh.MeshType = "FileMesh"
  79. mesh.MeshId = "http://www.roblox.com/asset/?id=1532586252"
  80. mesh.TextureId = "http://www.roblox.com/asset/?id=1532589976"
  81. mesh.Parent = rh
  82. mesh.Scale = Vector3.new(1.8,1.8,1.8,1.8,1.8,1.8)
  83. local weld = Instance.new("Weld")
  84. weld.Parent = rh
  85. rh.Transparency = 0
  86. weld.Part0 = rh
  87. weld.Part1 = Player.Character.Head
  88. weld.C0 = CFrame.new(-0, -0.05, -0)*CFrame.Angles(0, 0, 0)
  89.  
  90. wait(0.2)
  91.  
  92.  
  93.  
  94. Player = game:GetService("Players").LocalPlayer
  95. PlayerGui = Player.PlayerGui
  96. Cam = workspace.CurrentCamera
  97. Backpack = Player.Backpack
  98. Character = Player.Character
  99. Humanoid = Character.Humanoid
  100. Mouse = Player:GetMouse()
  101. RootPart = Character["HumanoidRootPart"]
  102. Torso = Character["Torso"]
  103. Head = Character["Head"]
  104. RightArm = Character["Right Arm"]
  105. LeftArm = Character["Left Arm"]
  106. RightLeg = Character["Right Leg"]
  107. LeftLeg = Character["Left Leg"]
  108. RootJoint = RootPart["RootJoint"]
  109. Neck = Torso["Neck"]
  110. RightShoulder = Torso["Right Shoulder"]
  111. LeftShoulder = Torso["Left Shoulder"]
  112. RightHip = Torso["Right Hip"]
  113. LeftHip = Torso["Left Hip"]
  114. local sick = Instance.new("Sound",Character)
  115. sick.SoundId = "rbxassetid://1185866114"
  116. sick.Looped = true
  117. sick.Pitch = 0.8
  118. sick.Volume = 1
  119. sick:Play()
  120. Humanoid.DisplayDistanceType = "None"
  121. game.Lighting.ClockTime = 22
  122.  
  123. IT = Instance.new
  124. CF = CFrame.new
  125. VT = Vector3.new
  126. RAD = math.rad
  127. C3 = Color3.new
  128. UD2 = UDim2.new
  129. BRICKC = BrickColor.new
  130. ANGLES = CFrame.Angles
  131. EULER = CFrame.fromEulerAnglesXYZ
  132. COS = math.cos
  133. ACOS = math.acos
  134. SIN = math.sin
  135. ASIN = math.asin
  136. ABS = math.abs
  137. MRANDOM = math.random
  138. FLOOR = math.floor
  139.  
  140. local Sky = IT("Sky")
  141. Sky.Parent = game.Lighting
  142. Sky.MoonAngularSize = 45
  143. Sky.MoonTextureId = "http://www.roblox.com/asset/?id=1055904136"
  144.  
  145. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  146. local NEWMESH = IT(MESH)
  147. if MESH == "SpecialMesh" then
  148. NEWMESH.MeshType = MESHTYPE
  149. if MESHID ~= "nil" and MESHID ~= "" then
  150. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  151. end
  152. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  153. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  154. end
  155. end
  156. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  157. NEWMESH.Scale = SCALE
  158. NEWMESH.Parent = PARENT
  159. return NEWMESH
  160. end
  161.  
  162. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  163. local NEWPART = IT("Part")
  164. NEWPART.formFactor = FORMFACTOR
  165. NEWPART.Reflectance = REFLECTANCE
  166. NEWPART.Transparency = TRANSPARENCY
  167. NEWPART.CanCollide = false
  168. NEWPART.Locked = true
  169. NEWPART.Anchored = true
  170. if ANCHOR == false then
  171. NEWPART.Anchored = false
  172. end
  173. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  174. NEWPART.Name = NAME
  175. NEWPART.Size = SIZE
  176. NEWPART.Position = Torso.Position
  177. NEWPART.Material = MATERIAL
  178. NEWPART:BreakJoints()
  179. NEWPART.Parent = PARENT
  180. return NEWPART
  181. end
  182.  
  183. --//=================================\\
  184. --|| CUSTOMIZATION
  185. --\\=================================//
  186.  
  187. Player_Size = 1 --Size of the player.
  188. Animation_Speed = 3
  189. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  190.  
  191. local Speed = 16
  192. local Effects2 = {}
  193.  
  194. --//=================================\\
  195. --|| END OF CUSTOMIZATION
  196. --\\=================================//
  197.  
  198. local function weldBetween(a, b)
  199. local weldd = Instance.new("ManualWeld")
  200. weldd.Part0 = a
  201. weldd.Part1 = b
  202. weldd.C0 = CFrame.new()
  203. weldd.C1 = b.CFrame:inverse() * a.CFrame
  204. weldd.Parent = a
  205. return weldd
  206. end
  207.  
  208. --//=================================\\
  209. --|| USEFUL VALUES
  210. --\\=================================//
  211.  
  212. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  213. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  214. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  215. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  216. local CHANGEDEFENSE = 0
  217. local CHANGEDAMAGE = 0
  218. local CHANGEMOVEMENT = 0
  219. local ANIM = "Idle"
  220. local ATTACK = false
  221. local EQUIPPED = false
  222. local HOLD = false
  223. local COMBO = 1
  224. local Rooted = false
  225. local SINE = 0
  226. local KEYHOLD = false
  227. local CHANGE = 2 / Animation_Speed
  228. local WALKINGANIM = false
  229. local WALK = 0
  230. local VALUE1 = false
  231. local VALUE2 = false
  232. local ROBLOXIDLEANIMATION = IT("Animation")
  233. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  234. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  235. --ROBLOXIDLEANIMATION.Parent = Humanoid
  236. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  237. WEAPONGUI.Name = "Weapon GUI"
  238. local Weapon = IT("Model")
  239. Weapon.Name = "Adds"
  240. local Effects = IT("Folder", Weapon)
  241. Effects.Name = "Effects"
  242. local ANIMATOR = Humanoid.Animator
  243. local ANIMATE = Character.Animate
  244. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  245. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  246. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  247. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  248. local UNANCHOR = true
  249. local KILLINSTINCT = 0
  250.  
  251. local SKILLTEXTCOLOR = C3(1,0,0)
  252.  
  253. --//=================================\\
  254. --\\=================================//
  255.  
  256.  
  257. --//=================================\\
  258. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  259. --\\=================================//
  260.  
  261. ArtificialHB = Instance.new("BindableEvent", script)
  262. ArtificialHB.Name = "ArtificialHB"
  263.  
  264. script:WaitForChild("ArtificialHB")
  265.  
  266. frame = Frame_Speed
  267. tf = 0
  268. allowframeloss = false
  269. tossremainder = false
  270. lastframe = tick()
  271. script.ArtificialHB:Fire()
  272.  
  273. game:GetService("RunService").Heartbeat:connect(function(s, p)
  274. tf = tf + s
  275. if tf >= frame then
  276. if allowframeloss then
  277. script.ArtificialHB:Fire()
  278. lastframe = tick()
  279. else
  280. for i = 1, math.floor(tf / frame) do
  281. script.ArtificialHB:Fire()
  282. end
  283. lastframe = tick()
  284. end
  285. if tossremainder then
  286. tf = 0
  287. else
  288. tf = tf - frame * math.floor(tf / frame)
  289. end
  290. end
  291. end)
  292.  
  293. --//=================================\\
  294. --\\=================================//
  295.  
  296.  
  297.  
  298.  
  299.  
  300. --//=================================\\
  301. --|| SOME FUNCTIONS
  302. --\\=================================//
  303.  
  304. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  305. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  306. end
  307.  
  308. function PositiveAngle(NUMBER)
  309. if NUMBER >= 0 then
  310. NUMBER = 0
  311. end
  312. return NUMBER
  313. end
  314.  
  315. function NegativeAngle(NUMBER)
  316. if NUMBER <= 0 then
  317. NUMBER = 0
  318. end
  319. return NUMBER
  320. end
  321.  
  322. function Swait(NUMBER)
  323. if NUMBER == 0 or NUMBER == nil then
  324. ArtificialHB.Event:wait()
  325. else
  326. for i = 1, NUMBER do
  327. ArtificialHB.Event:wait()
  328. end
  329. end
  330. end
  331.  
  332. function QuaternionFromCFrame(cf)
  333. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  334. local trace = m00 + m11 + m22
  335. if trace > 0 then
  336. local s = math.sqrt(1 + trace)
  337. local recip = 0.5 / s
  338. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  339. else
  340. local i = 0
  341. if m11 > m00 then
  342. i = 1
  343. end
  344. if m22 > (i == 0 and m00 or m11) then
  345. i = 2
  346. end
  347. if i == 0 then
  348. local s = math.sqrt(m00 - m11 - m22 + 1)
  349. local recip = 0.5 / s
  350. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  351. elseif i == 1 then
  352. local s = math.sqrt(m11 - m22 - m00 + 1)
  353. local recip = 0.5 / s
  354. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  355. elseif i == 2 then
  356. local s = math.sqrt(m22 - m00 - m11 + 1)
  357. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  358. end
  359. end
  360. end
  361.  
  362. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  363. local xs, ys, zs = x + x, y + y, z + z
  364. local wx, wy, wz = w * xs, w * ys, w * zs
  365. local xx = x * xs
  366. local xy = x * ys
  367. local xz = x * zs
  368. local yy = y * ys
  369. local yz = y * zs
  370. local zz = z * zs
  371. 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))
  372. end
  373.  
  374. function QuaternionSlerp(a, b, t)
  375. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  376. local startInterp, finishInterp;
  377. if cosTheta >= 0.0001 then
  378. if (1 - cosTheta) > 0.0001 then
  379. local theta = ACOS(cosTheta)
  380. local invSinTheta = 1 / SIN(theta)
  381. startInterp = SIN((1 - t) * theta) * invSinTheta
  382. finishInterp = SIN(t * theta) * invSinTheta
  383. else
  384. startInterp = 1 - t
  385. finishInterp = t
  386. end
  387. else
  388. if (1 + cosTheta) > 0.0001 then
  389. local theta = ACOS(-cosTheta)
  390. local invSinTheta = 1 / SIN(theta)
  391. startInterp = SIN((t - 1) * theta) * invSinTheta
  392. finishInterp = SIN(t * theta) * invSinTheta
  393. else
  394. startInterp = t - 1
  395. finishInterp = t
  396. end
  397. end
  398. 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
  399. end
  400.  
  401. function Clerp(a, b, t)
  402. local qa = {QuaternionFromCFrame(a)}
  403. local qb = {QuaternionFromCFrame(b)}
  404. local ax, ay, az = a.x, a.y, a.z
  405. local bx, by, bz = b.x, b.y, b.z
  406. local _t = 1 - t
  407. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  408. end
  409.  
  410. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  411. local frame = IT("Frame")
  412. frame.BackgroundTransparency = TRANSPARENCY
  413. frame.BorderSizePixel = BORDERSIZEPIXEL
  414. frame.Position = POSITION
  415. frame.Size = SIZE
  416. frame.BackgroundColor3 = COLOR
  417. frame.BorderColor3 = BORDERCOLOR
  418. frame.Name = NAME
  419. frame.Parent = PARENT
  420. return frame
  421. end
  422.  
  423. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  424. local label = IT("TextLabel")
  425. label.BackgroundTransparency = 1
  426. label.Size = UD2(1, 0, 1, 0)
  427. label.Position = UD2(0, 0, 0, 0)
  428. label.TextColor3 = TEXTCOLOR
  429. label.TextStrokeTransparency = STROKETRANSPARENCY
  430. label.TextTransparency = TRANSPARENCY
  431. label.FontSize = TEXTFONTSIZE
  432. label.Font = TEXTFONT
  433. label.BorderSizePixel = BORDERSIZEPIXEL
  434. label.TextScaled = false
  435. label.Text = TEXT
  436. label.Name = NAME
  437. label.Parent = PARENT
  438. return label
  439. end
  440.  
  441. function NoOutlines(PART)
  442. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  443. end
  444.  
  445.  
  446. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  447. local NEWWELD = IT(TYPE)
  448. NEWWELD.Part0 = PART0
  449. NEWWELD.Part1 = PART1
  450. NEWWELD.C0 = C0
  451. NEWWELD.C1 = C1
  452. NEWWELD.Parent = PARENT
  453. return NEWWELD
  454. end
  455.  
  456. function CreateSound(ID, PARENT, VOLUME, PITCH)
  457. local NEWSOUND = nil
  458. coroutine.resume(coroutine.create(function()
  459. NEWSOUND = IT("Sound", PARENT)
  460. NEWSOUND.Volume = VOLUME
  461. NEWSOUND.Pitch = PITCH
  462. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  463. Swait()
  464. NEWSOUND:play()
  465. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  466. end))
  467. return NEWSOUND
  468. end
  469.  
  470. function CFrameFromTopBack(at, top, back)
  471. local right = top:Cross(back)
  472. 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)
  473. end
  474.  
  475. function MakeForm(PART,TYPE)
  476. if TYPE == "Cyl" then
  477. local MSH = IT("CylinderMesh",PART)
  478. elseif TYPE == "Ball" then
  479. local MSH = IT("SpecialMesh",PART)
  480. MSH.MeshType = "Sphere"
  481. elseif TYPE == "Wedge" then
  482. local MSH = IT("SpecialMesh",PART)
  483. MSH.MeshType = "Wedge"
  484. end
  485. end
  486.  
  487. local Particle = IT("ParticleEmitter",nil)
  488. Particle.Enabled = false
  489. Particle.LightEmission = 0.2
  490. Particle.Rate = 150
  491. Particle.ZOffset = 1
  492. Particle.Rotation = NumberRange.new(-180, 180)
  493.  
  494. --ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""})
  495. function ParticleEmitter(Table)
  496. local PRTCL = Particle:Clone()
  497. local Color1 = Table.Color1 or C3(1,1,1)
  498. local Color2 = Table.Color2 or C3(1,1,1)
  499. local Speed = Table.Speed or 5
  500. local Drag = Table.Drag or 0
  501. local Size1 = Table.Size1 or 1
  502. local Size2 = Table.Size2 or 5
  503. local Lifetime1 = Table.Lifetime1 or 1
  504. local Lifetime2 = Table.Lifetime2 or 1.5
  505. local Parent = Table.Parent or Torso
  506. local Emit = Table.Emit or 100
  507. local Offset = Table.Offset or 360
  508. local Acel = Table.Acel or VT(0,0,0)
  509. local Enabled = Table.Enabled or false
  510. local Texture = Table.Texture or "281983280"
  511. local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
  512. local Trans1 = Table.Transparency1 or 0
  513. local Trans2 = Table.Transparency2 or 0
  514. PRTCL.Parent = Parent
  515. PRTCL.RotSpeed = RotS
  516. PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
  517. PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
  518. PRTCL.Color = ColorSequence.new(Color1,Color2)
  519. PRTCL.Size = NumberSequence.new(Size1,Size2)
  520. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  521. PRTCL.Speed = NumberRange.new(Speed)
  522. PRTCL.VelocitySpread = Offset
  523. PRTCL.Drag = Drag
  524. PRTCL.Acceleration = Acel
  525. if Enabled == false then
  526. PRTCL:Emit(Emit)
  527. Debris:AddItem(PRTCL,Lifetime2)
  528. else
  529. PRTCL.Enabled = true
  530. end
  531. return PRTCL
  532. end
  533.  
  534. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  535. function WACKYEFFECT(Table)
  536. local TYPE = (Table.EffectType or "Sphere")
  537. local SIZE = (Table.Size or VT(1,1,1))
  538. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  539. local TRANSPARENCY = (Table.Transparency or 0)
  540. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  541. local CFRAME = (Table.CFrame or Torso.CFrame)
  542. local MOVEDIRECTION = (Table.MoveToPos or nil)
  543. local ROTATION1 = (Table.RotationX or 0)
  544. local ROTATION2 = (Table.RotationY or 0)
  545. local ROTATION3 = (Table.RotationZ or 0)
  546. local MATERIAL = (Table.Material or "Neon")
  547. local COLOR = (Table.Color or C3(1,1,1))
  548. local TIME = (Table.Time or 45)
  549. local SOUNDID = (Table.SoundID or nil)
  550. local SOUNDPITCH = (Table.SoundPitch or nil)
  551. local SOUNDVOLUME = (Table.SoundVolume or nil)
  552. coroutine.resume(coroutine.create(function()
  553. local PLAYSSOUND = false
  554. local SOUND = nil
  555. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  556. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  557. PLAYSSOUND = true
  558. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  559. end
  560. EFFECT.Color = COLOR
  561. local MSH = nil
  562. if TYPE == "Sphere" then
  563. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  564. elseif TYPE == "Block" then
  565. MSH = IT("BlockMesh",EFFECT)
  566. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  567. elseif TYPE == "Wave" then
  568. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  569. elseif TYPE == "Ring" then
  570. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  571. elseif TYPE == "Slash" then
  572. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  573. elseif TYPE == "Round Slash" then
  574. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  575. elseif TYPE == "Swirl" then
  576. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  577. elseif TYPE == "Skull" then
  578. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  579. elseif TYPE == "Crystal" then
  580. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  581. end
  582. if MSH ~= nil then
  583. local MOVESPEED = nil
  584. if MOVEDIRECTION ~= nil then
  585. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  586. end
  587. local GROWTH = SIZE - ENDSIZE
  588. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  589. if TYPE == "Block" then
  590. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  591. else
  592. EFFECT.CFrame = CFRAME
  593. end
  594. for LOOP = 1, TIME+1 do
  595. Swait()
  596. MSH.Scale = MSH.Scale - GROWTH/TIME
  597. if TYPE == "Wave" then
  598. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  599. end
  600. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  601. if TYPE == "Block" then
  602. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  603. else
  604. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  605. end
  606. if MOVEDIRECTION ~= nil then
  607. local ORI = EFFECT.Orientation
  608. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  609. EFFECT.Orientation = ORI
  610. end
  611. end
  612. if PLAYSSOUND == false then
  613. EFFECT:remove()
  614. else
  615. SOUND.Stopped:Connect(function()
  616. EFFECT:remove()
  617. end)
  618. end
  619. else
  620. if PLAYSSOUND == false then
  621. EFFECT:remove()
  622. else
  623. repeat Swait() until SOUND.Playing == false
  624. EFFECT:remove()
  625. end
  626. end
  627. end))
  628. end
  629.  
  630.  
  631. Debris = game:GetService("Debris")
  632. --//=================================\\
  633. --|| WEAPON CREATION
  634. --\\=================================//
  635.  
  636. for i = 1, 20 do
  637. local MATH = (1-(i/25))
  638. if LASTPART == Head then
  639. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  640. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  641. LASTPART = Horn
  642. Horn.Color = C3((i*3-3)/1,0,0)
  643. end
  644. end
  645. local LASTPART = Head
  646. for i = 1, 20 do
  647. local MATH = (1-(i/25))
  648. if LASTPART == Head then
  649. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  650. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/3, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  651. LASTPART = Horn
  652. Horn.Color = C3((i*3-3)/1,0,0)
  653. end
  654. end
  655.  
  656. for i = 1, 20 do
  657. local MATH = (1-(i/25))
  658. if LASTPART == Head then
  659. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  660. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  661. LASTPART = Horn
  662. Horn.Color = C3((i*3-3)/1,0,0)
  663. else
  664. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  665. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/3, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  666. LASTPART = Horn
  667. Horn.Color = C3((i*3-3)/1,0,0)
  668. end
  669. end
  670. local LASTPART = Head
  671. for i = 1, 20 do
  672. local MATH = (1-(i/25))
  673. if LASTPART == Head then
  674. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  675. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  676. LASTPART = Horn
  677. Horn.Color = C3((i*3-3)/1,0,0)
  678. else
  679. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  680. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/3, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  681. LASTPART = Horn
  682. Horn.Color = C3((i*3-3)/1,0,0)
  683. end
  684. end
  685.  
  686. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
  687. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  688. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
  689. MakeForm(Part,"Wedge")
  690. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  691. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
  692. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  693. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
  694. MakeForm(Part,"Cyl")
  695. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  696. for i = 1, 8 do
  697. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
  698. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  699. end
  700. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
  701. MakeForm(Part,"Wedge")
  702. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  703. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
  704. MakeForm(Part,"Cyl")
  705. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  706. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
  707. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  708. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
  709. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  710. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
  711. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  712. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
  713. MakeForm(RightBarrel,"Cyl")
  714. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  715. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
  716. MakeForm(Part,"Wedge")
  717. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  718. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
  719. MakeForm(RightHole,"Cyl")
  720. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  721. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
  722. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  723. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
  724. MakeForm(Part,"Wedge")
  725. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  726. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
  727. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  728. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
  729. MakeForm(Part,"Cyl")
  730. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  731.  
  732. local RINGFIRE = {}
  733. local top = Instance.new("Shirt")
  734. top.ShirtTemplate = "rbxassetid://791994658"
  735. top.Parent = Character
  736. top.Name = "Cloth"
  737. local bottom = Instance.new("Pants")
  738. bottom.PantsTemplate = "rbxassetid://1029442377"
  739. bottom.Parent = Character
  740. bottom.Name = "Cloth"
  741.  
  742. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.2, 3.39, 1.61),false)
  743. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "145815658", "186913315", VT(1,1,1), VT(0, 0, 0))
  744. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  745.  
  746. local DECAL = IT("Decal",HandlePart)
  747. DECAL.Texture = "http://www.roblox.com/asset/?id=116830967"
  748.  
  749. for _, c in pairs(Weapon:GetChildren()) do
  750. if c.ClassName == "Part" then
  751. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  752. end
  753. end
  754.  
  755. local A = IT("Attachment",HandlePart)
  756. A.Position = VT(0, -1.5, 0)
  757. local B = IT("Attachment",HandlePart)
  758. B.Position = VT(0, 2.2, 0.2)
  759. local Trail = IT("Trail",HandlePart)
  760. Trail.Attachment0 = A
  761. Trail.Attachment1 = B
  762. Trail.Lifetime = 0.1
  763. Trail.Transparency = NumberSequence.new(0.8, 1)
  764. Trail.Enabled = false
  765.  
  766. Weapon.Parent = Character
  767.  
  768. Humanoid.Died:connect(function()
  769. ATTACK = true
  770. end)
  771.  
  772. 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")
  773. 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")
  774. --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")
  775. --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")
  776. --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")
  777.  
  778. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK] Swing", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  779. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Enrage", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  780. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 3")
  781. --local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 4")
  782. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Ability 5", SKILLTEXTCOLOR, 6, "Legacy", 0, 2, 1, "Text 5")
  783.  
  784. --//=================================\\
  785. --|| DAMAGING
  786. --\\=================================//
  787.  
  788. function Kill(Char)
  789. local NewCharacter = IT("Model",Effects)
  790. NewCharacter.Name = "Ow im ded ;-;"
  791. for _, c in pairs(Char:GetDescendants()) do
  792. if c:IsA("BasePart") and c.Transparency == 0 then
  793. if c.Parent == Char then
  794. getbloody(c,5)
  795. end
  796. c:BreakJoints()
  797. c.Material = "Glass"
  798. c.Color = C3(0.5,0,0)
  799. c.CanCollide = true
  800. c.Transparency = 0.3
  801. if c:FindFirstChildOfClass("SpecialMesh") then
  802. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  803. end
  804. if c.Name == "Head" then
  805. c:ClearAllChildren()
  806. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  807. end
  808. if c.ClassName == "MeshPart" then
  809. c.TextureID = ""
  810. end
  811. if c:FindFirstChildOfClass("BodyPosition") then
  812. c:FindFirstChildOfClass("BodyPosition"):remove()
  813. end
  814. if c:FindFirstChildOfClass("ParticleEmitter") then
  815. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  816. end
  817. c.Parent = NewCharacter
  818. c.Name = "DeadPart"
  819. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  820. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  821. end
  822. end
  823. Char:remove()
  824. Debris:AddItem(NewCharacter,5)
  825. end
  826.  
  827. function ApplyAoE(POSITION,RANGE,BRUTAL)
  828. local CHILDREN = workspace:GetDescendants()
  829. for index, CHILD in pairs(CHILDREN) do
  830. if CHILD.ClassName == "Model" and CHILD ~= Character then
  831. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  832. if HUM then
  833. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  834. if TORSO then
  835. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  836. if BRUTAL == true then
  837. Kill(CHILD)
  838. else
  839. CHILD:BreakJoints()
  840. end
  841. end
  842. end
  843. end
  844. end
  845. end
  846. end
  847.  
  848. function BulletDetection(FROM,TO,BRUTAL)
  849. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  850. coroutine.resume(coroutine.create(function()
  851. if AIMHIT ~= nil then
  852. if AIMHIT.Parent ~= Character then
  853. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  854. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  855. if BRUTAL == true then
  856. Kill(AIMHIT.Parent)
  857. else
  858. getbloody(AIMHIT,15)
  859. AIMHIT.Parent:BreakJoints()
  860. if AIMHIT.Name == "Head" then
  861. AIMHIT.Name = "HEADSHOT"
  862. AIMHIT:remove()
  863. end
  864. end
  865. else
  866. if BRUTAL == true then
  867. Kill(AIMHIT.Parent.Parent)
  868. else
  869. AIMHIT.Parent.Parent:BreakJoints()
  870. end
  871. end
  872. end
  873. end
  874. end
  875. end))
  876. SpawnTrail(FROM,AIMPOS)
  877. return AIMHIT,AIMPOS,NORMAL
  878. end
  879.  
  880. local asd = Instance.new("ParticleEmitter")
  881. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0))
  882. asd.LightEmission = .1
  883. asd.Size = NumberSequence.new(0.2)
  884. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  885. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  886. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  887. asd.Transparency = bbb
  888. asd.Size = aaa
  889. asd.ZOffset = .9
  890. asd.Acceleration = Vector3.new(0, -5, 0)
  891. asd.LockedToPart = false
  892. asd.EmissionDirection = "Back"
  893. asd.Lifetime = NumberRange.new(1, 2)
  894. asd.Rotation = NumberRange.new(-100, 100)
  895. asd.RotSpeed = NumberRange.new(-100, 100)
  896. asd.Speed = NumberRange.new(2)
  897. asd.Enabled = false
  898. asd.VelocitySpread = 10000
  899.  
  900. function getbloody(victim,amount)
  901. local prtcl = asd:Clone()
  902. prtcl.Parent = victim
  903. prtcl:Emit(amount)
  904. end
  905.  
  906. local TORSOVELOCITY = 0
  907.  
  908. function Ragdoll(Character2,CharTorso)
  909. local svch = Character2
  910. local hum = Character2:findFirstChild("Humanoid")
  911. local q = Character2:GetChildren()
  912. local CLONE = IT("Model",Effects)
  913. local DummyHead = nil
  914. for i = 1,#q do
  915. 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
  916. q[i].Parent = CLONE
  917. if q[i].Name == "Head" then
  918. DummyHead = CLONE.Head:Clone()
  919. q[i]:ClearAllChildren()
  920. q[i].Transparency = 1
  921. end
  922. else
  923. if q[i].ClassName ~= "Humanoid" then
  924. q[i]:remove()
  925. end
  926. end
  927. end
  928. local chrclone = CLONE
  929.  
  930. for _, c in pairs(Character2:GetChildren()) do
  931. if c.ClassName == "Accessory" then
  932. c:remove()
  933. end
  934. end
  935.  
  936. local ch = chrclone:GetChildren()
  937. local i
  938. for i = 1,#ch do
  939. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  940. ch[i]:remove()
  941. end
  942. end
  943. local function Scan(ch)
  944. local e
  945. for e = 1,#ch do
  946. Scan(ch[e]:GetChildren())
  947. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  948. ch[e]:remove()
  949. end
  950. end
  951. end
  952. Scan(chrclone:GetChildren())
  953.  
  954. local ch = Character2:GetChildren()
  955. local i
  956. for i = 1,#ch do
  957. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  958. ch[i]:remove()
  959. end
  960. end
  961.  
  962. local ch = Character2:GetChildren()
  963. local i
  964. for i = 1,#ch do
  965. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  966. ch[i]:remove()
  967. end
  968. end
  969. Character2 = chrclone
  970. local Torso2 = Character2.Torso
  971. local movevector = Vector3.new()
  972.  
  973. if Torso2 then
  974. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  975. local Head = Character2:FindFirstChild("Head")
  976. if Head then
  977. local Neck = Instance.new("Weld")
  978. Neck.Name = "Neck"
  979. Neck.Part0 = Torso2
  980. Neck.Part1 = Head
  981. Neck.C0 = CFrame.new(0, 1.5, 0)
  982. Neck.C1 = CFrame.new()
  983. Neck.Parent = Torso2
  984. Head:ClearAllChildren()
  985. Head.Transparency = 1
  986.  
  987. end
  988. local Limb = Character2:FindFirstChild("Right Arm")
  989. if Limb then
  990.  
  991. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  992. local Joint = Instance.new("Glue")
  993. Joint.Name = "RightShoulder"
  994. Joint.Part0 = Torso2
  995. Joint.Part1 = Limb
  996. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  997. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  998. Joint.Parent = Torso2
  999.  
  1000. local B = Instance.new("Part")
  1001. B.TopSurface = 0
  1002. B.BottomSurface = 0
  1003. B.formFactor = "Symmetric"
  1004. B.Size = Vector3.new(1, 1, 1)
  1005. B.Transparency = 1
  1006. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1007. B.Parent = Character2
  1008. local W = Instance.new("Weld")
  1009. W.Part0 = Limb
  1010. W.Part1 = B
  1011. W.C0 = CFrame.new(0, -0.5, 0)
  1012. W.Parent = Limb
  1013.  
  1014. end
  1015. local Limb = Character2:FindFirstChild("Left Arm")
  1016. if Limb then
  1017.  
  1018. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1019. local Joint = Instance.new("Glue")
  1020. Joint.Name = "LeftShoulder"
  1021. Joint.Part0 = Torso2
  1022. Joint.Part1 = Limb
  1023. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1024. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1025. Joint.Parent = Torso2
  1026.  
  1027. local B = Instance.new("Part")
  1028. B.TopSurface = 0
  1029. B.BottomSurface = 0
  1030. B.formFactor = "Symmetric"
  1031. B.Size = Vector3.new(1, 1, 1)
  1032. B.Transparency = 1
  1033. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1034. B.Parent = Character2
  1035. local W = Instance.new("Weld")
  1036. W.Part0 = Limb
  1037. W.Part1 = B
  1038. W.C0 = CFrame.new(0, -0.5, 0)
  1039. W.Parent = Limb
  1040.  
  1041. end
  1042. local Limb = Character2:FindFirstChild("Right Leg")
  1043. if Limb then
  1044.  
  1045. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1046. local Joint = Instance.new("Glue")
  1047. Joint.Name = "RightHip"
  1048. Joint.Part0 = Torso2
  1049. Joint.Part1 = Limb
  1050. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1051. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1052. Joint.Parent = Torso2
  1053.  
  1054. local B = Instance.new("Part")
  1055. B.TopSurface = 0
  1056. B.BottomSurface = 0
  1057. B.formFactor = "Symmetric"
  1058. B.Size = Vector3.new(1, 1, 1)
  1059. B.Transparency = 1
  1060. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1061. B.Parent = Character2
  1062. local W = Instance.new("Weld")
  1063. W.Part0 = Limb
  1064. W.Part1 = B
  1065. W.C0 = CFrame.new(0, -0.5, 0)
  1066. W.Parent = Limb
  1067.  
  1068. end
  1069. local Limb = Character2:FindFirstChild("Left Leg")
  1070. if Limb then
  1071.  
  1072. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1073. local Joint = Instance.new("Glue")
  1074. Joint.Name = "LeftHip"
  1075. Joint.Part0 = Torso2
  1076. Joint.Part1 = Limb
  1077. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1078. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1079. Joint.Parent = Torso2
  1080.  
  1081. local B = Instance.new("Part")
  1082. B.TopSurface = 0
  1083. B.BottomSurface = 0
  1084. B.formFactor = "Symmetric"
  1085. B.Size = Vector3.new(1, 1, 1)
  1086. B.Transparency = 1
  1087. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1088. B.Parent = Character2
  1089. local W = Instance.new("Weld")
  1090. W.Part0 = Limb
  1091. W.Part1 = B
  1092. W.C0 = CFrame.new(0, -0.5, 0)
  1093. W.Parent = Limb
  1094.  
  1095. end
  1096. --[
  1097. local Bar = Instance.new("Part")
  1098. Bar.TopSurface = 0
  1099. Bar.BottomSurface = 0
  1100. Bar.formFactor = "Symmetric"
  1101. Bar.Size = Vector3.new(1, 1, 1)
  1102. Bar.Transparency = 1
  1103. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1104. Bar.Parent = Character2
  1105. local Weld = Instance.new("Weld")
  1106. Weld.Part0 = Torso2
  1107. Weld.Part1 = Bar
  1108. Weld.C0 = CFrame.new(0, 0.5, 0)
  1109. Weld.Parent = Torso2
  1110. --]]
  1111. end
  1112. Character2.Parent = Weapon
  1113. if movevector ~= Vector3.new() then
  1114. for i = 1,10 do
  1115. Torso2.Velocity = movevector * 30
  1116. end
  1117. end
  1118. DummyHead.Name = "FakeHead"
  1119. DummyHead.Parent = CLONE
  1120. local BLOOD = CreatePart(3, DummyHead, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.25,0.65),false)
  1121. BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
  1122. MakeForm(BLOOD,"Cyl")
  1123. weldBetween(DummyHead,BLOOD)
  1124. local BLOOD = CreatePart(3, Torso2, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.2,0.65),false)
  1125. BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
  1126. MakeForm(BLOOD,"Cyl")
  1127. weldBetween(Torso2,BLOOD)
  1128. Character2.Name = "Corpse"
  1129. local hum2 = svch:findFirstChild("Humanoid")
  1130.  
  1131. return Character2,Torso2,DummyHead
  1132. end
  1133.  
  1134. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  1135. local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  1136. if HITFLOOR ~= nil then
  1137. if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1138. if HITFLOOR.Name == "BloodPuddle" then
  1139. local DIST = (Position - HITFLOOR.Position).Magnitude
  1140. 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
  1141. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  1142. end
  1143. else
  1144. if HITFLOOR.Anchored == true then
  1145. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1,0,1))
  1146. BLOOD.CFrame = CF(HITPOS)
  1147. MakeForm(BLOOD,"Cyl")
  1148. coroutine.resume(coroutine.create(function()
  1149. Swait(75)
  1150. while true do
  1151. Swait()
  1152. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  1153. if BLOOD.Size.Z < 0.051 then
  1154. BLOOD:remove()
  1155. break
  1156. end
  1157. end
  1158. end))
  1159. end
  1160. end
  1161. end
  1162. end
  1163. end
  1164.  
  1165. function SprayBlood(POSITION,DIRECTION,BloodSize)
  1166. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
  1167. BLOOD.CFrame = CF(POSITION)
  1168. MakeForm(BLOOD,"Ball")
  1169. local bv = Instance.new("BodyVelocity",BLOOD)
  1170. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1171. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15
  1172. bv.Name = "MOVE"
  1173. Debris:AddItem(bv,0.05)
  1174. coroutine.resume(coroutine.create(function()
  1175. local HASTOUCHEDGROUND = false
  1176. local HIT = BLOOD.Touched:Connect(function(hit)
  1177. if hit.Anchored == true then
  1178. HASTOUCHEDGROUND = true
  1179. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  1180. end
  1181. end)
  1182. for i = 1, 50 do
  1183. Swait()
  1184. if HASTOUCHEDGROUND == true then
  1185. break
  1186. end
  1187. BLOOD.Size = BLOOD.Size * 0.9
  1188. end
  1189. BLOOD:remove()
  1190. end))
  1191. end
  1192.  
  1193. function Kill(Target)
  1194. if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
  1195. Target:BreakJoints()
  1196. local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
  1197. local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
  1198. getbloody(DummyHead,45)
  1199. if TORS2 ~= nil then
  1200. CreateSound("185688060", TORS2, 10, (math.random(8,12)/10))
  1201. CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10))
  1202. local HUM = IT("Humanoid")
  1203. HUM.MaxHealth = 0
  1204. HUM.Health = 0
  1205. HUM.Name = "CorpseHumanoid"
  1206. HUM.PlatformStand = true
  1207. HUM.Parent = CLONE
  1208. KILLINSTINCT = KILLINSTINCT + 20
  1209. TORS2.CFrame = CFRAME
  1210. coroutine.resume(coroutine.create(function()
  1211. for i = 1, 450 do
  1212. wait()
  1213. SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5)
  1214. SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10)
  1215. --PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3)
  1216. --PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6)
  1217. end
  1218. CLONE:Remove()
  1219. end))
  1220. end
  1221. end
  1222. end
  1223.  
  1224. --//=================================\\
  1225. --|| ATTACK FUNCTIONS AND STUFF
  1226. --\\=================================//
  1227.  
  1228. function Morning_Star()
  1229. ATTACK = true
  1230. Rooted = true
  1231. for i=0, 1, 0.1 / Animation_Speed do
  1232. Swait()
  1233. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1234. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1236. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1237. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1238. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1239. end
  1240. coroutine.resume(coroutine.create(function()
  1241. local POS = Mouse.Hit.p
  1242. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
  1243. MakeForm(RAY,"Cyl")
  1244. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  1245. MakeForm(SPHERE,"Ball")
  1246. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1247. MakeForm(SHIELD,"Ball")
  1248. SHIELD.CFrame = CF(POS)
  1249. RAY.CFrame = CF(POS)
  1250. SPHERE.CFrame = CF(POS)
  1251. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1252. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1253. for i = 1, 200 do
  1254. Swait()
  1255. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1256. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1257. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1258. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1259. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1260. end
  1261. for i = 1, 45 do
  1262. Swait()
  1263. RAY.Transparency = RAY.Transparency + 1/45
  1264. SPHERE.Transparency = RAY.Transparency
  1265. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1266. end
  1267. RAY:remove()
  1268. SHIELD:remove()
  1269. SPHERE:remove()
  1270. end))
  1271. for i=0, 1, 0.1 / Animation_Speed do
  1272. Swait()
  1273. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1274. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1275. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1276. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1277. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1278. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1279. end
  1280. ATTACK = false
  1281. Rooted = false
  1282. end
  1283.  
  1284. function Swing()
  1285. ATTACK = true
  1286. Rooted = false
  1287. for i=0, 1, 0.1 / Animation_Speed do
  1288. Swait()
  1289. 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)
  1290. 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)
  1291. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1292. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1293. 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)
  1294. 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)
  1295. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed)
  1296. end
  1297. Trail.Enabled = true
  1298. HandlePart.CanCollide = true
  1299. CreateSound("185687991", HandlePart, 1, (math.random(8,12)/10))
  1300. local HIT = HandlePart.Touched:Connect(function(hit)
  1301. Kill(hit.Parent)
  1302. end)
  1303. for i=0, 0.8, 0.1 / Animation_Speed do
  1304. Swait()
  1305. if Speed == 25 and TORSOVELOCITY > 0.3 then
  1306. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  1307. end
  1308. 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)
  1309. 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)
  1310. 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)
  1311. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1312. 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)
  1313. 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)
  1314. 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)
  1315. end
  1316. Trail.Enabled = false
  1317. HandlePart.CanCollide = false
  1318. HIT:disconnect()
  1319. ATTACK = false
  1320. Rooted = false
  1321. end
  1322.  
  1323. function Laugh()
  1324. ATTACK = true
  1325. Rooted = true
  1326. CreateSound("1238240145", Torso, 6, 1)
  1327. for i=0, 3.5, 0.1 / Animation_Speed do
  1328. Swait()
  1329. 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)
  1330. 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)
  1331. 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)
  1332. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1333. 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)
  1334. 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)
  1335. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1336. end
  1337. ATTACK = false
  1338. Rooted = false
  1339. end
  1340.  
  1341. --//=================================\\
  1342. --|| ASSIGN THINGS TO KEYS
  1343. --\\=================================//
  1344.  
  1345. function MouseDown(Mouse)
  1346. if ATTACK == false then
  1347. Swing()
  1348. end
  1349. end
  1350.  
  1351. function MouseUp(Mouse)
  1352. HOLD = false
  1353. end
  1354.  
  1355. function KeyDown(Key)
  1356. KEYHOLD = true
  1357. if Key == "b" and ATTACK == false then
  1358. if Speed == 10 then
  1359. Speed = 25
  1360. elseif Speed == 25 then
  1361. Speed = 10
  1362. end
  1363. end
  1364.  
  1365. if Key == "t" and ATTACK == false then
  1366. Laugh()
  1367. end
  1368.  
  1369.  
  1370. if Key == "z" and ATTACK == false then
  1371. Morning_Star()
  1372. end
  1373.  
  1374. end
  1375.  
  1376. function KeyUp(Key)
  1377. KEYHOLD = false
  1378. end
  1379.  
  1380. Mouse.Button1Down:connect(function(NEWKEY)
  1381. MouseDown(NEWKEY)
  1382. end)
  1383. Mouse.Button1Up:connect(function(NEWKEY)
  1384. MouseUp(NEWKEY)
  1385. end)
  1386. Mouse.KeyDown:connect(function(NEWKEY)
  1387. KeyDown(NEWKEY)
  1388. end)
  1389. Mouse.KeyUp:connect(function(NEWKEY)
  1390. KeyUp(NEWKEY)
  1391. end)
  1392.  
  1393. --//=================================\\
  1394. --\\=================================//
  1395.  
  1396.  
  1397. function unanchor()
  1398. if UNANCHOR == true then
  1399. g = Character:GetChildren()
  1400. for i = 1, #g do
  1401. if g[i].ClassName == "Part" then
  1402. g[i].Anchored = false
  1403. end
  1404. end
  1405. end
  1406. end
  1407.  
  1408.  
  1409. --//=================================\\
  1410. --|| WRAP THE WHOLE SCRIPT UP
  1411. --\\=================================//
  1412.  
  1413. Humanoid.Changed:connect(function(Jump)
  1414. if Jump == "Jump" and (Disable_Jump == true) then
  1415. Humanoid.Jump = false
  1416. end
  1417. end)
  1418.  
  1419. Speed = 10
  1420.  
  1421. local naeeym2 = Instance.new("BillboardGui",Character)
  1422. naeeym2.AlwaysOnTop = true
  1423. naeeym2.Size = UDim2.new(5,35,2,35)
  1424. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1425. naeeym2.Adornee = Character.Head
  1426. naeeym2.Name = "Name"
  1427. naeeym2.PlayerToHideFrom = Player
  1428. local tecks2 = Instance.new("TextLabel",naeeym2)
  1429. tecks2.BackgroundTransparency = 1
  1430. tecks2.TextScaled = true
  1431. tecks2.BorderSizePixel = 0
  1432. tecks2.Text = ""
  1433. tecks2.Font = "Antique"
  1434. tecks2.TextSize = 30
  1435. tecks2.TextStrokeTransparency = 0
  1436. tecks2.TextColor3 = Color3.new(0.8,0,0)
  1437. tecks2.TextStrokeColor3 = Color3.new(0.8,0,0)
  1438. tecks2.Size = UDim2.new(1,0,0.5,0)
  1439. tecks2.Parent = naeeym2
  1440.  
  1441.  
  1442. while true do
  1443. Swait()
  1444. ANIMATE.Parent = nil
  1445. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1446. Humanoid = IT("Humanoid",Character)
  1447. end
  1448. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1449. v:Stop();
  1450. end
  1451. SINE = SINE + CHANGE
  1452. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1453. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1454. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1455. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1456. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1457. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1458. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1459. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  1460. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  1461. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1462. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1463. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1464. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1465. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1466. end
  1467. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1468. ANIM = "Jump"
  1469. if ATTACK == false then
  1470. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1471. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
  1473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1474. 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.3 / Animation_Speed)
  1475. 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.3 / Animation_Speed)
  1476. end
  1477. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1478. ANIM = "Fall"
  1479. if ATTACK == false then
  1480. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1481. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  1482. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
  1483. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  1484. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  1485. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.3 / Animation_Speed)
  1486. end
  1487. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1488. ANIM = "Idle"
  1489. if ATTACK == false then
  1490. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.16 / Animation_Speed)
  1491. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.16 / Animation_Speed)
  1492. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
  1493. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed)
  1494. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
  1495. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
  1496. end
  1497. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1498. ANIM = "Walk"
  1499. if ATTACK == false then
  1500. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed)
  1501. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.16 / Animation_Speed)
  1502. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
  1503. 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)
  1504. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1505. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1506. end
  1507. end
  1508. unanchor()
  1509. Humanoid.MaxHealth = "inf"
  1510. Humanoid.Health = "inf"
  1511. if Rooted == false then
  1512. Disable_Jump = false
  1513. Humanoid.WalkSpeed = Speed
  1514. elseif Rooted == true then
  1515. Disable_Jump = true
  1516. Humanoid.WalkSpeed = 0
  1517. end
  1518. if KILLINSTINCT > 0 then
  1519. PuddleOfBlood(HandlePart.CFrame*CF(0,1,0).p,3,HandlePart,2)
  1520. KILLINSTINCT = KILLINSTINCT - 0.1
  1521. end
  1522. if Head:FindFirstChild("face") then
  1523. Head.face.Texture = "http://www.roblox.com/asset/?id=120463437"
  1524. end
  1525. Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70))
  1526. local MATHS = {"0","1"}
  1527. 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)]
  1528. Humanoid.PlatformStand = false
  1529. script.Name = Humanoid.Name
  1530. if math.random(1,70-Speed) == 1 then
  1531. tecks2.Text = "FAILURE"
  1532. elseif math.random(1,70-Speed) == 2 then
  1533. tecks2.Text = "WHY BOTHER"
  1534. elseif math.random(1,70-Speed) == 3 then
  1535. tecks2.Text = "WORTHLESS"
  1536. else
  1537. if KILLINSTINCT > 0 then
  1538. if KILLINSTINCT < 100 then
  1539. if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then
  1540. tecks2.Text = "HAHAHAHAHAHAHA"
  1541. else
  1542. tecks2.Text = "PSYCHO"
  1543. end
  1544. elseif KILLINSTINCT >= 100 then
  1545. if MRANDOM(1,5) == 1 then
  1546. tecks2.Text = "HAHAHAHAHAHAHA"
  1547. end
  1548. else
  1549. tecks2.Text = "PSYCHO"
  1550. end
  1551. else
  1552. tecks2.Text = "PSYCHO"
  1553. end
  1554. end
  1555. DECAL.Transparency = 1-(KILLINSTINCT/25)
  1556. Swait()
  1557. if Head:FindFirstChildOfClass("Sound") then
  1558. Head:FindFirstChildOfClass("Sound"):remove()
  1559. end
  1560. if KILLINSTINCT > 100 then
  1561. KILLINSTINCT = 100
  1562. end
  1563. sick.Parent = Character
  1564. Sky.Parent = game.Lighting
  1565. game.Lighting.ClockTime = 22
  1566. script.Parent = PlayerGui
  1567. end
  1568.  
  1569. --//=================================\\
  1570. --\\=================================//
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576. --//====================================================\\--
  1577. --|| END OF SCRIPT
  1578. --\\====================================================//--
Add Comment
Please, Sign In to add comment