Advertisement
CaptinLeet

Untitled

Jan 17th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.84 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Login = Instance.new("Frame")
  6. local Lbar1 = Instance.new("Frame")
  7. local Lbar2 = Instance.new("Frame")
  8. local Title = Instance.new("TextLabel")
  9. local submit = Instance.new("TextButton")
  10. local username = Instance.new("TextBox")
  11. local password = Instance.new("TextBox")
  12. local main = Instance.new("Frame")
  13. local Mbar1 = Instance.new("Frame")
  14. local Mbar2 = Instance.new("Frame")
  15. local Mbar3 = Instance.new("Frame")
  16. local Mbar4 = Instance.new("Frame")
  17. local CreditsFor = Instance.new("TextLabel")
  18. local paid = Instance.new("TextButton")
  19. local free = Instance.new("TextButton")
  20. local PScripts = Instance.new("Frame")
  21. local PBar1 = Instance.new("Frame")
  22. local PBar2 = Instance.new("Frame")
  23. local jihadscript = Instance.new("TextButton")
  24. local robxingscript = Instance.new("TextButton")
  25. local SWORDBURST2 = Instance.new("TextButton")
  26. local Fscripts = Instance.new("Frame")
  27. local sgun = Instance.new("TextButton")
  28. --Properties:
  29. ScreenGui.Parent = game.CoreGui
  30.  
  31. Login.Name = "Login"
  32. Login.Parent = ScreenGui
  33. Login.BackgroundColor3 = Color3.new(0.85098, 0, 0)
  34. Login.Position = UDim2.new(0.0662589222, 0, 0.234251991, 0)
  35. Login.Size = UDim2.new(0, 231, 0, 304)
  36. Login.Visible = true
  37.  
  38. Lbar1.Name = "Lbar1"
  39. Lbar1.Parent = Login
  40. Lbar1.BackgroundColor3 = Color3.new(0.764706, 0, 0)
  41. Lbar1.Size = UDim2.new(0, 231, 0, 19)
  42.  
  43. Lbar2.Name = "Lbar2"
  44. Lbar2.Parent = Login
  45. Lbar2.BackgroundColor3 = Color3.new(0.741176, 0, 0)
  46. Lbar2.BorderSizePixel = 0
  47. Lbar2.Position = UDim2.new(0, 0, 0.0625, 0)
  48. Lbar2.Size = UDim2.new(0, 231, 0, 8)
  49.  
  50. Title.Name = "Title"
  51. Title.Parent = Login
  52. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  53. Title.BackgroundTransparency = 1
  54. Title.BorderSizePixel = 0
  55. Title.Position = UDim2.new(0.0649350658, 0, 0.128289476, 0)
  56. Title.Size = UDim2.new(0, 200, 0, 21)
  57. Title.Font = Enum.Font.SciFi
  58. Title.Text = "Kektimers"
  59. Title.TextColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  60. Title.TextSize = 50
  61. Title.TextWrapped = true
  62.  
  63. submit.Name = "submit"
  64. submit.Parent = Login
  65. submit.BackgroundColor3 = Color3.new(0, 0, 0)
  66. submit.BackgroundTransparency = 1
  67. submit.BorderColor3 = Color3.new(0, 0, 0)
  68. submit.Position = UDim2.new(0.0649350658, 0, 0.914473712, 0)
  69. submit.Size = UDim2.new(0, 200, 0, 15)
  70. submit.Font = Enum.Font.SciFi
  71. submit.Text = "Login"
  72. submit.TextColor3 = Color3.new(0.745098, 0.745098, 0.745098)
  73. submit.TextSize = 30
  74. submit.TextWrapped = true
  75. submit.MouseButton1Down:connect(function()
  76. if username.Text == "Kektimers" and password.text == "Kektimers" then
  77. Login.Visible = false
  78. main.Visible = true
  79. main.Active = true
  80. end
  81.  
  82. username.Name = "username"
  83. username.Parent = Login
  84. username.BackgroundColor3 = Color3.new(1, 1, 1)
  85. username.BackgroundTransparency = 1
  86. username.Position = UDim2.new(0.0649350658, 0, 0.296052635, 0)
  87. username.Size = UDim2.new(0, 200, 0, 50)
  88. username.Font = Enum.Font.SciFi
  89. username.Text = "Username"
  90. username.TextColor3 = Color3.new(0, 0, 0)
  91. username.TextScaled = true
  92. username.TextSize = 14
  93. username.TextWrapped = true
  94.  
  95. password.Name = "password"
  96. password.Parent = Login
  97. password.BackgroundColor3 = Color3.new(1, 1, 1)
  98. password.BackgroundTransparency = 1
  99. password.Position = UDim2.new(0.0649350658, 0, 0.572368443, 0)
  100. password.Size = UDim2.new(0, 200, 0, 51)
  101. password.Font = Enum.Font.SciFi
  102. password.Text = "Password"
  103. password.TextColor3 = Color3.new(0, 0, 0)
  104. password.TextScaled = true
  105. password.TextSize = 14
  106. password.TextWrapped = true
  107.  
  108. main.Name = "main"
  109. main.Parent = ScreenGui
  110. main.BackgroundColor3 = Color3.new(1, 1, 1)
  111. main.Position = UDim2.new(0, 417, 0, 79)
  112. main.Size = UDim2.new(0, 420, 0, 333)
  113. main.Visible = false
  114. main.Draggable = true
  115.  
  116. Mbar1.Name = "Mbar1"
  117. Mbar1.Parent = main
  118. Mbar1.BackgroundColor3 = Color3.new(0.760784, 0, 0)
  119. Mbar1.BorderSizePixel = 0
  120. Mbar1.Size = UDim2.new(0, 420, 0, 20)
  121.  
  122. Mbar2.Name = "Mbar2"
  123. Mbar2.Parent = main
  124. Mbar2.BackgroundColor3 = Color3.new(0.760784, 0, 0)
  125. Mbar2.BorderSizePixel = 0
  126. Mbar2.Position = UDim2.new(0, 404, 0, 0)
  127. Mbar2.Size = UDim2.new(0, 16, 0, 333)
  128.  
  129. Mbar3.Name = "Mbar3"
  130. Mbar3.Parent = main
  131. Mbar3.BackgroundColor3 = Color3.new(0.760784, 0, 0)
  132. Mbar3.BorderSizePixel = 0
  133. Mbar3.Position = UDim2.new(0, 0, 0, 318)
  134. Mbar3.Size = UDim2.new(0, 420, 0, 15)
  135.  
  136. Mbar4.Name = "Mbar4"
  137. Mbar4.Parent = main
  138. Mbar4.BackgroundColor3 = Color3.new(0.760784, 0, 0)
  139. Mbar4.BorderSizePixel = 0
  140. Mbar4.Position = UDim2.new(0, 0, 0, 13)
  141. Mbar4.Size = UDim2.new(0, 17, 0, 320)
  142.  
  143. CreditsFor.Name = "Credits/For"
  144. CreditsFor.Parent = main
  145. CreditsFor.BackgroundColor3 = Color3.new(1, 1, 1)
  146. CreditsFor.BackgroundTransparency = 1
  147. CreditsFor.BorderSizePixel = 0
  148. CreditsFor.Position = UDim2.new(0, 0, 0, 318)
  149. CreditsFor.Size = UDim2.new(0, 420, 0, 15)
  150. CreditsFor.Font = Enum.Font.SourceSans
  151. CreditsFor.Text = "Made by CaptinLeet for: @Dude"
  152. CreditsFor.TextColor3 = Color3.new(0, 0, 0)
  153. CreditsFor.TextSize = 20
  154. CreditsFor.TextWrapped = true
  155.  
  156. paid.Name = "paid"
  157. paid.Parent = main
  158. paid.BackgroundColor3 = Color3.new(0.654902, 0.0627451, 0.0117647)
  159. paid.Position = UDim2.new(0, 35, 0, 136)
  160. paid.Size = UDim2.new(0, 112, 0, 32)
  161. paid.Text = "Paid scripts."
  162. paid.TextColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  163. paid.TextScaled = true
  164. paid.TextSize = 14
  165. paid.TextWrapped = true
  166. paid.MouseButton1Down:connect(function()
  167. main.Visible = false
  168. PScripts.Visible = true
  169. end)
  170.  
  171.  
  172. free.Name = "free"
  173. free.Parent = main
  174. free.BackgroundColor3 = Color3.new(0.654902, 0.0627451, 0.0117647)
  175. free.Position = UDim2.new(0, 241, 0, 136)
  176. free.Size = UDim2.new(0, 112, 0, 32)
  177. free.Text = "Free scripts."
  178. free.TextColor3 = Color3.new(0.443137, 0.443137, 0.443137)
  179. free.TextScaled = true
  180. free.TextSize = 14
  181. free.TextWrapped = true
  182. free.MouseButton1Down:connect(function()
  183. main.Visible = false
  184. Fscripts.Visible = true
  185. end)
  186.  
  187.  
  188. PScripts.Name = "PScripts"
  189. PScripts.Parent = ScreenGui
  190. PScripts.BackgroundColor3 = Color3.new(0.741176, 0.0666667, 0.0431373)
  191. PScripts.Position = UDim2.new(0, 192, 0, 165)
  192. PScripts.Size = UDim2.new(0, 421, 0, 297)
  193. PScripts.Visible = false
  194.  
  195. PBar1.Name = "PBar1"
  196. PBar1.Parent = PScripts
  197. PBar1.BackgroundColor3 = Color3.new(0.854902, 0.0156863, 0.0156863)
  198. PBar1.BorderSizePixel = 0
  199. PBar1.Size = UDim2.new(0, 421, 0, 20)
  200.  
  201. PBar2.Name = "PBar2"
  202. PBar2.Parent = PScripts
  203. PBar2.BackgroundColor3 = Color3.new(0.741176, 0.00784314, 0.00784314)
  204. PBar2.BorderSizePixel = 0
  205. PBar2.Position = UDim2.new(0, 0, 0, 20)
  206. PBar2.Size = UDim2.new(0, 421, 0, 8)
  207.  
  208. jihadscript.Name = "jihad script"
  209. jihadscript.Parent = PScripts
  210. jihadscript.BackgroundColor3 = Color3.new(0.54902, 0, 0)
  211. jihadscript.Position = UDim2.new(0, 10, 0, 110)
  212. jihadscript.Size = UDim2.new(0, 150, 0, 50)
  213. jihadscript.Font = Enum.Font.SourceSans
  214. jihadscript.Text = "Jihad Paid script."
  215. jihadscript.TextColor3 = Color3.new(0, 0, 0)
  216. jihadscript.TextSize = 14
  217. jihadscript.MouseButton1Down:connect(function()
  218. Player=game:GetService("Players").LocalPlayer
  219. Character=Player.Character
  220. PlayerGui=Player.PlayerGui
  221. Backpack=Player.Backpack
  222. Torso=Character.Torso
  223. Head=Character.Head
  224. Humanoid=Character.Humanoid
  225. m=Instance.new('Model',Character)
  226. LeftArm=Character["Left Arm"]
  227. LeftLeg=Character["Left Leg"]
  228. RightArm=Character["Right Arm"]
  229. RightLeg=Character["Right Leg"]
  230. LS=Torso["Left Shoulder"]
  231. LH=Torso["Left Hip"]
  232. RS=Torso["Right Shoulder"]
  233. RH=Torso["Right Hip"]
  234. Face = Head.face
  235. Neck=Torso.Neck
  236. it=Instance.new
  237. attacktype=1
  238. vt=Vector3.new
  239. cf=CFrame.new
  240. euler=CFrame.fromEulerAnglesXYZ
  241. angles=CFrame.Angles
  242. cloaked=false
  243. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  244. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  245. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  246. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  247. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  248. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  249. RootPart=Character.HumanoidRootPart
  250. RootJoint=RootPart.RootJoint
  251. RootCF=euler(-1.57,0,3.14)
  252. attack = false
  253. attackdebounce = false
  254. deb=false
  255. equipped=true
  256. hand=false
  257. MMouse=nil
  258. combo=0
  259. mana=0
  260. trispeed=.2
  261. attackmode='none'
  262. local idle=0
  263. local Anim="Idle"
  264. local Effects={}
  265. local gun=false
  266. local shoot=false
  267. player=nil
  268. mana=0
  269.  
  270. mouse=Player:GetMouse()
  271. --save shoulders
  272. RSH, LSH=nil, nil
  273. --welds
  274. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  275. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  276. LH=Torso["Left Hip"]
  277. RH=Torso["Right Hip"]
  278. TorsoColor=Torso.BrickColor
  279. function NoOutline(Part)
  280. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  281. end
  282. player=Player
  283. ch=Character
  284. RSH=ch.Torso["Right Shoulder"]
  285. LSH=ch.Torso["Left Shoulder"]
  286. --
  287. RSH.Parent=nil
  288. LSH.Parent=nil
  289. --
  290. RW.Name="Right Shoulder"
  291. RW.Part0=ch.Torso
  292. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  293. RW.C1=cf(0, 0.5, 0)
  294. RW.Part1=ch["Right Arm"]
  295. RW.Parent=ch.Torso
  296. --
  297. LW.Name="Left Shoulder"
  298. LW.Part0=ch.Torso
  299. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  300. LW.C1=cf(0, 0.5, 0)
  301. LW.Part1=ch["Left Arm"]
  302. LW.Parent=ch.Torso
  303.  
  304. Player=game:GetService('Players').LocalPlayer
  305. Character=Player.Character
  306. Mouse=Player:GetMouse()
  307. m=Instance.new('Model',Character)
  308.  
  309.  
  310. local function weldBetween(a, b)
  311. local weldd = Instance.new("ManualWeld")
  312. weldd.Part0 = a
  313. weldd.Part1 = b
  314. weldd.C0 = CFrame.new()
  315. weldd.C1 = b.CFrame:inverse() * a.CFrame
  316. weldd.Parent = a
  317. return weldd
  318. end
  319.  
  320. function swait(num)
  321. if num==0 or num==nil then
  322. game:service'RunService'.Stepped:wait(0)
  323. else
  324. for i=0,num do
  325. game:service'RunService'.Stepped:wait(0)
  326. end
  327. end
  328. end
  329.  
  330. function nooutline(part)
  331. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  332. end
  333.  
  334. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  335. local fp=it("Part")
  336. fp.formFactor=formfactor
  337. fp.Parent=parent
  338. fp.Reflectance=reflectance
  339. fp.Transparency=transparency
  340. fp.CanCollide=false
  341. fp.Locked=true
  342. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  343. fp.Name=name
  344. fp.Size=size
  345. fp.Position=Character.Torso.Position
  346. nooutline(fp)
  347. fp.Material=material
  348. fp:BreakJoints()
  349. return fp
  350. end
  351.  
  352. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  353. local mesh=it(Mesh)
  354. mesh.Parent=part
  355. if Mesh=="SpecialMesh" then
  356. mesh.MeshType=meshtype
  357. mesh.MeshId=meshid
  358. end
  359. mesh.Offset=offset
  360. mesh.Scale=scale
  361. return mesh
  362. end
  363.  
  364. function weld(parent,part0,part1,c0,c1)
  365. local weld=it("Weld")
  366. weld.Parent=parent
  367. weld.Part0=part0
  368. weld.Part1=part1
  369. weld.C0=c0
  370. weld.C1=c1
  371. return weld
  372. end
  373.  
  374.  
  375. local function CFrameFromTopBack(at, top, back)
  376. local right = top:Cross(back)
  377. return CFrame.new(at.x, at.y, at.z,
  378. right.x, top.x, back.x,
  379. right.y, top.y, back.y,
  380. right.z, top.z, back.z)
  381. end
  382.  
  383. function Triangle(a, b, c)
  384. local edg1 = (c-a):Dot((b-a).unit)
  385. local edg2 = (a-b):Dot((c-b).unit)
  386. local edg3 = (b-c):Dot((a-c).unit)
  387. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  388. a, b, c = a, b, c
  389. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  390. a, b, c = b, c, a
  391. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  392. a, b, c = c, a, b
  393. else
  394. assert(false, "unreachable")
  395. end
  396.  
  397. local len1 = (c-a):Dot((b-a).unit)
  398. local len2 = (b-a).magnitude - len1
  399. local width = (a + (b-a).unit*len1 - c).magnitude
  400.  
  401. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  402.  
  403. local list = {}
  404.  
  405. local TrailColor = ("Dark grey")
  406.  
  407. if len1 > 0.01 then
  408. local w1 = Instance.new('WedgePart', m)
  409. game:GetService("Debris"):AddItem(w1,5)
  410. w1.Material = "SmoothPlastic"
  411. w1.FormFactor = 'Custom'
  412. w1.BrickColor = BrickColor.new(TrailColor)
  413. w1.Transparency = 0
  414. w1.Reflectance = 0
  415. w1.Material = "SmoothPlastic"
  416. w1.CanCollide = false
  417. NoOutline(w1)
  418. local sz = Vector3.new(0.2, width, len1)
  419. w1.Size = sz
  420. local sp = Instance.new("SpecialMesh",w1)
  421. sp.MeshType = "Wedge"
  422. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  423. w1:BreakJoints()
  424. w1.Anchored = true
  425. w1.Parent = workspace
  426. w1.Transparency = 0.7
  427. table.insert(Effects,{w1,"Disappear",.01})
  428. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  429. table.insert(list,w1)
  430. end
  431.  
  432. if len2 > 0.01 then
  433. local w2 = Instance.new('WedgePart', m)
  434. game:GetService("Debris"):AddItem(w2,5)
  435. w2.Material = "SmoothPlastic"
  436. w2.FormFactor = 'Custom'
  437. w2.BrickColor = BrickColor.new(TrailColor)
  438. w2.Transparency = 0
  439. w2.Reflectance = 0
  440. w2.Material = "SmoothPlastic"
  441. w2.CanCollide = false
  442. NoOutline(w2)
  443. local sz = Vector3.new(0.2, width, len2)
  444. w2.Size = sz
  445. local sp = Instance.new("SpecialMesh",w2)
  446. sp.MeshType = "Wedge"
  447. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  448. w2:BreakJoints()
  449. w2.Anchored = true
  450. w2.Parent = workspace
  451. w2.Transparency = 0.7
  452. table.insert(Effects,{w2,"Disappear",.01})
  453. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  454. table.insert(list,w2)
  455. end
  456. return unpack(list)
  457. end
  458.  
  459.  
  460. so = function(id,par,vol,pit)
  461. coroutine.resume(coroutine.create(function()
  462. local sou = Instance.new("Sound",par or workspace)
  463. sou.Volume=vol
  464. sou.Pitch=pit or 1
  465. sou.SoundId=id
  466. swait()
  467. sou:play()
  468. game:GetService("Debris"):AddItem(sou,6)
  469. end))
  470. end
  471.  
  472. function clerp(a,b,t)
  473. local qa = {QuaternionFromCFrame(a)}
  474. local qb = {QuaternionFromCFrame(b)}
  475. local ax, ay, az = a.x, a.y, a.z
  476. local bx, by, bz = b.x, b.y, b.z
  477. local _t = 1-t
  478. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  479. end
  480.  
  481. function QuaternionFromCFrame(cf)
  482. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  483. local trace = m00 + m11 + m22
  484. if trace > 0 then
  485. local s = math.sqrt(1 + trace)
  486. local recip = 0.5/s
  487. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  488. else
  489. local i = 0
  490. if m11 > m00 then
  491. i = 1
  492. end
  493. if m22 > (i == 0 and m00 or m11) then
  494. i = 2
  495. end
  496. if i == 0 then
  497. local s = math.sqrt(m00-m11-m22+1)
  498. local recip = 0.5/s
  499. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  500. elseif i == 1 then
  501. local s = math.sqrt(m11-m22-m00+1)
  502. local recip = 0.5/s
  503. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  504. elseif i == 2 then
  505. local s = math.sqrt(m22-m00-m11+1)
  506. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  507. end
  508. end
  509. end
  510.  
  511. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  512. local xs, ys, zs = x + x, y + y, z + z
  513. local wx, wy, wz = w*xs, w*ys, w*zs
  514. local xx = x*xs
  515. local xy = x*ys
  516. local xz = x*zs
  517. local yy = y*ys
  518. local yz = y*zs
  519. local zz = z*zs
  520. 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))
  521. end
  522.  
  523. function QuaternionSlerp(a, b, t)
  524. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  525. local startInterp, finishInterp;
  526. if cosTheta >= 0.0001 then
  527. if (1 - cosTheta) > 0.0001 then
  528. local theta = math.acos(cosTheta)
  529. local invSinTheta = 1/math.sin(theta)
  530. startInterp = math.sin((1-t)*theta)*invSinTheta
  531. finishInterp = math.sin(t*theta)*invSinTheta
  532. else
  533. startInterp = 1-t
  534. finishInterp = t
  535. end
  536. else
  537. if (1+cosTheta) > 0.0001 then
  538. local theta = math.acos(-cosTheta)
  539. local invSinTheta = 1/math.sin(theta)
  540. startInterp = math.sin((t-1)*theta)*invSinTheta
  541. finishInterp = math.sin(t*theta)*invSinTheta
  542. else
  543. startInterp = t-1
  544. finishInterp = t
  545. end
  546. end
  547. 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
  548. end
  549.  
  550. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  551.  
  552.  
  553. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  554. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  555. end
  556.  
  557. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  558. if hit.Parent==nil then
  559. return
  560. end
  561. h=hit.Parent:FindFirstChild("Humanoid")
  562. for _,v in pairs(hit.Parent:children()) do
  563. if v:IsA("Humanoid") then
  564. h=v
  565. end
  566. end
  567. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  568. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  569. end
  570. if hit.Parent.className=="Hat" then
  571. hit=hit.Parent.Parent:findFirstChild("Head")
  572. end
  573. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  574. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  575. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  576. return
  577. end]]
  578. -- hs(hit,1.2)
  579. c=Instance.new("ObjectValue")
  580. c.Name="creator"
  581. c.Value=game:service("Players").LocalPlayer
  582. c.Parent=h
  583. game:GetService("Debris"):AddItem(c,.5)
  584. Damage=math.random(minim,maxim)
  585. -- h:TakeDamage(Damage)
  586. blocked=false
  587. block=hit.Parent:findFirstChild("Block")
  588. if block~=nil then
  589. print(block.className)
  590. if block.className=="NumberValue" then
  591. if block.Value>0 then
  592. blocked=true
  593. if decreaseblock==nil then
  594. block.Value=block.Value-1
  595. end
  596. end
  597. end
  598. if block.className=="IntValue" then
  599. if block.Value>0 then
  600. blocked=true
  601. if decreaseblock~=nil then
  602. block.Value=block.Value-1
  603. end
  604. end
  605. end
  606. end
  607. if blocked==false then
  608. -- h:TakeDamage(Damage)
  609. h.Health=h.Health-Damage
  610. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  611. else
  612. h.Health=h.Health-(Damage/2)
  613. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  614. end
  615. if Type=="Knockdown" then
  616. hum=hit.Parent.Humanoid
  617. hum.PlatformStand=true
  618. coroutine.resume(coroutine.create(function(HHumanoid)
  619. swait(1)
  620. HHumanoid.PlatformStand=false
  621. end),hum)
  622. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  623. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  624. local bodvol=Instance.new("BodyVelocity")
  625. bodvol.velocity=angle*knockback
  626. bodvol.P=5000
  627. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  628. bodvol.Parent=hit
  629. rl=Instance.new("BodyAngularVelocity")
  630. rl.P=3000
  631. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  632. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  633. rl.Parent=hit
  634. game:GetService("Debris"):AddItem(bodvol,.5)
  635. game:GetService("Debris"):AddItem(rl,.5)
  636. elseif Type=="Normal" then
  637. vp=Instance.new("BodyVelocity")
  638. vp.P=500
  639. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  640. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  641. if KnockbackType==1 then
  642. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  643. elseif KnockbackType==2 then
  644. vp.velocity=Property.CFrame.lookVector*knockback
  645. end
  646. if knockback>0 then
  647. vp.Parent=hit.Parent.Torso
  648. end
  649. game:GetService("Debris"):AddItem(vp,.5)
  650. elseif Type=="Up" then
  651. local bodyVelocity=Instance.new("BodyVelocity")
  652. bodyVelocity.velocity=vt(0,60,0)
  653. bodyVelocity.P=5000
  654. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  655. bodyVelocity.Parent=hit
  656. game:GetService("Debris"):AddItem(bodyVelocity,1)
  657. rl=Instance.new("BodyAngularVelocity")
  658. rl.P=3000
  659. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  660. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  661. rl.Parent=hit
  662. game:GetService("Debris"):AddItem(rl,.5)
  663. elseif Type=="Snare" then
  664. bp=Instance.new("BodyPosition")
  665. bp.P=2000
  666. bp.D=100
  667. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  668. bp.position=hit.Parent.Torso.Position
  669. bp.Parent=hit.Parent.Torso
  670. game:GetService("Debris"):AddItem(bp,1)
  671. elseif Type=="Target" then
  672. if Targetting==false then
  673. ZTarget=hit.Parent.Torso
  674. coroutine.resume(coroutine.create(function(Part)
  675. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  676. swait(5)
  677. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  678. end),ZTarget)
  679. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  680. targetgui=Instance.new("BillboardGui")
  681. targetgui.Parent=ZTarget
  682. targetgui.Size=UDim2.new(10,100,10,100)
  683. targ=Instance.new("ImageLabel")
  684. targ.Parent=targetgui
  685. targ.BackgroundTransparency=1
  686. targ.Image="rbxassetid://4834067"
  687. targ.Size=UDim2.new(1,0,1,0)
  688. cam.CameraType="Scriptable"
  689. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  690. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  691. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  692. Targetting=true
  693. RocketTarget=ZTarget
  694. for i=1,Property do
  695. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  696. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  697. swait()
  698. end
  699. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  700. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  701. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  702. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  703. end
  704. Targetting=false
  705. RocketTarget=nil
  706. targetgui.Parent=nil
  707. cam.CameraType="Custom"
  708. end
  709. end
  710. debounce=Instance.new("BoolValue")
  711. debounce.Name="DebounceHit"
  712. debounce.Parent=hit.Parent
  713. debounce.Value=true
  714. game:GetService("Debris"):AddItem(debounce,Delay)
  715. c=Instance.new("ObjectValue")
  716. c.Name="creator"
  717. c.Value=Player
  718. c.Parent=h
  719. game:GetService("Debris"):AddItem(c,.5)
  720. CRIT=false
  721. hitDeb=true
  722. AttackPos=6
  723. end
  724. end
  725.  
  726. showDamage=function(Char,Dealt,du,Color)
  727. m=Instance.new("Model")
  728. m.Name=tostring(Dealt)
  729. h=Instance.new("Humanoid")
  730. h.Health=0
  731. h.MaxHealth=0
  732. h.Parent=m
  733. c=Instance.new("Part")
  734. c.Transparency=0
  735. c.BrickColor=Color
  736. c.Name="Head"
  737. c.TopSurface=0
  738. c.BottomSurface=0
  739. c.formFactor="Plate"
  740. c.Size=Vector3.new(1,.4,1)
  741. ms=Instance.new("CylinderMesh")
  742. ms.Scale=Vector3.new(.8,.8,.8)
  743. if CRIT==true then
  744. ms.Scale=Vector3.new(1,1.25,1)
  745. end
  746. ms.Parent=c
  747. c.Reflectance=0
  748. Instance.new("BodyGyro").Parent=c
  749. c.Parent=m
  750. if Char:findFirstChild("Head")~=nil then
  751. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  752. elseif Char.Parent:findFirstChild("Head")~=nil then
  753. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  754. end
  755. f=Instance.new("BodyPosition")
  756. f.P=2000
  757. f.D=100
  758. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  759. f.position=c.Position+Vector3.new(0,3,0)
  760. f.Parent=c
  761. game:GetService("Debris"):AddItem(m,.5+du)
  762. c.CanCollide=false
  763. m.Parent=workspace
  764. c.CanCollide=false
  765. end
  766.  
  767. VestHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.01999998, 1.39999998, 1.01999998))
  768. handleweld=weld(m,Character["Torso"],VestHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-005, 0.300115585, 3.05175781e-005, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642))
  769. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
  770. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, 0.200000286, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
  771. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
  773. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000152587891, -0.999994516, -0.200134277, -4.47035475e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, -4.4703544e-008))
  774. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
  776. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700012207, -1.00999117, 1.52587891e-005, 0.999999046, 0, 0, 0, 1, 0, 0, 0, 0.999999046))
  777. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
  778. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699127197, -1.00999379, 0.000549316406, 0.999997914, 6.38506317e-005, -2.78951497e-015, -6.38804122e-005, 1.00000012, 2.10474918e-015, 2.78942159e-015, 1.39239913e-015, 0.999997854))
  779. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  780. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609390259, 0.811340332, -0.0999908447, 3.08029073e-018, -2.69585922e-014, -0.999999642, -0.999999642, -6.39334685e-005, -1.35697087e-018, -6.39334467e-005, 1, -2.6958582e-014))
  781. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  782. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  783. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609359741, -0.788131714, -0.0999910831, 3.06354694e-018, -2.34616979e-014, -0.999999642, -0.999999642, -6.39629943e-005, -1.56279636e-018, -6.39629725e-005, 1, -2.34616895e-014))
  784. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  785. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  786. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609375, 0.0116882324, -0.0999908447, 3.06355067e-018, -2.34617301e-014, -0.999999642, -0.999999642, -6.39631544e-005, -1.56279822e-018, -6.39631326e-005, 1, -2.34617217e-014))
  787. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  788. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  789. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609313965, -0.388046265, -0.0999908447, 3.0635486e-018, -2.34617301e-014, -0.999998927, -0.999998927, -6.39631544e-005, -1.56279719e-018, -6.39630889e-005, 1, -2.34617047e-014))
  790. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  791. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  792. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609329224, 0.411483765, -0.0999908447, 3.08028867e-018, -2.69585922e-014, -0.999998927, -0.999998927, -6.39334685e-005, -1.35696984e-018, -6.3933403e-005, 1, -2.69585617e-014))
  793. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  794. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  795. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000305175781, -0.800010204, 0.89906311, -4.47035724e-008, 6.26018334e-015, 0.999997854, -8.34552054e-008, 1.00000012, -5.15634779e-015, -0.999997914, -5.35364961e-008, -4.47035653e-008))
  796. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
  798. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, -0.99998498, -0.199783325, -4.47038211e-008, -2.85946115e-012, -0.999997854, -6.3955762e-005, 1.00000012, 1.77753083e-015, 0.999997914, 6.39259815e-005, -4.47038175e-008))
  799. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  800. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 3.79999971, 0.200000003))
  801. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356018066, -0.311279297, -0.609542847, 0.865768671, 0.500441432, 0, -0.5004403, 0.865770638, 3.55271241e-015, 3.55271241e-015, 3.02253882e-015, 0.999997854))
  802. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  803. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  804. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.799995899, 0.900177002, 1.49011559e-008, 0, -0.999995232, 0, 1, 0, 0.999995232, 0, 1.49011559e-008))
  805. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  806. FlagLogo=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FlagLogo",Vector3.new(3, 1.99999988, 0.200000003))
  807. FlagLogoweld=weld(m,VestHandle,FlagLogo,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14234924, -3.41108704, -0.610244751, 0.865850091, 0.500302911, -3.55240239e-015, -0.500302792, 0.865850449, 9.79956736e-019, 3.07633938e-015, 1.77642947e-015, 0.999999642))
  808. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  809. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356628418, -2.31108093, -0.620269775, 0.865850091, 0.500302911, 7.10581953e-015, -0.500302792, 0.865850449, 9.79956736e-019, 6.15238443e-015, 3.55382075e-015, 0.999999642))
  810. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  811. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
  812. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354736328, -4.51108551, -0.620117188, 0.865849495, 0.500302911, 1.77640292e-014, -0.500302434, 0.865850449, 9.79956115e-019, 9.22842142e-015, 5.33121097e-015, 0.999998927))
  813. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  814. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 1.99999964, 0.200000003))
  815. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356216431, -3.41107178, -0.610137939, 0.865848899, 0.500302911, 1.77639292e-014, -0.500302076, 0.865850449, 9.79955495e-019, 1.53807173e-014, 8.88612016e-015, 0.999998212))
  816. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  817. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  818. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356292725, 1.6887207, -0.619628906, 0.865768075, 0.500441432, 0, -0.500439942, 0.865770638, 3.55270987e-015, 3.55270987e-015, 3.02253882e-015, 0.999997139))
  819. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  820. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  821. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.589828491, 0.808547974, -0.0999956131, -3.90798369e-014, 8.06646416e-017, -0.999997854, -0.999997914, -6.36497934e-005, 3.90798369e-014, -6.36795739e-005, 1.00000012, 3.58011901e-015))
  822. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  823. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
  824. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, -0.399998188, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
  825. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  826. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 1.4000001))
  827. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -1.10011411, -1.52587891e-005, 0.999999404, -4.47034765e-008, 0, -4.47034836e-008, -0.999999285, 0, 0, 0, -1))
  828. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=74322546",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
  829. local Decal1 = Instance.new("Decal",FlagLogo)
  830. Decal1.Texture = "http://www.roblox.com/asset/?id=147337085"
  831. Decal1.Face = "Front"
  832. local Decal2 = Instance.new("Decal",FlagLogo)
  833. Decal2.Texture = "http://www.roblox.com/asset/?id=147337085"
  834. Decal2.Face = "Back"
  835. Humanoid.WalkSpeed = 50
  836.  
  837. function ALLAHUAKBAR()
  838. attack = true
  839. local speak = {"ALLAHUAKBAR"}
  840. local colors = {"Red","Red","Red"} -- The only 3 colors, adding more will error.
  841. local chat = game:GetService("Chat")
  842. chat:Chat(Head,speak[math.random(1,#speak)], colors[math.random(1,3)] )
  843. for i = 0,1,0.05 do
  844. swait()
  845. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  846. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  847. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  848. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  849. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  850. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  851. end
  852. for i = 0,1,0.05 do
  853. swait()
  854. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  855. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  856. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(50)), 0.3)
  857. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  858. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  859. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  860. end
  861. for i = 1,20 do
  862. --so("http://roblox.com/asset/?id=197815953",workspace,1,1)
  863. so("rbxassetid://134854740",Torso,1,1.3)
  864. so("rbxassetid://247893371",workspace,1,1)
  865. so("rbxassetid://137994058",Torso,1,1)
  866. so("rbxassetid://165969964",Torso,1,1)
  867. local S = Instance.new("Explosion",workspace)
  868. S.Position = Torso.Position
  869. S.BlastPressure = 5
  870. S.BlastRadius = 50
  871. S.ExplosionType = 2
  872. end
  873. attack = false
  874. end
  875.  
  876. mouse.Button1Down:connect(function()
  877. ALLAHUAKBAR()
  878. end)
  879.  
  880. mouse.KeyDown:connect(function(k)
  881. k=k:lower()
  882.  
  883. end)
  884.  
  885.  
  886. local sine = 0
  887. local change = 1
  888. local val = 0
  889.  
  890. while true do
  891. swait()
  892. sine = sine + change
  893. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  894. local velderp=RootPart.Velocity.y
  895. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  896. if equipped==true or equipped==false then
  897. if attack==false then
  898. idle=idle+1
  899. else
  900. idle=0
  901. end
  902. if idle>=500 then
  903. if attack==false then
  904. --Sheath()
  905. end
  906. end
  907. if RootPart.Velocity.y > 1 and hitfloor==nil then
  908. Anim="Jump"
  909. if attack==false then
  910. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  911. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  912. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  913. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  914. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  915. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  916. end
  917. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  918. Anim="Fall"
  919. if attack==false then
  920. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  921. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  922. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  923. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  924. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  925. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  926. end
  927. elseif torvel<1 and hitfloor~=nil then
  928. Anim="Idle"
  929. if attack==false then
  930. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  931. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  932. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  933. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  934. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  935. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  936. end
  937. elseif torvel>2 and hitfloor~=nil then
  938. Anim="Walk"
  939. if attack==false then
  940. change=3
  941. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  942. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  943. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50*math.cos(sine/20)), math.rad(0), math.rad(10)), 0.3)
  944. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50*math.cos(sine/20)), math.rad(0), math.rad(-10)), 0.3)
  945. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  946. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  947. end
  948. end
  949. end
  950. if #Effects>0 then
  951. --table.insert(Effects,{prt,"Block1",delay})
  952. for e=1,#Effects do
  953. if Effects[e]~=nil then
  954. --for j=1,#Effects[e] do
  955. local Thing=Effects[e]
  956. if Thing~=nil then
  957. local Part=Thing[1]
  958. local Mode=Thing[2]
  959. local Delay=Thing[3]
  960. local IncX=Thing[4]
  961. local IncY=Thing[5]
  962. local IncZ=Thing[6]
  963. if Thing[1].Transparency<=1 then
  964. if Thing[2]=="Block1" then
  965. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  966. Mesh=Thing[1].Mesh
  967. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  968. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  969. elseif Thing[2]=="Cylinder" then
  970. Mesh=Thing[1].Mesh
  971. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  972. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  973. elseif Thing[2]=="Blood" then
  974. Mesh=Thing[7]
  975. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  976. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  977. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  978. elseif Thing[2]=="Elec" then
  979. Mesh=Thing[1].Mesh
  980. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  981. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  982. elseif Thing[2]=="Disappear" then
  983. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  984. end
  985. else
  986. Part.Parent=nil
  987. table.remove(Effects,e)
  988. end
  989. end
  990. --end
  991. end
  992. end
  993. end
  994. end
  995. end)
  996.  
  997.  
  998. robxingscript.Name = "robxing script"
  999. robxingscript.Parent = PScripts
  1000. robxingscript.BackgroundColor3 = Color3.new(0.631373, 0.0588235, 0.027451)
  1001. robxingscript.Position = UDim2.new(0, 254, 0, 110)
  1002. robxingscript.Size = UDim2.new(0, 156, 0, 50)
  1003. robxingscript.Font = Enum.Font.SourceSans
  1004. robxingscript.Text = "ro.boxing paid script"
  1005. robxingscript.TextColor3 = Color3.new(0, 0, 0)
  1006. robxingscript.TextSize = 14
  1007. roboxingscript.MouseButton1Down:connect(function()
  1008. -- if you leak this your double hella gay
  1009. spawn (function()
  1010. while true do
  1011. wait(0.1)
  1012. spawn (function()
  1013. while true do
  1014. game.Workspace.Rope_Training.bottom.Position = Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  1015. game.Workspace.Rope_Training.top.Position = Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  1016. wait(0.1)
  1017. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Rope_Training.top.CFrame
  1018. wait(0.2)
  1019. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Give_Energy.CFrame
  1020. end
  1021. end)
  1022. end
  1023. end)
  1024. end)
  1025.  
  1026. SWORDBURST2.Name = "SWORDBURST 2"
  1027. SWORDBURST2.Parent = PScripts
  1028. SWORDBURST2.BackgroundColor3 = Color3.new(0.631373, 0.0588235, 0.027451)
  1029. SWORDBURST2.Position = UDim2.new(0, 132, 0, 218)
  1030. SWORDBURST2.Size = UDim2.new(0, 156, 0, 50)
  1031. SWORDBURST2.Font = Enum.Font.SourceSans
  1032. SWORDBURST2.Text = "SWORDBURST 2 paid script"
  1033. SWORDBURST2.TextColor3 = Color3.new(0, 0, 0)
  1034. SWORDBURST2.TextSize = 14
  1035. SWORDBURST2.MouseButton1Down:connect(function()
  1036. --[[
  1037.  
  1038. Removed shittily scripted whitelist and fixed it up "a bit". - Mudock Yatho
  1039.  
  1040. Yuno sucks literal ass.
  1041.  
  1042. https://cdn.discordapp.com/attachments/382740911194374156/383425567116099585/image.png print(1,2) thanks was so hard
  1043. https://cdn.discordapp.com/attachments/226781703253917696/383407340428197888/image.png raising price and remaking people buy for broken scripts
  1044. https://cdn.discordapp.com/attachments/226781703253917696/383407301509382184/image.png broken scripts are good
  1045. https://cdn.discordapp.com/attachments/226781703253917696/383407892868366336/image.png (script isnt working)
  1046. https://cdn.discordapp.com/attachments/226781703253917696/383419099725955083/image.png banned 4x4 for "modifying his script"
  1047.  
  1048. ]]--
  1049. local function log(text)
  1050. BG.Output.Text = "Output: "..text
  1051. end
  1052. local loader = game.CoreGui:WaitForChild("Yuno's SBO 2 Loader V1")
  1053. local GUI = game.CoreGui["Yuno's SBO 2 Loader V1"]:WaitForChild("Yuno's SBO 2 GUI")
  1054. GUI.Parent = game.Players.LocalPlayer.PlayerGui
  1055. local BG = GUI.BG
  1056. local StarterFrane = BG.StarterFrame
  1057. local AutoBuyFrame = BG.AutoBuyFrame
  1058. local AutoDismantleFrame = BG.AutoDismantleFrame
  1059. local AutoUpgradeFrame = BG.AutoUpgradeFrame
  1060. local AutoFarmFrame = BG.AutoFarmFrame
  1061. local output = BG.Output
  1062. local pageNumber = 1
  1063. local farming = false
  1064. local autobuying = false
  1065. local introFrame = GUI.Intro
  1066. introFrame.ImageLabel.Visible = true
  1067. introFrame.ImageLabel:TweenSize(UDim2.new(1,0,1,0), "Out", "Quad", 2)
  1068. wait(2)
  1069. introFrame.Parent.BG.Visible = true
  1070. wait(1)
  1071. for i=0,1,0.1 do
  1072. wait(.001)
  1073. introFrame.ImageLabel.ImageTransparency = i
  1074. end
  1075. local function changePage(direction)
  1076. if direction == "Backwards" and pageNumber >= 2 then
  1077. pageNumber = pageNumber - 1
  1078. for _,v in pairs(BG:GetChildren()) do
  1079. if v:IsA'Frame'and v:FindFirstChild'Page'then
  1080. if v.Page.Value == pageNumber then
  1081. v.Visible = true
  1082. else
  1083. v.Visible = false
  1084. end
  1085. end
  1086. end
  1087. elseif direction == "Forwards" and pageNumber <= 2 then
  1088. pageNumber = pageNumber + 1
  1089. for _,v in pairs(BG:GetChildren()) do
  1090. if v:IsA("Frame") and v:FindFirstChild("Page") then
  1091. if v.Page.Value == pageNumber then
  1092. v.Visible = true
  1093. else
  1094. v.Visible = false
  1095. end
  1096. end
  1097. end
  1098. end
  1099. BG.PageNumber.Text = "Page: "..pageNumber
  1100. end
  1101. local function farm()
  1102. local bossname = AutoFarmFrame.MobName.Text
  1103. local function safetyCheck()
  1104. for _,v in pairs(workspace.Mobs:GetChildren()) do
  1105. if not v:FindFirstChild("HumanoidRootPart") then
  1106. v:Destroy()
  1107. end
  1108. end
  1109. end safetyCheck()
  1110. function _G.getCombatKey()
  1111. do
  1112. if #_G.cKeys > 0 then
  1113. newKey = _G.cKeys[#_G.cKeys]
  1114. table.remove(_G.cKeys, #_G.cKeys)
  1115. if #_G.cKeys < 15 then
  1116. spawn(refillCKeys)
  1117. end
  1118. return newKey
  1119. end
  1120. return -1
  1121. end
  1122. end
  1123.  
  1124. function refillCKeys()
  1125. repeat
  1126. wait()
  1127. until _G.rpcKey
  1128. newKey = nil
  1129. if #_G.cKeys > 0 then
  1130. newKey = _G.cKeys[#_G.cKeys]
  1131. table.remove(_G.cKeys, #_G.cKeys)
  1132. else
  1133. newKey = "00"
  1134. end
  1135. new = game.ReplicatedStorage.Function:InvokeServer("Combat", _G.rpcKey, {"RefillKeys", newKey})
  1136. for i,v in ipairs(new) do
  1137. table.insert(_G.cKeys, v)
  1138. end
  1139. end
  1140.  
  1141. _G.bossSpawned = false
  1142. workspace.Mobs.ChildAdded:connect(function(boss)
  1143. if boss.Name == bossname then
  1144. _G.bossSpawned = true
  1145. end
  1146. end)
  1147. game:GetService'RunService'.RenderStepped:connect(function()
  1148. if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character.Parent then
  1149. if not game.Players.LocalPlayer.Character:FindFirstChild("IgnoreTeleport") then
  1150. local ff = Instance.new("IntValue", game.Players.LocalPlayer.Character)
  1151. ff.Name = "IgnoreTeleport"
  1152. end
  1153. end
  1154. end)
  1155. while wait() do
  1156. for _,v in pairs(workspace.Mobs:GetChildren()) do
  1157. if _G.bossSpawned == false then
  1158. while wait(0.1) do
  1159. if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Entity").Health.Value > 0 then
  1160. if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("HumanoidRootPart") then
  1161. local oldHealth = v.Entity.Health.Value
  1162. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(v.HumanoidRootPart.Position + Vector3.new(0,20,0))
  1163. game.ReplicatedStorage.Event:FireServer("Combat", _G.rpcKey, {"Attack", nil, v, _G.getCombatKey()})
  1164. --[[if (oldHealth - v.Entity.Health.Value) <= 5 then
  1165. break
  1166. end]]
  1167. else
  1168. break
  1169. end
  1170. else
  1171. break
  1172. end
  1173. end
  1174. v:Destroy()
  1175. else
  1176. local boss = workspace.Mobs[bossname]
  1177. while wait(0.1) do
  1178. if boss:FindFirstChild("Entity") and boss.Entity.Health.Value > 1 then
  1179. if workspace:FindFirstChild(game.Players.LocalPlayer.Name) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and boss:FindFirstChild("HumanoidRootPart") then
  1180. local oldHealth = boss.Entity.Health.Value
  1181. workspace:FindFirstChild(game.Players.LocalPlayer.Name):FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(boss.HumanoidRootPart.Position + Vector3.new(0,20,0))
  1182. game.ReplicatedStorage.Event:FireServer("Combat", _G.rpcKey, {"Attack", nil, boss, _G.getCombatKey()})
  1183. --[[if (oldHealth - v.Entity.Health.Value) <= 5 then
  1184. break
  1185. end]]
  1186. else
  1187. break
  1188. end
  1189. else
  1190. break
  1191. end
  1192. end
  1193. _G.bossSpawned = false
  1194. boss:Destroy()
  1195. end
  1196. end
  1197. end
  1198. end
  1199. local function autoBuy(item, amount, shop)
  1200. for _,v in pairs(workspace:GetChildren()) do
  1201. if v.Name == "Model" then
  1202. if v.Name == "Beginner Shop Clerk" then
  1203. local shop = v.Head.ShopDialog.Shop
  1204. end
  1205. end
  1206. end
  1207. if shop and shop:FindFirstChild(item) then
  1208. log("AutoBuy is purchasing "..item.. " "..amount.." times")
  1209. for i=1,amount, 1 do
  1210. wait(0.1)
  1211. game.ReplicatedStorage.Function:InvokeServer("Shop", {"BuyItem", shop, shop:FindFirstChild(item)})
  1212. end
  1213. else
  1214. log("Error finding item in Beginner Shop")
  1215. end
  1216. autobuying = false
  1217. end
  1218. BG.Forwards.MouseButton1Click:connect(function()
  1219. changePage("Forwards")
  1220. end)
  1221. BG.Backwards.MouseButton1Click:connect(function()
  1222. changePage("Backwards")
  1223. end)
  1224. AutoFarmFrame.FarmButton.MouseButton1Click:connect(function()
  1225. if not farming then
  1226. farming = true
  1227. log("Auto farm started")
  1228. farm()
  1229. else
  1230. log("Auto farm has already started")
  1231. end
  1232. end)
  1233. AutoBuyFrame.AutoBuyButton.MouseButton1Click:connect(function()
  1234. if not autobuying then
  1235. autobuying = true
  1236. log("Auto buy has started")
  1237. autoBuy(AutoBuyFrame.ItemName.Text, AutoBuyFrame.Amount.Text, nil)
  1238. else
  1239. log("Auto buy is currently in progress")
  1240. end
  1241. end)
  1242. spawn(function()
  1243. while wait()do
  1244. if pageNumber > 1 then
  1245. BG.Backwards.Visible = true
  1246. else
  1247. BG.Backwards.Visible = false
  1248. end
  1249. if pageNumber < 3 then
  1250. BG.Forwards.Visible = true
  1251. else
  1252. BG.Forwards.Visible = false
  1253. end
  1254. end
  1255. end)
  1256. end)
  1257.  
  1258. Fscripts.Name = "Fscripts"
  1259. Fscripts.Parent = ScreenGui
  1260. Fscripts.BackgroundColor3 = Color3.new(0.780392, 0.0235294, 0.0235294)
  1261. Fscripts.Position = UDim2.new(0, 246, 0, 137)
  1262. Fscripts.Size = UDim2.new(0, 527, 0, 271)
  1263. Fscripts.Visible = false
  1264.  
  1265. sgun.Name = "sgun"
  1266. sgun.Parent = Fscripts
  1267. sgun.BackgroundColor3 = Color3.new(1, 1, 1)
  1268. sgun.BackgroundTransparency = 1
  1269. sgun.Size = UDim2.new(0, 527, 0, 271)
  1270. sgun.Font = Enum.Font.SourceSans
  1271. sgun.Text = "Suicide gun"
  1272. sgun.TextColor3 = Color3.new(0, 0, 0)
  1273. sgun.TextScaled = true
  1274. sgun.TextSize = 14
  1275. sgun.TextWrapped = true
  1276. sgun.MouseButton1Down:connect(function()
  1277. --Left Click to kill yourself
  1278.  
  1279. local player = game.Players.LocalPlayer
  1280. repeat wait() until player.Character.Humanoid
  1281. local humanoid = player.Character.Humanoid
  1282. local mouse = player:GetMouse()
  1283. --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498'
  1284. local player=game.Players.LocalPlayer;
  1285. local char=game.Players.LocalPlayer.Character;
  1286. local humanoid = player.Character.Humanoid;
  1287. Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
  1288. Tool.GripRight=Vector3.new(-0.816, 0, 0.577);
  1289. Tool.GripUp=Vector3.new(-0.027, 0.996, -0.089);
  1290. Tool.GripPos=Vector3.new(-0.3, -0.4, 0.4);
  1291. Tool.GripForward=Vector3.new(-1, 0, -0); --0.485, 0.14, -0.863
  1292. Tool.Name='kys';
  1293. Handle=Instance.new('Part', Tool);
  1294. Handle.Name = 'Handle';
  1295. Handle.BrickColor=BrickColor.new('Really black')
  1296. Handle.Size=Vector3.new(0.26, 1.11, 4.85);
  1297. Handle.Position=Vector3.new(-18.53, 0.555, -16.825)
  1298. gunfire=Instance.new('Part', Tool)
  1299. gunfire.Name='GunFire'
  1300. gunfire.Size=Vector3.new(0.2, 0.2, 0.2)
  1301. gunfire.Transparency=1
  1302. gunfire.Position=Vector3.new(-18.56, 1.1, -19.35)
  1303. gunfirefx=Instance.new('BillboardGui', gunfire)
  1304. gunfirefx.Enabled=false
  1305. gunfirefx.Adornee = gunfire
  1306. gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0)
  1307. gunfirefx2=Instance.new('ImageLabel', gunfirefx)
  1308. gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237'
  1309. gunfirefx2.BackgroundTransparency=1
  1310. gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0)
  1311.  
  1312. shootsound=Instance.new('Sound', char.Torso)
  1313. shootsound.Volume=8
  1314. shootsound.SoundId='rbxassetid://230622620'
  1315. c4mesh=Instance.new('SpecialMesh', Handle);
  1316. c4mesh.MeshType = 'FileMesh';
  1317. c4mesh.MeshId='http://www.roblox.com/asset/?id=95356090';
  1318. c4mesh.TextureId='http://www.roblox.com/asset/?id=95387789';
  1319. c4mesh.Scale=Vector3.new(1.8, 1.8, 1.8);
  1320.  
  1321. local anim5 = Instance.new("Animation", player.Character)
  1322. anim5.AnimationId = "http://www.roblox.com/asset/?id=95383474"
  1323. local playAnim10 = humanoid:LoadAnimation(anim5)
  1324.  
  1325. Tool.GripRight=Vector3.new(-0.816, 0, 0.577)
  1326.  
  1327. function equipped()
  1328. wait()
  1329. playAnim10:Play()
  1330. end
  1331.  
  1332. function unequipped()
  1333. wait()
  1334. playAnim10:Stop()
  1335. end
  1336.  
  1337. Tool.Equipped:connect(equipped)
  1338. Tool.Unequipped:connect(unequipped)
  1339.  
  1340. light=Instance.new('PointLight', Handle);
  1341. light.Color = Color3.new(255, 255, 0)
  1342. light.Range=10;
  1343. light.Enabled=false;
  1344.  
  1345.  
  1346. function Shoot()
  1347. shootsound:Play()
  1348. light.Enabled=true
  1349. wait(0.1)
  1350. light.Enabled=false
  1351. player.Character.Humanoid.Health=0
  1352. wait()
  1353. Tool:Destroy()
  1354. end
  1355. Tool.Activated:connect(Shoot)
  1356.  
  1357. --ragdoll
  1358.  
  1359. print("Loaded.")
  1360. --You don't need to edit this!
  1361.  
  1362. Character = player.Character
  1363. Humanoid = Character.Humanoid
  1364. Torso = Character.Torso
  1365. mode = Instance.new("Model")
  1366. mode.Name = ""
  1367. mode.Parent = game.Workspace
  1368.  
  1369. function OnDeath()
  1370.  
  1371. print("Death")
  1372. wait(0.00000001)
  1373. Humanoid.Parent = nil
  1374. if Torso then
  1375. zam=Torso:Clone()
  1376. zam.Parent=mode
  1377. x=Character:GetChildren()
  1378. for i=1,#x do
  1379. if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then
  1380. local zor=x[i]:Clone()
  1381. zor.Parent=mode
  1382. end
  1383. if x[i].Name=="Head" then
  1384. local zem=x[i]:Clone()
  1385. zem.Parent=mode --Made by MatrixComplexity
  1386. local Neck = Instance.new("Weld")
  1387. Neck.Name = "Neck"
  1388. Neck.Part0 = zam
  1389. Neck.Part1 = zem
  1390. Neck.C0 = CFrame.new(0, 1.5, 0)
  1391. Neck.C1 = CFrame.new()
  1392. Neck.Parent = zam
  1393. end
  1394. if x[i].Name=="Right Arm" then
  1395. local Limb=x[i]:Clone()
  1396. Limb.Parent=mode
  1397. Limb.CFrame = zam.CFrame * CFrame.new(1.5, 0, 0)
  1398. local Joint = Instance.new("Glue")
  1399. Joint.Name = "RightShoulder"
  1400. Joint.Part0 = zam
  1401. Joint.Part1 = Limb
  1402. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1403. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1404. Joint.Parent = zam
  1405.  
  1406. local B = Instance.new("Part")
  1407. B.TopSurface = 0
  1408. B.BottomSurface = 0
  1409. B.formFactor = "Symmetric"
  1410. B.Size = Vector3.new(1, 1, 1)
  1411. B.Transparency = 1
  1412. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1413. B.Parent = mode
  1414. local W = Instance.new("Weld")
  1415. W.Part0 = Limb
  1416. W.Part1 = B
  1417. W.C0 = CFrame.new(0, -0.5, 0)
  1418. W.Parent = Limb
  1419.  
  1420. end
  1421. if x[i].Name=="Left Arm" then
  1422. local Limb=x[i]:Clone()
  1423. Limb.Parent=mode
  1424.  
  1425. Limb.CFrame = zam.CFrame * CFrame.new(-1.5, 0, 0)
  1426. local Joint = Instance.new("Glue")
  1427. Joint.Name = "LeftShoulder"
  1428. Joint.Part0 = zam
  1429. Joint.Part1 = Limb
  1430. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1431. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1432. Joint.Parent = zam
  1433.  
  1434. local B = Instance.new("Part")
  1435. B.TopSurface = 0
  1436. B.BottomSurface = 0
  1437. B.formFactor = "Symmetric"
  1438. B.Size = Vector3.new(1, 1, 1)
  1439. B.Transparency = 1
  1440. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1441. B.Parent = mode
  1442. local W = Instance.new("Weld")
  1443. W.Part0 = Limb
  1444. W.Part1 = B
  1445. W.C0 = CFrame.new(0, -0.5, 0)
  1446. W.Parent = Limb
  1447.  
  1448. end
  1449. if x[i].Name=="Right Leg" then
  1450. local Limb=x[i]:Clone()
  1451. Limb.Parent=mode
  1452.  
  1453. Limb.CFrame = zam.CFrame * CFrame.new(0.5, -2, 0)
  1454. local Joint = Instance.new("Glue")
  1455. Joint.Name = "RightHip"
  1456. Joint.Part0 = zam
  1457. Joint.Part1 = Limb
  1458. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1459. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1460. Joint.Parent = zam
  1461.  
  1462. local B = Instance.new("Part")
  1463. B.TopSurface = 0
  1464. B.BottomSurface = 0
  1465. B.formFactor = "Symmetric"
  1466. B.Size = Vector3.new(1, 1, 1)
  1467. B.Transparency = 1
  1468. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1469. B.Parent = mode
  1470. local W = Instance.new("Weld")
  1471. W.Part0 = Limb
  1472. W.Part1 = B
  1473. W.C0 = CFrame.new(0, -0.5, 0)
  1474. W.Parent = Limb
  1475.  
  1476. end
  1477. if x[i].Name=="Left Leg" then
  1478. local Limb=x[i]:Clone()
  1479. Limb.Parent=mode
  1480.  
  1481. Limb.CFrame = zam.CFrame * CFrame.new(-0.5, -2, 0)
  1482. local Joint = Instance.new("Glue")
  1483. Joint.Name = "LeftHip"
  1484. Joint.Part0 = zam
  1485. Joint.Part1 = Limb
  1486. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1487. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1488. Joint.Parent = zam
  1489.  
  1490. local B = Instance.new("Part")
  1491. B.TopSurface = 0
  1492. B.BottomSurface = 0
  1493. B.formFactor = "Symmetric"
  1494. B.Size = Vector3.new(1, 1, 1)
  1495. B.Transparency = 1
  1496. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1497. B.Parent = mode
  1498. local W = Instance.new("Weld")
  1499. W.Part0 = Limb
  1500. W.Part1 = B
  1501. W.C0 = CFrame.new(0, -0.5, 0)
  1502. W.Parent = Limb
  1503.  
  1504. end
  1505. bland=Instance.new("Humanoid")
  1506. bland.Health = 0
  1507. bland.MaxHealth = 0
  1508. bland.Parent=mode
  1509. if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then
  1510. local zor=x[i]:Clone()
  1511. zor.Parent=mode
  1512. end
  1513. --[
  1514. if (x[i].ClassName=="CharacterMesh") then
  1515. local zor=x[i]:Clone()
  1516. zor.Parent=mode
  1517. end
  1518. if (x[i].ClassName=="Hat") then
  1519. local zor=x[i]:Clone()
  1520. zor.Parent=mode
  1521. end
  1522. local cam = Instance.new("Camera")
  1523. cam.Parent = game.Players:FindFirstChild(Character.Name)
  1524. cam.CameraSubject = mode.Humanoid
  1525. local Bar = Instance.new("Part")
  1526. Bar.TopSurface = 0
  1527. Bar.BottomSurface = 0
  1528. Bar.formFactor = "Symmetric"
  1529. Bar.Size = Vector3.new(1, 1, 1)
  1530. Bar.Transparency = 1
  1531. Bar.CFrame = zam.CFrame * CFrame.new(0, 0.5, 0)
  1532. Bar.Parent = mode
  1533. local Weld = Instance.new("Weld")
  1534. Weld.Part0 = zam
  1535. Weld.Part1 = Bar
  1536. Weld.C0 = CFrame.new(0, 0.5, 0)
  1537. Weld.Parent = zam
  1538. --]]
  1539. end
  1540. end
  1541. wait()
  1542. Character:Remove()
  1543. wait(6)
  1544. mode:Destroy()
  1545. end
  1546.  
  1547. Humanoid.Died:connect(OnDeath)
  1548. end)
  1549. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement