hawoody

Murderer

Apr 1st, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.17 KB | None | 0 0
  1. function swait(num)
  2. if num == 0 or num == nil then
  3. game:service("RunService").Stepped:wait(0)
  4. else
  5. for i = 0, num do
  6. game:service("RunService").Stepped:wait(0)
  7. end
  8. end
  9. end
  10. -- by Theamazingnater
  11. warn'Loading...'
  12. wait(1)
  13. warn'Loaded!...'
  14. kills = 0
  15. local knife = Instance.new("Part",game.Players.LocalPlayer.Character)
  16. knife.Name = "knifu"
  17. knife.CanCollide = false
  18. local knifemesh = Instance.new("FileMesh",knife)
  19. knifemesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
  20. knifemesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
  21. local weld = Instance.new("Weld",knife)
  22. weld.Part0 = knife
  23. weld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  24. weld.C0 = CFrame.new(0, -0.800003052, 0.999999046, 1, 0, 0, 0, 0, -1, 0, 0.999999523, 0)
  25. local plr = game:service'Players'.LocalPlayer
  26. print([[
  27. Thanks for using Murderer v2 by Theamazingnater,
  28. Credit to the orginal creator of the Murderer script.
  29. User = ]] .. plr.Name)
  30. local TrailAtt = Instance.new("Attachment",knife)
  31. TrailAtt.Position = Vector3.new(0.02, 0.79, -0.285)
  32. local TrailAtt2 = Instance.new("Attachment",knife)
  33. TrailAtt2.Position = Vector3.new(0.01, -0.54, -0.285)
  34. local trail = Instance.new("Trail",knife)
  35. trail.Enabled = false
  36. trail.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  37. trail.Attachment0 = TrailAtt
  38. trail.Attachment1 = TrailAtt2
  39. trail.Lifetime = 0.1
  40. local char = plr.Character
  41. local hum = char.Humanoid
  42. local ra = char["Right Arm"]
  43. local la= char["Left Arm"]
  44. local rl= char["Right Leg"]
  45. local ll = char["Left Leg"]
  46. local hed = char.Head
  47. local root = char.HumanoidRootPart
  48. local rootj = root.RootJoint
  49. local tors = char.Torso
  50. local mouse = plr:GetMouse()
  51. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  52. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  53. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  54. local maincolor = BrickColor.new("Pastel yellow")
  55.  
  56. function Ragdoll(dude)
  57. local humanoid = dude:FindFirstChildOfClass("Humanoid")
  58. dude:BreakJoints()
  59. local isr15 = dude:findFirstChild("UpperTorso")
  60. if isr15 then
  61. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  62. humanoid.Parent.HumanoidRootPart.CanCollide = false
  63. end
  64. local function makeballlimb(attachone, attachtwo, upperang, lowang, twist)
  65. local constraint = Instance.new("BallSocketConstraint", humanoid.Parent)
  66. constraint.Attachment0 = attachone
  67. constraint.Attachment1 = attachtwo
  68. constraint.LimitsEnabled = true
  69. constraint.TwistLimitsEnabled = true
  70. constraint.TwistLowerAngle = lowang
  71. constraint.TwistUpperAngle = upperang
  72. constraint.UpperAngle = twist
  73. end
  74. local function makehingelimb(attachone, attachtwo, upperang, lowang)
  75. local constraint = Instance.new("HingeConstraint", humanoid.Parent)
  76. constraint.Attachment0 = attachone
  77. constraint.Attachment1 = attachtwo
  78. constraint.LimitsEnabled = true
  79. constraint.LowerAngle = lowang
  80. constraint.UpperAngle = upperang
  81. end
  82. for i,v in pairs(humanoid.Parent:GetChildren()) do --scan player
  83. if v.ClassName == "Accessory" then
  84. local findhandle = v:findFirstChild("Handle") --finding handle in accesorry
  85. if findhandle then
  86. local attach = findhandle:findFirstChildOfClass("Attachment")
  87. for q,w in pairs(humanoid.Parent:GetChildren()) do --scan player
  88. if w.Name == "UpperTorso" or w.Name == "Head" then
  89. attach1 = w:findFirstChild(attach.Name) --finding attachment in head/uppertorso
  90. end
  91. end
  92. if attach and attach1 then
  93. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  94. constraint.Attachment0 = attach
  95. constraint.Attachment1 = attach1
  96. constraint.LimitsEnabled = true
  97. constraint.LowerAngle = 0
  98. constraint.UpperAngle = 0
  99. end
  100. end
  101. end
  102. end
  103. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("UpperTorso") then
  104. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  105. attachment.Position = Vector3.new(0, -0.5, 0)
  106. attachment.Name = "lol"
  107. attachment.Visible = false
  108. humanoid.Parent.UpperTorso.NeckAttachment.Visible = false
  109. humanoid.Parent.UpperTorso.NeckAttachment.Position = humanoid.Parent.UpperTorso.NeckAttachment.Position + Vector3.new(0,0,0)
  110. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  111. ball.Attachment0 = humanoid.Parent.UpperTorso.NeckAttachment
  112. ball.Attachment1 = attachment
  113. ball.LimitsEnabled = true
  114. ball.TwistLimitsEnabled = true
  115. ball.UpperAngle = 40
  116. ball.Restitution = 0.5
  117. ball.TwistUpperAngle = 40
  118. ball.TwistLowerAngle = -40
  119. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.UpperTorso)
  120. collidepartofleftleg.Name = "Bone"
  121. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  122. collidepartofleftleg.Transparency = 1
  123. collidepartofleftleg:BreakJoints()
  124. local weeld = Instance.new("Weld", collidepartofleftleg)
  125. weeld.Part0 = collidepartofleftleg
  126. weeld.Part1 = humanoid.Parent["Head"]
  127. if humanoid.Parent.Head:findFirstChild("Neck") then
  128. humanoid.Parent.Head.Neck:destroy()
  129. end
  130. if humanoid.Parent.Head:findFirstChild("face") then
  131. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  132. end
  133. end
  134. local LeftUpperLeg = humanoid.Parent:findFirstChild("LeftUpperLeg")
  135. local LeftLowerLeg = humanoid.Parent:findFirstChild("LeftLowerLeg")
  136. --
  137. local RightUpperLeg = humanoid.Parent:findFirstChild("RightUpperLeg")
  138. local RightLowerLeg = humanoid.Parent:findFirstChild("RightLowerLeg")
  139. --
  140. local RightUpperArm = humanoid.Parent:findFirstChild("RightUpperArm")
  141. local RightLowerArm = humanoid.Parent:findFirstChild("RightLowerArm")
  142. --
  143. local LeftUpperArm = humanoid.Parent:findFirstChild("LeftUpperArm")
  144. local LeftLowerArm = humanoid.Parent:findFirstChild("LeftLowerArm")
  145. --Foot & Hands--
  146.  
  147. local LeftFoot = humanoid.Parent:findFirstChild("LeftFoot")
  148. local RightFoot = humanoid.Parent:findFirstChild("RightFoot")
  149. --
  150. local LeftHand = humanoid.Parent:findFirstChild("LeftHand")
  151. local RightHand = humanoid.Parent:findFirstChild("RightHand")
  152.  
  153. --END--
  154. --TORSOS--
  155.  
  156. local UpperTorso = humanoid.Parent:findFirstChild("UpperTorso")
  157. local LowerTorso = humanoid.Parent:findFirstChild("LowerTorso")
  158.  
  159. --END--
  160. if LowerTorso then
  161. if LeftUpperLeg then
  162. makeballlimb(LowerTorso["LeftHipRigAttachment"], LeftUpperLeg["LeftHipRigAttachment"], 50,-50, 90)
  163. end
  164. if RightUpperLeg then
  165. makeballlimb(LowerTorso["RightHipRigAttachment"], RightUpperLeg["RightHipRigAttachment"], 50,-50, 90)
  166. end
  167. if LeftLowerLeg then
  168. makehingelimb(LeftUpperLeg["LeftKneeRigAttachment"], LeftLowerLeg["LeftKneeRigAttachment"], 0,-90)
  169. end
  170. if RightLowerLeg then
  171. makehingelimb(RightUpperLeg["RightKneeRigAttachment"], RightLowerLeg["RightKneeRigAttachment"], 0,-90)
  172. end
  173. if LeftFoot then
  174. makehingelimb(LeftLowerLeg["LeftAnkleRigAttachment"], LeftFoot["LeftAnkleRigAttachment"], 30, -30)
  175. end
  176. if RightFoot then
  177. makehingelimb(RightLowerLeg["RightAnkleRigAttachment"], RightFoot["RightAnkleRigAttachment"], 30, -30)
  178. end
  179. if UpperTorso then
  180. makehingelimb(UpperTorso["WaistRigAttachment"], LowerTorso["WaistRigAttachment"], 30, -30)
  181. end
  182. end
  183. if UpperTorso then
  184. local canhit = true
  185. local hitval = 15
  186. local uptor = humanoid.Parent.UpperTorso
  187. if RightUpperArm then
  188. makeballlimb(RightUpperArm["RightShoulderRigAttachment"], UpperTorso["RightShoulderRigAttachment"], 90,-50, 180)
  189. end
  190. if RightLowerArm then
  191. makehingelimb(RightLowerArm["RightElbowRigAttachment"], RightUpperArm["RightElbowRigAttachment"], 0,-90)
  192. end
  193. if RightHand then
  194. makehingelimb(RightHand["RightWristRigAttachment"], RightLowerArm["RightWristRigAttachment"], 30,30)
  195. end
  196. if LeftUpperArm then
  197. makeballlimb(LeftUpperArm["LeftShoulderRigAttachment"], UpperTorso["LeftShoulderRigAttachment"], 90,-50, 180)
  198. end
  199. if LeftLowerArm then
  200. makehingelimb(LeftLowerArm["LeftElbowRigAttachment"], LeftUpperArm["LeftElbowRigAttachment"], 0,-90)
  201. end
  202. if LeftHand then
  203. makehingelimb(LeftHand["LeftWristRigAttachment"], LeftLowerArm["LeftWristRigAttachment"], 30,30)
  204. end
  205. end
  206. elseif dude:findFirstChild("Torso") then
  207. canspin = false
  208. if humanoid.Parent:findFirstChild("Health") then
  209. humanoid.Parent.Health:Remove()
  210. end
  211. humanoid.WalkSpeed = 0
  212. humanoid.JumpPower = 0
  213. humanoid.PlatformStand = true
  214. for z,x in pairs(humanoid.Parent:GetChildren()) do
  215. if x.ClassName == "Accessory" then
  216. local handle = x:findFirstChild("Handle")
  217. if handle then
  218. local attachment = handle:findFirstChildOfClass("Attachment")
  219. if attachment then
  220. for q,w in pairs(humanoid.Parent:GetChildren()) do
  221. if w.Name == "Torso" or w.Name == "Head" then
  222. local anotherone = w:findFirstChild(attachment.Name)
  223. if attachment and anotherone then
  224. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  225. constraint.Attachment0 = attachment
  226. constraint.Attachment1 = anotherone
  227. constraint.LimitsEnabled = true
  228. constraint.LowerAngle = 0
  229. constraint.UpperAngle = 0
  230. end
  231. end
  232. end
  233. end
  234. end
  235. end
  236. end
  237. if humanoid.Parent:findFirstChild("Right Arm") and humanoid.Parent:findFirstChild("Torso") then
  238. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  239. attachment.Position = Vector3.new(1, 1, 0)
  240. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  241. ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
  242. ball.Attachment1 = attachment
  243. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  244. collidepartofleftleg.Name = "Bone"
  245. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  246. collidepartofleftleg.Transparency = 1
  247. collidepartofleftleg:BreakJoints()
  248. local weeld = Instance.new("Weld", collidepartofleftleg)
  249. weeld.Part0 = humanoid.Parent["Right Arm"]
  250. weeld.Part1 = collidepartofleftleg
  251. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  252. end
  253. if humanoid.Parent:findFirstChild("Left Arm") and humanoid.Parent:findFirstChild("Torso") then
  254. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  255. attachment.Position = Vector3.new(-1, 1, 0)
  256. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  257. ball.Attachment0 = attachment
  258. ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
  259. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  260. collidepartofleftleg.Name = "Bone"
  261. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  262. collidepartofleftleg.Transparency = 1
  263. collidepartofleftleg:BreakJoints()
  264. local weeld = Instance.new("Weld", collidepartofleftleg)
  265. weeld.Part0 = humanoid.Parent["Left Arm"]
  266. weeld.Part1 = collidepartofleftleg
  267. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  268. end
  269. if humanoid.Parent:findFirstChild("Right Leg") and humanoid.Parent:findFirstChild("Torso") then
  270. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  271. attachment.Position = Vector3.new(0.5, -1, 0)
  272. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  273. ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
  274. ball.Attachment1 = attachment
  275. humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  276. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  277. collidepartofleftleg.Name = "Bone"
  278. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  279. collidepartofleftleg.Transparency = 1
  280. collidepartofleftleg:BreakJoints()
  281. local weeld = Instance.new("Weld", collidepartofleftleg)
  282. weeld.Part0 = humanoid.Parent["Right Leg"]
  283. weeld.Part1 = collidepartofleftleg
  284. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  285. end
  286. if humanoid.Parent:findFirstChild("Left Leg") and humanoid.Parent:findFirstChild("Torso") then
  287. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  288. attachment.Position = Vector3.new(-0.5, -1, 0)
  289. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  290. ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
  291. ball.Attachment1 = attachment
  292. humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  293. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  294. collidepartofleftleg.Name = "Bone"
  295. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  296. collidepartofleftleg.Transparency = 1
  297. collidepartofleftleg:BreakJoints()
  298. local weeld = Instance.new("Weld", collidepartofleftleg)
  299. weeld.Part0 = humanoid.Parent["Left Leg"]
  300. weeld.Part1 = collidepartofleftleg
  301. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  302. end
  303. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("Torso") then
  304. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  305. attachment.Position = Vector3.new(0, -0.5, 0)
  306. attachment.Name = "lol"
  307. attachment.Visible = false
  308. humanoid.Parent.Torso.NeckAttachment.Visible = false
  309. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  310. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  311. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  312. ball.Attachment1 = attachment
  313. ball.LimitsEnabled = true
  314. ball.TwistLimitsEnabled = true
  315. ball.UpperAngle = 90
  316. ball.Restitution = 0.5
  317. ball.TwistUpperAngle = 90
  318. ball.TwistLowerAngle = -90
  319. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  320. collidepartofleftleg.Name = "Bone"
  321. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  322. collidepartofleftleg.Transparency = 1
  323. collidepartofleftleg:BreakJoints()
  324. local weeld = Instance.new("Weld", collidepartofleftleg)
  325. weeld.Part0 = collidepartofleftleg
  326. weeld.Part1 = humanoid.Parent["Head"]
  327. if humanoid.Parent.Torso:findFirstChild("Neck") then
  328. humanoid.Parent.Torso.Neck:destroy()
  329. end
  330. if humanoid.Parent.Head:findFirstChild("face") then
  331. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  332. end
  333. end
  334. if humanoid.Parent:findFirstChild("Head") then
  335. local aah = Instance.new("Sound", humanoid.Parent.Head)
  336. if aah then
  337. aah.Volume = 8
  338. local aahmath = math.random(2,8)
  339. if aahmath == 2 then
  340. aah.SoundId = "rbxassetid://884348443"
  341. aah:Play()
  342. end
  343. if aahmath == 3 then
  344. aah.SoundId = "rbxassetid://681582832"
  345. aah.Volume = 10
  346. aah:Play()
  347. end
  348. if aahmath == 4 then
  349. aah.SoundId = "rbxassetid://1080363252"
  350. aah:Play()
  351. end
  352. if aahmath == 5 then
  353. aah.SoundId = "rbxassetid://150245085"
  354. aah:Play()
  355. end
  356. if aahmath == 6 then
  357. aah.SoundId = "rbxassetid://345287845"
  358. aah.TimePosition = 2.5
  359. aah:Play()
  360. end
  361. if aahmath == 7 then
  362. aah.SoundId = "rbxassetid://147758746"
  363. aah.TimePosition = 1.3
  364. aah:Play()
  365. end
  366. if aahmath == 8 then
  367. aah.SoundId = "rbxassetid://131314452"
  368. aah:Play()
  369. end
  370. end
  371. end
  372. end
  373. end
  374.  
  375. -------------------------------------------------------
  376. --Start Good Stuff--
  377. -------------------------------------------------------
  378. CF = CFrame.new
  379. angles = CFrame.Angles
  380. attack = false
  381. Euler = CFrame.fromEulerAnglesXYZ
  382. Rad = math.rad
  383. IT = Instance.new
  384. BrickC = BrickColor.new
  385. Cos = math.cos
  386. Acos = math.acos
  387. Sin = math.sin
  388. Asin = math.asin
  389. Abs = math.abs
  390. Mrandom = math.random
  391. Floor = math.floor
  392. -------------------------------------------------------
  393. --End Good Stuff--
  394. -------------------------------------------------------
  395. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  396. RSH, LSH = nil, nil
  397. RW = Instance.new("Weld")
  398. LW = Instance.new("Weld")
  399. RH = tors["Right Hip"]
  400. LH = tors["Left Hip"]
  401. RSH = tors["Right Shoulder"]
  402. LSH = tors["Left Shoulder"]
  403. RSH.Parent = nil
  404. LSH.Parent = nil
  405. RW.Name = "RW"
  406. RW.Part0 = tors
  407. RW.C0 = CF(1.5, 0.5, 0)
  408. RW.C1 = CF(0, 0.5, 0)
  409. RW.Part1 = ra
  410. RW.Parent = tors
  411. LW.Name = "LW"
  412. LW.Part0 = tors
  413. LW.C0 = CF(-1.5, 0.5, 0)
  414. LW.C1 = CF(0, 0.5, 0)
  415. LW.Part1 = la
  416. LW.Parent = tors
  417. Effects = {}
  418.  
  419. -------------------------------------------------------
  420. --Start HeartBeat--
  421. -------------------------------------------------------
  422. ArtificialHB = Instance.new("BindableEvent", script)
  423. ArtificialHB.Name = "Heartbeat"
  424. script:WaitForChild("Heartbeat")
  425.  
  426. frame = 1 / 60
  427. tf = 0
  428. allowframeloss = false
  429. tossremainder = false
  430.  
  431.  
  432. lastframe = tick()
  433. script.Heartbeat:Fire()
  434.  
  435. canglitch = true
  436. local FT, RA, LA, RL, LL = Instance.new("SpecialMesh"), Instance.new("SpecialMesh"), Instance.new("SpecialMesh"), Instance.new("SpecialMesh"), Instance.new("SpecialMesh")
  437. local PlayerSize = 1
  438. FT.MeshId, FT.Scale = "rbxasset://fonts/torso.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize)
  439. RA.MeshId, RA.Scale = "rbxasset://fonts/rightarm.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize)
  440. LA.MeshId, LA.Scale = "rbxasset://fonts/leftarm.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize)
  441. RL.MeshId, RL.Scale = "rbxasset://fonts/rightleg.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize)
  442. LL.MeshId, LL.Scale = "rbxasset://fonts/leftleg.mesh", Vector3.new(PlayerSize, PlayerSize, PlayerSize)
  443. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  444. txtfag.Adornee = suckadick
  445. txtfag.Name = "kys nigga"
  446. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  447. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  448. local textfag = Instance.new("TextLabel", txtfag)
  449. textfag.Size = UDim2.new(6, 0, 1, 0)
  450. textfag.FontSize = "Size8"
  451. textfag.TextScaled = true
  452. textfag.TextTransparency = 0
  453. textfag.BackgroundTransparency = 1
  454. textfag.TextTransparency = 0
  455. textfag.TextStrokeTransparency = 0
  456. textfag.Font = "SourceSans"
  457. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  458. v = Instance.new("Part")
  459. v.Name = "ColorBrick"
  460. v.Parent = part
  461. v.FormFactor = "Symmetric"
  462. v.Anchored = true
  463. v.CanCollide = false
  464. v.BottomSurface = "Smooth"
  465. v.TopSurface = "Smooth"
  466. v.Size = Vector3.new(10, 5, 3)
  467. v.Transparency = 0.7
  468. v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
  469. v.Transparency = 1
  470. textfag.TextColor3 = BrickColor.new("Really red").Color
  471. textfag.TextStrokeColor3 = BrickColor.new("Really red").Color
  472. v.Shape = "Block"
  473. textfag.Text = "The Murderer"
  474. coroutine.resume(coroutine.create(function()
  475. while textfag ~= nil do
  476. swait()
  477. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  478. textfag.Rotation = math.random(-3,3)
  479. end
  480. end))
  481. local kills2 = Instance.new("ScreenGui",plr.PlayerGui) -- This will make a ScreenGui, which shows how much kills ya got.
  482. local text = Instance.new("TextLabel",kills2)
  483. text.Text = "KILLS: " .. kills -- Changes the text to "KILLS: 0" since the value is 0.
  484. text.Position = UDim2.new(0.728, 0,0.793, 0) -- This position failed, don't know why.
  485. text.Size = UDim2.new(0.271, 0,0.207, 0)
  486. text.TextColor3 = textfag.TextColor3
  487. text.TextScaled = true
  488. text.BackgroundTransparency = 1
  489. local number = Instance.new("NumberValue",char) -- Creates a NumberValue, which is the Kills value.
  490. number.Name = "Kills"
  491. number.Value = kills -- Changes the value to 0.
  492. coroutine.wrap(function()
  493. while true do
  494. wait(0.01)
  495. number.Value = kills -- Keeps up updating. We need this so the text will change.
  496. end
  497. end)()
  498. coroutine.resume(coroutine.create(function()
  499. while text ~= nil do
  500. swait()
  501. text.Text = "KILLS: " .. number.Value -- Updates each time it changes the value.
  502. text.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  503. text.Rotation = math.random(-3,3)
  504. end
  505. end))
  506. game:GetService("RunService").Heartbeat:connect(function(s, p)
  507. tf = tf + s
  508. if tf >= frame then
  509. if allowframeloss then
  510. script.Heartbeat:Fire()
  511. lastframe = tick()
  512. else
  513. for i = 1, math.floor(tf / frame) do
  514. script.Heartbeat:Fire()
  515. end
  516. lastframe = tick()
  517. end
  518. if tossremainder then
  519. tf = 0
  520. else
  521. tf = tf - frame * math.floor(tf / frame)
  522. end
  523. end
  524. end)
  525. -------------------------------------------------------
  526. --End HeartBeat--
  527. -------------------------------------------------------
  528.  
  529. -------------------------------------------------------
  530. --Start Important Functions--
  531. -------------------------------------------------------
  532. function swait(num)
  533. if num == 0 or num == nil then
  534. game:service("RunService").Stepped:wait(0)
  535. else
  536. for i = 0, num do
  537. game:service("RunService").Stepped:wait(0)
  538. end
  539. end
  540. end
  541. function thread(f)
  542. coroutine.resume(coroutine.create(f))
  543. end
  544. function clerp(a, b, t)
  545. local qa = {
  546. QuaternionFromCFrame(a)
  547. }
  548. local qb = {
  549. QuaternionFromCFrame(b)
  550. }
  551. local ax, ay, az = a.x, a.y, a.z
  552. local bx, by, bz = b.x, b.y, b.z
  553. local _t = 1 - t
  554. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  555. end
  556. function QuaternionFromCFrame(cf)
  557. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  558. local trace = m00 + m11 + m22
  559. if trace > 0 then
  560. local s = math.sqrt(1 + trace)
  561. local recip = 0.5 / s
  562. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  563. else
  564. local i = 0
  565. if m00 < m11 then
  566. i = 1
  567. end
  568. if m22 > (i == 0 and m00 or m11) then
  569. i = 2
  570. end
  571. if i == 0 then
  572. local s = math.sqrt(m00 - m11 - m22 + 1)
  573. local recip = 0.5 / s
  574. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  575. elseif i == 1 then
  576. local s = math.sqrt(m11 - m22 - m00 + 1)
  577. local recip = 0.5 / s
  578. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  579. elseif i == 2 then
  580. local s = math.sqrt(m22 - m00 - m11 + 1)
  581. local recip = 0.5 / s
  582. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  583. end
  584. end
  585. end
  586. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  587. local xs, ys, zs = x + x, y + y, z + z
  588. local wx, wy, wz = w * xs, w * ys, w * zs
  589. local xx = x * xs
  590. local xy = x * ys
  591. local xz = x * zs
  592. local yy = y * ys
  593. local yz = y * zs
  594. local zz = z * zs
  595. 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))
  596. end
  597. function QuaternionSlerp(a, b, t)
  598. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  599. local startInterp, finishInterp
  600. if cosTheta >= 1.0E-4 then
  601. if 1 - cosTheta > 1.0E-4 then
  602. local theta = math.acos(cosTheta)
  603. local invSinTheta = 1 / Sin(theta)
  604. startInterp = Sin((1 - t) * theta) * invSinTheta
  605. finishInterp = Sin(t * theta) * invSinTheta
  606. else
  607. startInterp = 1 - t
  608. finishInterp = t
  609. end
  610. elseif 1 + cosTheta > 1.0E-4 then
  611. local theta = math.acos(-cosTheta)
  612. local invSinTheta = 1 / Sin(theta)
  613. startInterp = Sin((t - 1) * theta) * invSinTheta
  614. finishInterp = Sin(t * theta) * invSinTheta
  615. else
  616. startInterp = t - 1
  617. finishInterp = t
  618. end
  619. 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
  620. end
  621. function rayCast(Position, Direction, Range, Ignore)
  622. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  623. end
  624. local RbxUtility = LoadLibrary("RbxUtility")
  625. local Create = RbxUtility.Create
  626.  
  627. -------------------------------------------------------
  628. --Start Damage Function--
  629. -------------------------------------------------------
  630. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  631. if hit.Parent == nil then
  632. return
  633. end
  634. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  635. for _, v in pairs(hit.Parent:children()) do
  636. if v:IsA("Humanoid") then
  637. h = v
  638. end
  639. end
  640. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  641.  
  642. hit.Parent:FindFirstChild("Head"):BreakJoints()
  643. end
  644.  
  645. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  646. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  647. if hit.Parent.DebounceHit.Value == true then
  648. return
  649. end
  650. end
  651. if insta == true then
  652. hit.Parent:FindFirstChild("Head"):BreakJoints()
  653. end
  654. local c = Create("ObjectValue"){
  655. Name = "creator",
  656. Value = game:service("Players").LocalPlayer,
  657. Parent = h,
  658. }
  659. game:GetService("Debris"):AddItem(c, .5)
  660. if HitSound ~= nil and HitPitch ~= nil then
  661. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  662. end
  663. local Damage = math.random(minim, maxim)
  664. local blocked = false
  665. local block = hit.Parent:findFirstChild("Block")
  666. if block ~= nil then
  667. if block.className == "IntValue" then
  668. if block.Value > 0 then
  669. blocked = true
  670. block.Value = block.Value - 1
  671. print(block.Value)
  672. end
  673. end
  674. end
  675. if blocked == false then
  676. h.Health = h.Health - Damage
  677. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  678. else
  679. h.Health = h.Health - (Damage / 2)
  680. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  681. end
  682. if Type == "Knockdown" then
  683. local hum = hit.Parent.Humanoid
  684. hum.PlatformStand = true
  685. coroutine.resume(coroutine.create(function(HHumanoid)
  686. swait(1)
  687. HHumanoid.PlatformStand = false
  688. end), hum)
  689. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  690. local bodvol = Create("BodyVelocity"){
  691. velocity = angle * knockback,
  692. P = 5000,
  693. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  694. Parent = hit,
  695. }
  696. local rl = Create("BodyAngularVelocity"){
  697. P = 3000,
  698. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  699. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  700. Parent = hit,
  701. }
  702. game:GetService("Debris"):AddItem(bodvol, .5)
  703. game:GetService("Debris"):AddItem(rl, .5)
  704. elseif Type == "Normal" then
  705. local vp = Create("BodyVelocity"){
  706. P = 500,
  707. maxForce = Vector3.new(math.huge, 0, math.huge),
  708. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  709. }
  710. if knockback > 0 then
  711. vp.Parent = hit.Parent.Torso
  712. end
  713. game:GetService("Debris"):AddItem(vp, .5)
  714. elseif Type == "Up" then
  715. local bodyVelocity = Create("BodyVelocity"){
  716. velocity = Vector3.new(0, 20, 0),
  717. P = 5000,
  718. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  719. Parent = hit,
  720. }
  721. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  722. elseif Type == "DarkUp" then
  723. coroutine.resume(coroutine.create(function()
  724. for i = 0, 1, 0.1 do
  725. swait()
  726. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  727. end
  728. end))
  729. local bodyVelocity = Create("BodyVelocity"){
  730. velocity = Vector3.new(0, 20, 0),
  731. P = 5000,
  732. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  733. Parent = hit,
  734. }
  735. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  736. elseif Type == "Snare" then
  737. local bp = Create("BodyPosition"){
  738. P = 2000,
  739. D = 100,
  740. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  741. position = hit.Parent.Torso.Position,
  742. Parent = hit.Parent.Torso,
  743. }
  744. game:GetService("Debris"):AddItem(bp, 1)
  745. elseif Type == "Freeze" then
  746. local BodPos = Create("BodyPosition"){
  747. P = 50000,
  748. D = 1000,
  749. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  750. position = hit.Parent.Torso.Position,
  751. Parent = hit.Parent.Torso,
  752. }
  753. local BodGy = Create("BodyGyro") {
  754. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  755. P = 20e+003,
  756. Parent = hit.Parent.Torso,
  757. cframe = hit.Parent.Torso.CFrame,
  758. }
  759. hit.Parent.Torso.Anchored = true
  760. coroutine.resume(coroutine.create(function(Part)
  761. swait(1.5)
  762. Part.Anchored = false
  763. end), hit.Parent.Torso)
  764. game:GetService("Debris"):AddItem(BodPos, 3)
  765. game:GetService("Debris"):AddItem(BodGy, 3)
  766. end
  767. local debounce = Create("BoolValue"){
  768. Name = "DebounceHit",
  769. Parent = hit.Parent,
  770. Value = true,
  771. }
  772. game:GetService("Debris"):AddItem(debounce, Delay)
  773. c = Create("ObjectValue"){
  774. Name = "creator",
  775. Value = Player,
  776. Parent = h,
  777. }
  778. game:GetService("Debris"):AddItem(c, .5)
  779. end
  780. end
  781. -------------------------------------------------------
  782. --End Damage Function--
  783. -------------------------------------------------------
  784.  
  785. -------------------------------------------------------
  786. --Start Damage Function Customization--
  787. -------------------------------------------------------
  788. function ShowDamage(Pos, Text, Time, Color)
  789. local Rate = (1 / 30)
  790. local Pos = (Pos or Vector3.new(0, 0, 0))
  791. local Text = (Text or "")
  792. local Time = (Time or 2)
  793. local Color = (Color or Color3.new(1, 0, 1))
  794. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  795. EffectPart.Anchored = true
  796. local BillboardGui = Create("BillboardGui"){
  797. Size = UDim2.new(3, 0, 3, 0),
  798. Adornee = EffectPart,
  799. Parent = EffectPart,
  800. }
  801. local TextLabel = Create("TextLabel"){
  802. BackgroundTransparency = 1,
  803. Size = UDim2.new(1, 0, 1, 0),
  804. Text = Text,
  805. Font = "Bodoni",
  806. TextColor3 = Color,
  807. TextScaled = true,
  808. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  809. Parent = BillboardGui,
  810. }
  811. game.Debris:AddItem(EffectPart, (Time))
  812. EffectPart.Parent = game:GetService("Workspace")
  813. delay(0, function()
  814. local Frames = (Time / Rate)
  815. for Frame = 1, Frames do
  816. wait(Rate)
  817. local Percent = (Frame / Frames)
  818. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  819. TextLabel.TextTransparency = Percent
  820. end
  821. if EffectPart and EffectPart.Parent then
  822. EffectPart:Destroy()
  823. end
  824. end)
  825. end
  826. -------------------------------------------------------
  827. --End Damage Function Customization--
  828. -------------------------------------------------------
  829.  
  830. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  831. for _, c in pairs(workspace:children()) do
  832. local hum = c:findFirstChild("Humanoid")
  833. if hum ~= nil then
  834. local head = c:findFirstChild("Head")
  835. if head ~= nil then
  836. local targ = head.Position - Part.Position
  837. local mag = targ.magnitude
  838. if magni >= mag and c.Name ~= plr.Name then
  839. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  840. end
  841. end
  842. end
  843. end
  844. end
  845.  
  846.  
  847. CFuncs = {
  848. Part = {
  849. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  850. local Part = Create("Part")({
  851. Parent = Parent,
  852. Reflectance = Reflectance,
  853. Transparency = Transparency,
  854. CanCollide = false,
  855. Locked = true,
  856. BrickColor = BrickColor.new(tostring(BColor)),
  857. Name = Name,
  858. Size = Size,
  859. Material = Material
  860. })
  861. RemoveOutlines(Part)
  862. return Part
  863. end
  864. },
  865. Mesh = {
  866. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  867. local Msh = Create(Mesh)({
  868. Parent = Part,
  869. Offset = OffSet,
  870. Scale = Scale
  871. })
  872. if Mesh == "SpecialMesh" then
  873. Msh.MeshType = MeshType
  874. Msh.MeshId = MeshId
  875. end
  876. return Msh
  877. end
  878. },
  879. Mesh = {
  880. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  881. local Msh = Create(Mesh)({
  882. Parent = Part,
  883. Offset = OffSet,
  884. Scale = Scale
  885. })
  886. if Mesh == "SpecialMesh" then
  887. Msh.MeshType = MeshType
  888. Msh.MeshId = MeshId
  889. end
  890. return Msh
  891. end
  892. },
  893. Weld = {
  894. Create = function(Parent, Part0, Part1, C0, C1)
  895. local Weld = Create("Weld")({
  896. Parent = Parent,
  897. Part0 = Part0,
  898. Part1 = Part1,
  899. C0 = C0,
  900. C1 = C1
  901. })
  902. return Weld
  903. end
  904. },
  905. Sound = {
  906. Create = function(id, par, vol, pit)
  907. coroutine.resume(coroutine.create(function()
  908. local S = Create("Sound")({
  909. Volume = vol,
  910. Pitch = pit or 1,
  911. SoundId = id,
  912. Parent = par or workspace
  913. })
  914. wait()
  915. S:play()
  916. game:GetService("Debris"):AddItem(S, 6)
  917. end))
  918. end
  919. },
  920. ParticleEmitter = {
  921. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  922. local fp = Create("ParticleEmitter")({
  923. Parent = Parent,
  924. Color = ColorSequence.new(Color1, Color2),
  925. LightEmission = LightEmission,
  926. Size = Size,
  927. Texture = Texture,
  928. Transparency = Transparency,
  929. ZOffset = ZOffset,
  930. Acceleration = Accel,
  931. Drag = Drag,
  932. LockedToPart = LockedToPart,
  933. VelocityInheritance = VelocityInheritance,
  934. EmissionDirection = EmissionDirection,
  935. Enabled = Enabled,
  936. Lifetime = LifeTime,
  937. Rate = Rate,
  938. Rotation = Rotation,
  939. RotSpeed = RotSpeed,
  940. Speed = Speed,
  941. VelocitySpread = VelocitySpread
  942. })
  943. return fp
  944. end
  945. }
  946. }
  947. function RemoveOutlines(part)
  948. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  949. end
  950. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  951. local Part = Create("Part")({
  952. formFactor = FormFactor,
  953. Parent = Parent,
  954. Reflectance = Reflectance,
  955. Transparency = Transparency,
  956. CanCollide = false,
  957. Locked = true,
  958. BrickColor = BrickColor.new(tostring(BColor)),
  959. Name = Name,
  960. Size = Size,
  961. Material = Material
  962. })
  963. RemoveOutlines(Part)
  964. return Part
  965. end
  966. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  967. local Msh = Create(Mesh)({
  968. Parent = Part,
  969. Offset = OffSet,
  970. Scale = Scale
  971. })
  972. if Mesh == "SpecialMesh" then
  973. Msh.MeshType = MeshType
  974. Msh.MeshId = MeshId
  975. end
  976. return Msh
  977. end
  978. function CreateWeld(Parent, Part0, Part1, C0, C1)
  979. local Weld = Create("Weld")({
  980. Parent = Parent,
  981. Part0 = Part0,
  982. Part1 = Part1,
  983. C0 = C0,
  984. C1 = C1
  985. })
  986. return Weld
  987. end
  988.  
  989.  
  990. -------------------------------------------------------
  991. --Start Effect Function--
  992. -------------------------------------------------------
  993. EffectModel = Instance.new("Model", char)
  994. Effects = {
  995. Block = {
  996. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  997. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  998. prt.Anchored = true
  999. prt.CFrame = cframe
  1000. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1001. game:GetService("Debris"):AddItem(prt, 10)
  1002. if Type == 1 or Type == nil then
  1003. table.insert(Effects, {
  1004. prt,
  1005. "Block1",
  1006. delay,
  1007. x3,
  1008. y3,
  1009. z3,
  1010. msh
  1011. })
  1012. elseif Type == 2 then
  1013. table.insert(Effects, {
  1014. prt,
  1015. "Block2",
  1016. delay,
  1017. x3,
  1018. y3,
  1019. z3,
  1020. msh
  1021. })
  1022. else
  1023. table.insert(Effects, {
  1024. prt,
  1025. "Block3",
  1026. delay,
  1027. x3,
  1028. y3,
  1029. z3,
  1030. msh
  1031. })
  1032. end
  1033. end
  1034. },
  1035. Sphere = {
  1036. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1037. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1038. prt.Anchored = true
  1039. prt.CFrame = cframe
  1040. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1041. game:GetService("Debris"):AddItem(prt, 10)
  1042. table.insert(Effects, {
  1043. prt,
  1044. "Cylinder",
  1045. delay,
  1046. x3,
  1047. y3,
  1048. z3,
  1049. msh
  1050. })
  1051. end
  1052. },
  1053. Cylinder = {
  1054. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1055. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1056. prt.Anchored = true
  1057. prt.CFrame = cframe
  1058. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1059. game:GetService("Debris"):AddItem(prt, 10)
  1060. table.insert(Effects, {
  1061. prt,
  1062. "Cylinder",
  1063. delay,
  1064. x3,
  1065. y3,
  1066. z3,
  1067. msh
  1068. })
  1069. end
  1070. },
  1071. Wave = {
  1072. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1073. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1074. prt.Anchored = true
  1075. prt.CFrame = cframe
  1076. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1077. game:GetService("Debris"):AddItem(prt, 10)
  1078. table.insert(Effects, {
  1079. prt,
  1080. "Cylinder",
  1081. delay,
  1082. x3 / 60,
  1083. y3 / 60,
  1084. z3 / 60,
  1085. msh
  1086. })
  1087. end
  1088. },
  1089. Ring = {
  1090. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1091. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1092. prt.Anchored = true
  1093. prt.CFrame = cframe
  1094. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1095. game:GetService("Debris"):AddItem(prt, 10)
  1096. table.insert(Effects, {
  1097. prt,
  1098. "Cylinder",
  1099. delay,
  1100. x3,
  1101. y3,
  1102. z3,
  1103. msh
  1104. })
  1105. end
  1106. },
  1107. Break = {
  1108. Create = function(brickcolor, cframe, x1, y1, z1)
  1109. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1110. prt.Anchored = true
  1111. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1112. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1113. local num = math.random(10, 50) / 1000
  1114. game:GetService("Debris"):AddItem(prt, 10)
  1115. table.insert(Effects, {
  1116. prt,
  1117. "Shatter",
  1118. num,
  1119. prt.CFrame,
  1120. math.random() - math.random(),
  1121. 0,
  1122. math.random(50, 100) / 100
  1123. })
  1124. end
  1125. },
  1126. Spiral = {
  1127. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1128. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1129. prt.Anchored = true
  1130. prt.CFrame = cframe
  1131. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1132. game:GetService("Debris"):AddItem(prt, 10)
  1133. table.insert(Effects, {
  1134. prt,
  1135. "Cylinder",
  1136. delay,
  1137. x3,
  1138. y3,
  1139. z3,
  1140. msh
  1141. })
  1142. end
  1143. },
  1144. Push = {
  1145. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1146. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1147. prt.Anchored = true
  1148. prt.CFrame = cframe
  1149. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1150. game:GetService("Debris"):AddItem(prt, 10)
  1151. table.insert(Effects, {
  1152. prt,
  1153. "Cylinder",
  1154. delay,
  1155. x3,
  1156. y3,
  1157. z3,
  1158. msh
  1159. })
  1160. end
  1161. }
  1162. }
  1163. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1164. local fp = IT("Part")
  1165. fp.formFactor = formfactor
  1166. fp.Parent = parent
  1167. fp.Reflectance = reflectance
  1168. fp.Transparency = transparency
  1169. fp.CanCollide = false
  1170. fp.Locked = true
  1171. fp.BrickColor = brickcolor
  1172. fp.Name = name
  1173. fp.Size = size
  1174. fp.Position = tors.Position
  1175. RemoveOutlines(fp)
  1176. fp.Material = "SmoothPlastic"
  1177. fp:BreakJoints()
  1178. return fp
  1179. end
  1180.  
  1181. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1182. local mesh = IT(Mesh)
  1183. mesh.Parent = part
  1184. if Mesh == "SpecialMesh" then
  1185. mesh.MeshType = meshtype
  1186. if meshid ~= "nil" then
  1187. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1188. end
  1189. end
  1190. mesh.Offset = offset
  1191. mesh.Scale = scale
  1192. return mesh
  1193. end
  1194.  
  1195. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1196. local type = type
  1197. local rng = Instance.new("Part", char)
  1198. rng.Anchored = true
  1199. rng.BrickColor = color
  1200. rng.CanCollide = false
  1201. rng.FormFactor = 3
  1202. rng.Name = "Ring"
  1203. rng.Material = "Neon"
  1204. rng.Size = Vector3.new(1, 1, 1)
  1205. rng.Transparency = 0
  1206. rng.TopSurface = 0
  1207. rng.BottomSurface = 0
  1208. rng.CFrame = pos
  1209. local rngm = Instance.new("SpecialMesh", rng)
  1210. rngm.MeshType = MType
  1211. rngm.Scale = scale
  1212. local scaler2 = 1
  1213. if type == "Add" then
  1214. scaler2 = 1 * value
  1215. elseif type == "Divide" then
  1216. scaler2 = 1 / value
  1217. end
  1218. coroutine.resume(coroutine.create(function()
  1219. for i = 0, 10 / bonuspeed, 0.1 do
  1220. swait()
  1221. if type == "Add" then
  1222. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1223. elseif type == "Divide" then
  1224. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1225. end
  1226. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1227. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1228. end
  1229. rng:Destroy()
  1230. end))
  1231. end
  1232.  
  1233. function Eviscerate(dude)
  1234. if dude.Name ~= char then
  1235. local bgf = IT("BodyGyro", dude.Head)
  1236. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1237. local val = IT("BoolValue", dude)
  1238. val.Name = "IsHit"
  1239. local ds = coroutine.wrap(function()
  1240. dude:WaitForChild("Head"):BreakJoints()
  1241. wait(0.5)
  1242. target = nil
  1243. coroutine.resume(coroutine.create(function()
  1244. for i, v in pairs(dude:GetChildren()) do
  1245. if v:IsA("Accessory") then
  1246. v:Destroy()
  1247. end
  1248. if v:IsA("Humanoid") then
  1249. v:Destroy()
  1250. end
  1251. if v:IsA("CharacterMesh") then
  1252. v:Destroy()
  1253. end
  1254. if v:IsA("Model") then
  1255. v:Destroy()
  1256. end
  1257. if v:IsA("Part") or v:IsA("MeshPart") then
  1258. for x, o in pairs(v:GetChildren()) do
  1259. if o:IsA("Decal") then
  1260. o:Destroy()
  1261. end
  1262. end
  1263. coroutine.resume(coroutine.create(function()
  1264. v.Material = "Neon"
  1265. v.CanCollide = false
  1266. local PartEmmit1 = IT("ParticleEmitter", v)
  1267. PartEmmit1.LightEmission = 1
  1268. PartEmmit1.Texture = "rbxassetid://284205403"
  1269. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1270. PartEmmit1.Rate = 150
  1271. PartEmmit1.Lifetime = NumberRange.new(1)
  1272. PartEmmit1.Size = NumberSequence.new({
  1273. NumberSequenceKeypoint.new(0, 0.75, 0),
  1274. NumberSequenceKeypoint.new(1, 0, 0)
  1275. })
  1276. PartEmmit1.Transparency = NumberSequence.new({
  1277. NumberSequenceKeypoint.new(0, 0, 0),
  1278. NumberSequenceKeypoint.new(1, 1, 0)
  1279. })
  1280. PartEmmit1.Speed = NumberRange.new(0, 0)
  1281. PartEmmit1.VelocitySpread = 30000
  1282. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1283. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1284. local BodPoss = IT("BodyPosition", v)
  1285. BodPoss.P = 3000
  1286. BodPoss.D = 1000
  1287. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1288. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1289. v.Color = maincolor.Color
  1290. coroutine.resume(coroutine.create(function()
  1291. for i = 0, 49 do
  1292. swait(1)
  1293. v.Transparency = v.Transparency + 0.08
  1294. end
  1295. wait(0.5)
  1296. PartEmmit1.Enabled = false
  1297. wait(3)
  1298. v:Destroy()
  1299. dude:Destroy()
  1300. end))
  1301. end))
  1302. end
  1303. end
  1304. end))
  1305. end)
  1306. ds()
  1307. end
  1308. end
  1309.  
  1310. function FindNearestHead(Position, Distance, SinglePlayer)
  1311. if SinglePlayer then
  1312. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1313. end
  1314. local List = {}
  1315. for i, v in pairs(workspace:GetChildren()) do
  1316. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1317. table.insert(List, v)
  1318. end
  1319. end
  1320. return List
  1321. end
  1322.  
  1323. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1324. local type = type
  1325. local rng = Instance.new("Part", char)
  1326. rng.Anchored = true
  1327. rng.BrickColor = color
  1328. rng.CanCollide = false
  1329. rng.FormFactor = 3
  1330. rng.Name = "Ring"
  1331. rng.Material = "Neon"
  1332. rng.Size = Vector3.new(1, 1, 1)
  1333. rng.Transparency = 0
  1334. rng.TopSurface = 0
  1335. rng.BottomSurface = 0
  1336. rng.CFrame = pos
  1337. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1338. local rngm = Instance.new("SpecialMesh", rng)
  1339. rngm.MeshType = MType
  1340. rngm.Scale = Vector3.new(x1, y1, z1)
  1341. local scaler2 = 1
  1342. local speeder = FastSpeed
  1343. if type == "Add" then
  1344. scaler2 = 1 * value
  1345. elseif type == "Divide" then
  1346. scaler2 = 1 / value
  1347. end
  1348. coroutine.resume(coroutine.create(function()
  1349. for i = 0, 10 / bonuspeed, 0.1 do
  1350. swait()
  1351. if type == "Add" then
  1352. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1353. elseif type == "Divide" then
  1354. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1355. end
  1356. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1357. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1358. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1359. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1360. end
  1361. rng:Destroy()
  1362. end))
  1363. end
  1364.  
  1365.  
  1366. function SoulSteal(dude)
  1367. if dude.Name ~= char then
  1368. local bgf = IT("BodyGyro", dude.Head)
  1369. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1370. local val = IT("BoolValue", dude)
  1371. val.Name = "IsHit"
  1372. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1373. local soulst = coroutine.wrap(function()
  1374. local soul = Instance.new("Part",dude)
  1375. soul.Size = Vector3.new(1,1,1)
  1376. soul.CanCollide = false
  1377. soul.Anchored = false
  1378. soul.Position = torso.Position
  1379. soul.Transparency = 1
  1380. local PartEmmit1 = IT("ParticleEmitter", soul)
  1381. PartEmmit1.LightEmission = 1
  1382. PartEmmit1.Texture = "rbxassetid://569507414"
  1383. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1384. PartEmmit1.Rate = 250
  1385. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1386. PartEmmit1.Size = NumberSequence.new({
  1387. NumberSequenceKeypoint.new(0, 1, 0),
  1388. NumberSequenceKeypoint.new(1, 0, 0)
  1389. })
  1390. PartEmmit1.Transparency = NumberSequence.new({
  1391. NumberSequenceKeypoint.new(0, 0, 0),
  1392. NumberSequenceKeypoint.new(1, 1, 0)
  1393. })
  1394. PartEmmit1.Speed = NumberRange.new(0, 0)
  1395. PartEmmit1.VelocitySpread = 30000
  1396. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1397. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1398. local BodPoss = IT("BodyPosition", soul)
  1399. BodPoss.P = 3000
  1400. BodPoss.D = 1000
  1401. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1402. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1403. wait(1.6)
  1404. soul.Touched:connect(function(hit)
  1405. if hit.Parent == char then
  1406. soul:Destroy()
  1407. end
  1408. end)
  1409. wait(1.2)
  1410. while soul do
  1411. swait()
  1412. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1413. BodPoss.Position = tors.Position
  1414. end
  1415. end)
  1416. soulst()
  1417. end
  1418. end
  1419. function FaceMouse()
  1420. local Cam = workspace.CurrentCamera
  1421. return {
  1422. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1423. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1424. }
  1425. end
  1426. -------------------------------------------------------
  1427. --End Effect Function--
  1428. -------------------------------------------------------
  1429. function Cso(ID, PARENT, VOLUME, PITCH)
  1430. local NSound = nil
  1431. coroutine.resume(coroutine.create(function()
  1432. NSound = IT("Sound", PARENT)
  1433. NSound.Volume = VOLUME
  1434. NSound.Pitch = PITCH
  1435. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1436. swait()
  1437. NSound:play()
  1438. game:GetService("Debris"):AddItem(NSound, 10)
  1439. end))
  1440. return NSound
  1441. end
  1442. -------------------------------------------------------
  1443. --End Important Functions--
  1444. -------------------------------------------------------
  1445.  
  1446. New = function(Object, Parent, Name, Data)
  1447. local Object = Instance.new(Object)
  1448. for Index, Value in pairs(Data or {}) do
  1449. Object[Index] = Value
  1450. end
  1451. Object.Parent = Parent
  1452. Object.Name = Name
  1453. return Object
  1454. end
  1455.  
  1456. Steamed_Hams = New("Model",char,"Reference",{})
  1457. Handle = New("Part",Steamed_Hams,"Handle",{BrickColor = BrickColor.new("Institutional white"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0500000007, 1.42000008, 1.42000008),CFrame = CFrame.new(6.24385071, 1.07595825, -192.477875, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1458. Plate = New("Part",Steamed_Hams,"Plate",{BrickColor = BrickColor.new("Institutional white"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0500000007, 2, 2),CFrame = CFrame.new(6.24385071, 1.13595831, -192.477875, -4.37113883e-08, -1, 0, 1, -4.37113883e-08, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1459. mot = New("Motor",Plate,"mot",{Part0 = Plate,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 1),C1 = CFrame.new(0.060000062, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 1),})
  1460. Burg = New("Part",Steamed_Hams,"Burg",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 5,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 0.800000012, 1),CFrame = CFrame.new(6.24385071, 1.46095836, -192.45787, -1, 0, -7.54683664e-23, 0, 1, 2.64573537e-17, 7.54683664e-23, 2.64573537e-17, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  1461. Mesh = New("SpecialMesh",Burg,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=16646125",TextureId = "http://www.roblox.com/asset/?id=16432575",MeshType = Enum.MeshType.FileMesh,})
  1462. mot = New("Motor",Burg,"mot",{Part0 = Burg,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -2.64569136e-17, 7.54683664e-23, -2.64569136e-17, 1, 2.64573537e-17, -7.54683664e-23, 2.64573537e-17, -1),C1 = CFrame.new(0.38500011, 0, 0.0200042725, -4.37113883e-08, 1, 0, -1, -4.37113883e-08, 0, 0, 0, 1),})
  1463. for i,v in pairs(Steamed_Hams:GetChildren()) do
  1464. if v.ClassName == "Part" then
  1465. v.Transparency = 1
  1466. v.CanCollide = false
  1467. end
  1468. end
  1469.  
  1470. NewInstance = function(instance,parent,properties)
  1471. local inst = Instance.new(instance,parent)
  1472. if(properties)then
  1473. for i,v in next, properties do
  1474. pcall(function() inst[i] = v end)
  1475. end
  1476. end
  1477. return inst;
  1478. end
  1479.  
  1480. char.Head.face.Texture = "http://www.roblox.com/asset/?id=45515545"
  1481. local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.7,-.5) * angles(Rad(0),Rad(90),Rad(0))})
  1482.  
  1483. -------------------------------------------------------
  1484. --Start Music Option--
  1485. -------------------------------------------------------
  1486. local Music = Instance.new("Sound",tors)
  1487. Music.Volume = 2.5
  1488. Music.SoundId = "rbxassetid://302561924"
  1489. Music.Looped = true
  1490. Music.Pitch = .5 --Pitcher
  1491. Music:Play()
  1492. -------------------------------------------------------
  1493. --End Music Option--
  1494. -------------------------------------------------------
  1495.  
  1496.  
  1497. -------------------------------------------------------
  1498. --Start Attacks N Stuff--
  1499. -------------------------------------------------------
  1500. local sine=0
  1501. wait2 = false
  1502. combo = 1
  1503. local stabby = Instance.new("Sound",char.Torso)
  1504. stabby.SoundId = "rbxassetid://186311262"
  1505. stabby.Volume = 10
  1506. mouse.Button1Down:connect(function(key)
  1507. if attack == false then
  1508. attack = true
  1509. hum.WalkSpeed = 3.01
  1510. trail.Enabled = true
  1511. if combo == 1 and wait2 == false then
  1512. wait2 = true
  1513. for i = 0,1 ,0.3 do
  1514. weld.C0 = weld.C0:lerp(CFrame.new(-0.0943851471, -1.03043151, 0.999998093, 0.033023376, 8.7171793e-07, -0.999455035, -0.999454618, -1.60634518e-05, -0.0330233723, -1.60560012e-05, 0.999999046, 3.87430191e-07),i)
  1515. game:GetService("RunService").RenderStepped:wait()
  1516. end
  1517. for i = 0, 1.6, 0.1 do
  1518. swait()
  1519. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, 0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
  1520. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(65)), 0.1)
  1521. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1522. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0.6) * angles(Rad(-25), Rad(0), Rad(40)), 0.3)
  1523. RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-6.5), Rad(0), Rad(-6)), 0.3)
  1524. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(20)), 0.3)
  1525. HW.C0 = clerp(HW.C0, CF(0,-.7,-.5) * angles(Rad(0), Rad(90), Rad(0)), 0.1)
  1526. end
  1527. Cso("138097048", ra, 3, .8)
  1528. local boiser = false
  1529. local hit = knife.Touched:connect(function(hit2)
  1530. if boiser == false then
  1531. boiser = true
  1532. local human = hit2.Parent:FindFirstChildOfClass("Humanoid")
  1533. if human then
  1534. Ragdoll(human.Parent)
  1535. human:Destroy()
  1536. stabby:Play()
  1537. kills = kills + 1
  1538. end
  1539. end
  1540. end)
  1541. for i = 0, 1.2, 0.1 do
  1542. swait()
  1543. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, 0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(75)), 0.3)
  1544. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(-75)), 0.1)
  1545. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(90), Rad(0), Rad(-40)), 0.1)
  1546. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(-10)), 0.3)
  1547. RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(17)), 0.3)
  1548. LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1549. HW.C0 = clerp(HW.C0, CF(0,-.7,-.5) * angles(Rad(0), Rad(90), Rad(0)), 0.1)
  1550. end
  1551. hit:Disconnect()
  1552. combo = 1
  1553. end
  1554. weld.C0 = CFrame.new(0, -0.800003052, 0.999999046, 1, 0, 0, 0, 0, -1, 0, 0.999999523, 0)
  1555. hum.WalkSpeed = 8
  1556. wait2 = false
  1557. attack = false
  1558. trail.Enabled = false
  1559. end
  1560. end)
  1561. hum.WalkSpeed = 8
  1562. -------------------------------------------------------
  1563. --End Attacks N Stuff--
  1564. -------------------------------------------------------
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572. -------------------------------------------------------
  1573. --Start Animations--
  1574. -------------------------------------------------------
  1575. local equipped = false
  1576. local idle = 0
  1577. local change = 1
  1578. local val = 0
  1579. local toim = 0
  1580. local idleanim = 0.4
  1581. hum.Animator.Parent = nil
  1582. char.Animate.Parent = nil
  1583. while true do
  1584. swait()
  1585. sine = sine + change
  1586. Music.Parent = tors
  1587. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1588. local velderp = root.Velocity.y
  1589. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1590. if equipped == true or equipped == false then
  1591. if attack == false then
  1592. idle = idle + 1
  1593. else
  1594. idle = 0
  1595. end
  1596. if 1 < root.Velocity.y and hitfloor == nil then
  1597. Anim = "Jump"
  1598. if attack == false then
  1599. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  1600. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1601. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
  1602. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
  1603. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1604. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1605. end
  1606. elseif -1 > root.Velocity.y and hitfloor == nil then
  1607. Anim = "Fall"
  1608. if attack == false then
  1609. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  1610. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  1611. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(30)),0.3)
  1612. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-30)),0.3)
  1613. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1614. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1615. end
  1616. elseif torvel < 1 and hitfloor ~= nil then
  1617. Anim = "Idle"
  1618. change = 1.7
  1619. if attack == false then
  1620. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1621. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.3)
  1622. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1623. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1624. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(4.5 * Sin(sine / 30)), Rad(15 + 4.5 * Sin(sine / 30))), 0.1)
  1625. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(4.5 * Sin(sine / 30)), Rad(-5 - 4.5 * Sin(sine / 30))), 0.1)
  1626. end
  1627. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1628. Anim = "Walk"
  1629. change = 1
  1630. if attack == false then
  1631. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.015 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  1632. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1633. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1634. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1635. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90) , Rad(0), Rad(15 + 4.5 * Sin(sine / 30)) - ra.RotVelocity.Y / 75), 0.1)
  1636. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0) , Rad(-5 - 4.5 * Sin(sine / 30)) + la.RotVelocity.Y / 75), 0.1)
  1637. end
  1638. end
  1639. end
  1640. if 0 < #Effects then
  1641. for e = 1, #Effects do
  1642. if Effects[e] ~= nil then
  1643. local Thing = Effects[e]
  1644. if Thing ~= nil then
  1645. local Part = Thing[1]
  1646. local Mode = Thing[2]
  1647. local Delay = Thing[3]
  1648. local IncX = Thing[4]
  1649. local IncY = Thing[5]
  1650. local IncZ = Thing[6]
  1651. if 1 >= Thing[1].Transparency then
  1652. if Thing[2] == "Block1" then
  1653. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1654. local Mesh = Thing[1].Mesh
  1655. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1656. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1657. elseif Thing[2] == "Block2" then
  1658. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1659. local Mesh = Thing[7]
  1660. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1661. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1662. elseif Thing[2] == "Block3" then
  1663. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1664. local Mesh = Thing[7]
  1665. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1666. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1667. elseif Thing[2] == "Cylinder" then
  1668. local Mesh = Thing[1].Mesh
  1669. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1670. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1671. elseif Thing[2] == "Blood" then
  1672. local Mesh = Thing[7]
  1673. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1674. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1675. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1676. elseif Thing[2] == "Elec" then
  1677. local Mesh = Thing[1].Mesh
  1678. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1679. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1680. elseif Thing[2] == "Disappear" then
  1681. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1682. elseif Thing[2] == "Shatter" then
  1683. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1684. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1685. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1686. Thing[6] = Thing[6] + Thing[5]
  1687. end
  1688. else
  1689. Part.Parent = nil
  1690. table.remove(Effects, e)
  1691. end
  1692. end
  1693. end
  1694. end
  1695. end
  1696. end
  1697. -------------------------------------------------------
  1698. --End Animations And Script--
  1699. -------------------------------------------------------
Add Comment
Please, Sign In to add comment