Advertisement
Stacksity

[WIP]Elegance V1

Apr 27th, 2019
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 303.80 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local EleganceV1 = Instance.new("ScreenGui")
  5. local LoginFrame = Instance.new("Frame")
  6. local Header = Instance.new("Frame")
  7. local Title = Instance.new("TextLabel")
  8. local Username = Instance.new("TextBox")
  9. local Password = Instance.new("TextBox")
  10. local Submit = Instance.new("TextButton")
  11. local MainFrame = Instance.new("Frame")
  12. local MHeader = Instance.new("Frame")
  13. local MTitle = Instance.new("TextLabel")
  14. local Exit = Instance.new("TextButton")
  15. local ScriptsButt1 = Instance.new("TextButton")
  16. local ScriptsButt3 = Instance.new("TextButton")
  17. local ScriptsButt2 = Instance.new("TextButton")
  18. local MFooter = Instance.new("Frame")
  19. local Credits = Instance.new("TextLabel")
  20. local Scripts1Frame = Instance.new("Frame")
  21. local S1Header = Instance.new("Frame")
  22. local S1Title = Instance.new("TextLabel")
  23. local GrabKnifeV4Butt = Instance.new("TextButton")
  24. local S1Exit = Instance.new("TextButton")
  25. local Open = Instance.new("Frame")
  26. local OpenBut = Instance.new("TextButton")
  27. local Close = Instance.new("Frame")
  28. local CloseBut = Instance.new("TextButton")
  29. local Keemstar = Instance.new("TextButton")
  30. local DogeFace = Instance.new("TextButton")
  31. local Pepe = Instance.new("TextButton")
  32. local Illuminati = Instance.new("TextButton")
  33. local UltraMech = Instance.new("TextButton")
  34. local Bleach = Instance.new("TextButton")
  35. local NoClip = Instance.new("TextButton")
  36. local JohnDoe = Instance.new("TextButton")
  37. local Invisible = Instance.new("TextButton")
  38. local Scripts2Frame = Instance.new("Frame")
  39. local S2Header_2 = Instance.new("Frame")
  40. local S2Title_2 = Instance.new("TextLabel")
  41. local Swim = Instance.new("TextButton")
  42. local S2Exit_2 = Instance.new("TextButton")
  43. local BookOfWisdom = Instance.new("TextButton")
  44. local WeAreNumber1 = Instance.new("TextButton")
  45. local Disco = Instance.new("TextButton")
  46. local VaporGun = Instance.new("TextButton")
  47. local HilaryClinton = Instance.new("TextButton")
  48. local Bomb = Instance.new("TextButton")
  49. local Harambe = Instance.new("TextButton")
  50. local MLG = Instance.new("TextButton")
  51. local TsarBomba = Instance.new("TextButton")
  52.  
  53. --Properties:
  54. EleganceV1.Name = "Elegance V1"
  55. EleganceV1.Parent = game.CoreGui
  56. EleganceV1.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  57.  
  58. LoginFrame.Name = "Login Frame"
  59. LoginFrame.Parent = EleganceV1
  60. LoginFrame.Active = true
  61. LoginFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  62. LoginFrame.BorderColor3 = Color3.new(1, 0, 0)
  63. LoginFrame.BorderSizePixel = 10
  64. LoginFrame.Position = UDim2.new(0.711906135, 0, 0.0626535565, 0)
  65. LoginFrame.Size = UDim2.new(0, 234, 0, 300)
  66. LoginFrame.Visible = false
  67.  
  68. Header.Name = "Header"
  69. Header.Parent = LoginFrame
  70. Header.BackgroundColor3 = Color3.new(0, 0, 0)
  71. Header.BorderSizePixel = 0
  72. Header.Position = UDim2.new(0, 0, -0.000969263725, 0)
  73. Header.Size = UDim2.new(0, 234, 0, 46)
  74.  
  75. Title.Name = "Title"
  76. Title.Parent = Header
  77. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  78. Title.BackgroundTransparency = 1
  79. Title.Size = UDim2.new(0, 234, 0, 46)
  80. Title.Font = Enum.Font.GothamBlack
  81. Title.Text = "Elegance V1 | Login"
  82. Title.TextColor3 = Color3.new(1, 0, 0)
  83. Title.TextSize = 25
  84.  
  85. Username.Name = "Username"
  86. Username.Parent = LoginFrame
  87. Username.BackgroundColor3 = Color3.new(0, 0, 0)
  88. Username.Position = UDim2.new(0.0427350439, 0, 0.233333334, 0)
  89. Username.Size = UDim2.new(0, 212, 0, 34)
  90. Username.Font = Enum.Font.GothamBlack
  91. Username.Text = "Username"
  92. Username.TextColor3 = Color3.new(1, 0, 0)
  93. Username.TextSize = 14
  94.  
  95. Password.Name = "Password"
  96. Password.Parent = LoginFrame
  97. Password.BackgroundColor3 = Color3.new(0, 0, 0)
  98. Password.Position = UDim2.new(0.0470085479, 0, 0.443333328, 0)
  99. Password.Size = UDim2.new(0, 211, 0, 34)
  100. Password.Font = Enum.Font.GothamBlack
  101. Password.Text = "Password"
  102. Password.TextColor3 = Color3.new(1, 0, 0)
  103. Password.TextSize = 14
  104.  
  105. Submit.Name = "Submit"
  106. Submit.Parent = LoginFrame
  107. Submit.BackgroundColor3 = Color3.new(1, 0, 0)
  108. Submit.Position = UDim2.new(0.0470085479, 0, 0.649999976, 0)
  109. Submit.Size = UDim2.new(0, 211, 0, 42)
  110. Submit.Font = Enum.Font.GothamBlack
  111. Submit.Text = "Submit"
  112. Submit.TextColor3 = Color3.new(0, 0, 0)
  113. Submit.TextSize = 20
  114.  
  115. Submit.MouseButton1Down:connect(function()
  116.  
  117. if Username.Text == "Stacks" and Password.Text == "admin" then
  118. MainFrame.Visible = true
  119. LoginFrame.Visible = false
  120. end
  121.  
  122. end)
  123.  
  124. MainFrame.Name = "Main Frame"
  125. MainFrame.Parent = EleganceV1
  126. MainFrame.Active = true
  127. MainFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  128. MainFrame.BackgroundTransparency = 0.30000001192093
  129. MainFrame.BorderColor3 = Color3.new(1, 0, 0)
  130. MainFrame.BorderSizePixel = 0
  131. MainFrame.Position = UDim2.new(0.0919185877, 0, 0.213759214, 0)
  132. MainFrame.Size = UDim2.new(0, 476, 0, 458)
  133. MainFrame.Visible = false
  134. MainFrame.Draggable = true
  135.  
  136. MHeader.Name = "MHeader"
  137. MHeader.Parent = MainFrame
  138. MHeader.BackgroundColor3 = Color3.new(0, 0, 0)
  139. MHeader.Position = UDim2.new(0.00210084044, 0, 0, 0)
  140. MHeader.Size = UDim2.new(0, 475, 0, 57)
  141.  
  142. MTitle.Name = "MTitle"
  143. MTitle.Parent = MHeader
  144. MTitle.BackgroundColor3 = Color3.new(0, 0, 0)
  145. MTitle.BorderSizePixel = 0
  146. MTitle.Size = UDim2.new(0, 475, 0, 57)
  147. MTitle.Font = Enum.Font.GothamBlack
  148. MTitle.Text = "Elegance V1"
  149. MTitle.TextColor3 = Color3.new(1, 0, 0)
  150. MTitle.TextSize = 40
  151.  
  152. Exit.Name = "Exit"
  153. Exit.Parent = MainFrame
  154. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  155. Exit.Position = UDim2.new(0.955882251, 0, 0, 0)
  156. Exit.Size = UDim2.new(0, 22, 0, 26)
  157. Exit.Font = Enum.Font.GothamBlack
  158. Exit.Text = "X"
  159. Exit.TextColor3 = Color3.new(0, 0, 0)
  160. Exit.TextSize = 14
  161.  
  162. Exit.MouseButton1Down:connect(function()
  163. MainFrame.Visible = false
  164. end)
  165.  
  166. ScriptsButt1.Name = "ScriptsButt 1"
  167. ScriptsButt1.Parent = MainFrame
  168. ScriptsButt1.BackgroundColor3 = Color3.new(1, 0, 0)
  169. ScriptsButt1.BorderColor3 = Color3.new(0, 0, 0)
  170. ScriptsButt1.BorderSizePixel = 0
  171. ScriptsButt1.Position = UDim2.new(0.0420168079, 0, 0.141921401, 0)
  172. ScriptsButt1.Size = UDim2.new(0, 128, 0, 42)
  173. ScriptsButt1.Font = Enum.Font.GothamBold
  174. ScriptsButt1.Text = "Scripts 1"
  175. ScriptsButt1.TextColor3 = Color3.new(0, 0, 0)
  176. ScriptsButt1.TextSize = 20
  177. ScriptsButt1.TextWrapped = true
  178.  
  179. ScriptsButt1.MouseButton1Down:connect(function()
  180. Scripts1Frame.Visible = true
  181. end)
  182.  
  183. ScriptsButt3.Name = "ScriptsButt 3"
  184. ScriptsButt3.Parent = MainFrame
  185. ScriptsButt3.BackgroundColor3 = Color3.new(1, 0, 0)
  186. ScriptsButt3.BorderColor3 = Color3.new(0, 0, 0)
  187. ScriptsButt3.BorderSizePixel = 0
  188. ScriptsButt3.Position = UDim2.new(0.686974823, 0, 0.141921401, 0)
  189. ScriptsButt3.Size = UDim2.new(0, 128, 0, 42)
  190. ScriptsButt3.Font = Enum.Font.GothamBold
  191. ScriptsButt3.Text = "Scripts 3"
  192. ScriptsButt3.TextColor3 = Color3.new(0, 0, 0)
  193. ScriptsButt3.TextSize = 20
  194. ScriptsButt3.TextWrapped = true
  195.  
  196. ScriptsButt2.Name = " ScriptsButt 2"
  197. ScriptsButt2.Parent = MainFrame
  198. ScriptsButt2.BackgroundColor3 = Color3.new(1, 0, 0)
  199. ScriptsButt2.BorderColor3 = Color3.new(0, 0, 0)
  200. ScriptsButt2.BorderSizePixel = 0
  201. ScriptsButt2.Position = UDim2.new(0.363445401, 0, 0.141921401, 0)
  202. ScriptsButt2.Size = UDim2.new(0, 128, 0, 42)
  203. ScriptsButt2.Font = Enum.Font.GothamBold
  204. ScriptsButt2.Text = "Scripts 2"
  205. ScriptsButt2.TextColor3 = Color3.new(0, 0, 0)
  206. ScriptsButt2.TextSize = 20
  207. ScriptsButt2.TextWrapped = true
  208. ScriptsButt2.MouseButton1Click:connect(function()
  209. Scripts2Frame.Visible = true
  210. end)
  211.  
  212. MFooter.Name = "MFooter"
  213. MFooter.Parent = MainFrame
  214. MFooter.BackgroundColor3 = Color3.new(0, 0, 0)
  215. MFooter.Position = UDim2.new(0, 0, 0.875545859, 0)
  216. MFooter.Size = UDim2.new(0, 475, 0, 57)
  217.  
  218. Credits.Name = "Credits"
  219. Credits.Parent = MFooter
  220. Credits.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  221. Credits.Position = UDim2.new(0, 0, 0.77192986, 0)
  222. Credits.Size = UDim2.new(0, 124, 0, 13)
  223. Credits.Font = Enum.Font.GothamBlack
  224. Credits.Text = "Made By Stacks"
  225. Credits.TextColor3 = Color3.new(1, 0, 0)
  226. Credits.TextSize = 14
  227.  
  228. Scripts1Frame.Name = "Scripts 1 Frame"
  229. Scripts1Frame.Parent = EleganceV1
  230. Scripts1Frame.Active = true
  231. Scripts1Frame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  232. Scripts1Frame.BackgroundTransparency = 0.30000001192093
  233. Scripts1Frame.Position = UDim2.new(0.46267736, 0, 0.496314526, 0)
  234. Scripts1Frame.Size = UDim2.new(0, 474, 0, 344)
  235. Scripts1Frame.Visible = false
  236. Scripts1Frame.Draggable = true
  237.  
  238. S1Header.Name = "S1Header"
  239. S1Header.Parent = Scripts1Frame
  240. S1Header.BackgroundColor3 = Color3.new(0, 0, 0)
  241. S1Header.BorderSizePixel = 0
  242. S1Header.Size = UDim2.new(0, 474, 0, 57)
  243.  
  244. S1Title.Name = "S1Title"
  245. S1Title.Parent = S1Header
  246. S1Title.BackgroundColor3 = Color3.new(1, 1, 1)
  247. S1Title.BackgroundTransparency = 1
  248. S1Title.Size = UDim2.new(0, 474, 0, 57)
  249. S1Title.Font = Enum.Font.GothamBlack
  250. S1Title.Text = "Elegance V1 | Scripts 1"
  251. S1Title.TextColor3 = Color3.new(1, 0, 0)
  252. S1Title.TextSize = 25
  253.  
  254. GrabKnifeV4Butt.Name = "Grab Knife V4 Butt"
  255. GrabKnifeV4Butt.Parent = Scripts1Frame
  256. GrabKnifeV4Butt.BackgroundColor3 = Color3.new(1, 0, 0)
  257. GrabKnifeV4Butt.BorderSizePixel = 0
  258. GrabKnifeV4Butt.Position = UDim2.new(0.0147679327, 0, 0.191860467, 0)
  259. GrabKnifeV4Butt.Size = UDim2.new(0, 161, 0, 42)
  260. GrabKnifeV4Butt.Font = Enum.Font.GothamBlack
  261. GrabKnifeV4Butt.Text = "Grab Knife V4"
  262. GrabKnifeV4Butt.TextColor3 = Color3.new(0, 0, 0)
  263. GrabKnifeV4Butt.TextSize = 14
  264.  
  265. GrabKnifeV4Butt.MouseButton1Down:connect(function()
  266. local player = game:GetService('Players').LocalPlayer
  267. local rightclone = Instance.new('Motor6D')
  268. rightclone.Name = "Right Shoulder"
  269. rightclone.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  270. rightclone.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  271. local leftclone = Instance.new('Motor6D')
  272. leftclone.Name = "Left Shoulder"
  273. leftclone.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  274. leftclone.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  275. local leftlegclone = Instance.new('Motor6D')
  276. leftlegclone.Name = "Left Hip"
  277. leftlegclone.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  278. leftlegclone.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  279. local rightlegclone = Instance.new('Motor6D')
  280. rightlegclone.Name = "Right Hip"
  281. rightlegclone.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  282. rightlegclone.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  283. local torsoclone = Instance.new('Motor6D')
  284. torsoclone.Name = "RootJoint"
  285. torsoclone.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  286. torsoclone.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  287. local mouse = player:GetMouse()
  288. local rag1 = false
  289. local rag2 = false
  290. local firsttime = true
  291. local firsttime2 = true
  292. local firsttime3 = true
  293. local firsttime4 = true
  294. local firsttime5 = true
  295. local childlock = true
  296. local math1 = math.random(1,5)
  297. math1 = math1+(math.random(0,9)/10)
  298. local math2 = math.random(1,15)
  299. math2 = math2+(math.random(0,9)/10)
  300. local math3 = math.random(1,10)
  301. math3 = math3+(math.random(0,9)/10)
  302. local math4 = math.random(5,100)
  303. math4 = math4+(math.random(0,9)/10)
  304. local answer = (math4+(math1*math3))/(math1*math2)
  305. answer = math.floor((answer*10)+0.5)
  306. answer = answer/10
  307. print([[To be fair, you have to have a very high IQ to understand Rick and Morty.
  308. The humor is extremely subtle, and without a solid grasp of theoretical physics most of the jokes will go over a typical viewer's head.
  309. There's also Rick's nihilistic outlook, which is deftly woven into his characterisation -
  310. his personal philosophy draws heavily from Narodnaya Volya literature, for instance.
  311. The fans understand this stuff;
  312. they have the intellectual capacity to truly appreciate the depths of these jokes, to realize that they're not just funny- they say something deep about LIFE.
  313. As a consequence people who dislike Rick and Morty truly ARE idiots-
  314. of course they wouldn't appreciate, for instance, the humour in Rick's existencial catchphrase "Wubba Lubba Dub Dub," which itself is a cryptic reference to Turgenev's Russian epic Fathers and Sons.
  315. I'm smirking right now just imagining one of those addlepated simpletons scratching their heads in confusion as Dan Harmon's genius unfolds itself on their television screens.
  316. What fools... how I pity them.
  317. And yes by the way, I DO have a Rick and Morty tattoo.
  318. And no, you cannot see it.
  319. It's for the ladies' eyes only-
  320. And even they have to demonstrate that they're within ]]..answer..[[ IQ points of my own (preferably lower) beforehand.]])
  321. local rekt = {}
  322.  
  323. -- Objects
  324.  
  325. local MainGUI = Instance.new("ScreenGui")
  326. local Customize = Instance.new("TextButton")
  327. local Frame = Instance.new("Frame")
  328. local TextLabel = Instance.new("TextLabel")
  329. local Frame_2 = Instance.new("Frame")
  330. local Frame_3 = Instance.new("Frame")
  331. local ImageLabel = Instance.new("ImageLabel")
  332. local R = Instance.new("TextBox")
  333. local G = Instance.new("TextBox")
  334. local B = Instance.new("TextBox")
  335. local TextLabel_2 = Instance.new("TextLabel")
  336. local TextLabel_3 = Instance.new("TextLabel")
  337. local TextLabel_4 = Instance.new("TextLabel")
  338. local Slider = Instance.new("Frame")
  339. local Slidee = Instance.new("ImageButton")
  340. local ChildLock = Instance.new("Frame")
  341. local TextLabel_5 = Instance.new("TextLabel")
  342. local mathz = Instance.new("TextLabel")
  343. local TextBox = Instance.new("TextBox")
  344. local Black = Instance.new('Frame')
  345. local fps = Instance.new('TextLabel')
  346.  
  347. -- Properties
  348.  
  349. MainGUI.Name = "MainGUI"
  350. MainGUI.ResetOnSpawn = false
  351. pcall(function()
  352. MainGUI.Parent = player.PlayerGui
  353. end)
  354. pcall(function()
  355. MainGUI.Parent = game.CoreGui
  356. game.CoreGui.RobloxGui.Backpack.Hotbar.AnchorPoint = Vector2.new(0.5,0.5)
  357. game.CoreGui.RobloxGui.Backpack.Hotbar.Position = UDim2.new(0.5,0,0.85,0)
  358. end)
  359.  
  360.  
  361. Customize.Name = "Customize"
  362. Customize.Parent = MainGUI
  363. Customize.BackgroundColor3 = Color3.new(0, 0.776471, 0.282353)
  364. Customize.BorderSizePixel = 0
  365. Customize.Position = UDim2.new(0.15, 0, 0.9, 0)
  366. Customize.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  367. Customize.Font = Enum.Font.SourceSans
  368. Customize.FontSize = Enum.FontSize.Size14
  369. Customize.Text = "Customize V4"
  370. Customize.TextColor3 = Color3.new(1, 1, 1)
  371. Customize.TextScaled = true
  372. Customize.TextSize = 14
  373. Customize.TextWrapped = true
  374.  
  375. Frame.Parent = Customize
  376. Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  377. Frame.BorderSizePixel = 0
  378. Frame.Position = UDim2.new(0, 0, 1, 0)
  379. Frame.Size = UDim2.new(1, 0, 6.5, 0)
  380.  
  381. TextLabel.Parent = Frame
  382. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  383. TextLabel.BackgroundTransparency = 1
  384. TextLabel.Position = UDim2.new(0, 0, 0.100000001, 0)
  385. TextLabel.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
  386. TextLabel.Font = Enum.Font.SourceSansLight
  387. TextLabel.FontSize = Enum.FontSize.Size14
  388. TextLabel.Text = "Blood Color: [255, 255, 255]"
  389. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  390. TextLabel.TextScaled = true
  391. TextLabel.TextSize = 14
  392. TextLabel.TextWrapped = true
  393. TextLabel.TextXAlignment = Enum.TextXAlignment.Right
  394.  
  395. Frame_2.Parent = TextLabel
  396. Frame_2.BackgroundColor3 = Color3.new(0.458824, 0, 0)
  397. Frame_2.BorderSizePixel = 0
  398. Frame_2.Position = UDim2.new(1.04999995, 0, 0, 0)
  399. Frame_2.Size = UDim2.new(1, 0, 1, 0)
  400. Frame_2.SizeConstraint = Enum.SizeConstraint.RelativeYY
  401.  
  402. Frame_3.Parent = Frame
  403. Frame_3.BackgroundColor3 = Color3.new(1, 1, 1)
  404. Frame_3.BackgroundTransparency = 1
  405. Frame_3.BorderSizePixel = 0
  406. Frame_3.Position = UDim2.new(0.0500000007, 0, 0.449999988, 0)
  407. Frame_3.Size = UDim2.new(0.5, 0, 0.5, 0)
  408. Frame_3.SizeConstraint = Enum.SizeConstraint.RelativeYY
  409.  
  410. ImageLabel.Parent = Frame_3
  411. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  412. ImageLabel.BackgroundTransparency = 1
  413. ImageLabel.Size = UDim2.new(1, 0, 1, 0)
  414. ImageLabel.Image = "rbxassetid://328298876"
  415.  
  416. R.Name = "R"
  417. R.Parent = Frame_3
  418. R.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  419. R.BorderSizePixel = 0
  420. R.Position = UDim2.new(1.39999998, 0, 0, 0)
  421. R.Size = UDim2.new(0.75, 0, 0.300000012, 0)
  422. R.Font = Enum.Font.SourceSans
  423. R.FontSize = Enum.FontSize.Size14
  424. R.Text = "Input"
  425. R.TextColor3 = Color3.new(1, 1, 1)
  426. R.TextScaled = true
  427. R.TextSize = 14
  428. R.TextWrapped = true
  429. R.TextXAlignment = Enum.TextXAlignment.Left
  430.  
  431. G.Name = "G"
  432. G.Parent = Frame_3
  433. G.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  434. G.BorderSizePixel = 0
  435. G.Position = UDim2.new(1.39999998, 0, 0.349999994, 0)
  436. G.Size = UDim2.new(0.75, 0, 0.300000012, 0)
  437. G.Font = Enum.Font.SourceSans
  438. G.FontSize = Enum.FontSize.Size14
  439. G.Text = "Input"
  440. G.TextColor3 = Color3.new(1, 1, 1)
  441. G.TextScaled = true
  442. G.TextSize = 14
  443. G.TextWrapped = true
  444. G.TextXAlignment = Enum.TextXAlignment.Left
  445.  
  446. B.Name = "B"
  447. B.Parent = Frame_3
  448. B.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  449. B.BorderSizePixel = 0
  450. B.Position = UDim2.new(1.39999998, 0, 0.699999988, 0)
  451. B.Size = UDim2.new(0.75, 0, 0.300000012, 0)
  452. B.Font = Enum.Font.SourceSans
  453. B.FontSize = Enum.FontSize.Size14
  454. B.Text = "Input"
  455. B.TextColor3 = Color3.new(1, 1, 1)
  456. B.TextScaled = true
  457. B.TextSize = 14
  458. B.TextWrapped = true
  459. B.TextXAlignment = Enum.TextXAlignment.Left
  460.  
  461. TextLabel_2.Parent = Frame_3
  462. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  463. TextLabel_2.BackgroundTransparency = 1
  464. TextLabel_2.Position = UDim2.new(1.04999995, 0, 0, 0)
  465. TextLabel_2.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  466. TextLabel_2.Font = Enum.Font.SourceSansLight
  467. TextLabel_2.FontSize = Enum.FontSize.Size14
  468. TextLabel_2.Text = "R"
  469. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  470. TextLabel_2.TextScaled = true
  471. TextLabel_2.TextSize = 14
  472. TextLabel_2.TextWrapped = true
  473.  
  474. TextLabel_3.Parent = Frame_3
  475. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  476. TextLabel_3.BackgroundTransparency = 1
  477. TextLabel_3.Position = UDim2.new(1.04999995, 0, 0.349999994, 0)
  478. TextLabel_3.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  479. TextLabel_3.Font = Enum.Font.SourceSansLight
  480. TextLabel_3.FontSize = Enum.FontSize.Size14
  481. TextLabel_3.Text = "G"
  482. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  483. TextLabel_3.TextScaled = true
  484. TextLabel_3.TextSize = 14
  485. TextLabel_3.TextWrapped = true
  486.  
  487. TextLabel_4.Parent = Frame_3
  488. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  489. TextLabel_4.BackgroundTransparency = 1
  490. TextLabel_4.Position = UDim2.new(1.04999995, 0, 0.699999988, 0)
  491. TextLabel_4.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  492. TextLabel_4.Font = Enum.Font.SourceSansLight
  493. TextLabel_4.FontSize = Enum.FontSize.Size14
  494. TextLabel_4.Text = "B"
  495. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  496. TextLabel_4.TextScaled = true
  497. TextLabel_4.TextSize = 14
  498. TextLabel_4.TextWrapped = true
  499.  
  500. Slider.Name = "Slider"
  501. Slider.Parent = Frame
  502. Slider.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  503. Slider.Position = UDim2.new(0.0500000007, 0, 0.375, 0)
  504. Slider.Size = UDim2.new(0.230000004, 0, 0.00999999978, 0)
  505.  
  506. Slidee.Name = "Slidee"
  507. Slidee.Parent = Slider
  508. Slidee.AnchorPoint = Vector2.new(0.5, 0.5)
  509. Slidee.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  510. Slidee.BorderSizePixel = 0
  511. Slidee.Size = UDim2.new(0.0299999993, 0, 7, 0)
  512. Slidee.ImageTransparency = 1
  513.  
  514. ChildLock.Name = "ChildLock"
  515. ChildLock.Parent = Frame
  516. ChildLock.Active = true
  517. ChildLock.BackgroundColor3 = Color3.new(0, 0, 0)
  518. ChildLock.BackgroundTransparency = 0.60000002384186
  519. ChildLock.BorderSizePixel = 0
  520. ChildLock.Position = UDim2.new(0.600000024, 0, 0, 0)
  521. ChildLock.Size = UDim2.new(0.400000006, 0, 1, 0)
  522. ChildLock.ZIndex = 2
  523.  
  524. TextLabel_5.Parent = ChildLock
  525. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  526. TextLabel_5.BackgroundTransparency = 1
  527. TextLabel_5.BorderSizePixel = 0
  528. TextLabel_5.Position = UDim2.new(0.125, 0, 0.150000006, 0)
  529. TextLabel_5.Size = UDim2.new(0.75, 0, 0.200000003, 0)
  530. TextLabel_5.ZIndex = 3
  531. TextLabel_5.Font = Enum.Font.SourceSans
  532. TextLabel_5.FontSize = Enum.FontSize.Size14
  533. TextLabel_5.Text = "do this math to disable child lock"
  534. TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
  535. TextLabel_5.TextScaled = true
  536. TextLabel_5.TextSize = 14
  537. TextLabel_5.TextWrapped = true
  538.  
  539. mathz.Name = "mathz"
  540. mathz.Parent = ChildLock
  541. mathz.BackgroundColor3 = Color3.new(1, 1, 1)
  542. mathz.BackgroundTransparency = 1
  543. mathz.Position = UDim2.new(0.125, 0, 0.449999988, 0)
  544. mathz.Size = UDim2.new(0.75, 0, 0.200000003, 0)
  545. mathz.ZIndex = 3
  546. mathz.Font = Enum.Font.SourceSans
  547. mathz.FontSize = Enum.FontSize.Size14
  548. mathz.Text = math1.."("..math2.."r - "..math3..") = "..math4
  549. mathz.TextColor3 = Color3.new(1, 1, 1)
  550. mathz.TextScaled = true
  551. mathz.TextSize = 14
  552. mathz.TextWrapped = true
  553.  
  554. fps.Name = "fps"
  555. fps.Parent = Frame
  556. fps.BackgroundColor3 = Color3.new(1, 1, 1)
  557. fps.BackgroundTransparency = 1
  558. fps.Size = UDim2.new(0.75, 0, 0.05, 0)
  559. fps.ZIndex = 3
  560. fps.Font = Enum.Font.SourceSansLight
  561. fps.FontSize = Enum.FontSize.Size14
  562. fps.Text = "FPS: N/A"
  563. fps.TextColor3 = Color3.new(1, 1, 1)
  564. fps.TextScaled = true
  565. fps.TextSize = 14
  566. fps.TextWrapped = true
  567. fps.TextXAlignment = Enum.TextXAlignment.Left
  568.  
  569. TextBox.Parent = ChildLock
  570. TextBox.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  571. TextBox.BorderSizePixel = 0
  572. TextBox.Position = UDim2.new(0.200000003, 0, 0.699999988, 0)
  573. TextBox.Size = UDim2.new(0.600000024, 0, 0.200000003, 0)
  574. TextBox.ZIndex = 3
  575. TextBox.Font = Enum.Font.SourceSans
  576. TextBox.FontSize = Enum.FontSize.Size14
  577. TextBox.Text = "Answer (rounded to nearest tenth)"
  578. TextBox.TextColor3 = Color3.new(1, 1, 1)
  579. TextBox.TextScaled = true
  580. TextBox.TextSize = 14
  581. TextBox.TextWrapped = true
  582. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  583.  
  584. Black.Size = UDim2.new(1,0,1,0)
  585. Black.BackgroundTransparency = 1
  586. Black.BorderSizePixel = 0
  587. Black.BackgroundColor3 = Color3.new(0,0,0)
  588. Black.Parent = Frame_3
  589.  
  590. TextBox.FocusLost:connect(function()
  591. if TextBox.Text == tostring(answer) or TextBox.Text == "r="..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == "r = "..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == tostring(answer).."=r" or TextBox.Text == tostring(answer).." =r" or TextBox.Text == tostring(answer).."= r" or TextBox.Text == tostring(answer).." = r" then
  592. ChildLock:Destroy()
  593. childlock = false
  594. notify("Child lock disabled, press B to enable dildo mode.",true)
  595. end
  596. end)
  597.  
  598. local mousedown = false
  599. mouse.Button1Down:connect(function()
  600. mousedown = true
  601. end)
  602. mouse.Button1Up:connect(function()
  603. mousedown = false
  604. slidee = false
  605. end)
  606.  
  607. Slidee.MouseButton1Down:connect(function()
  608. slidee = true
  609. end)
  610. Slidee.MouseButton1Up:connect(function()
  611. slidee = false
  612. end)
  613.  
  614. mouse.Move:connect(function()
  615. if mousedown then
  616. if mouse.X >= ImageLabel.AbsolutePosition.X and mouse.X <= ImageLabel.AbsolutePosition.X+ ImageLabel.AbsoluteSize.X and mouse.Y >= ImageLabel.AbsolutePosition.Y and mouse.Y <= ImageLabel.AbsolutePosition.Y+ ImageLabel.AbsoluteSize.Y then
  617. local newX = ImageLabel.AbsoluteSize.X-(mouse.X-ImageLabel.AbsolutePosition.X)
  618. local newY = ImageLabel.AbsoluteSize.Y-(mouse.Y-ImageLabel.AbsolutePosition.Y)
  619. local newcolor = Color3.fromHSV(newX/ImageLabel.AbsoluteSize.X,newY/ImageLabel.AbsoluteSize.Y,Black.Transparency)
  620. Frame_2.BackgroundColor3 = newcolor
  621. TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]"
  622. end
  623. end
  624. if slidee then
  625. local ree = mouse.X
  626. if ree < Slider.AbsolutePosition.X then
  627. ree = Slider.AbsolutePosition.X
  628. elseif ree > Slider.AbsolutePosition.X+Slider.AbsoluteSize.X then
  629. ree = Slider.AbsolutePosition.X+Slider.AbsoluteSize.X
  630. end
  631. Slidee.Position = UDim2.new(0,ree-Slider.AbsolutePosition.X,0,0)
  632. Black.Transparency = 1-(Slidee.Position.X.Offset/Slider.AbsoluteSize.X)
  633. end
  634. end)
  635.  
  636. R.FocusLost:connect(function()
  637. if R.Text ~= "Input" then
  638. if tonumber(R.Text) then
  639. if tonumber(R.Text) > 255 then
  640. R.Text = "255"
  641. end
  642. local newcolor = Color3.new(tonumber(R.Text/255),Frame_2.BackgroundColor3.g,Frame_2.BackgroundColor3.b)
  643. Frame_2.BackgroundColor3 = newcolor
  644. TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]"
  645. R.Text = "Input"
  646. end
  647. end
  648. end)
  649. G.FocusLost:connect(function()
  650. if G.Text ~= "Input" then
  651. if tonumber(G.Text) then
  652. if tonumber(G.Text) > 255 then
  653. G.Text = "255"
  654. end
  655. local newcolor = Color3.new(Frame_2.BackgroundColor3.r,tonumber(G.Text/255),Frame_2.BackgroundColor3.b)
  656. Frame_2.BackgroundColor3 = newcolor
  657. TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]"
  658. G.Text = "Input"
  659. end
  660. end
  661. end)
  662. B.FocusLost:connect(function()
  663. if B.Text ~= "Input" then
  664. if tonumber(B.Text) then
  665. if tonumber(B.Text) > 255 then
  666. B.Text = "255"
  667. end
  668. local newcolor = Color3.new(Frame_2.BackgroundColor3.r,Frame_2.BackgroundColor3.g,tonumber(B.Text/255))
  669. Frame_2.BackgroundColor3 = newcolor
  670. TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]"
  671. B.Text = "Input"
  672. end
  673. end
  674. end)
  675.  
  676. local open = false
  677. local opening = false
  678. Customize.MouseButton1Click:connect(function()
  679. if opening == false then
  680. if open == false then
  681. open = true
  682. opening = true
  683. Customize:TweenPosition(UDim2.new(0.15, 0, 0.1, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1)
  684. wait(1)
  685. opening = false
  686. else
  687. open = false
  688. opening = true
  689. Customize:TweenPosition(UDim2.new(0.15, 0, 0.9, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1)
  690. wait(1)
  691. opening = false
  692. end
  693. end
  694. end)
  695.  
  696. Frame_2.BackgroundColor3 = Color3.fromRGB(117,0,0)
  697.  
  698. function removewelds(part)
  699. for i,v in pairs(part:GetChildren()) do
  700. if v:IsA('Weld') then v:Destroy() end
  701. end
  702. end
  703.  
  704. function notify(msg,remove)
  705. local coru= coroutine.wrap(function()
  706. for i,v in pairs(MainGUI:GetChildren()) do
  707. if v:IsA('TextLabel') then v:Destroy() end
  708. end
  709. if msg then
  710. local TextLabel = Instance.new("TextLabel")
  711. local Frame = Instance.new("Frame")
  712.  
  713. -- Properties
  714.  
  715. TextLabel.Parent = MainGUI
  716. TextLabel.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  717. TextLabel.BorderSizePixel = 0
  718. TextLabel.Position = UDim2.new(0.25, 0, 0.05, -10)
  719. TextLabel.Size = UDim2.new(0.5, 0, 0.1, 0)
  720. TextLabel.Font = Enum.Font.SourceSans
  721. TextLabel.FontSize = Enum.FontSize.Size60
  722. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  723. TextLabel.TextSize = 50
  724. TextLabel.Transparency = 1
  725. TextLabel.TextScaled = true
  726. TextLabel.TextYAlignment = Enum.TextYAlignment.Top
  727. TextLabel.Text = ""
  728. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  729.  
  730. Frame.Parent = TextLabel
  731. Frame.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157)
  732. Frame.BorderSizePixel = 0
  733. Frame.Transparency = 1
  734. Frame.Position = UDim2.new(0, 0, 1,0)
  735. Frame.Size = UDim2.new(1, 0, 0, 5)
  736. for i=1,10 do
  737. TextLabel.Transparency = TextLabel.Transparency-0.1
  738. TextLabel.Position = TextLabel.Position+UDim2.new(0,0,0,1)
  739. Frame.Transparency = Frame.Transparency-0.1
  740. wait()
  741. end
  742. for i=1,#msg do
  743. TextLabel.Text = string.sub(msg,1,i)
  744. wait()
  745. end
  746. wait(1)
  747. if remove ~= true then
  748. for i=1,10 do
  749. TextLabel.Transparency = TextLabel.Transparency+0.1
  750. TextLabel.Position = TextLabel.Position-UDim2.new(0,0,0,1)
  751. Frame.Transparency = Frame.Transparency+0.1
  752. wait()
  753. end
  754. TextLabel:Destroy()
  755. end
  756. end
  757. end)
  758. coru()
  759. end
  760. if workspace.FilteringEnabled == false then
  761. if workspace:PGSIsEnabled() then
  762. notify('Press Z to equip. Created by mustardfoot and Tollonis.',true)
  763. else
  764. notify('(this game is really old or something and has the shitty physics so a lot of things wont work sorry) Press Z to equip. Created by mustardfoot and Tollonis.',true)
  765. end
  766. else
  767. notify('LOL this game has filtering enabled so it literally wont work here')
  768. end
  769.  
  770. local handProperties = {
  771. {"LimitsEnabled", true};
  772. {"UpperAngle",0};
  773. {"LowerAngle",0};
  774. }
  775. local shinProperties = {
  776. {"LimitsEnabled", true};
  777. {"UpperAngle", 0};
  778. {"LowerAngle", -75};
  779. }
  780. local footProperties = {
  781. {"LimitsEnabled", true};
  782. {"UpperAngle", 15};
  783. {"LowerAngle", -45};
  784. }
  785.  
  786. function bleed(frick,OwO)
  787. while frick.Parent ~= nil and frick.Parent.Parent ~= nil do
  788. local reeee = coroutine.wrap(function()
  789. local thing = Instance.new('Part',workspace)
  790. thing.Size = Vector3.new(0.2,0.2,0.2)
  791. thing.CFrame = frick.CFrame
  792. thing.Transparency = 1
  793. thing.BrickColor = BrickColor.new(Frame_2.BackgroundColor3)
  794. thing.Material = Enum.Material.SmoothPlastic
  795. thing.Name = "Blood"
  796. thing.CanCollide =false
  797. thing:BreakJoints()
  798. local rawrxd = Instance.new('BodyForce',thing)
  799. rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
  800. local coru = coroutine.wrap(function()
  801. wait(0.01)
  802. rawrxd:Destroy()
  803. end)
  804. coru()
  805. local ree = Instance.new('ParticleEmitter',thing)
  806. if OwO ~= true then
  807. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Frame_2.BackgroundColor3),ColorSequenceKeypoint.new(1,Frame_2.BackgroundColor3)})
  808. else
  809. ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
  810. end
  811. ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
  812. ree.Texture = 'rbxassetid://867743272'
  813. ree.Lifetime = NumberRange.new(0.4)
  814. ree.Rate = 50
  815. ree.LockedToPart = true
  816. ree.Speed = NumberRange.new(0, 2)
  817.  
  818. thing.Touched:connect(function(tou)
  819. if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" and tou.Parent.Name ~= 'handle' and tou.Name ~= "blade" and tou.Name ~= 'handle' and tou.Name ~= "Projectile" and tou.Parent.Name ~= "Projectile" then
  820. local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
  821. local Point1 = pos-Vector3.new(0.01,0.01,0.01)
  822. local Point2 = pos+Vector3.new(0.01,0.01,0.01)
  823. local Region = Region3.new(Point1,Point2)
  824. for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
  825. if Part.Name == "BloodPuddle" then
  826. tou = Part
  827. end
  828. end
  829. thing:Destroy()
  830. if tou.Name == "BloodPuddle" then
  831. if tou.Size.X < 1 then
  832. pcall(function()
  833. tou.Sound:Play()
  834. end)
  835. end
  836. local reee = tou.CFrame
  837. if tou.Transparency > -0.2 then
  838. tou.Transparency = tou.Transparency -0.1
  839. end
  840. if tou.Size.X < 5 then
  841. tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
  842. tou.CFrame = reee
  843. end
  844. elseif tou.CanCollide == true then
  845. local bloodlol = Instance.new('Part',workspace)
  846. local sound = Instance.new('Sound',bloodlol)
  847. sound.SoundId = 'rbxassetid://685857471'
  848. sound.Volume = 0.025
  849. sound:Play()
  850. bloodlol.Size=Vector3.new(1,0.2,1)
  851. bloodlol.Name = "BloodPuddle"
  852. bloodlol.Anchored = true
  853. bloodlol.CanCollide = false
  854. bloodlol.Material = Enum.Material.SmoothPlastic
  855. if OwO ~= true then
  856. bloodlol.Color = Frame_2.BackgroundColor3
  857. else
  858. bloodlol.Color = Color3.new(1,1,1)
  859. end
  860. local cyl = Instance.new('CylinderMesh',bloodlol)
  861. cyl.Scale = Vector3.new(1,0.1,1)
  862. bloodlol.CFrame = CFrame.new(pos)
  863. local coru=coroutine.wrap(function()
  864. while bloodlol.Parent ~= nil do
  865. if bloodlol.Transparency < 1 then
  866. bloodlol.Transparency = bloodlol.Transparency+0.05
  867. else
  868. bloodlol:Destroy()
  869. end
  870. wait(0.1)
  871. end
  872. end)
  873. coru()
  874. end
  875. end
  876. end)
  877. local coru = coroutine.wrap(function()
  878. wait(1)
  879. thing:Destroy()
  880. end)
  881. coru()
  882. end)
  883. reeee()
  884. wait()
  885. end
  886. end
  887.  
  888. function stun(char)
  889. local found = false
  890. pcall(function()
  891. char:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Physics)
  892. end)
  893. for i,v in pairs(rekt) do
  894. if v == char then
  895. found = true
  896. end
  897. end
  898. if found == false then
  899. table.insert(rekt,char)
  900. end
  901. end
  902. function unstun(char)
  903. for i,v in pairs(rekt) do
  904. if v == char then
  905. if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then
  906. v:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Running)
  907. v:FindFirstChildOfClass('Humanoid').PlatformStand = false
  908. v:FindFirstChildOfClass('Humanoid').Sit = false
  909. v:FindFirstChildOfClass('Humanoid').Jump = true
  910. v:FindFirstChildOfClass('Humanoid').JumpPower = 50
  911. v:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  912. v:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
  913. end
  914. table.remove(rekt,i)
  915. end
  916. end
  917. end
  918.  
  919. function recurse(root,callback,i)
  920. i= i or 0
  921. for _,v in pairs(root:GetChildren()) do
  922. i = i + 1
  923. callback(i,v)
  924.  
  925. if #v:GetChildren() > 0 then
  926. i = recurse(v,callback,i)
  927. end
  928. end
  929.  
  930. return i
  931. end
  932.  
  933. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  934. if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
  935. if character:FindFirstChild('HumanoidRootPart')then
  936. character.HumanoidRootPart.CanCollide = false
  937. end
  938. for i,v in pairs(character:GetChildren()) do
  939. if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then
  940. v.Size = Vector3.new(1,1,1)
  941. end
  942. end
  943. recurse(character, function(_,v)
  944. if v:IsA("Attachment") and v.Parent.Name ~= "ayybleed" then
  945. v.Axis = Vector3.new(0, 1, 0)
  946. v.SecondaryAxis = Vector3.new(0, 0, 1)
  947. v.Rotation = Vector3.new(0, 0, 0)
  948. end
  949. end)
  950. if part1:FindFirstChildOfClass('Motor6D') then
  951. part1:FindFirstChildOfClass('Motor6D'):Destroy()
  952. end
  953. if attachmentName ~= "NeckAttachment" then
  954. attachmentName = attachmentName.."RigAttachment"
  955. end
  956. local constraint = Instance.new(className.."Constraint")
  957. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  958. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  959. constraint.Name = "RagdollConstraint"..part1.Name
  960. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  961. local collidepart = Instance.new('Part',part1)
  962. collidepart.Size = part1.Size/2
  963. if string.find(string.lower(part1.Name),"upper") then
  964. if string.find(string.lower(part1.Name),"leg") then
  965. collidepart.Size = part1.Size/3
  966. else
  967. collidepart.Size = part1.Size/2.5
  968. end
  969. end
  970. collidepart.CanCollide = true
  971. collidepart.Name = "Collision"
  972. collidepart.Anchored = false
  973. collidepart.Transparency = 1
  974. collidepart.CFrame = part1.CFrame
  975. collidepart:BreakJoints()
  976. local attachment0 = Instance.new('Attachment',part1)
  977. local attachment1 = Instance.new('Attachment',collidepart)
  978. if attachment0 and attachment1 then
  979. local constraint = Instance.new("HingeConstraint")
  980. constraint.Attachment0 = attachment0
  981. constraint.Attachment1 = attachment1
  982. constraint.LimitsEnabled = true
  983. constraint.UpperAngle = 0
  984. constraint.LowerAngle = 0
  985. constraint.Parent = character
  986. end
  987. if string.find(string.lower(part1.Name),"upper") then
  988. if string.find(string.lower(part1.Name),"leg") then
  989. attachment0.Position = Vector3.new(0,0.01,0)
  990. else
  991. attachment0.Position = Vector3.new(0,0.25,0)
  992. end
  993. else
  994. attachment0.Position = Vector3.new(0,-0.1,0)
  995. end
  996. end
  997. for _,propertyData in next,properties or {} do
  998. constraint[propertyData[1]] = propertyData[2]
  999. end
  1000.  
  1001. constraint.Parent = character
  1002. end
  1003. end
  1004.  
  1005. function R6ragdollJoint(character,limbname,attached,heded)
  1006. pcall(function()
  1007. if limbname == "Right Arm" and character:FindFirstChild("Right Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right ArmRagdollConstraint") == nil then
  1008. local torsoatt = Instance.new('Attachment',character.Torso)
  1009. torsoatt.Name = limbname.."RagdollConstraint"
  1010. torsoatt.Position = Vector3.new(1.45,0.768,-0.009)
  1011. torsoatt.Axis = Vector3.new(1,0,0)
  1012. torsoatt.SecondaryAxis = Vector3.new(0,1,0)
  1013. local limbatt = Instance.new("Attachment",character[limbname])
  1014. limbatt.Position = Vector3.new(-0.086, 0.755, -0.007)
  1015. limbatt.Name = limbname.."RagdollConstraint"
  1016. limbatt.Axis = Vector3.new(1,0,0)
  1017. limbatt.SecondaryAxis = Vector3.new(0,1,0)
  1018. local ballc = Instance.new('BallSocketConstraint',character)
  1019. ballc.Name = "RightArmRagdollRig"
  1020. ballc.Attachment0 = torsoatt
  1021. ballc.Attachment1 = limbatt
  1022. local part1 = character[limbname]
  1023. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  1024. local collidepart = Instance.new('Part',part1)
  1025. collidepart.Size = part1.Size/1.5
  1026. collidepart.CanCollide = true
  1027. collidepart.Name = "Collision"
  1028. collidepart.Anchored = false
  1029. collidepart.Transparency = 1
  1030. collidepart.CFrame = part1.CFrame
  1031. collidepart:BreakJoints()
  1032. local attachment0 = Instance.new('Attachment',part1)
  1033. local attachment1 = Instance.new('Attachment',collidepart)
  1034. if attachment0 and attachment1 then
  1035. local constraint = Instance.new("HingeConstraint")
  1036. constraint.Attachment0 = attachment0
  1037. constraint.Attachment1 = attachment1
  1038. constraint.LimitsEnabled = true
  1039. constraint.UpperAngle = 0
  1040. constraint.LowerAngle = 0
  1041. constraint.Parent = character
  1042. end
  1043. end
  1044. if character.Torso:FindFirstChild('Right Shoulder') then
  1045. character.Torso:FindFirstChild('Right Shoulder'):Destroy()
  1046. end
  1047. elseif limbname == "Left Arm" and character:FindFirstChild("Left Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left ArmRagdollConstraint") == nil then
  1048. local torsoatt = Instance.new('Attachment',character.Torso)
  1049. torsoatt.Name = limbname.."RagdollConstraint"
  1050. torsoatt.Position = Vector3.new(-1.45,0.768,-0.009)
  1051. torsoatt.Axis = Vector3.new(1,0,0)
  1052. torsoatt.SecondaryAxis = Vector3.new(0,1,0)
  1053. local limbatt = Instance.new("Attachment",character[limbname])
  1054. limbatt.Position = Vector3.new(-0.086, 0.755, -0.007)
  1055. limbatt.Name = limbname.."RagdollConstraint"
  1056. limbatt.Axis = Vector3.new(1,0,0)
  1057. limbatt.SecondaryAxis = Vector3.new(0,1,0)
  1058. local ballc = Instance.new('BallSocketConstraint',character)
  1059. ballc.Name = "LeftArmRagdollRig"
  1060. ballc.Attachment0 = torsoatt
  1061. ballc.Attachment1 = limbatt
  1062. local part1 = character[limbname]
  1063. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  1064. local collidepart = Instance.new('Part',part1)
  1065. collidepart.Size = part1.Size/1.5
  1066. collidepart.CanCollide = true
  1067. collidepart.Name = "Collision"
  1068. collidepart.Anchored = false
  1069. collidepart.Transparency = 1
  1070. collidepart.CFrame = part1.CFrame
  1071. collidepart:BreakJoints()
  1072. local attachment0 = Instance.new('Attachment',part1)
  1073. local attachment1 = Instance.new('Attachment',collidepart)
  1074. if attachment0 and attachment1 then
  1075. local constraint = Instance.new("HingeConstraint")
  1076. constraint.Attachment0 = attachment0
  1077. constraint.Attachment1 = attachment1
  1078. constraint.LimitsEnabled = true
  1079. constraint.UpperAngle = 0
  1080. constraint.LowerAngle = 0
  1081. constraint.Parent = character
  1082. end
  1083. end
  1084. if character.Torso:FindFirstChild('Left Shoulder') then
  1085. character.Torso:FindFirstChild('Left Shoulder'):Destroy()
  1086. end
  1087. elseif limbname == "Right Leg" and character:FindFirstChild("Right Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right LegRagdollConstraint") == nil then
  1088. stun(character)
  1089. local torsoatt = Instance.new('Attachment',character.Torso)
  1090. torsoatt.Name = limbname.."RagdollConstraint"
  1091. torsoatt.Position = Vector3.new(0.45, -1.242, -0.009)
  1092. torsoatt.Axis = Vector3.new(1,0,0)
  1093. torsoatt.SecondaryAxis = Vector3.new(0,1,0)
  1094. local limbatt = Instance.new("Attachment",character[limbname])
  1095. limbatt.Position = Vector3.new(-0.086, 0.755, -0.007)
  1096. limbatt.Name = limbname.."RagdollConstraint"
  1097. limbatt.Axis = Vector3.new(1,0,0)
  1098. limbatt.SecondaryAxis = Vector3.new(0,1,0)
  1099. local ballc = Instance.new('BallSocketConstraint',character)
  1100. ballc.Name = "RightLegRagdollRig"
  1101. ballc.Attachment0 = torsoatt
  1102. ballc.Attachment1 = limbatt
  1103. local part1 = character[limbname]
  1104. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  1105. local collidepart = Instance.new('Part',part1)
  1106. collidepart.Size = part1.Size/1.5
  1107. collidepart.CanCollide = true
  1108. collidepart.Name = "Collision"
  1109. collidepart.Anchored = false
  1110. collidepart.Transparency = 1
  1111. collidepart.CFrame = part1.CFrame
  1112. collidepart:BreakJoints()
  1113. local attachment0 = Instance.new('Attachment',part1)
  1114. local attachment1 = Instance.new('Attachment',collidepart)
  1115. if attachment0 and attachment1 then
  1116. local constraint = Instance.new("HingeConstraint")
  1117. constraint.Attachment0 = attachment0
  1118. constraint.Attachment1 = attachment1
  1119. constraint.LimitsEnabled = true
  1120. constraint.UpperAngle = 0
  1121. constraint.LowerAngle = 0
  1122. constraint.Parent = character
  1123. end
  1124. end
  1125. if character.Torso:FindFirstChild('Right Hip') then
  1126. character.Torso:FindFirstChild('Right Hip'):Destroy()
  1127. end
  1128. elseif limbname == "Left Leg" and character:FindFirstChild("Left Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left LegRagdollConstraint") == nil then
  1129. stun(character)
  1130. local torsoatt = Instance.new('Attachment',character.Torso)
  1131. torsoatt.Name = limbname.."RagdollConstraint"
  1132. torsoatt.Position = Vector3.new(-0.45, -1.242, -0.009)
  1133. torsoatt.Axis = Vector3.new(1,0,0)
  1134. torsoatt.SecondaryAxis = Vector3.new(0,1,0)
  1135. local limbatt = Instance.new("Attachment",character[limbname])
  1136. limbatt.Position = Vector3.new(-0.086, 0.755, -0.007)
  1137. limbatt.Name = limbname.."RagdollConstraint"
  1138. limbatt.Axis = Vector3.new(1,0,0)
  1139. limbatt.SecondaryAxis = Vector3.new(0,1,0)
  1140. local ballc = Instance.new('BallSocketConstraint',character)
  1141. ballc.Name = "LeftLegRagdollRig"
  1142. ballc.Attachment0 = torsoatt
  1143. ballc.Attachment1 = limbatt
  1144. local part1 = character[limbname]
  1145. if character:FindFirstChildOfClass('Humanoid').Health > 0 then
  1146. local collidepart = Instance.new('Part',part1)
  1147. collidepart.Size = part1.Size/1.5
  1148. collidepart.CanCollide = true
  1149. collidepart.Name = "Collision"
  1150. collidepart.Anchored = false
  1151. collidepart.Transparency = 1
  1152. collidepart.CFrame = part1.CFrame
  1153. collidepart:BreakJoints()
  1154. local attachment0 = Instance.new('Attachment',part1)
  1155. local attachment1 = Instance.new('Attachment',collidepart)
  1156. if attachment0 and attachment1 then
  1157. local constraint = Instance.new("HingeConstraint")
  1158. constraint.Attachment0 = attachment0
  1159. constraint.Attachment1 = attachment1
  1160. constraint.LimitsEnabled = true
  1161. constraint.UpperAngle = 0
  1162. constraint.LowerAngle = 0
  1163. constraint.Parent = character
  1164. end
  1165. end
  1166. if character.Torso:FindFirstChild('Left Hip') then
  1167. character.Torso:FindFirstChild('Left Hip'):Destroy()
  1168. end
  1169. elseif limbname == "Head" or limbname == "Torso" and character:FindFirstChild("Head") and character:FindFirstChild("Torso") and character.Head:FindFirstChild("Neck") == nil then
  1170. if character:FindFirstChildOfClass('Humanoid') then
  1171. character:FindFirstChildOfClass('Humanoid').Health = 0
  1172. end
  1173. while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end
  1174. if character:FindFirstChild('HumanoidRootPart') then
  1175. character.HumanoidRootPart:Destroy()
  1176. end
  1177. game:GetService('Debris'):AddItem(character,10)
  1178. for _,child in next,character:GetChildren() do
  1179. if child:IsA("Accoutrement") then
  1180. for _,part in next,child:GetChildren() do
  1181. if part:IsA("BasePart") then
  1182. for _,c in pairs(part:GetChildren()) do
  1183. if c:IsA('Weld') then c:Destroy() end
  1184. end
  1185. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1186. local attachment0 = getAttachment0(character,attachment1.Name)
  1187. if attachment0 and attachment1 then
  1188. local constraint = Instance.new("HingeConstraint")
  1189. constraint.Attachment0 = attachment0
  1190. constraint.Attachment1 = attachment1
  1191. constraint.LimitsEnabled = true
  1192. constraint.UpperAngle = 0
  1193. constraint.LowerAngle = 0
  1194. constraint.Parent = character
  1195. end
  1196. end
  1197. end
  1198. end
  1199. end
  1200. for i,v in pairs(character:GetChildren()) do
  1201. if v:IsA('MeshPart') or v:IsA('BasePart') then
  1202. for _,c in pairs(v:GetChildren()) do
  1203. if c.Name == "Collision" then c:Destroy() end
  1204. end
  1205. end
  1206. end
  1207. if character.Torso:FindFirstChild('Neck') then
  1208. character.Torso.Neck:Destroy()
  1209. end
  1210. if character:FindFirstChild('Torso') then
  1211. local collidepart = Instance.new('Part',character.Torso)
  1212. collidepart.Size = character.Torso.Size/1.5
  1213. collidepart.CanCollide = true
  1214. collidepart.Name = "Collision"
  1215. collidepart.Anchored = false
  1216. collidepart.Transparency = 1
  1217. collidepart.CFrame = character.Torso.CFrame
  1218. collidepart:BreakJoints()
  1219. local attachment0 = Instance.new('Attachment',character.Torso)
  1220. local attachment1 = Instance.new('Attachment',collidepart)
  1221. if attachment0 and attachment1 then
  1222. local constraint = Instance.new("HingeConstraint")
  1223. constraint.Attachment0 = attachment0
  1224. constraint.Attachment1 = attachment1
  1225. constraint.LimitsEnabled = true
  1226. constraint.UpperAngle = 0
  1227. constraint.LowerAngle = 0
  1228. constraint.Parent = character
  1229. end
  1230. end
  1231. if character:FindFirstChild('Torso') and character:FindFirstChild('Head') then
  1232. if character.Torso:FindFirstChild('NeckAttachment') == nil then
  1233. local neck = Instance.new('Attachment',character.Torso)
  1234. neck.Name = "NeckAttachment"
  1235. neck.Position = Vector3.new(0, 1, 0)
  1236. end
  1237. ragdollJoint(character,character.Torso, character.Head, "NeckAttachment", "Hinge", {
  1238. {"LimitsEnabled",true};
  1239. {"UpperAngle",50};
  1240. {"LowerAngle",-50};
  1241. })
  1242. end
  1243. if attached ~= false then
  1244. ragdollpart(character, "Right Leg")
  1245. ragdollpart(character, "Left Leg")
  1246. else
  1247. pcall(function()
  1248. local ayybleed = Instance.new('Part',character)
  1249. ayybleed.Size = Vector3.new(character.Torso.Size.X,0.1,character.Torso.Size.Z)
  1250. ayybleed.Transparency = 1
  1251. ayybleed.CanCollide = false
  1252. ayybleed.CFrame = character.Torso.CFrame
  1253. ayybleed:BreakJoints()
  1254. local attachment1 = Instance.new('Attachment',ayybleed)
  1255. attachment1.Position = Vector3.new(0,-character.Torso.Size.Y/2,0)
  1256. attachment1.Orientation = Vector3.new(0, 0, -180)
  1257. local attachment0 = Instance.new('Attachment',character.Torso)
  1258. if attachment0 and attachment1 then
  1259. local constraint = Instance.new("HingeConstraint")
  1260. constraint.Attachment0 = attachment0
  1261. constraint.Attachment1 = attachment1
  1262. constraint.LimitsEnabled = true
  1263. constraint.UpperAngle = 0
  1264. constraint.LowerAngle = 0
  1265. constraint.Parent = character
  1266. end
  1267. local bleedBLEED= coroutine.wrap(function()
  1268. bleed(ayybleed)
  1269. end)
  1270. bleedBLEED()
  1271. end)
  1272. end
  1273. ragdollpart(character, "Right Arm")
  1274. ragdollpart(character, "Left Arm")
  1275. end
  1276. end)
  1277. end
  1278.  
  1279. function getAttachment0(character,attachmentName)
  1280. for _,child in next,character:GetChildren() do
  1281. local attachment = child:FindFirstChild(attachmentName)
  1282. if attachment then
  1283. return attachment
  1284. end
  1285. end
  1286. end
  1287.  
  1288. function ragdollpart(character,partname,attached,heded)
  1289. if heded ~= false then
  1290. local neck = Instance.new('Attachment',character.Head)
  1291. neck.Name = "NeckAttachment"
  1292. neck.Position = Vector3.new(0,-0.5,0)
  1293. else
  1294. local force = Instance.new('BodyForce',character.Head)
  1295. force.Force = Vector3.new(0,500,0)
  1296. game:GetService('Debris'):AddItem(force,0.25)
  1297. pcall(function()
  1298. local asdf = Instance.new('Attachment',character.Head)
  1299. asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0)
  1300. local last = asdf
  1301. for i=1,14 do
  1302. local bONE = Instance.new('Part',character)
  1303. bONE.BrickColor = BrickColor.new('Institutional white')
  1304. bONE.Size = Vector3.new(0.1,0.1,0.1)
  1305. bONE.CFrame = character.Head.CFrame+(character.Head.CFrame.upVector*-(i/10))
  1306. local lole = Instance.new('Attachment',bONE)
  1307. local hangurself = Instance.new('RopeConstraint',bONE)
  1308. hangurself.Attachment0 = lole
  1309. hangurself.Attachment1 = last
  1310. hangurself.Visible = true
  1311. hangurself.Thickness = 0.05
  1312. hangurself.Color = BrickColor.new('Bright red')
  1313. hangurself.Length = 0.2
  1314. last = lole
  1315. end
  1316. local bleedee = Instance.new('Part',character.Head)
  1317. bleedee.Size = Vector3.new(0.75,0.25,0.75)
  1318. bleedee.CanCollide = false
  1319. bleedee.Color = Frame_2.BackgroundColor3
  1320. bleedee.CFrame = character.Head.CFrame
  1321. local mehs = Instance.new('CylinderMesh',bleedee)
  1322. bleedee:BreakJoints()
  1323. local attachment1 = Instance.new('Attachment',bleedee)
  1324. attachment1.Position = Vector3.new(0,character.Head.Size.Y/2,0)
  1325. attachment1.Orientation = Vector3.new(0,0,180)
  1326. local attachment0 = Instance.new('Attachment',character.Head)
  1327. if attachment0 and attachment1 then
  1328. local constraint = Instance.new("HingeConstraint")
  1329. constraint.Attachment0 = attachment0
  1330. constraint.Attachment1 = attachment1
  1331. constraint.LimitsEnabled = true
  1332. constraint.UpperAngle = 0
  1333. constraint.LowerAngle = 0
  1334. constraint.Parent = character
  1335. end
  1336. spawn(function()
  1337. bleed(bleedee)
  1338. end)
  1339. end)
  1340. local thing = "Torso"
  1341. if character:FindFirstChild(thing) == nil then
  1342. thing = "UpperTorso"
  1343. end
  1344. pcall(function()
  1345. local bleedee = Instance.new('Part',character[thing])
  1346. bleedee.Size = Vector3.new(0.75,0,0.75)
  1347. bleedee.CanCollide = false
  1348. bleedee.Color = Frame_2.BackgroundColor3
  1349. bleedee.CFrame = character[thing].CFrame
  1350. local mehs = Instance.new('CylinderMesh',bleedee)
  1351. bleedee:BreakJoints()
  1352. local attachment1 = Instance.new('Attachment',bleedee)
  1353. attachment1.Position = Vector3.new(0,-character[thing].Size.Y/2,0)
  1354. attachment1.Orientation = Vector3.new(0,0,180)
  1355. local attachment0 = Instance.new('Attachment',character[thing])
  1356. if attachment0 and attachment1 then
  1357. local constraint = Instance.new("HingeConstraint")
  1358. constraint.Attachment0 = attachment0
  1359. constraint.Attachment1 = attachment1
  1360. constraint.LimitsEnabled = true
  1361. constraint.UpperAngle = 0
  1362. constraint.LowerAngle = 0
  1363. constraint.Parent = character
  1364. end
  1365. spawn(function()
  1366. bleed(bleedee)
  1367. end)
  1368. end)
  1369. end
  1370. pcall(function()
  1371. if workspace.PGSPhysicsSolverEnabled == false then
  1372. workspace.PGSPhysicsSolverEnabled = true
  1373. end
  1374. end)
  1375. if partname == "HumanoidRootPart" then
  1376. if character:FindFirstChild('Torso') then
  1377. partname = "Torso"
  1378. else
  1379. partname = "UpperTorso"
  1380. end
  1381. end
  1382. if attached == false then
  1383. if character:FindFirstChild('UpperTorso') then
  1384. pcall(function()
  1385. character.UpperTorso.WaistRigAttachment:Destroy()
  1386. end)
  1387. pcall(function()
  1388. local ayybleed = Instance.new('Part',character)
  1389. ayybleed.Size = Vector3.new(character.UpperTorso.Size.X,0,character.UpperTorso.Size.Z)
  1390. ayybleed.Transparency = 1
  1391. ayybleed.CanCollide = false
  1392. ayybleed.CFrame = character.UpperTorso.CFrame
  1393. ayybleed:BreakJoints()
  1394. ayybleed.Name = "ayybleed"
  1395. local attachment1 = Instance.new('Attachment',ayybleed)
  1396. attachment1.Position = Vector3.new(0,-character.UpperTorso.Size.Y/2,0)
  1397. attachment1.Orientation = Vector3.new(0,0,180)
  1398. local attachment0 = Instance.new('Attachment',character.UpperTorso)
  1399. if attachment0 and attachment1 then
  1400. local constraint = Instance.new("HingeConstraint")
  1401. constraint.Attachment0 = attachment0
  1402. constraint.Attachment1 = attachment1
  1403. constraint.LimitsEnabled = true
  1404. constraint.UpperAngle = 0
  1405. constraint.LowerAngle = 0
  1406. constraint.Parent = character
  1407. end
  1408. local bleedBLEED= coroutine.wrap(function()
  1409. bleed(ayybleed)
  1410. end)
  1411. bleedBLEED()
  1412. end)
  1413. pcall(function()
  1414. local ayybleed = Instance.new('Part',character)
  1415. ayybleed.Size = Vector3.new(character.LowerTorso.Size.X-0.1,0.1,character.LowerTorso.Size.Z-0.1)
  1416. ayybleed.Transparency = 1
  1417. ayybleed.CanCollide = false
  1418. ayybleed.CFrame = character.LowerTorso.CFrame
  1419. ayybleed:BreakJoints()
  1420. ayybleed.Name = "ayybleed"
  1421. local attachment1 = Instance.new('Attachment',ayybleed)
  1422. attachment1.Position = Vector3.new(0,-character.LowerTorso.Size.Y/2,0)
  1423. attachment1.Orientation = Vector3.new(0,0,0)
  1424. local attachment0 = Instance.new('Attachment',character.LowerTorso)
  1425. if attachment0 and attachment1 then
  1426. local constraint = Instance.new("HingeConstraint")
  1427. constraint.Attachment0 = attachment0
  1428. constraint.Attachment1 = attachment1
  1429. constraint.LimitsEnabled = true
  1430. constraint.UpperAngle = 0
  1431. constraint.LowerAngle = 0
  1432. constraint.Parent = character
  1433. end
  1434. local bleedBLEED= coroutine.wrap(function()
  1435. bleed(ayybleed)
  1436. end)
  1437. bleedBLEED()
  1438. end)
  1439. end
  1440. pcall(function()
  1441. local thang = "Torso"
  1442. if character:FindFirstChild('UpperTorso') then
  1443. thang = "UpperTorso"
  1444. end
  1445. local ayybleed = Instance.new('Part',character)
  1446. ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1)
  1447. ayybleed.Color = Frame_2.BackgroundColor3
  1448. ayybleed.Material = Enum.Material.SmoothPlastic
  1449. ayybleed.Name = "ayybleed"
  1450. ayybleed.CanCollide = false
  1451. ayybleed.Transparency = 0
  1452. ayybleed.CFrame = character[thang].CFrame
  1453. ayybleed:BreakJoints()
  1454. local attachment1 = Instance.new('Attachment',ayybleed)
  1455. attachment1.Position = Vector3.new(0,(character[thang].Size.Y/2)-0.045,0)
  1456. attachment1.Orientation = Vector3.new(0,0,0)
  1457. local attachment0 = Instance.new('Attachment',character[thang])
  1458. if attachment0 and attachment1 then
  1459. local constraint = Instance.new("HingeConstraint")
  1460. constraint.Attachment0 = attachment0
  1461. constraint.Attachment1 = attachment1
  1462. constraint.LimitsEnabled = true
  1463. constraint.UpperAngle = 0
  1464. constraint.LowerAngle = 0
  1465. constraint.Parent = character
  1466. end
  1467. end)
  1468. pcall(function()
  1469. local ree = character.LowerTorso
  1470. local thang = "LowerTorso"
  1471. local ayybleed = Instance.new('Part',character)
  1472. ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1)
  1473. ayybleed.Color = Frame_2.BackgroundColor3
  1474. ayybleed.Material = Enum.Material.SmoothPlastic
  1475. ayybleed.Name = "ayybleed"
  1476. ayybleed.CanCollide = false
  1477. ayybleed.Transparency = 0
  1478. ayybleed.CFrame = character[thang].CFrame
  1479. ayybleed:BreakJoints()
  1480. local attachment1 = Instance.new('Attachment',ayybleed)
  1481. attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0)
  1482. attachment1.Orientation = Vector3.new(0,0,0)
  1483. local attachment0 = Instance.new('Attachment',character[thang])
  1484. if attachment0 and attachment1 then
  1485. local constraint = Instance.new("HingeConstraint")
  1486. constraint.Attachment0 = attachment0
  1487. constraint.Attachment1 = attachment1
  1488. constraint.LimitsEnabled = true
  1489. constraint.UpperAngle = 0
  1490. constraint.LowerAngle = 0
  1491. constraint.Parent = character
  1492. end
  1493. end)
  1494. pcall(function()
  1495. local ree = character["Right Leg"]
  1496. local thang = "Right Leg"
  1497. local ayybleed = Instance.new('Part',character)
  1498. ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1)
  1499. ayybleed.Color = Frame_2.BackgroundColor3
  1500. ayybleed.Material = Enum.Material.SmoothPlastic
  1501. ayybleed.Name = "ayybleed"
  1502. ayybleed.CanCollide = false
  1503. ayybleed.Transparency = 0
  1504. ayybleed.CFrame = character[thang].CFrame
  1505. ayybleed:BreakJoints()
  1506. local attachment1 = Instance.new('Attachment',ayybleed)
  1507. attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0)
  1508. attachment1.Orientation = Vector3.new(0,0,0)
  1509. local attachment0 = Instance.new('Attachment',character[thang])
  1510. if attachment0 and attachment1 then
  1511. local constraint = Instance.new("HingeConstraint")
  1512. constraint.Attachment0 = attachment0
  1513. constraint.Attachment1 = attachment1
  1514. constraint.LimitsEnabled = true
  1515. constraint.UpperAngle = 0
  1516. constraint.LowerAngle = 0
  1517. constraint.Parent = character
  1518. end
  1519. end)
  1520. pcall(function()
  1521. local ree = character["Left Leg"]
  1522. local thang = "Left Leg"
  1523. local ayybleed = Instance.new('Part',character)
  1524. ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1)
  1525. ayybleed.Color = Frame_2.BackgroundColor3
  1526. ayybleed.Material = Enum.Material.SmoothPlastic
  1527. ayybleed.Name = "ayybleed"
  1528. ayybleed.CanCollide = false
  1529. ayybleed.Transparency = 0
  1530. ayybleed.CFrame = character[thang].CFrame
  1531. ayybleed:BreakJoints()
  1532. local attachment1 = Instance.new('Attachment',ayybleed)
  1533. attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0)
  1534. attachment1.Orientation = Vector3.new(0,0,0)
  1535. local attachment0 = Instance.new('Attachment',character[thang])
  1536. if attachment0 and attachment1 then
  1537. local constraint = Instance.new("HingeConstraint")
  1538. constraint.Attachment0 = attachment0
  1539. constraint.Attachment1 = attachment1
  1540. constraint.LimitsEnabled = true
  1541. constraint.UpperAngle = 0
  1542. constraint.LowerAngle = 0
  1543. constraint.Parent = character
  1544. end
  1545. end)
  1546. partname="Head"
  1547. end
  1548. if partname == "RightHand" or partname == "RightLowerArm" or partname == "RightUpperArm" then
  1549. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  1550. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1551. end
  1552. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  1553. ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
  1554. end
  1555. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  1556. ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1557. end
  1558. elseif partname == "LeftHand" or partname == "LeftLowerArm" or partname == "LeftUpperArm" then
  1559. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  1560. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1561. end
  1562. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  1563. ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
  1564. end
  1565. if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
  1566. ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1567. end
  1568. elseif partname == "RightFoot" or partname == "RightUpperLeg" or partname == "RightLowerLeg" then
  1569. stun(character)
  1570. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  1571. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1572. end
  1573. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  1574. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1575. end
  1576. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  1577. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1578. end
  1579. elseif partname == "LeftFoot" or partname == "LeftUpperLeg" or partname == "LeftLowerLeg" then
  1580. stun(character)
  1581. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  1582. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1583. end
  1584. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  1585. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1586. end
  1587. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  1588. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1589. end
  1590. elseif partname == "Head" or partname == "UpperTorso" or partname == "LowerTorso" then
  1591. if character:FindFirstChildOfClass('Humanoid') and character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
  1592. if character:FindFirstChildOfClass('Humanoid') then
  1593. character:FindFirstChildOfClass('Humanoid').Health = 0
  1594. end
  1595. if character:FindFirstChild('HumanoidRootPart') then
  1596. character.HumanoidRootPart:Destroy()
  1597. end
  1598. while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end
  1599. game:GetService('Debris'):AddItem(character,10)
  1600. for _,child in next,character:GetChildren() do
  1601. if child:IsA("Accoutrement") then
  1602. for _,part in next,child:GetChildren() do
  1603. if part:IsA("BasePart") then
  1604. for _,c in pairs(part:GetChildren()) do
  1605. if c:IsA('Weld') then c:Destroy() end
  1606. end
  1607. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1608. local attachment0 = getAttachment0(character,attachment1.Name)
  1609. if attachment0 and attachment1 then
  1610. local constraint = Instance.new("HingeConstraint")
  1611. constraint.Attachment0 = attachment0
  1612. constraint.Attachment1 = attachment1
  1613. constraint.LimitsEnabled = true
  1614. constraint.UpperAngle = 0
  1615. constraint.LowerAngle = 0
  1616. constraint.Parent = character
  1617. end
  1618. end
  1619. end
  1620. end
  1621. end
  1622. for i,v in pairs(character:GetChildren()) do
  1623. if v:IsA('MeshPart') or v:IsA('BasePart') then
  1624. for _,c in pairs(v:GetChildren()) do
  1625. if c.Name == "Collision" then c:Destroy() end
  1626. end
  1627. end
  1628. end
  1629. if heded == false then
  1630. pcall(function()
  1631. local asdf = Instance.new('Attachment',character.Head)
  1632. asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0)
  1633. local last = asdf
  1634. character.Head.Neck:Destroy()
  1635. character.Head.NeckRigAttachment:Destroy()
  1636. character.UpperTorso:FindFirstChild('NeckAttachment'):Destroy()
  1637. end)
  1638. end
  1639. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
  1640. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1641. {"LimitsEnabled",true};
  1642. {"UpperAngle",5};
  1643. {"Radius",5};
  1644. })
  1645. end
  1646. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
  1647. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
  1648. {"LimitsEnabled",true};
  1649. {"UpperAngle",50};
  1650. {"LowerAngle",-50};
  1651. })
  1652. end
  1653.  
  1654. local handProperties = {
  1655. {"LimitsEnabled", true};
  1656. {"UpperAngle",0};
  1657. {"LowerAngle",0};
  1658. }
  1659. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
  1660. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1661. end
  1662. if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
  1663. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1664. end
  1665.  
  1666. local shinProperties = {
  1667. {"LimitsEnabled", true};
  1668. {"UpperAngle", 0};
  1669. {"LowerAngle", -75};
  1670. }
  1671. if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
  1672. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1673. end
  1674. if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
  1675. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1676. end
  1677.  
  1678. local footProperties = {
  1679. {"LimitsEnabled", true};
  1680. {"UpperAngle", 15};
  1681. {"LowerAngle", -45};
  1682. }
  1683. if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
  1684. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1685. end
  1686. if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
  1687. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1688. end
  1689. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
  1690. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1691. end
  1692. if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftUpperArm') then
  1693. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1694. end
  1695. if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
  1696. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1697. end
  1698. if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
  1699. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1700. end
  1701. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
  1702. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1703. end
  1704. if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
  1705. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1706. end
  1707. if character:FindFirstChild('HumanoidRootPart') then
  1708. character.HumanoidRootPart:Destroy()
  1709. end
  1710. else
  1711. R6ragdollJoint(character,partname,attached,heded)
  1712. end
  1713. else
  1714. R6ragdollJoint(character,partname,attached,heded)
  1715. end
  1716. end
  1717.  
  1718. function grow(weld,part,endsize,endpos,amntime)
  1719. local start = weld.C1
  1720. local parent = weld.Parent
  1721. local startsize = part.Size
  1722. local particl = Instance.new("ParticleEmitter")
  1723. particl.LightEmission = 3
  1724. particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.1, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))})
  1725. particl.LightInfluence = 0.75
  1726. particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
  1727. particl.Lifetime = NumberRange.new(0.1, 1)
  1728. particl.Rate = 50
  1729. particl.RotSpeed = NumberRange.new(300, 300)
  1730. particl.Speed = NumberRange.new(0, 1)
  1731. particl.SpreadAngle = Vector2.new(90, 90)
  1732. particl.Parent = part
  1733. for i=1,amntime*100 do
  1734. weld.C1 = start:lerp(endpos,i/(amntime*100))
  1735. part.Size = startsize:lerp(endsize,i/(amntime*100))
  1736. weld.Parent = parent
  1737. wait(0.01)
  1738. end
  1739. particl.Enabled = false
  1740. end
  1741. function lerp(weld,startpos,endpos,amntime,longatend)
  1742. local waited = 0
  1743. for i=1,amntime*100 do
  1744. if longatend == true then
  1745. startpos = weld.C0
  1746. end
  1747. weld.C0 = startpos:lerp(endpos,i/(amntime*100))
  1748. wait(0.01)
  1749. waited=waited+0.01
  1750. end
  1751. end
  1752.  
  1753. function spawned()
  1754. local usable = true
  1755. local working = false
  1756. local mode = "kill"
  1757. local equipped = false
  1758. local char = player.Character
  1759. local blademode = "handle"
  1760. local swinging = false
  1761. local gettingeem = false
  1762. local MOAN = false
  1763. local sounding = false
  1764. local SLESH = false
  1765. local goteem = nil
  1766. local grabbing = false
  1767. local grabbed = nil
  1768. local grabweld = nil
  1769. local aidsificating = nil
  1770. player.CharacterAdded:connect(function()
  1771. if usable then
  1772. usable = false
  1773. end
  1774. end)
  1775. if char == nil then return end
  1776. while char:FindFirstChildOfClass('Humanoid') == nil or char:FindFirstChild('Head') == nil do wait() end
  1777. local badass = Instance.new('Sound',char.Head)
  1778. badass.Name = 'Badass'
  1779. badass.EmitterSize = player.CameraMaxZoomDistance+1
  1780. badass.MaxDistance = player.CameraMaxZoomDistance+1
  1781. badass.Volume = 10
  1782. badass.Looped=true
  1783. badass.SoundId = 'rbxassetid://428902535'
  1784. local handle = Instance.new("Part", char)
  1785. handle.BrickColor = BrickColor.new("Really black")
  1786. handle.Material = "Metal"
  1787. handle.CanCollide = false
  1788. handle.Anchored = false
  1789. handle.Shape = "Cylinder"
  1790. handle.Size = Vector3.new(1.1, 0.3, 0.3)
  1791. handle.BackSurface = "SmoothNoOutlines"
  1792. handle.BottomSurface = "SmoothNoOutlines"
  1793. handle.FrontSurface = "SmoothNoOutlines"
  1794. handle.LeftSurface = "SmoothNoOutlines"
  1795. handle.RightSurface = "SmoothNoOutlines"
  1796. handle.TopSurface = "SmoothNoOutlines"
  1797. handle.Name = "handle"
  1798.  
  1799. local hweld = Instance.new("Weld", char.Torso)
  1800. hweld.Part0 = char.Torso
  1801. hweld.Part1 = handle
  1802. hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0)
  1803.  
  1804. local rdd = false
  1805. function oogabooga()
  1806. if rdd == false then
  1807. rdd = true
  1808. pcall(function()
  1809. ragdollpart(char,"Right Arm")
  1810. ragdollpart(char,"Right Leg")
  1811. ragdollpart(char,"Left Arm")
  1812. ragdollpart(char,"Left Leg")
  1813. end)
  1814. pcall(function()
  1815. ragdollpart(char,"RightUpperArm")
  1816. ragdollpart(char,"RightUpperLeg")
  1817. ragdollpart(char,"LeftUpperArm")
  1818. ragdollpart(char,"LeftUpperLeg")
  1819. end)
  1820. unstun(char)
  1821. for i,v in pairs(char:GetChildren()) do
  1822. v.ChildAdded:connect(function(child)
  1823. if rdd == true then
  1824. if child.Name ~= "Neck" and child.Name ~= "RootJoint" and child.Name ~= "Root" and (child:IsA('Motor6D') or child:IsA('Weld')) then
  1825. if child ~= grabweld then
  1826. spawn(function()
  1827. wait()
  1828. child:Destroy()
  1829. end)
  1830. end
  1831. end
  1832. end
  1833. end)
  1834. if string.find(string.lower(v.Name),'leg') then
  1835. if v:FindFirstChild('Collision') then
  1836. v:FindFirstChild('Collision'):Destroy()
  1837. end
  1838. end
  1839. end
  1840. else
  1841. rdd = false
  1842. for i,v in pairs(char:GetChildren()) do
  1843. if v:IsA('HingeConstraint') or v:IsA('BallSocketConstraint') then
  1844. v:Destroy()
  1845. elseif v:IsA('BasePart') then
  1846. if v:FindFirstChild('Collision') then
  1847. v.Collision:Destroy()
  1848. end
  1849. for a,c in pairs(v:GetChildren()) do
  1850. if string.find(string.lower(c.Name),"ragdoll") then
  1851. c:Destroy()
  1852. end
  1853. end
  1854. end
  1855. end
  1856. pcall(function()
  1857. local ra = rightclone:Clone()
  1858. ra.Parent = char.Torso
  1859. ra.Part0 = char.Torso
  1860. ra.Part1 = char["Right Arm"]
  1861. end)
  1862. pcall(function()
  1863. local la = leftclone:Clone()
  1864. la.Parent = char.Torso
  1865. la.Part0 = char.Torso
  1866. la.Part1 = char["Left Arm"]
  1867. end)
  1868. pcall(function()
  1869. local ll = leftlegclone:Clone()
  1870. ll.Parent = char.Torso
  1871. ll.Part0 = char.Torso
  1872. ll.Part1 = char["Left Leg"]
  1873. end)
  1874. pcall(function()
  1875. local rl = rightlegclone:Clone()
  1876. rl.Parent = char.Torso
  1877. rl.Part0 = char.Torso
  1878. rl.Part1 = char["Right Leg"]
  1879. end)
  1880. end
  1881. end
  1882. function getrid()
  1883. if grabbed then
  1884. release()
  1885. end
  1886. blademode = "handle"
  1887. for _,ree in pairs(handle:GetChildren()) do
  1888. if ree:IsA('BasePart') then
  1889. local part = Instance.new('Part',workspace)
  1890. part.CFrame = ree.CFrame
  1891. part.Anchored = true
  1892. part.CanCollide = false
  1893. part.Size = ree.Size
  1894. part.Transparency = 1
  1895. ree:Destroy()
  1896. local pe2 = Instance.new("ParticleEmitter")
  1897. pe2.Acceleration = Vector3.new(0, 1, 0)
  1898. pe2.Lifetime = NumberRange.new(0.1, 0.2)
  1899. pe2.Speed = NumberRange.new(0.5)
  1900. pe2.Rate = 20000
  1901. pe2.RotSpeed = NumberRange.new(-30, 30)
  1902. pe2.Rotation = NumberRange.new(0, 360)
  1903. pe2.Size = NumberSequence.new({
  1904. NumberSequenceKeypoint.new(0, part.Size.X*2, 0),
  1905. NumberSequenceKeypoint.new(1, part.Size.X*2, 0),
  1906. })
  1907. pe2.Texture = "rbxassetid://244221440"
  1908. pe2.Transparency = NumberSequence.new({
  1909. NumberSequenceKeypoint.new(0, 0.9, 0),
  1910. NumberSequenceKeypoint.new(1, 0.9, 0)
  1911. })
  1912. pe2.ZOffset = 5
  1913. pe2.VelocitySpread = 360
  1914. pe2.Parent = part
  1915. pe2.Enabled = true
  1916. local coru=coroutine.wrap(function()
  1917. wait(0.2)
  1918. pe2.Enabled = false
  1919. game:GetService('Debris'):AddItem(part,0.5)
  1920. end)
  1921. coru()
  1922. else
  1923. ree:Remove()
  1924. end
  1925. end
  1926. end
  1927.  
  1928. function equip()
  1929. equipped = true
  1930. working = true
  1931. if char.Torso:FindFirstChild("Right Shoulder") then
  1932. char.Torso:FindFirstChild("Right Shoulder"):Destroy()
  1933. end
  1934. local weld = Instance.new('Weld', char.Torso)
  1935. weld.Name = "Lerping"
  1936. weld.Part0 = char["Right Arm"]
  1937. weld.Part1 = char.Torso
  1938. weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0)
  1939.  
  1940. lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true)
  1941.  
  1942. wait(0.1)
  1943.  
  1944. hweld.Part0 = char["Right Arm"]
  1945. hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0)
  1946.  
  1947. lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  1948.  
  1949. weld:Destroy()
  1950. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  1951. local clone = rightclone:Clone()
  1952. clone.Part0 = char.Torso
  1953. clone.Part1 = char["Right Arm"]
  1954. clone.Parent = char.Torso
  1955. end
  1956. working = false
  1957. end
  1958.  
  1959. function unequip()
  1960. getrid(handle)
  1961. equipped = false
  1962. working = true
  1963.  
  1964. if char.Torso:FindFirstChild("Right Shoulder") then
  1965. char.Torso:FindFirstChild("Right Shoulder"):Destroy()
  1966. end
  1967.  
  1968. local weld = Instance.new('Weld', char.Torso)
  1969. weld.Name = "Lerping"
  1970. weld.Part0 = char["Right Arm"]
  1971. weld.Part1 = char.Torso
  1972. weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0)
  1973.  
  1974.  
  1975. lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true)
  1976.  
  1977. hweld.Part0 = char["Torso"]
  1978. hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0)
  1979. lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08,true)
  1980. weld:Destroy()
  1981. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  1982. local clone = rightclone:Clone()
  1983. clone.Part0 = char.Torso
  1984. clone.Part1 = char["Right Arm"]
  1985. clone.Parent = char.Torso
  1986. end
  1987. working = false
  1988. end
  1989.  
  1990. function dildo()
  1991. blademode = "dildo"
  1992. working = true
  1993. -- 1 - pink toy
  1994. local obj1 = Instance.new("Model")
  1995. obj1.Name = "pink toy"
  1996. obj1.Parent = handle
  1997.  
  1998. -- 2 - Model
  1999. local obj2 = Instance.new("Model")
  2000. obj2.Parent = obj1
  2001.  
  2002. -- 3 - Part
  2003. local obj3 = Instance.new("Part")
  2004. obj3.CFrame = CFrame.new(Vector3.new(66.8643951, 3.86435986, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2005. obj3.CanCollide = false
  2006. obj3.TopSurface = Enum.SurfaceType.Smooth
  2007. obj3.BottomSurface = Enum.SurfaceType.Smooth
  2008. obj3.Material = Enum.Material.SmoothPlastic
  2009. obj3.Size = Vector3.new(1.00000024, 1.00000024, 1.00000024)
  2010. obj3.BrickColor = BrickColor.new("Hot pink")
  2011. obj3.Friction = 0.30000001192093
  2012. obj3.Shape = Enum.PartType.Ball
  2013. obj3.Parent = obj2
  2014. obj3.Name = "tip"
  2015.  
  2016. -- 4 - Part
  2017. local obj4 = Instance.new("Part")
  2018. obj4.CFrame = CFrame.new(Vector3.new(67.8275909, 2.08898449, 7.50048351)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211)
  2019. obj4.CanCollide = false
  2020. obj4.TopSurface = Enum.SurfaceType.Smooth
  2021. obj4.BottomSurface = Enum.SurfaceType.Smooth
  2022. obj4.Material = Enum.Material.SmoothPlastic
  2023. obj4.Size = Vector3.new(4.09999943, 1, 1)
  2024. obj4.BrickColor = BrickColor.new("Hot pink")
  2025. obj4.Friction = 0.30000001192093
  2026. obj4.Shape = Enum.PartType.Cylinder
  2027. obj4.Parent = obj2
  2028.  
  2029. -- 5 - Part
  2030. local obj5 = Instance.new("Part")
  2031. obj5.CFrame = CFrame.new(Vector3.new(66.7104797, 3.86435843, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2032. obj5.CanCollide = false
  2033. obj5.TopSurface = Enum.SurfaceType.Smooth
  2034. obj5.BottomSurface = Enum.SurfaceType.Smooth
  2035. obj5.Material = Enum.Material.SmoothPlastic
  2036. obj5.Size = Vector3.new(0.25, 0.25, 0.25)
  2037. obj5.BrickColor = BrickColor.new("Hot pink")
  2038. obj5.Friction = 0.30000001192093
  2039. obj5.Shape = Enum.PartType.Ball
  2040. obj5.Parent = obj2
  2041.  
  2042. -- 6 - Part
  2043. local obj6 = Instance.new("Part")
  2044. obj6.CFrame = CFrame.new(Vector3.new(68.6905365, 0.83212769, 8.29345417)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287)
  2045. obj6.CanCollide = false
  2046. obj6.TopSurface = Enum.SurfaceType.Smooth
  2047. obj6.BottomSurface = Enum.SurfaceType.Smooth
  2048. obj6.Material = Enum.Material.SmoothPlastic
  2049. obj6.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762)
  2050. obj6.BrickColor = BrickColor.new("Hot pink")
  2051. obj6.Friction = 0.30000001192093
  2052. obj6.Shape = Enum.PartType.Ball
  2053. obj6.Parent = obj2
  2054.  
  2055. -- 7 - Part
  2056. local obj7 = Instance.new("Part")
  2057. obj7.CFrame = CFrame.new(Vector3.new(67.0182953, 3.86435866, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2058. obj7.CanCollide = false
  2059. obj7.TopSurface = Enum.SurfaceType.Smooth
  2060. obj7.BottomSurface = Enum.SurfaceType.Smooth
  2061. obj7.Material = Enum.Material.SmoothPlastic
  2062. obj7.Size = Vector3.new(0.25, 0.25, 0.25)
  2063. obj7.BrickColor = BrickColor.new("Hot pink")
  2064. obj7.Friction = 0.30000001192093
  2065. obj7.Shape = Enum.PartType.Ball
  2066. obj7.Parent = obj2
  2067.  
  2068. -- 8 - Part
  2069. local obj8 = Instance.new("Part")
  2070. obj8.CFrame = CFrame.new(Vector3.new(68.9983597, 0.832128167, 7.44772816)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287)
  2071. obj8.CanCollide = false
  2072. obj8.TopSurface = Enum.SurfaceType.Smooth
  2073. obj8.BottomSurface = Enum.SurfaceType.Smooth
  2074. obj8.Material = Enum.Material.SmoothPlastic
  2075. obj8.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762)
  2076. obj8.BrickColor = BrickColor.new("Hot pink")
  2077. obj8.Friction = 0.30000001192093
  2078. obj8.Shape = Enum.PartType.Ball
  2079. obj8.Parent = obj2
  2080. local fiREPART = obj8
  2081.  
  2082. -- 9 - Part
  2083. local obj9 = Instance.new("Part")
  2084. obj9.CFrame = CFrame.new(Vector3.new(68.8566208, 0.357954353, 7.87501621)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.2217314243317)
  2085. obj9.CanCollide = false
  2086. obj9.TopSurface = Enum.SurfaceType.Smooth
  2087. obj9.BottomSurface = Enum.SurfaceType.Smooth
  2088. obj9.Material = Enum.Material.SmoothPlastic
  2089. obj9.Size = Vector3.new(0.0999999791, 1.50000036, 2)
  2090. obj9.BrickColor = BrickColor.new("Hot pink")
  2091. obj9.Friction = 0.30000001192093
  2092. obj9.Shape = Enum.PartType.Cylinder
  2093. obj9.Parent = obj2
  2094.  
  2095. -- 10 - Part
  2096. local obj10 = Instance.new("Part")
  2097. obj10.CFrame = CFrame.new(Vector3.new(66.8069, 3.58244801, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2098. obj10.CanCollide = false
  2099. obj10.TopSurface = Enum.SurfaceType.Smooth
  2100. obj10.BottomSurface = Enum.SurfaceType.Smooth
  2101. obj10.Material = Enum.Material.SmoothPlastic
  2102. obj10.Size = Vector3.new(0.25, 0.25, 0.25)
  2103. obj10.BrickColor = BrickColor.new("Hot pink")
  2104. obj10.Friction = 0.30000001192093
  2105. obj10.Shape = Enum.PartType.Ball
  2106. obj10.Parent = obj2
  2107.  
  2108. -- 11 - Part
  2109. local obj11 = Instance.new("Part")
  2110. obj11.CFrame = CFrame.new(Vector3.new(67.196106, 3.632447, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2111. obj11.CanCollide = false
  2112. obj11.TopSurface = Enum.SurfaceType.Smooth
  2113. obj11.BottomSurface = Enum.SurfaceType.Smooth
  2114. obj11.Material = Enum.Material.SmoothPlastic
  2115. obj11.Size = Vector3.new(0.25, 0.25, 0.25)
  2116. obj11.BrickColor = BrickColor.new("Hot pink")
  2117. obj11.Friction = 0.30000001192093
  2118. obj11.Shape = Enum.PartType.Ball
  2119. obj11.Parent = obj2
  2120.  
  2121. -- 12 - Part
  2122. local obj12 = Instance.new("Part")
  2123. obj12.CFrame = CFrame.new(Vector3.new(67.0756683, 3.77002549, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
  2124. obj12.CanCollide = false
  2125. obj12.TopSurface = Enum.SurfaceType.Smooth
  2126. obj12.BottomSurface = Enum.SurfaceType.Smooth
  2127. obj12.Material = Enum.Material.SmoothPlastic
  2128. obj12.Size = Vector3.new(0.25, 0.25, 0.25)
  2129. obj12.BrickColor = BrickColor.new("Hot pink")
  2130. obj12.Friction = 0.30000001192093
  2131. obj12.Shape = Enum.PartType.Ball
  2132. obj12.Parent = obj2
  2133.  
  2134. -- 13 - Part
  2135. local obj13 = Instance.new("Part")
  2136. obj13.CFrame = CFrame.new(Vector3.new(67.4108353, 3.27276325, 6.88037825)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
  2137. obj13.CanCollide = false
  2138. obj13.TopSurface = Enum.SurfaceType.Smooth
  2139. obj13.BottomSurface = Enum.SurfaceType.Smooth
  2140. obj13.Material = Enum.Material.SmoothPlastic
  2141. obj13.Size = Vector3.new(0.25, 0.25, 0.25)
  2142. obj13.BrickColor = BrickColor.new("Hot pink")
  2143. obj13.Friction = 0.30000001192093
  2144. obj13.Shape = Enum.PartType.Ball
  2145. obj13.Parent = obj2
  2146.  
  2147. -- 14 - Part
  2148. local obj14 = Instance.new("Part")
  2149. obj14.CFrame = CFrame.new(Vector3.new(66.868927, 3.43238807, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
  2150. obj14.CanCollide = false
  2151. obj14.TopSurface = Enum.SurfaceType.Smooth
  2152. obj14.BottomSurface = Enum.SurfaceType.Smooth
  2153. obj14.Material = Enum.Material.SmoothPlastic
  2154. obj14.Size = Vector3.new(0.25, 0.25, 0.25)
  2155. obj14.BrickColor = BrickColor.new("Hot pink")
  2156. obj14.Friction = 0.30000001192093
  2157. obj14.Shape = Enum.PartType.Ball
  2158. obj14.Parent = obj2
  2159.  
  2160. -- 15 - Part
  2161. local obj15 = Instance.new("Part")
  2162. obj15.CFrame = CFrame.new(Vector3.new(67.1951675, 3.383008, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
  2163. obj15.CanCollide = false
  2164. obj15.TopSurface = Enum.SurfaceType.Smooth
  2165. obj15.BottomSurface = Enum.SurfaceType.Smooth
  2166. obj15.Material = Enum.Material.SmoothPlastic
  2167. obj15.Size = Vector3.new(0.25, 0.25, 0.25)
  2168. obj15.BrickColor = BrickColor.new("Hot pink")
  2169. obj15.Friction = 0.30000001192093
  2170. obj15.Shape = Enum.PartType.Ball
  2171. obj15.Parent = obj2
  2172.  
  2173. -- 16 - Part
  2174. local obj16 = Instance.new("Part")
  2175. obj16.CFrame = CFrame.new(Vector3.new(67.50383, 3.46245813, 7.48069429)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
  2176. obj16.CanCollide = false
  2177. obj16.TopSurface = Enum.SurfaceType.Smooth
  2178. obj16.BottomSurface = Enum.SurfaceType.Smooth
  2179. obj16.Material = Enum.Material.SmoothPlastic
  2180. obj16.Size = Vector3.new(0.25, 0.25, 0.25)
  2181. obj16.BrickColor = BrickColor.new("Hot pink")
  2182. obj16.Friction = 0.30000001192093
  2183. obj16.Shape = Enum.PartType.Ball
  2184. obj16.Parent = obj2
  2185.  
  2186. -- 17 - Part
  2187. local obj17 = Instance.new("Part")
  2188. obj17.CFrame = CFrame.new(Vector3.new(66.5551376, 3.4628334, 7.33871651)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
  2189. obj17.CanCollide = false
  2190. obj17.TopSurface = Enum.SurfaceType.Smooth
  2191. obj17.BottomSurface = Enum.SurfaceType.Smooth
  2192. obj17.Material = Enum.Material.SmoothPlastic
  2193. obj17.Size = Vector3.new(0.25, 0.25, 0.25)
  2194. obj17.BrickColor = BrickColor.new("Hot pink")
  2195. obj17.Friction = 0.30000001192093
  2196. obj17.Shape = Enum.PartType.Ball
  2197. obj17.Parent = obj2
  2198.  
  2199. -- 18 - Part
  2200. local obj18 = Instance.new("Part")
  2201. obj18.CFrame = CFrame.new(Vector3.new(67.3677139, 3.83245182, 7.3331027)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2202. obj18.CanCollide = false
  2203. obj18.TopSurface = Enum.SurfaceType.Smooth
  2204. obj18.BottomSurface = Enum.SurfaceType.Smooth
  2205. obj18.Material = Enum.Material.SmoothPlastic
  2206. obj18.Size = Vector3.new(0.25, 0.25, 0.25)
  2207. obj18.BrickColor = BrickColor.new("Hot pink")
  2208. obj18.Friction = 0.30000001192093
  2209. obj18.Shape = Enum.PartType.Ball
  2210. obj18.Parent = obj2
  2211.  
  2212. -- 19 - Part
  2213. local obj19 = Instance.new("Part")
  2214. obj19.CFrame = CFrame.new(Vector3.new(67.4115601, 3.71535063, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
  2215. obj19.CanCollide = false
  2216. obj19.TopSurface = Enum.SurfaceType.Smooth
  2217. obj19.BottomSurface = Enum.SurfaceType.Smooth
  2218. obj19.Material = Enum.Material.SmoothPlastic
  2219. obj19.Size = Vector3.new(0.25, 0.25, 0.25)
  2220. obj19.BrickColor = BrickColor.new("Hot pink")
  2221. obj19.Friction = 0.30000001192093
  2222. obj19.Shape = Enum.PartType.Ball
  2223. obj19.Parent = obj2
  2224.  
  2225. -- 20 - Part
  2226. local obj20 = Instance.new("Part")
  2227. obj20.CFrame = CFrame.new(Vector3.new(67.6487045, 3.39313889, 7.19381428)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
  2228. obj20.CanCollide = false
  2229. obj20.TopSurface = Enum.SurfaceType.Smooth
  2230. obj20.BottomSurface = Enum.SurfaceType.Smooth
  2231. obj20.Material = Enum.Material.SmoothPlastic
  2232. obj20.Size = Vector3.new(0.25, 0.25, 0.25)
  2233. obj20.BrickColor = BrickColor.new("Hot pink")
  2234. obj20.Friction = 0.30000001192093
  2235. obj20.Shape = Enum.PartType.Ball
  2236. obj20.Parent = obj2
  2237.  
  2238. -- 21 - Part
  2239. local obj21 = Instance.new("Part")
  2240. obj21.CFrame = CFrame.new(Vector3.new(66.8260422, 4.12417316, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2241. obj21.CanCollide = false
  2242. obj21.TopSurface = Enum.SurfaceType.Smooth
  2243. obj21.BottomSurface = Enum.SurfaceType.Smooth
  2244. obj21.Material = Enum.Material.SmoothPlastic
  2245. obj21.Size = Vector3.new(0.25, 0.25, 0.25)
  2246. obj21.BrickColor = BrickColor.new("Hot pink")
  2247. obj21.Friction = 0.30000001192093
  2248. obj21.Shape = Enum.PartType.Ball
  2249. obj21.Parent = obj2
  2250.  
  2251. -- 22 - Part
  2252. local obj22 = Instance.new("Part")
  2253. obj22.CFrame = CFrame.new(Vector3.new(67.162117, 3.11433029, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
  2254. obj22.CanCollide = false
  2255. obj22.TopSurface = Enum.SurfaceType.Smooth
  2256. obj22.BottomSurface = Enum.SurfaceType.Smooth
  2257. obj22.Material = Enum.Material.SmoothPlastic
  2258. obj22.Size = Vector3.new(0.25, 0.25, 0.25)
  2259. obj22.BrickColor = BrickColor.new("Hot pink")
  2260. obj22.Friction = 0.30000001192093
  2261. obj22.Shape = Enum.PartType.Ball
  2262. obj22.Parent = obj2
  2263.  
  2264. -- 23 - Part
  2265. local obj23 = Instance.new("Part")
  2266. obj23.CFrame = CFrame.new(Vector3.new(66.4981842, 3.63936186, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2267. obj23.CanCollide = false
  2268. obj23.TopSurface = Enum.SurfaceType.Smooth
  2269. obj23.BottomSurface = Enum.SurfaceType.Smooth
  2270. obj23.Material = Enum.Material.SmoothPlastic
  2271. obj23.Size = Vector3.new(0.25, 0.25, 0.25)
  2272. obj23.BrickColor = BrickColor.new("Hot pink")
  2273. obj23.Friction = 0.30000001192093
  2274. obj23.Shape = Enum.PartType.Ball
  2275. obj23.Parent = obj2
  2276.  
  2277. -- 24 - Part
  2278. local obj24 = Instance.new("Part")
  2279. obj24.CFrame = CFrame.new(Vector3.new(66.6352844, 3.38244724, 7.06651926)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2280. obj24.CanCollide = false
  2281. obj24.TopSurface = Enum.SurfaceType.Smooth
  2282. obj24.BottomSurface = Enum.SurfaceType.Smooth
  2283. obj24.Material = Enum.Material.SmoothPlastic
  2284. obj24.Size = Vector3.new(0.25, 0.25, 0.25)
  2285. obj24.BrickColor = BrickColor.new("Hot pink")
  2286. obj24.Friction = 0.30000001192093
  2287. obj24.Shape = Enum.PartType.Ball
  2288. obj24.Parent = obj2
  2289.  
  2290. -- 25 - Part
  2291. local obj25 = Instance.new("Part")
  2292. obj25.CFrame = CFrame.new(Vector3.new(66.753746, 3.10362744, 7.32704163)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
  2293. obj25.CanCollide = false
  2294. obj25.TopSurface = Enum.SurfaceType.Smooth
  2295. obj25.BottomSurface = Enum.SurfaceType.Smooth
  2296. obj25.Material = Enum.Material.SmoothPlastic
  2297. obj25.Size = Vector3.new(0.25, 0.25, 0.25)
  2298. obj25.BrickColor = BrickColor.new("Hot pink")
  2299. obj25.Friction = 0.30000001192093
  2300. obj25.Shape = Enum.PartType.Ball
  2301. obj25.Parent = obj2
  2302.  
  2303. -- 26 - Part
  2304. local obj26 = Instance.new("Part")
  2305. obj26.CFrame = CFrame.new(Vector3.new(66.851532, 3.01907969, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
  2306. obj26.CanCollide = false
  2307. obj26.TopSurface = Enum.SurfaceType.Smooth
  2308. obj26.BottomSurface = Enum.SurfaceType.Smooth
  2309. obj26.Material = Enum.Material.SmoothPlastic
  2310. obj26.Size = Vector3.new(0.25, 0.25, 0.25)
  2311. obj26.BrickColor = BrickColor.new("Hot pink")
  2312. obj26.Friction = 0.30000001192093
  2313. obj26.Shape = Enum.PartType.Ball
  2314. obj26.Parent = obj2
  2315.  
  2316. -- 27 - Part
  2317. local obj27 = Instance.new("Part")
  2318. obj27.CFrame = CFrame.new(Vector3.new(66.944519, 3.20876789, 7.64748764)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
  2319. obj27.CanCollide = false
  2320. obj27.TopSurface = Enum.SurfaceType.Smooth
  2321. obj27.BottomSurface = Enum.SurfaceType.Smooth
  2322. obj27.Material = Enum.Material.SmoothPlastic
  2323. obj27.Size = Vector3.new(0.25, 0.25, 0.25)
  2324. obj27.BrickColor = BrickColor.new("Hot pink")
  2325. obj27.Friction = 0.30000001192093
  2326. obj27.Shape = Enum.PartType.Ball
  2327. obj27.Parent = obj2
  2328.  
  2329. -- 28 - Part
  2330. local obj28 = Instance.new("Part")
  2331. obj28.CFrame = CFrame.new(Vector3.new(67.2306061, 4.08936405, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2332. obj28.CanCollide = false
  2333. obj28.TopSurface = Enum.SurfaceType.Smooth
  2334. obj28.BottomSurface = Enum.SurfaceType.Smooth
  2335. obj28.Material = Enum.Material.SmoothPlastic
  2336. obj28.Size = Vector3.new(0.25, 0.25, 0.25)
  2337. obj28.BrickColor = BrickColor.new("Hot pink")
  2338. obj28.Friction = 0.30000001192093
  2339. obj28.Shape = Enum.PartType.Ball
  2340. obj28.Parent = obj2
  2341.  
  2342. -- 29 - Part
  2343. local obj29 = Instance.new("Part")
  2344. obj29.CFrame = CFrame.new(Vector3.new(66.5712891, 3.99917173, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2345. obj29.CanCollide = false
  2346. obj29.TopSurface = Enum.SurfaceType.Smooth
  2347. obj29.BottomSurface = Enum.SurfaceType.Smooth
  2348. obj29.Material = Enum.Material.SmoothPlastic
  2349. obj29.Size = Vector3.new(0.25, 0.25, 0.25)
  2350. obj29.BrickColor = BrickColor.new("Hot pink")
  2351. obj29.Friction = 0.30000001192093
  2352. obj29.Shape = Enum.PartType.Ball
  2353. obj29.Parent = obj2
  2354.  
  2355. -- 30 - Part
  2356. local obj30 = Instance.new("Part")
  2357. obj30.CFrame = CFrame.new(Vector3.new(66.7236328, 4.26077843, 7.20509243)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2358. obj30.CanCollide = false
  2359. obj30.TopSurface = Enum.SurfaceType.Smooth
  2360. obj30.BottomSurface = Enum.SurfaceType.Smooth
  2361. obj30.Material = Enum.Material.SmoothPlastic
  2362. obj30.Size = Vector3.new(0.25, 0.25, 0.25)
  2363. obj30.BrickColor = BrickColor.new("Hot pink")
  2364. obj30.Friction = 0.30000001192093
  2365. obj30.Shape = Enum.PartType.Ball
  2366. obj30.Parent = obj2
  2367.  
  2368. -- 31 - Part
  2369. local obj31 = Instance.new("Part")
  2370. obj31.CFrame = CFrame.new(Vector3.new(66.5950623, 4.16077423, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2371. obj31.CanCollide = false
  2372. obj31.TopSurface = Enum.SurfaceType.Smooth
  2373. obj31.BottomSurface = Enum.SurfaceType.Smooth
  2374. obj31.Material = Enum.Material.SmoothPlastic
  2375. obj31.Size = Vector3.new(0.25, 0.25, 0.25)
  2376. obj31.BrickColor = BrickColor.new("Hot pink")
  2377. obj31.Friction = 0.30000001192093
  2378. obj31.Shape = Enum.PartType.Ball
  2379. obj31.Parent = obj2
  2380.  
  2381. -- 32 - Part
  2382. local obj32 = Instance.new("Part")
  2383. obj32.CFrame = CFrame.new(Vector3.new(67.0637207, 4.03936481, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2384. obj32.CanCollide = false
  2385. obj32.TopSurface = Enum.SurfaceType.Smooth
  2386. obj32.BottomSurface = Enum.SurfaceType.Smooth
  2387. obj32.Material = Enum.Material.SmoothPlastic
  2388. obj32.Size = Vector3.new(0.25, 0.25, 0.25)
  2389. obj32.BrickColor = BrickColor.new("Hot pink")
  2390. obj32.Friction = 0.30000001192093
  2391. obj32.Shape = Enum.PartType.Ball
  2392. obj32.Parent = obj2
  2393.  
  2394. -- 33 - Part
  2395. local obj33 = Instance.new("Part")
  2396. obj33.CFrame = CFrame.new(Vector3.new(66.4686813, 3.99917364, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2397. obj33.CanCollide = false
  2398. obj33.TopSurface = Enum.SurfaceType.Smooth
  2399. obj33.BottomSurface = Enum.SurfaceType.Smooth
  2400. obj33.Material = Enum.Material.SmoothPlastic
  2401. obj33.Size = Vector3.new(0.25, 0.25, 0.25)
  2402. obj33.BrickColor = BrickColor.new("Hot pink")
  2403. obj33.Friction = 0.30000001192093
  2404. obj33.Shape = Enum.PartType.Ball
  2405. obj33.Parent = obj2
  2406.  
  2407. -- 34 - Part
  2408. local obj34 = Instance.new("Part")
  2409. obj34.CFrame = CFrame.new(Vector3.new(66.6615219, 4.14917231, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2410. obj34.CanCollide = false
  2411. obj34.TopSurface = Enum.SurfaceType.Smooth
  2412. obj34.BottomSurface = Enum.SurfaceType.Smooth
  2413. obj34.Material = Enum.Material.SmoothPlastic
  2414. obj34.Size = Vector3.new(0.25, 0.25, 0.25)
  2415. obj34.BrickColor = BrickColor.new("Hot pink")
  2416. obj34.Friction = 0.30000001192093
  2417. obj34.Shape = Enum.PartType.Ball
  2418. obj34.Parent = obj2
  2419.  
  2420. -- 35 - Part
  2421. local obj35 = Instance.new("Part")
  2422. obj35.CFrame = CFrame.new(Vector3.new(66.8712616, 4.16257238, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2423. obj35.CanCollide = false
  2424. obj35.TopSurface = Enum.SurfaceType.Smooth
  2425. obj35.BottomSurface = Enum.SurfaceType.Smooth
  2426. obj35.Material = Enum.Material.SmoothPlastic
  2427. obj35.Size = Vector3.new(0.25, 0.25, 0.25)
  2428. obj35.BrickColor = BrickColor.new("Hot pink")
  2429. obj35.Friction = 0.30000001192093
  2430. obj35.Shape = Enum.PartType.Ball
  2431. obj35.Parent = obj2
  2432.  
  2433. -- 36 - Part
  2434. local obj36 = Instance.new("Part")
  2435. obj36.CFrame = CFrame.new(Vector3.new(66.7165604, 3.82596827, 6.77684546)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2436. obj36.CanCollide = false
  2437. obj36.TopSurface = Enum.SurfaceType.Smooth
  2438. obj36.BottomSurface = Enum.SurfaceType.Smooth
  2439. obj36.Material = Enum.Material.SmoothPlastic
  2440. obj36.Size = Vector3.new(0.25, 0.25, 0.25)
  2441. obj36.BrickColor = BrickColor.new("Hot pink")
  2442. obj36.Friction = 0.30000001192093
  2443. obj36.Shape = Enum.PartType.Ball
  2444. obj36.Parent = obj2
  2445.  
  2446. -- 37 - Part
  2447. local obj37 = Instance.new("Part")
  2448. obj37.CFrame = CFrame.new(Vector3.new(66.9846878, 4.27417517, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2449. obj37.CanCollide = false
  2450. obj37.TopSurface = Enum.SurfaceType.Smooth
  2451. obj37.BottomSurface = Enum.SurfaceType.Smooth
  2452. obj37.Material = Enum.Material.SmoothPlastic
  2453. obj37.Size = Vector3.new(0.25, 0.25, 0.25)
  2454. obj37.BrickColor = BrickColor.new("Hot pink")
  2455. obj37.Friction = 0.30000001192093
  2456. obj37.Shape = Enum.PartType.Ball
  2457. obj37.Parent = obj2
  2458.  
  2459. -- 38 - Part
  2460. local obj38 = Instance.new("Part")
  2461. obj38.CFrame = CFrame.new(Vector3.new(67.1641541, 4.10096312, 6.93975735)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2462. obj38.CanCollide = false
  2463. obj38.TopSurface = Enum.SurfaceType.Smooth
  2464. obj38.BottomSurface = Enum.SurfaceType.Smooth
  2465. obj38.Material = Enum.Material.SmoothPlastic
  2466. obj38.Size = Vector3.new(0.25, 0.25, 0.25)
  2467. obj38.BrickColor = BrickColor.new("Hot pink")
  2468. obj38.Friction = 0.30000001192093
  2469. obj38.Shape = Enum.PartType.Ball
  2470. obj38.Parent = obj2
  2471.  
  2472. -- 39 - Part
  2473. local obj39 = Instance.new("Part")
  2474. obj39.CFrame = CFrame.new(Vector3.new(66.792038, 4.26077843, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2475. obj39.CanCollide = false
  2476. obj39.TopSurface = Enum.SurfaceType.Smooth
  2477. obj39.BottomSurface = Enum.SurfaceType.Smooth
  2478. obj39.Material = Enum.Material.SmoothPlastic
  2479. obj39.Size = Vector3.new(0.25, 0.25, 0.25)
  2480. obj39.BrickColor = BrickColor.new("Hot pink")
  2481. obj39.Friction = 0.30000001192093
  2482. obj39.Shape = Enum.PartType.Ball
  2483. obj39.Parent = obj2
  2484.  
  2485. -- 40 - Part
  2486. local obj40 = Instance.new("Part")
  2487. obj40.CFrame = CFrame.new(Vector3.new(66.5005493, 3.71436262, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2488. obj40.CanCollide = false
  2489. obj40.TopSurface = Enum.SurfaceType.Smooth
  2490. obj40.BottomSurface = Enum.SurfaceType.Smooth
  2491. obj40.Material = Enum.Material.SmoothPlastic
  2492. obj40.Size = Vector3.new(0.25, 0.25, 0.25)
  2493. obj40.BrickColor = BrickColor.new("Hot pink")
  2494. obj40.Friction = 0.30000001192093
  2495. obj40.Shape = Enum.PartType.Ball
  2496. obj40.Parent = obj2
  2497.  
  2498. -- 41 - stretches
  2499. local obj41 = Instance.new("Model")
  2500. obj41.Name = "stretches"
  2501. obj41.Parent = obj1
  2502.  
  2503. -- 42 - stretchlol
  2504. local obj42 = Instance.new("Part")
  2505. obj42.CFrame = CFrame.new(Vector3.new(67.162117, 3.13544774, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
  2506. obj42.CanCollide = false
  2507. obj42.Transparency = 1
  2508. obj42.TopSurface = Enum.SurfaceType.Smooth
  2509. obj42.BottomSurface = Enum.SurfaceType.Smooth
  2510. obj42.Material = Enum.Material.SmoothPlastic
  2511. obj42.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2512. obj42.BrickColor = BrickColor.new("Pastel brown")
  2513. obj42.Friction = 0.30000001192093
  2514. obj42.Shape = Enum.PartType.Ball
  2515. obj42.Name = "stretchlol"
  2516. obj42.Parent = obj41
  2517.  
  2518. -- 43 - stretchlol
  2519. local obj43 = Instance.new("Part")
  2520. obj43.CFrame = CFrame.new(Vector3.new(67.1951675, 3.40412855, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
  2521. obj43.CanCollide = false
  2522. obj43.Transparency = 1
  2523. obj43.TopSurface = Enum.SurfaceType.Smooth
  2524. obj43.BottomSurface = Enum.SurfaceType.Smooth
  2525. obj43.Material = Enum.Material.SmoothPlastic
  2526. obj43.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2527. obj43.BrickColor = BrickColor.new("Pastel brown")
  2528. obj43.Friction = 0.30000001192093
  2529. obj43.Shape = Enum.PartType.Ball
  2530. obj43.Name = "stretchlol"
  2531. obj43.Parent = obj41
  2532.  
  2533. -- 44 - stretchlol
  2534. local obj44 = Instance.new("Part")
  2535. obj44.CFrame = CFrame.new(Vector3.new(67.5038223, 3.48357916, 7.48069382)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
  2536. obj44.CanCollide = false
  2537. obj44.Transparency = 1
  2538. obj44.TopSurface = Enum.SurfaceType.Smooth
  2539. obj44.BottomSurface = Enum.SurfaceType.Smooth
  2540. obj44.Material = Enum.Material.SmoothPlastic
  2541. obj44.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2542. obj44.BrickColor = BrickColor.new("Pastel brown")
  2543. obj44.Friction = 0.30000001192093
  2544. obj44.Shape = Enum.PartType.Ball
  2545. obj44.Name = "stretchlol"
  2546. obj44.Parent = obj41
  2547.  
  2548. -- 45 - stretchlol
  2549. local obj45 = Instance.new("Part")
  2550. obj45.CFrame = CFrame.new(Vector3.new(67.1641541, 4.12207699, 6.93975687)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2551. obj45.CanCollide = false
  2552. obj45.Transparency = 1
  2553. obj45.TopSurface = Enum.SurfaceType.Smooth
  2554. obj45.BottomSurface = Enum.SurfaceType.Smooth
  2555. obj45.Material = Enum.Material.SmoothPlastic
  2556. obj45.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2557. obj45.BrickColor = BrickColor.new("Pastel brown")
  2558. obj45.Friction = 0.30000001192093
  2559. obj45.Shape = Enum.PartType.Ball
  2560. obj45.Name = "stretchlol"
  2561. obj45.Parent = obj41
  2562.  
  2563. -- 46 - stretchlol
  2564. local obj46 = Instance.new("Part")
  2565. obj46.CFrame = CFrame.new(Vector3.new(66.8712616, 4.18368626, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2566. obj46.CanCollide = false
  2567. obj46.Transparency = 1
  2568. obj46.TopSurface = Enum.SurfaceType.Smooth
  2569. obj46.BottomSurface = Enum.SurfaceType.Smooth
  2570. obj46.Material = Enum.Material.SmoothPlastic
  2571. obj46.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2572. obj46.BrickColor = BrickColor.new("Pastel brown")
  2573. obj46.Friction = 0.30000001192093
  2574. obj46.Shape = Enum.PartType.Ball
  2575. obj46.Name = "stretchlol"
  2576. obj46.Parent = obj41
  2577.  
  2578. -- 47 - stretchlol
  2579. local obj47 = Instance.new("Part")
  2580. obj47.CFrame = CFrame.new(Vector3.new(66.8260345, 4.14528561, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2581. obj47.CanCollide = false
  2582. obj47.Transparency = 1
  2583. obj47.TopSurface = Enum.SurfaceType.Smooth
  2584. obj47.BottomSurface = Enum.SurfaceType.Smooth
  2585. obj47.Material = Enum.Material.SmoothPlastic
  2586. obj47.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2587. obj47.BrickColor = BrickColor.new("Pastel brown")
  2588. obj47.Friction = 0.30000001192093
  2589. obj47.Shape = Enum.PartType.Ball
  2590. obj47.Name = "stretchlol"
  2591. obj47.Parent = obj41
  2592.  
  2593. -- 48 - stretchlol
  2594. local obj48 = Instance.new("Part")
  2595. obj48.CFrame = CFrame.new(Vector3.new(66.7104797, 3.88547921, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2596. obj48.CanCollide = false
  2597. obj48.Transparency = 1
  2598. obj48.TopSurface = Enum.SurfaceType.Smooth
  2599. obj48.BottomSurface = Enum.SurfaceType.Smooth
  2600. obj48.Material = Enum.Material.SmoothPlastic
  2601. obj48.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2602. obj48.BrickColor = BrickColor.new("Pastel brown")
  2603. obj48.Friction = 0.30000001192093
  2604. obj48.Shape = Enum.PartType.Ball
  2605. obj48.Name = "stretchlol"
  2606. obj48.Parent = obj41
  2607.  
  2608. -- 49 - stretchlol
  2609. local obj49 = Instance.new("Part")
  2610. obj49.CFrame = CFrame.new(Vector3.new(67.0637207, 4.06047773, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2611. obj49.CanCollide = false
  2612. obj49.Transparency = 1
  2613. obj49.TopSurface = Enum.SurfaceType.Smooth
  2614. obj49.BottomSurface = Enum.SurfaceType.Smooth
  2615. obj49.Material = Enum.Material.SmoothPlastic
  2616. obj49.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2617. obj49.BrickColor = BrickColor.new("Pastel brown")
  2618. obj49.Friction = 0.30000001192093
  2619. obj49.Shape = Enum.PartType.Ball
  2620. obj49.Name = "stretchlol"
  2621. obj49.Parent = obj41
  2622.  
  2623. -- 50 - stretchlol
  2624. local obj50 = Instance.new("Part")
  2625. obj50.CFrame = CFrame.new(Vector3.new(66.7165604, 3.84708691, 6.77684498)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2626. obj50.CanCollide = false
  2627. obj50.Transparency = 1
  2628. obj50.TopSurface = Enum.SurfaceType.Smooth
  2629. obj50.BottomSurface = Enum.SurfaceType.Smooth
  2630. obj50.Material = Enum.Material.SmoothPlastic
  2631. obj50.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2632. obj50.BrickColor = BrickColor.new("Pastel brown")
  2633. obj50.Friction = 0.30000001192093
  2634. obj50.Shape = Enum.PartType.Ball
  2635. obj50.Name = "stretchlol"
  2636. obj50.Parent = obj41
  2637.  
  2638. -- 51 - stretchlol
  2639. local obj51 = Instance.new("Part")
  2640. obj51.CFrame = CFrame.new(Vector3.new(66.9846878, 4.29528904, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2641. obj51.CanCollide = false
  2642. obj51.Transparency = 1
  2643. obj51.TopSurface = Enum.SurfaceType.Smooth
  2644. obj51.BottomSurface = Enum.SurfaceType.Smooth
  2645. obj51.Material = Enum.Material.SmoothPlastic
  2646. obj51.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2647. obj51.BrickColor = BrickColor.new("Pastel brown")
  2648. obj51.Friction = 0.30000001192093
  2649. obj51.Shape = Enum.PartType.Ball
  2650. obj51.Name = "stretchlol"
  2651. obj51.Parent = obj41
  2652.  
  2653. -- 52 - stretchlol
  2654. local obj52 = Instance.new("Part")
  2655. obj52.CFrame = CFrame.new(Vector3.new(66.868927, 3.45350599, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
  2656. obj52.CanCollide = false
  2657. obj52.Transparency = 1
  2658. obj52.TopSurface = Enum.SurfaceType.Smooth
  2659. obj52.BottomSurface = Enum.SurfaceType.Smooth
  2660. obj52.Material = Enum.Material.SmoothPlastic
  2661. obj52.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2662. obj52.BrickColor = BrickColor.new("Pastel brown")
  2663. obj52.Friction = 0.30000001192093
  2664. obj52.Shape = Enum.PartType.Ball
  2665. obj52.Name = "stretchlol"
  2666. obj52.Parent = obj41
  2667.  
  2668. -- 53 - stretchlol
  2669. local obj53 = Instance.new("Part")
  2670. obj53.CFrame = CFrame.new(Vector3.new(67.287262, 3.10603261, 7.30382156)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211)
  2671. obj53.CanCollide = false
  2672. obj53.Transparency = 1
  2673. obj53.TopSurface = Enum.SurfaceType.Smooth
  2674. obj53.BottomSurface = Enum.SurfaceType.Smooth
  2675. obj53.Material = Enum.Material.SmoothPlastic
  2676. obj53.Size = Vector3.new(1.79999995, 1.04999995, 1.04999995)
  2677. obj53.BrickColor = BrickColor.new("Pastel brown")
  2678. obj53.Friction = 0.30000001192093
  2679. obj53.Shape = Enum.PartType.Cylinder
  2680. obj53.Name = "stretchlol"
  2681. obj53.Parent = obj41
  2682.  
  2683. -- 54 - stretchlol
  2684. local obj54 = Instance.new("Part")
  2685. obj54.CFrame = CFrame.new(Vector3.new(66.4686813, 4.02028799, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2686. obj54.CanCollide = false
  2687. obj54.Transparency = 1
  2688. obj54.TopSurface = Enum.SurfaceType.Smooth
  2689. obj54.BottomSurface = Enum.SurfaceType.Smooth
  2690. obj54.Material = Enum.Material.SmoothPlastic
  2691. obj54.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2692. obj54.BrickColor = BrickColor.new("Pastel brown")
  2693. obj54.Friction = 0.30000001192093
  2694. obj54.Shape = Enum.PartType.Ball
  2695. obj54.Name = "stretchlol"
  2696. obj54.Parent = obj41
  2697.  
  2698. -- 55 - stretchlol
  2699. local obj55 = Instance.new("Part")
  2700. obj55.CFrame = CFrame.new(Vector3.new(66.6615219, 4.17028332, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2701. obj55.CanCollide = false
  2702. obj55.Transparency = 1
  2703. obj55.TopSurface = Enum.SurfaceType.Smooth
  2704. obj55.BottomSurface = Enum.SurfaceType.Smooth
  2705. obj55.Material = Enum.Material.SmoothPlastic
  2706. obj55.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2707. obj55.BrickColor = BrickColor.new("Pastel brown")
  2708. obj55.Friction = 0.30000001192093
  2709. obj55.Shape = Enum.PartType.Ball
  2710. obj55.Name = "stretchlol"
  2711. obj55.Parent = obj41
  2712.  
  2713. -- 56 - stretchlol
  2714. local obj56 = Instance.new("Part")
  2715. obj56.CFrame = CFrame.new(Vector3.new(66.753746, 3.12474751, 7.32704115)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
  2716. obj56.CanCollide = false
  2717. obj56.Transparency = 1
  2718. obj56.TopSurface = Enum.SurfaceType.Smooth
  2719. obj56.BottomSurface = Enum.SurfaceType.Smooth
  2720. obj56.Material = Enum.Material.SmoothPlastic
  2721. obj56.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2722. obj56.BrickColor = BrickColor.new("Pastel brown")
  2723. obj56.Friction = 0.30000001192093
  2724. obj56.Shape = Enum.PartType.Ball
  2725. obj56.Name = "stretchlol"
  2726. obj56.Parent = obj41
  2727.  
  2728. -- 57 - stretchlol
  2729. local obj57 = Instance.new("Part")
  2730. obj57.CFrame = CFrame.new(Vector3.new(67.2306061, 4.11047649, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2731. obj57.CanCollide = false
  2732. obj57.Transparency = 1
  2733. obj57.TopSurface = Enum.SurfaceType.Smooth
  2734. obj57.BottomSurface = Enum.SurfaceType.Smooth
  2735. obj57.Material = Enum.Material.SmoothPlastic
  2736. obj57.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2737. obj57.BrickColor = BrickColor.new("Pastel brown")
  2738. obj57.Friction = 0.30000001192093
  2739. obj57.Shape = Enum.PartType.Ball
  2740. obj57.Name = "stretchlol"
  2741. obj57.Parent = obj41
  2742.  
  2743. -- 58 - stretchlol
  2744. local obj58 = Instance.new("Part")
  2745. obj58.CFrame = CFrame.new(Vector3.new(67.0756683, 3.79114079, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
  2746. obj58.CanCollide = false
  2747. obj58.Transparency = 1
  2748. obj58.TopSurface = Enum.SurfaceType.Smooth
  2749. obj58.BottomSurface = Enum.SurfaceType.Smooth
  2750. obj58.Material = Enum.Material.SmoothPlastic
  2751. obj58.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2752. obj58.BrickColor = BrickColor.new("Pastel brown")
  2753. obj58.Friction = 0.30000001192093
  2754. obj58.Shape = Enum.PartType.Ball
  2755. obj58.Name = "stretchlol"
  2756. obj58.Parent = obj41
  2757.  
  2758. -- 59 - stretchlol
  2759. local obj59 = Instance.new("Part")
  2760. obj59.CFrame = CFrame.new(Vector3.new(66.5005493, 3.73548079, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2761. obj59.CanCollide = false
  2762. obj59.Transparency = 1
  2763. obj59.TopSurface = Enum.SurfaceType.Smooth
  2764. obj59.BottomSurface = Enum.SurfaceType.Smooth
  2765. obj59.Material = Enum.Material.SmoothPlastic
  2766. obj59.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2767. obj59.BrickColor = BrickColor.new("Pastel brown")
  2768. obj59.Friction = 0.30000001192093
  2769. obj59.Shape = Enum.PartType.Ball
  2770. obj59.Name = "stretchlol"
  2771. obj59.Parent = obj41
  2772.  
  2773. -- 60 - stretchlol
  2774. local obj60 = Instance.new("Part")
  2775. obj60.CFrame = CFrame.new(Vector3.new(67.6487045, 3.41425848, 7.1938138)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
  2776. obj60.CanCollide = false
  2777. obj60.Transparency = 1
  2778. obj60.TopSurface = Enum.SurfaceType.Smooth
  2779. obj60.BottomSurface = Enum.SurfaceType.Smooth
  2780. obj60.Material = Enum.Material.SmoothPlastic
  2781. obj60.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2782. obj60.BrickColor = BrickColor.new("Pastel brown")
  2783. obj60.Friction = 0.30000001192093
  2784. obj60.Shape = Enum.PartType.Ball
  2785. obj60.Name = "stretchlol"
  2786. obj60.Parent = obj41
  2787.  
  2788. -- 61 - stretchlol
  2789. local obj61 = Instance.new("Part")
  2790. obj61.CFrame = CFrame.new(Vector3.new(67.3677139, 3.85357118, 7.33310223)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2791. obj61.CanCollide = false
  2792. obj61.Transparency = 1
  2793. obj61.TopSurface = Enum.SurfaceType.Smooth
  2794. obj61.BottomSurface = Enum.SurfaceType.Smooth
  2795. obj61.Material = Enum.Material.SmoothPlastic
  2796. obj61.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2797. obj61.BrickColor = BrickColor.new("Pastel brown")
  2798. obj61.Friction = 0.30000001192093
  2799. obj61.Shape = Enum.PartType.Ball
  2800. obj61.Name = "stretchlol"
  2801. obj61.Parent = obj41
  2802.  
  2803. -- 62 - stretchlol
  2804. local obj62 = Instance.new("Part")
  2805. obj62.CFrame = CFrame.new(Vector3.new(66.6352844, 3.40356588, 7.06651878)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2806. obj62.CanCollide = false
  2807. obj62.Transparency = 1
  2808. obj62.TopSurface = Enum.SurfaceType.Smooth
  2809. obj62.BottomSurface = Enum.SurfaceType.Smooth
  2810. obj62.Material = Enum.Material.SmoothPlastic
  2811. obj62.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2812. obj62.BrickColor = BrickColor.new("Pastel brown")
  2813. obj62.Friction = 0.30000001192093
  2814. obj62.Shape = Enum.PartType.Ball
  2815. obj62.Name = "stretchlol"
  2816. obj62.Parent = obj41
  2817.  
  2818. -- 63 - stretchlol
  2819. local obj63 = Instance.new("Part")
  2820. obj63.CFrame = CFrame.new(Vector3.new(66.7236328, 4.28189754, 7.20509195)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2821. obj63.CanCollide = false
  2822. obj63.Transparency = 1
  2823. obj63.TopSurface = Enum.SurfaceType.Smooth
  2824. obj63.BottomSurface = Enum.SurfaceType.Smooth
  2825. obj63.Material = Enum.Material.SmoothPlastic
  2826. obj63.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2827. obj63.BrickColor = BrickColor.new("Pastel brown")
  2828. obj63.Friction = 0.30000001192093
  2829. obj63.Shape = Enum.PartType.Ball
  2830. obj63.Name = "stretchlol"
  2831. obj63.Parent = obj41
  2832.  
  2833. -- 64 - stretchlol
  2834. local obj64 = Instance.new("Part")
  2835. obj64.CFrame = CFrame.new(Vector3.new(66.5712891, 4.02028799, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2836. obj64.CanCollide = false
  2837. obj64.Transparency = 1
  2838. obj64.TopSurface = Enum.SurfaceType.Smooth
  2839. obj64.BottomSurface = Enum.SurfaceType.Smooth
  2840. obj64.Material = Enum.Material.SmoothPlastic
  2841. obj64.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2842. obj64.BrickColor = BrickColor.new("Pastel brown")
  2843. obj64.Friction = 0.30000001192093
  2844. obj64.Shape = Enum.PartType.Ball
  2845. obj64.Name = "stretchlol"
  2846. obj64.Parent = obj41
  2847.  
  2848. -- 65 - stretchlol
  2849. local obj65 = Instance.new("Part")
  2850. obj65.CFrame = CFrame.new(Vector3.new(66.4981842, 3.66047978, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2851. obj65.CanCollide = false
  2852. obj65.Transparency = 1
  2853. obj65.TopSurface = Enum.SurfaceType.Smooth
  2854. obj65.BottomSurface = Enum.SurfaceType.Smooth
  2855. obj65.Material = Enum.Material.SmoothPlastic
  2856. obj65.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2857. obj65.BrickColor = BrickColor.new("Pastel brown")
  2858. obj65.Friction = 0.30000001192093
  2859. obj65.Shape = Enum.PartType.Ball
  2860. obj65.Name = "stretchlol"
  2861. obj65.Parent = obj41
  2862.  
  2863. -- 66 - stretchlol
  2864. local obj66 = Instance.new("Part")
  2865. obj66.CFrame = CFrame.new(Vector3.new(66.7920303, 4.28189754, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2866. obj66.CanCollide = false
  2867. obj66.Transparency = 1
  2868. obj66.TopSurface = Enum.SurfaceType.Smooth
  2869. obj66.BottomSurface = Enum.SurfaceType.Smooth
  2870. obj66.Material = Enum.Material.SmoothPlastic
  2871. obj66.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2872. obj66.BrickColor = BrickColor.new("Pastel brown")
  2873. obj66.Friction = 0.30000001192093
  2874. obj66.Shape = Enum.PartType.Ball
  2875. obj66.Name = "stretchlol"
  2876. obj66.Parent = obj41
  2877.  
  2878. -- 67 - stretchlol
  2879. local obj67 = Instance.new("Part")
  2880. obj67.CFrame = CFrame.new(Vector3.new(66.5950623, 4.18188763, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2881. obj67.CanCollide = false
  2882. obj67.Transparency = 1
  2883. obj67.TopSurface = Enum.SurfaceType.Smooth
  2884. obj67.BottomSurface = Enum.SurfaceType.Smooth
  2885. obj67.Material = Enum.Material.SmoothPlastic
  2886. obj67.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2887. obj67.BrickColor = BrickColor.new("Pastel brown")
  2888. obj67.Friction = 0.30000001192093
  2889. obj67.Shape = Enum.PartType.Ball
  2890. obj67.Name = "stretchlol"
  2891. obj67.Parent = obj41
  2892.  
  2893. -- 68 - stretchlol
  2894. local obj68 = Instance.new("Part")
  2895. obj68.CFrame = CFrame.new(Vector3.new(67.4115601, 3.73646879, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
  2896. obj68.CanCollide = false
  2897. obj68.Transparency = 1
  2898. obj68.TopSurface = Enum.SurfaceType.Smooth
  2899. obj68.BottomSurface = Enum.SurfaceType.Smooth
  2900. obj68.Material = Enum.Material.SmoothPlastic
  2901. obj68.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2902. obj68.BrickColor = BrickColor.new("Pastel brown")
  2903. obj68.Friction = 0.30000001192093
  2904. obj68.Shape = Enum.PartType.Ball
  2905. obj68.Name = "stretchlol"
  2906. obj68.Parent = obj41
  2907.  
  2908. -- 69 - stretchlol
  2909. local obj69 = Instance.new("Part")
  2910. obj69.CFrame = CFrame.new(Vector3.new(66.8643951, 3.88548112, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2911. obj69.CanCollide = false
  2912. obj69.Transparency = 1
  2913. obj69.TopSurface = Enum.SurfaceType.Smooth
  2914. obj69.BottomSurface = Enum.SurfaceType.Smooth
  2915. obj69.Material = Enum.Material.SmoothPlastic
  2916. obj69.Size = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  2917. obj69.BrickColor = BrickColor.new("Pastel brown")
  2918. obj69.Friction = 0.30000001192093
  2919. obj69.Shape = Enum.PartType.Ball
  2920. obj69.Name = "stretchlol"
  2921. obj69.Parent = obj41
  2922.  
  2923. -- 70 - stretchlol
  2924. local obj70 = Instance.new("Part")
  2925. obj70.CFrame = CFrame.new(Vector3.new(67.4108353, 3.29388237, 6.88037777)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
  2926. obj70.CanCollide = false
  2927. obj70.Transparency = 1
  2928. obj70.TopSurface = Enum.SurfaceType.Smooth
  2929. obj70.BottomSurface = Enum.SurfaceType.Smooth
  2930. obj70.Material = Enum.Material.SmoothPlastic
  2931. obj70.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2932. obj70.BrickColor = BrickColor.new("Pastel brown")
  2933. obj70.Friction = 0.30000001192093
  2934. obj70.Shape = Enum.PartType.Ball
  2935. obj70.Name = "stretchlol"
  2936. obj70.Parent = obj41
  2937.  
  2938. -- 71 - stretchlol
  2939. local obj71 = Instance.new("Part")
  2940. obj71.CFrame = CFrame.new(Vector3.new(67.1960983, 3.65356374, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  2941. obj71.CanCollide = false
  2942. obj71.Transparency = 1
  2943. obj71.TopSurface = Enum.SurfaceType.Smooth
  2944. obj71.BottomSurface = Enum.SurfaceType.Smooth
  2945. obj71.Material = Enum.Material.SmoothPlastic
  2946. obj71.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2947. obj71.BrickColor = BrickColor.new("Pastel brown")
  2948. obj71.Friction = 0.30000001192093
  2949. obj71.Shape = Enum.PartType.Ball
  2950. obj71.Name = "stretchlol"
  2951. obj71.Parent = obj41
  2952.  
  2953. -- 72 - stretchlol
  2954. local obj72 = Instance.new("Part")
  2955. obj72.CFrame = CFrame.new(Vector3.new(66.944519, 3.22988653, 7.64748716)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
  2956. obj72.CanCollide = false
  2957. obj72.Transparency = 1
  2958. obj72.TopSurface = Enum.SurfaceType.Smooth
  2959. obj72.BottomSurface = Enum.SurfaceType.Smooth
  2960. obj72.Material = Enum.Material.SmoothPlastic
  2961. obj72.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2962. obj72.BrickColor = BrickColor.new("Pastel brown")
  2963. obj72.Friction = 0.30000001192093
  2964. obj72.Shape = Enum.PartType.Ball
  2965. obj72.Name = "stretchlol"
  2966. obj72.Parent = obj41
  2967.  
  2968. -- 73 - stretchlol
  2969. local obj73 = Instance.new("Part")
  2970. obj73.CFrame = CFrame.new(Vector3.new(66.851532, 3.04020095, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
  2971. obj73.CanCollide = false
  2972. obj73.Transparency = 1
  2973. obj73.TopSurface = Enum.SurfaceType.Smooth
  2974. obj73.BottomSurface = Enum.SurfaceType.Smooth
  2975. obj73.Material = Enum.Material.SmoothPlastic
  2976. obj73.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2977. obj73.BrickColor = BrickColor.new("Pastel brown")
  2978. obj73.Friction = 0.30000001192093
  2979. obj73.Shape = Enum.PartType.Ball
  2980. obj73.Name = "stretchlol"
  2981. obj73.Parent = obj41
  2982.  
  2983. -- 74 - stretchlol
  2984. local obj74 = Instance.new("Part")
  2985. obj74.CFrame = CFrame.new(Vector3.new(66.5551376, 3.48395109, 7.33871603)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
  2986. obj74.CanCollide = false
  2987. obj74.Transparency = 1
  2988. obj74.TopSurface = Enum.SurfaceType.Smooth
  2989. obj74.BottomSurface = Enum.SurfaceType.Smooth
  2990. obj74.Material = Enum.Material.SmoothPlastic
  2991. obj74.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  2992. obj74.BrickColor = BrickColor.new("Pastel brown")
  2993. obj74.Friction = 0.30000001192093
  2994. obj74.Shape = Enum.PartType.Ball
  2995. obj74.Name = "stretchlol"
  2996. obj74.Parent = obj41
  2997.  
  2998. -- 75 - stretchlol
  2999. local obj75 = Instance.new("Part")
  3000. obj75.CFrame = CFrame.new(Vector3.new(66.8069, 3.60357046, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  3001. obj75.CanCollide = false
  3002. obj75.Transparency = 1
  3003. obj75.TopSurface = Enum.SurfaceType.Smooth
  3004. obj75.BottomSurface = Enum.SurfaceType.Smooth
  3005. obj75.Material = Enum.Material.SmoothPlastic
  3006. obj75.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  3007. obj75.BrickColor = BrickColor.new("Pastel brown")
  3008. obj75.Friction = 0.30000001192093
  3009. obj75.Shape = Enum.PartType.Ball
  3010. obj75.Name = "stretchlol"
  3011. obj75.Parent = obj41
  3012.  
  3013. -- 76 - stretchlol
  3014. local obj76 = Instance.new("Part")
  3015. obj76.CFrame = CFrame.new(Vector3.new(67.0182953, 3.88547921, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
  3016. obj76.CanCollide = false
  3017. obj76.Transparency = 1
  3018. obj76.TopSurface = Enum.SurfaceType.Smooth
  3019. obj76.BottomSurface = Enum.SurfaceType.Smooth
  3020. obj76.Material = Enum.Material.SmoothPlastic
  3021. obj76.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  3022. obj76.BrickColor = BrickColor.new("Pastel brown")
  3023. obj76.Friction = 0.30000001192093
  3024. obj76.Shape = Enum.PartType.Ball
  3025. obj76.Name = "stretchlol"
  3026. obj76.Parent = obj41
  3027. obj1.PrimaryPart = obj4
  3028.  
  3029. local stretches = obj41:GetChildren()
  3030. for i,v in pairs(stretches) do
  3031. v.Anchored = true
  3032. v.Parent = obj1
  3033. end
  3034. for i,v in pairs(obj2:GetChildren()) do
  3035. v.Anchored = true
  3036. v.Parent = obj1
  3037. end
  3038. obj2:Destroy()
  3039. obj41:Destroy()
  3040.  
  3041. local previous = nil
  3042. for i,v in pairs(obj1:GetChildren()) do
  3043. if v:IsA('BasePart') then
  3044. if previous then
  3045. local weld = Instance.new('Weld',v)
  3046. weld.Part0 = v
  3047. weld.Part1 = previous
  3048. weld.C0 = v.CFrame:inverse() * previous.CFrame
  3049. previous.Anchored = false
  3050. previous.CanCollide = false
  3051. local vee = v
  3052. weld.AncestryChanged:connect(function(mez,par)
  3053. wait()
  3054. weld.Parent = vee
  3055. end)
  3056. end
  3057. previous = v
  3058. end
  3059. end
  3060. previous.Anchored = false
  3061. previous.CanCollide = false
  3062. obj1:SetPrimaryPartCFrame(handle.CFrame*CFrame.Angles(0,math.rad(180),0)+Vector3.new(0,100,0))
  3063. -- 2 - Part
  3064. local ree = Instance.new("Part")
  3065. ree.CFrame = CFrame.new(Vector3.new(50.5, 141, 5.5))
  3066. ree.Transparency = 0.80000001192093
  3067. ree.Material = Enum.Material.Neon
  3068. ree.CFrame = CFrame.new(obj4.Position)
  3069. ree.Size = Vector3.new(5, math.huge, 5)
  3070. ree.BrickColor = BrickColor.new("New Yeller")
  3071. ree.Friction = 0.30000001192093
  3072. ree.Shape = Enum.PartType.Block
  3073. ree.Parent = handle
  3074.  
  3075. -- 3 - Mesh
  3076. local ree2 = Instance.new("CylinderMesh")
  3077. ree2.Parent = ree
  3078. local thing = Instance.new('BodyPosition',obj9)
  3079. local thing2 = Instance.new('BodyPosition',ree)
  3080. thing2.P = 100000
  3081. thing2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3082. thing.MaxForce = Vector3.new(10000,10000,10000)
  3083. for i=1,100 do
  3084. thing2.Position = obj4.Position
  3085. obj1:SetPrimaryPartCFrame(CFrame.new(obj1.PrimaryPart.Position)*CFrame.Angles(math.rad(handle.Orientation.X),math.rad(handle.Orientation.Y),math.rad(handle.Orientation.Z))*CFrame.Angles(0,math.rad(180),0))
  3086. thing.Position = handle.Position+(handle.CFrame.rightVector*0.5)
  3087. wait()
  3088. end
  3089. thing:Destroy()
  3090. local lmfao = Instance.new('Weld',obj4)
  3091. lmfao.C0 = CFrame.new(2.5,0.2,0)*CFrame.Angles(0,math.rad(180),0)
  3092. lmfao.Part0 = obj4
  3093. lmfao.Part1 = handle
  3094. ree:Destroy()
  3095. working = false
  3096. end
  3097.  
  3098. function katanamode()
  3099. blademode = "katana"
  3100. -- 1 - weeb shit
  3101. local weebshit1 = handle
  3102.  
  3103. -- 16 - top cap
  3104. local weebshit16 = Instance.new("Part")
  3105. weebshit16.CFrame = CFrame.new(Vector3.new(206.400146, 11.5499945, 5.00058556)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  3106. weebshit16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3107. weebshit16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3108. weebshit16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3109. weebshit16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3110. weebshit16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3111. weebshit16.Size = Vector3.new(0.1, 0.05,0.05) --0.65, 0.65
  3112. weebshit16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3113. weebshit16.Anchored = false
  3114. weebshit16.BrickColor = BrickColor.new("Really black")
  3115. weebshit16.Friction = 0.30000001192093
  3116. weebshit16.Shape = Enum.PartType.Cylinder
  3117. weebshit16.Name = "top cap"
  3118. weebshit16.Parent = weebshit1
  3119. local weld = Instance.new('Weld',weebshit16)
  3120. weld.Part0 = weebshit16
  3121. weld.Part1 = handle
  3122. weld.C1 = CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048)
  3123. --weld,part,endsize,endpos,amntime
  3124. grow(weld,weebshit16,Vector3.new(0.1,0.65,0.65),CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048),0.1)
  3125.  
  3126. -- 8 - blade
  3127. local weebshit8 = Instance.new("Part")
  3128. weebshit8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3129. weebshit8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3130. weebshit8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3131. weebshit8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3132. weebshit8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3133. weebshit8.Material = Enum.Material.Metal
  3134. weebshit8.Size = Vector3.new(0.23,0.05, 0.1)
  3135. weebshit8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3136. weebshit8.Anchored = false
  3137. weebshit8.BrickColor = BrickColor.new("Dark stone grey")
  3138. weebshit8.Friction = 0.30000001192093
  3139. weebshit8.Shape = Enum.PartType.Block
  3140. weebshit8.Name = "blade"
  3141. weebshit8.Parent = weebshit1
  3142. weebshit8:BreakJoints()
  3143. local bld1 = weebshit8
  3144. local weld2 = Instance.new('Weld',weebshit8)
  3145. weld2.Part0 = weebshit8
  3146. weld2.Part1 = handle
  3147. weld2.C1 = CFrame.new(0.75, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90))
  3148. local coru=coroutine.wrap(function()
  3149. grow(weld2,weebshit8,Vector3.new(0.23,1.17,0.1),CFrame.new(1.25, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)),0.05)
  3150. end)
  3151. coru()
  3152.  
  3153. -- 9 - blade
  3154. local weebshit9 = Instance.new("Part")
  3155. weebshit9.CFrame = CFrame.new(Vector3.new(206.475388, 13.3372736, 5.00158167)) * CFrame.Angles(-0, 0, 0.052359949797392)
  3156. weebshit9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3157. weebshit9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3158. weebshit9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3159. weebshit9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3160. weebshit9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3161. weebshit9.Material = Enum.Material.Metal
  3162. weebshit9.Size = Vector3.new(0.100000009, 0.05, 0.0500000007)
  3163. weebshit9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3164. weebshit9.Anchored = false
  3165. weebshit9.BrickColor = BrickColor.new("Pearl")
  3166. weebshit9.Friction = 0.30000001192093
  3167. weebshit9.Shape = Enum.PartType.Block
  3168. weebshit9.Name = "blade"
  3169. weebshit9.Parent = weebshit8
  3170. local bld2 = weebshit9
  3171. local weld3 = Instance.new('Weld',weebshit9)
  3172. weld3.Part0 = weebshit9
  3173. weld3.Part1 = weebshit8
  3174. weld3.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0)
  3175. grow(weld3,weebshit9,Vector3.new(0.100000009, 1.17, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.05)
  3176. -- 10 - blade
  3177. local weebshit10 = Instance.new("Part")
  3178. weebshit10.CFrame = CFrame.new(Vector3.new(206.26973, 14.458313, 5)) * CFrame.Angles(-0, 0, 0.10472027212381)
  3179. weebshit10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3180. weebshit10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3181. weebshit10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3182. weebshit10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3183. weebshit10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3184. weebshit10.Material = Enum.Material.Metal
  3185. weebshit10.Size = Vector3.new(0.229999945, 0.05, 0.100000009)
  3186. weebshit10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3187. weebshit10.Anchored = false
  3188. weebshit10.BrickColor = BrickColor.new("Dark stone grey")
  3189. weebshit10.Friction = 0.30000001192093
  3190. weebshit10.Shape = Enum.PartType.Block
  3191. weebshit10.Name = "blade"
  3192. weebshit10.Parent = weebshit1
  3193. local weld4 = Instance.new('Weld',weebshit10)
  3194. weld4.Part0 = weebshit10
  3195. weld4.Part1 = weebshit8
  3196. weld4.C1 = CFrame.new(-0.01, 0.55, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095)
  3197. local coru=coroutine.wrap(function()
  3198. grow(weld4,weebshit10,Vector3.new(0.23,1.17,0.1),CFrame.new(-0.0285797119, 1.14634609, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095),0.1)
  3199. end)
  3200. coru()
  3201. -- 11 - blade
  3202. local weebshit11 = Instance.new("Part")
  3203. weebshit11.CFrame = CFrame.new(Vector3.new(206.384079, 14.4703341, 5.00158167)) * CFrame.Angles(-0, 0, 0.10472027212381)
  3204. weebshit11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3205. weebshit11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3206. weebshit11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3207. weebshit11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3208. weebshit11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3209. weebshit11.Material = Enum.Material.Metal
  3210. weebshit11.Size = Vector3.new(0.100000009, 0.05, 0.0500000007)
  3211. weebshit11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3212. weebshit11.Anchored = false
  3213. weebshit11.BrickColor = BrickColor.new("Pearl")
  3214. weebshit11.Friction = 0.30000001192093
  3215. weebshit11.Shape = Enum.PartType.Block
  3216. weebshit11.Name = "blade"
  3217. weebshit11.Parent = weebshit1
  3218. local weld5 = Instance.new('Weld',weebshit10)
  3219. weld5.Part0 = weebshit10
  3220. weld5.Part1 = weebshit11
  3221. weld5.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0)
  3222. grow(weld5,weebshit11,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(-0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1)
  3223.  
  3224. -- 15 - blade
  3225. local weebshit15 = Instance.new("Part")
  3226. weebshit15.CFrame = CFrame.new(Vector3.new(206.36055, 13.3312511, 5)) * CFrame.Angles(-0, 0, 0.052359949797392)
  3227. weebshit15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3228. weebshit15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3229. weebshit15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3230. weebshit15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3231. weebshit15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3232. weebshit15.Material = Enum.Material.Metal
  3233. weebshit15.Size = Vector3.new(0.229999945, 0.55, 0.100000009)
  3234. weebshit15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3235. weebshit15.Anchored = false
  3236. weebshit15.BrickColor = BrickColor.new("Dark stone grey")
  3237. weebshit15.Friction = 0.30000001192093
  3238. weebshit15.Shape = Enum.PartType.Block
  3239. weebshit15.Name = "blade"
  3240. weebshit15.Parent = weebshit1
  3241. local weld6 = Instance.new('Weld',weebshit15)
  3242. weld6.Part0 = weebshit15
  3243. weld6.Part1 = weebshit10
  3244. weld6.C1 = CFrame.new(-0.01, -0.55, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006)
  3245. local coru=coroutine.wrap(function()
  3246. grow(weld6,weebshit15,Vector3.new(0.229999945, 1.17000151, 0.100000009),CFrame.new(-0.0274810791, -1.13038063, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006),0.1)
  3247. end)
  3248. coru()
  3249.  
  3250. -- 12 - blade
  3251. local weebshit12 = Instance.new("Part")
  3252. weebshit12.CFrame = CFrame.new(Vector3.new(206.50705, 12.1849957, 5.00158167)) * CFrame.Angles(-0, 0, -0)
  3253. weebshit12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3254. weebshit12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3255. weebshit12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3256. weebshit12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3257. weebshit12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3258. weebshit12.Material = Enum.Material.Metal
  3259. weebshit12.Size = Vector3.new(0.100000009, 0.05, 0.0500000007)
  3260. weebshit12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3261. weebshit12.Anchored = false
  3262. weebshit12.BrickColor = BrickColor.new("Pearl")
  3263. weebshit12.Friction = 0.30000001192093
  3264. weebshit12.Shape = Enum.PartType.Block
  3265. weebshit12.Name = "blade"
  3266. weebshit12.Parent = weebshit1
  3267. local weld7 = Instance.new('Weld',weebshit12)
  3268. weld7.Part0 = weebshit12
  3269. weld7.Part1 = weebshit15
  3270. weld7.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0)
  3271. grow(weld7,weebshit12,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1)
  3272.  
  3273. -- 14 - blade
  3274. local weebshit14 = Instance.new("Part")
  3275. weebshit14.CFrame = CFrame.new(Vector3.new(206.155365, 15.3628922, 5)) * CFrame.Angles(-0, 0, 0.15708021819592)
  3276. weebshit14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3277. weebshit14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3278. weebshit14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3279. weebshit14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3280. weebshit14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3281. weebshit14.Material = Enum.Material.Metal
  3282. weebshit14.Size = Vector3.new(0.229999945, 0.05, 0.100000009)
  3283. weebshit14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3284. weebshit14.Anchored = false
  3285. weebshit14.BrickColor = BrickColor.new("Dark stone grey")
  3286. weebshit14.Friction = 0.30000001192093
  3287. weebshit14.Shape = Enum.PartType.Block
  3288. weebshit14.Name = "blade"
  3289. weebshit14.Parent = weebshit1
  3290. local weld8 = Instance.new('Weld',weebshit14)
  3291. weld8.Part0 = weebshit14
  3292. weld8.Part1 = weebshit15
  3293. weld8.C1 = CFrame.new(-0.01, 0.45, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1)
  3294. local coru=coroutine.wrap(function()
  3295. grow(weld8,weebshit14,Vector3.new(0.229999945, 0.700001657, 0.100000009),CFrame.new(-0.0191650391, 0.911635399, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1),0.1)
  3296. end)
  3297. coru()
  3298.  
  3299. -- 13 - blade
  3300. local weebshit13 = Instance.new("Part")
  3301. weebshit13.CFrame = CFrame.new(Vector3.new(206.268967, 15.3808832, 5.00158167)) * CFrame.Angles(-0, 0, 0.15708021819592)
  3302. weebshit13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3303. weebshit13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3304. weebshit13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3305. weebshit13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3306. weebshit13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3307. weebshit13.Material = Enum.Material.Metal
  3308. weebshit13.Size = Vector3.new(0.100000009, 0.05, 0.0500000007)
  3309. weebshit13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3310. weebshit13.Anchored = false
  3311. weebshit13.BrickColor = BrickColor.new("Pearl")
  3312. weebshit13.Friction = 0.30000001192093
  3313. weebshit13.Shape = Enum.PartType.Block
  3314. weebshit13.Name = "blade"
  3315. weebshit13.Parent = weebshit1
  3316. local weld9 = Instance.new('Weld',weebshit13)
  3317. weld9.Part0 = weebshit13
  3318. weld9.Part1 = weebshit14
  3319. weld9.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  3320. grow(weld9,weebshit13,Vector3.new(0.100000009, 0.699998796, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1)
  3321.  
  3322. -- 18 - blade
  3323. local weebshit18 = Instance.new("WedgePart")
  3324. weebshit18.CFrame = CFrame.new(Vector3.new(206.077118, 15.85674, 5)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063)
  3325. weebshit18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3326. weebshit18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3327. weebshit18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3328. weebshit18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3329. weebshit18.Material = Enum.Material.Metal
  3330. weebshit18.Size = Vector3.new(0.100000009, 0.05, 0.230000108)
  3331. weebshit18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3332. weebshit18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3333. weebshit18.Anchored = false
  3334. weebshit18.BrickColor = BrickColor.new("Dark stone grey")
  3335. weebshit18.Friction = 0.30000001192093
  3336. weebshit18.Name = "blade"
  3337. weebshit18.Parent = weebshit1
  3338. local weld10 = Instance.new('Weld',weebshit18)
  3339. weld10.Part0 = weebshit18
  3340. weld10.Part1 = weebshit14
  3341. weld10.C1 = CFrame.new(-0.015, 0.299937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0)
  3342. local coru=coroutine.wrap(function()
  3343. grow(weld10,weebshit18,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.499937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0),0.1)
  3344. end)
  3345. coru()
  3346.  
  3347. -- 19 - blade
  3348. local weebshit19 = Instance.new("WedgePart")
  3349. weebshit19.CFrame = CFrame.new(Vector3.new(206.096375, 15.8952179, 5.00177383)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063)
  3350. weebshit19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3351. weebshit19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3352. weebshit19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3353. weebshit19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3354. weebshit19.Material = Enum.Material.Metal
  3355. weebshit19.Size = Vector3.new(0.0500000007, 0.05, 0.280000091)
  3356. weebshit19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3357. weebshit19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3358. weebshit19.Anchored = false
  3359. weebshit19.BrickColor = BrickColor.new("Pearl")
  3360. weebshit19.Friction = 0.30000001192093
  3361. weebshit19.Name = "blade"
  3362. weebshit19.Parent = weebshit1
  3363. local weld11 = Instance.new('Weld',weebshit19)
  3364. weld11.Part0 = weebshit19
  3365. weld11.Part1 = weebshit18
  3366. weld11.C1 = CFrame.new(0, 0, -0.029) * CFrame.Angles(0, 0, 0)
  3367. local coru=coroutine.wrap(function()
  3368. grow(weld11,weebshit19,Vector3.new(0.05, 0.37, 0.28),CFrame.new(0, 0.011, -0.029) * CFrame.Angles(0, 0, 0),0.1)
  3369. end)
  3370. coru()
  3371. end
  3372.  
  3373. function gunmode()
  3374. working = true
  3375.  
  3376. working = false
  3377. end
  3378.  
  3379. function knifemode()
  3380. blademode = "knife"
  3381. -- 6 - thicc cap
  3382. local obj6 = Instance.new("Part")
  3383. obj6.CFrame = CFrame.new(Vector3.new(202.399948, 10.5999813, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07)
  3384. obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3385. obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3386. obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3387. obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3388. obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3389. obj6.Size = Vector3.new(0.3, 0.3, 0.3)
  3390. obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3391. obj6.Anchored = false
  3392. obj6.BrickColor = BrickColor.new("Really black")
  3393. obj6.Friction = 0.30000001192093
  3394. obj6.Shape = Enum.PartType.Ball
  3395. obj6.Name = "thicc cap"
  3396. obj6.Parent = handle
  3397. local weld2 = Instance.new('Weld',obj6)
  3398. weld2.Part0 = obj6
  3399. weld2.Part1 = handle
  3400. weld2.C0 = CFrame.new(0.4, 0, 0)
  3401. grow(weld2,obj6,Vector3.new(0.3, 0.3, 0.3),CFrame.new(-0.15, 0, 0),0.1)
  3402.  
  3403. -- 8 - thicc top cap
  3404. local obj8 = Instance.new("Part")
  3405. obj8.CFrame = CFrame.new(Vector3.new(202.399963, 11.3000078, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07)
  3406. obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3407. obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3408. obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3409. obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3410. obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3411. obj8.Size = Vector3.new(0.3, 0.3, 0.3)
  3412. obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3413. obj8.Anchored = false
  3414. obj8.BrickColor = BrickColor.new("Really black")
  3415. obj8.Friction = 0.30000001192093
  3416. obj8.Shape = Enum.PartType.Ball
  3417. obj8.Name = "thicc top cap"
  3418. obj8.Parent = handle
  3419. local weld1 = Instance.new('Weld',obj8)
  3420. weld1.Part0 = obj8
  3421. weld1.Part1 = handle
  3422. weld1.C0 = CFrame.new(-0.4, 0, 0)
  3423. grow(weld1,obj8,Vector3.new(0.3, 0.3, 0.3),CFrame.new(0.15, 0, 0),0.1)
  3424. -- 4 - thicc blade
  3425. local obj4 = Instance.new("Part")
  3426. obj4.CFrame = CFrame.new(Vector3.new(202.40007, 12.1600046, 5.00099707)) * CFrame.Angles(-0, 0, -0)
  3427. obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3428. obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3429. obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3430. obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3431. obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3432. obj4.Material = Enum.Material.Metal
  3433. obj4.Size = Vector3.new(0.23, 0.1, 0.1)
  3434. obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3435. obj4.Anchored = false
  3436. obj4.BrickColor = BrickColor.new("Dark stone grey")
  3437. obj4.Friction = 0.30000001192093
  3438. obj4.Shape = Enum.PartType.Block
  3439. obj4.Name = "blade"
  3440. obj4.Parent = handle
  3441. local weld4 = Instance.new('Weld',obj4)
  3442. weld4.Part0 = obj4
  3443. weld4.Part1 = handle
  3444. weld4.C0 = CFrame.new(0, -0.535, 0)*CFrame.Angles(0,0,math.rad(90))
  3445. local coru=coroutine.wrap(function()
  3446. grow(weld4,obj4,Vector3.new(0.23, 1.19, 0.1),CFrame.new(0.5, 0, 0),0.1)
  3447. end)
  3448. coru()
  3449.  
  3450. -- 5 - thicc blade
  3451. local obj5 = Instance.new("Part")
  3452. obj5.CFrame = CFrame.new(Vector3.new(202.507141, 12.1749954, 5.00158167)) * CFrame.Angles(-0, 0, -0)
  3453. obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3454. obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3455. obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3456. obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3457. obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3458. obj5.Material = Enum.Material.Metal
  3459. obj5.Size = Vector3.new(0.100000009, 0.1, 0.0500000007)
  3460. obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3461. obj5.Anchored = false
  3462. obj5.BrickColor = BrickColor.new("Pearl")
  3463. obj5.Friction = 0.30000001192093
  3464. obj5.Shape = Enum.PartType.Block
  3465. obj5.Name = "blade"
  3466. obj5.Parent = handle
  3467. local weld5 = Instance.new('Weld',obj5)
  3468. weld5.Part0 = obj5
  3469. weld5.Part1 = obj4
  3470. weld5.C0 = CFrame.new(0.09, 0, 0)*CFrame.Angles(0,0,0)
  3471. grow(weld5,obj5,Vector3.new(0.1, 1.19, 0.05),CFrame.new(0, 0, 0),0.1)
  3472.  
  3473. -- 3 - thicc blade
  3474. local obj3 = Instance.new("WedgePart")
  3475. obj3.CFrame = CFrame.new(Vector3.new(202.40007, 12.9000006, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0)
  3476. obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3477. obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3478. obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3479. obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3480. obj3.Material = Enum.Material.Metal
  3481. obj3.Size = Vector3.new(0.1, 0, 0.23)
  3482. obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3483. obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3484. obj3.Anchored = false
  3485. obj3.BrickColor = BrickColor.new("Dark stone grey")
  3486. obj3.Friction = 0.30000001192093
  3487. obj3.Name = "blade"
  3488. obj3.Parent = handle
  3489. local weld6 = Instance.new('Weld',obj3)
  3490. weld6.Part0 = obj3
  3491. weld6.Part1 = obj4
  3492. weld6.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0))
  3493. local coru=coroutine.wrap(function()
  3494. grow(weld6,obj3,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.15, 0),0.05)
  3495. end)
  3496. coru()
  3497.  
  3498. -- 2 - thicc blade
  3499. local obj2 = Instance.new("WedgePart")
  3500. obj2.CFrame = CFrame.new(Vector3.new(202.423431, 12.9305696, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0)
  3501. obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  3502. obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  3503. obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  3504. obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  3505. obj2.Material = Enum.Material.Metal
  3506. obj2.Size = Vector3.new(0.05, 0, 0.26)
  3507. obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  3508. obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  3509. obj2.Anchored = false
  3510. obj2.BrickColor = BrickColor.new("Lily white")
  3511. obj2.Friction = 0.30000001192093
  3512. obj2.Name = "blade"
  3513. obj2.Parent = handle
  3514. local weld7 = Instance.new('Weld',obj2)
  3515. weld7.Part0 = obj2
  3516. weld7.Part1 = obj4
  3517. weld7.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0))
  3518. grow(weld7,obj2,Vector3.new(0.05, 0.33, 0.24),CFrame.new(-0.02, 0.165, 0),0.05)
  3519. end
  3520.  
  3521. function raep()
  3522. working = true
  3523. pcall(function()
  3524. local holyshit = Instance.new("Sound", handle)
  3525. holyshit.SoundId = "rbxassetid://345287845"
  3526. holyshit.Volume = 5
  3527. holyshit:Play()
  3528. holyshit.TimePosition = 0.6
  3529. --[[local waitwhatthefuck = Instance.new("Sound", handle)
  3530. waitwhatthefuck.SoundId = "rbxassetid://864314263"
  3531. waitwhatthefuck:Play()]]--
  3532. local coru=coroutine.wrap(function()
  3533. wait(1.95)
  3534. holyshit.TimePosition = 2.8
  3535. end)
  3536. coru()
  3537. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  3538. tweld.Part0 = char.HumanoidRootPart
  3539. tweld.Part1 = char.Torso
  3540. local rweld = Instance.new("Weld", char["Right Arm"])
  3541. rweld.Part0 = char["Torso"]
  3542. rweld.Part1 = char["Right Arm"]
  3543. rweld.C0 = CFrame.new(1.5, 0, 0)
  3544. local lweld = Instance.new("Weld", char["Left Arm"])
  3545. lweld.Part0 = char.Torso
  3546. lweld.Part1 = char["Left Arm"]
  3547. lweld.C0 = CFrame.new(-1.5, 0, 0)
  3548.  
  3549. char.Humanoid.WalkSpeed = 16
  3550.  
  3551. local cor = coroutine.wrap(function()
  3552. lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(50)),0.2)
  3553. end)
  3554. local cor2 = coroutine.wrap(function()
  3555. lerp(tweld,tweld.C0,CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(-15), math.rad(-45), math.rad(0)),0.2)
  3556. end)
  3557. cor()
  3558. cor2()
  3559. lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, -0.35) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)),0.2)
  3560.  
  3561. local particl = Instance.new("ParticleEmitter")
  3562. particl.LightEmission = 3
  3563. particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.25, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))})
  3564. particl.LightInfluence = 0.75
  3565. particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
  3566. particl.Lifetime = NumberRange.new(0.1, 0.5)
  3567. particl.Rate = 50
  3568. particl.RotSpeed = NumberRange.new(300, 300)
  3569. particl.Speed = NumberRange.new(0, 1)
  3570. particl.SpreadAngle = Vector2.new(90, 90)
  3571. particl.Parent = handle
  3572.  
  3573. for i, v in pairs(handle["pink toy"]:GetChildren()) do
  3574. if v:IsA("Part") then
  3575. cooldildo = particl:Clone()
  3576. cooldildo.Parent = v
  3577. end
  3578. end
  3579.  
  3580. particl:Remove()
  3581.  
  3582. wait(1)
  3583. MOAN = true
  3584.  
  3585. char.Humanoid.WalkSpeed = 75
  3586.  
  3587.  
  3588. local cor = coroutine.wrap(function()
  3589. lerp(rweld,rweld.C0,CFrame.new(1.6, 0.5, -0.75) * CFrame.Angles(0, math.rad(55), math.rad(90)),0.06)
  3590. end)
  3591. local cor2 = coroutine.wrap(function()
  3592. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),0.06)
  3593. end)
  3594. local cor3 = coroutine.wrap(function()
  3595. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.06)
  3596. end)
  3597. cor()
  3598. cor2()
  3599. cor3()
  3600. lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.06)
  3601. local omgg = 0
  3602. repeat wait(0.05) omgg = omgg+0.05 until aidsificating ~= nil or omgg > 2
  3603. holyshit:Destroy()
  3604. char.Humanoid.WalkSpeed = 16
  3605. MOAN = false
  3606. if aidsificating == nil then
  3607. for i, v in pairs(handle["pink toy"]:GetChildren()) do
  3608. if v:IsA("Part") then
  3609. v:FindFirstChild("ParticleEmitter"):Destroy()
  3610. end
  3611. end
  3612. local cor = coroutine.wrap(function()
  3613. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08)
  3614. end)
  3615. local cor2 = coroutine.wrap(function()
  3616. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08)
  3617. end)
  3618. local cor3 = coroutine.wrap(function()
  3619. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08)
  3620. end)
  3621. cor()
  3622. cor2()
  3623. cor3()
  3624. lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.08)
  3625.  
  3626. lweld:Remove()
  3627. rweld:Remove()
  3628. tweld:Remove()
  3629.  
  3630. if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
  3631. local clone = torsoclone:Clone()
  3632. clone.Part0 = char.HumanoidRootPart
  3633. clone.Part1 = char.Torso
  3634. clone.Parent = char.HumanoidRootPart
  3635. end
  3636. if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
  3637. local clone = leftclone:Clone()
  3638. clone.Part0 = char.Torso
  3639. clone.Part1 = char["Left Arm"]
  3640. clone.Parent = char.Torso
  3641. end
  3642. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  3643. local clone = rightclone:Clone()
  3644. clone.Part0 = char.Torso
  3645. clone.Part1 = char["Right Arm"]
  3646. clone.Parent = char.Torso
  3647. end
  3648. else
  3649. pcall(function()
  3650. aidsificating.HumanoidRootPart:Destroy()
  3651. end)
  3652. pcall(function()
  3653. ragdollpart(aidsificating,"Right Arm")
  3654. ragdollpart(aidsificating,"Right Leg")
  3655. ragdollpart(aidsificating,"Left Arm")
  3656. ragdollpart(aidsificating,"Left Leg")
  3657. end)
  3658. pcall(function()
  3659. ragdollpart(aidsificating,"RightUpperArm")
  3660. ragdollpart(aidsificating,"RightUpperLeg")
  3661. ragdollpart(aidsificating,"LeftUpperArm")
  3662. ragdollpart(aidsificating,"LeftUpperLeg")
  3663. end)
  3664. pcall(function()
  3665. local weld = Instance.new('Weld',aidsificating.Torso)
  3666. weld.Part0 = aidsificating.Torso
  3667. weld.Part1 = handle
  3668. weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90))
  3669. for i,v in pairs(handle["pink toy"]:GetChildren()) do
  3670. if v:IsA('BasePart') and v.Name == "stretchlol" then
  3671. v.BrickColor = aidsificating.Torso.BrickColor
  3672. v.Transparency = 0
  3673. end
  3674. end
  3675. end)
  3676. pcall(function()
  3677. local weld = Instance.new('Weld',aidsificating.UpperTorso)
  3678. weld.Part0 = aidsificating.UpperTorso
  3679. weld.Part1 = handle
  3680. weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90))
  3681. for i,v in pairs(handle["pink toy"]:GetChildren()) do
  3682. if v:IsA('BasePart') and v.Name == "stretchlol" then
  3683. v.BrickColor = aidsificating.UpperTorso.BrickColor
  3684. v.Transparency = 0
  3685. end
  3686. end
  3687. end)
  3688. lerp(rweld,rweld.C0,CFrame.new(1.6, 1, -0.5) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.06)
  3689. wait(2)
  3690. for i,v in pairs(aidsificating:GetDescendants()) do
  3691. if v:IsA('Weld') then v:Destroy() end
  3692. end
  3693. pcall(function()
  3694. ragdollpart(aidsificating,"Head")
  3695. end)
  3696. pcall(function()
  3697. local thang = "Torso"
  3698. if aidsificating:FindFirstChild('UpperTorso') then
  3699. thang = "UpperTorso"
  3700. end
  3701. local ayybleed = Instance.new('Part',aidsificating)
  3702. ayybleed.Size = Vector3.new(0.2,0.2,0.2)
  3703. ayybleed.BrickColor = BrickColor.new('Maroon')
  3704. ayybleed.Material = Enum.Material.SmoothPlastic
  3705. ayybleed.Name = "ayybleed"
  3706. ayybleed.CanCollide = false
  3707. ayybleed.Transparency = 1
  3708. ayybleed.CFrame = aidsificating[thang].CFrame
  3709. ayybleed:BreakJoints()
  3710. local attachment1 = Instance.new('Attachment',ayybleed)
  3711. attachment1.Position = Vector3.new(0,-1,0)
  3712. attachment1.Orientation = Vector3.new(180, 0, 0)
  3713. local attachment0 = Instance.new('Attachment',aidsificating[thang])
  3714. if attachment0 and attachment1 then
  3715. local constraint = Instance.new("HingeConstraint")
  3716. constraint.Attachment0 = attachment0
  3717. constraint.Attachment1 = attachment1
  3718. constraint.LimitsEnabled = true
  3719. constraint.UpperAngle = 0
  3720. constraint.LowerAngle = 0
  3721. constraint.Parent = aidsificating
  3722. end
  3723. local bleedBLEED= coroutine.wrap(function()
  3724. bleed(ayybleed,true)
  3725. end)
  3726. bleedBLEED()
  3727. end)
  3728. aidsificating = nil
  3729. pcall(function()
  3730. for i,v in pairs(handle["pink toy"]:GetChildren()) do
  3731. if v:IsA('BasePart') and v.Name == "stretchlol" then
  3732. v.Transparency = 1
  3733. end
  3734. end
  3735. end)
  3736. local cor = coroutine.wrap(function()
  3737. lerp(rweld,rweld.C0,CFrame.new(1.6, -0.25, 0.75) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.04)
  3738. end)
  3739. local cor2 = coroutine.wrap(function()
  3740. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.04)
  3741. end)
  3742. cor()
  3743. cor2()
  3744. lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.04)
  3745. wait(0.1)
  3746. local cor = coroutine.wrap(function()
  3747. lerp(rweld,rweld.C0,CFrame.new(1.6, -0.5, 1) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
  3748. end)
  3749. local cor2 = coroutine.wrap(function()
  3750. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.08)
  3751. end)
  3752. local cor3 = coroutine.wrap(function()
  3753. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08)
  3754. end)
  3755. cor()
  3756. cor2()
  3757. cor3()
  3758. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08)
  3759.  
  3760. lweld:Remove()
  3761. rweld:Remove()
  3762. tweld:Remove()
  3763.  
  3764. if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
  3765. local clone = torsoclone:Clone()
  3766. clone.Part0 = char.HumanoidRootPart
  3767. clone.Part1 = char.Torso
  3768. clone.Parent = char.HumanoidRootPart
  3769. end
  3770. if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
  3771. local clone = leftclone:Clone()
  3772. clone.Part0 = char.Torso
  3773. clone.Part1 = char["Left Arm"]
  3774. clone.Parent = char.Torso
  3775. end
  3776. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  3777. local clone = rightclone:Clone()
  3778. clone.Part0 = char.Torso
  3779. clone.Part1 = char["Right Arm"]
  3780. clone.Parent = char.Torso
  3781. end
  3782. end
  3783. end)
  3784. working = false
  3785. end
  3786.  
  3787. function katanaQ()
  3788. working = true
  3789. swinging = true
  3790. gettingeem = true
  3791. pcall(function()
  3792. local rweld = Instance.new("Weld", char["Right Arm"])
  3793. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  3794. pcall(function()
  3795. rweld.Part0 = char["Torso"]
  3796. rweld.Part1 = char["Right Arm"]
  3797. rweld.C0 = CFrame.new(1.5, 0, 0)
  3798. tweld.Part0 = char.HumanoidRootPart
  3799. tweld.Part1 = char.Torso
  3800. end)
  3801.  
  3802. char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100
  3803.  
  3804. local at1 = Instance.new("Attachment", handle)
  3805. local at2 = Instance.new("Attachment", handle)
  3806. at1.Visible = false
  3807. at1.Position = Vector3.new(5, 0, 0)
  3808. at2.Visible = false
  3809. at2.Position = Vector3.new(1, 0, 0)
  3810.  
  3811. local trail = Instance.new("Trail", handle)
  3812. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
  3813. trail.LightEmission = 0.25
  3814. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)})
  3815. trail.Lifetime = 0.10
  3816. trail.MinLength = 0.05
  3817. trail.Attachment0 = at1
  3818. trail.Attachment1 = at2
  3819. local coru=coroutine.wrap(function()
  3820. lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(90), math.rad(90)),0.08)
  3821. end)
  3822. coru()
  3823. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.08)
  3824. local ree=0
  3825. while goteem == nil and ree < 1 do
  3826. wait(0.05)
  3827. ree=ree+0.05
  3828. end
  3829. char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  3830. gettingeem = false
  3831. swinging = false
  3832. if goteem then
  3833. wait(2)
  3834. pcall(function()
  3835. local sounn = Instance.new("Sound", goteem.Torso)
  3836. local lipp = math.random(1, 3)
  3837. if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end
  3838. if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end
  3839. if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end
  3840. sounn:Play()
  3841. end)
  3842. ragdollpart(goteem,"Head")
  3843. for i,v in pairs(goteem:GetDescendants()) do
  3844. if v:IsA('Weld') then v:Destroy() end
  3845. end
  3846. goteem = nil
  3847. end
  3848. trail:Destroy()
  3849. at1:Destroy()
  3850. at2:Destroy()
  3851. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05)
  3852. local cor = coroutine.wrap(function()
  3853. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  3854. end)
  3855. cor()
  3856. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
  3857. rweld:Destroy()
  3858. tweld:Destroy()
  3859. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  3860. local clone = rightclone:Clone()
  3861. clone.Part0 = char.Torso
  3862. clone.Part1 = char["Right Arm"]
  3863. clone.Parent = char.Torso
  3864. end
  3865. if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
  3866. local clone = torsoclone:Clone()
  3867. clone.Part0 = char.HumanoidRootPart
  3868. clone.Part1 = char.Torso
  3869. clone.Parent = char.HumanoidRootPart
  3870. end
  3871. end)
  3872. swinging = false
  3873. gettingeem = false
  3874. working = false
  3875. end
  3876. local function katanaE()
  3877. working = true
  3878. swinging = true
  3879. SLESH = true
  3880. pcall(function()
  3881. local rweld = Instance.new("Weld", char["Right Arm"])
  3882. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  3883. rweld.Part0 = char["Torso"]
  3884. rweld.Part1 = char["Right Arm"]
  3885. rweld.C0 = CFrame.new(1.5, 0, 0)
  3886. tweld.Part0 = char.HumanoidRootPart
  3887. tweld.Part1 = char.Torso
  3888.  
  3889. char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100
  3890.  
  3891. local at1 = Instance.new("Attachment", handle)
  3892. local at2 = Instance.new("Attachment", handle)
  3893. at1.Visible = false
  3894. at1.Position = Vector3.new(5, 0, 0)
  3895. at2.Visible = false
  3896. at2.Position = Vector3.new(1, 0, 0)
  3897.  
  3898. local trail = Instance.new("Trail", handle)
  3899. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
  3900. trail.LightEmission = 0.25
  3901. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)})
  3902. trail.Lifetime = 0.10
  3903. trail.MinLength = 0.05
  3904. trail.Attachment0 = at1
  3905. trail.Attachment1 = at2
  3906. local coru=coroutine.wrap(function()
  3907. lerp(rweld,rweld.C0,CFrame.new(2, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(60)),0.08)
  3908. end)
  3909. coru()
  3910. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-270),math.rad(0)), 0.08)
  3911.  
  3912. wait(1)
  3913. char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  3914. trail:Destroy()
  3915. at1:Destroy()
  3916. at2:Destroy()
  3917. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05)
  3918. local cor = coroutine.wrap(function()
  3919. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  3920. end)
  3921. cor()
  3922. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
  3923. rweld:Destroy()
  3924. tweld:Destroy()
  3925. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  3926. local clone = rightclone:Clone()
  3927. clone.Part0 = char.Torso
  3928. clone.Part1 = char["Right Arm"]
  3929. clone.Parent = char.Torso
  3930. end
  3931. if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
  3932. local clone = torsoclone:Clone()
  3933. clone.Part0 = char.HumanoidRootPart
  3934. clone.Part1 = char.Torso
  3935. clone.Parent = char.HumanoidRootPart
  3936. end
  3937. end)
  3938. swinging = false
  3939. SLESH = false
  3940. working = false
  3941. end
  3942.  
  3943. function begoneTHOUGHT()
  3944. working = true
  3945. pcall(function()
  3946. local thott = Instance.new("Sound", char)
  3947. thott.SoundId = "rbxassetid://949916584"
  3948. thott.Volume = 1
  3949. thott.TimePosition = 0.5
  3950. thott.PlaybackSpeed = 1
  3951. thott.EmitterSize = player.CameraMaxZoomDistance+1
  3952. thott.MaxDistance = player.CameraMaxZoomDistance+1
  3953. thott:Play()
  3954.  
  3955. local rweld = Instance.new("Weld", char["Right Arm"])
  3956. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  3957. rweld.Part0 = char["Torso"]
  3958. rweld.Part1 = char["Right Arm"]
  3959. rweld.C0 = CFrame.new(1.5, 0, 0)
  3960. tweld.Part0 = char.HumanoidRootPart
  3961. tweld.Part1 = char.Torso
  3962.  
  3963. local coru=coroutine.wrap(function()
  3964. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)),0.25)
  3965. end)
  3966. coru()
  3967. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)), 0.25)
  3968.  
  3969. wait(0.5)
  3970. local thote = Instance.new("Sound", char.Head)
  3971. thote.SoundId = "rbxassetid://358498516"
  3972. thote.Volume = 1
  3973. thote:Play()
  3974.  
  3975.  
  3976.  
  3977. local coru=coroutine.wrap(function()
  3978. lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)),0.04)
  3979. end)
  3980. coru()
  3981. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.04)
  3982. wait(0.04)
  3983. local ree = Instance.new('Part',workspace)
  3984. ree.Shape = Enum.PartType.Cylinder
  3985. ree.CanCollide = false
  3986. ree.Anchored = false
  3987. ree.Size = Vector3.new(0.5,2,2)
  3988. ree.TopSurface = Enum.SurfaceType.Smooth
  3989. ree.BottomSurface = Enum.SurfaceType.Smooth
  3990. ree.Transparency = 0.8
  3991. ree.Material =Enum.Material.Neon
  3992. ree.BrickColor = BrickColor.new('Toothpaste')
  3993. ree.CFrame = handle.CFrame*CFrame.Angles(0,0,math.rad(90))
  3994. ree:BreakJoints()
  3995. local reee = Instance.new("Sound", ree)
  3996. reee.SoundId = "rbxassetid://138677306"
  3997. reee:Play()
  3998. local heck = Instance.new('BodyVelocity',ree)
  3999. heck.Velocity = ree.CFrame.rightVector*50
  4000. heck.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  4001. local coru=coroutine.wrap(function()
  4002. for i=1,21 do
  4003. local cf = ree.CFrame
  4004. ree.Size = ree.Size+Vector3.new(0,2,2)
  4005. ree.CFrame = cf
  4006. wait()
  4007. end
  4008. for i=1,4 do
  4009. local cf = ree.CFrame
  4010. ree.Size = ree.Size+Vector3.new(0,2,2)
  4011. ree.CFrame = cf
  4012. ree.Transparency = ree.Transparency + 0.05
  4013. wait()
  4014. end
  4015. ree:Destroy()
  4016. end)
  4017. coru()
  4018. ree.Touched:connect(function(hit)
  4019. if hit.Parent and hit.Parent ~= char and hit.Parent:FindFirstChildOfClass('Humanoid') then
  4020. hit.Parent:FindFirstChildOfClass('Humanoid').Health = 100
  4021. ragdollpart(hit.Parent,"Head")
  4022. end
  4023. end)
  4024. wait(0.5)
  4025. local coru=coroutine.wrap(function()
  4026. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8)
  4027. end)
  4028. coru()
  4029. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)
  4030.  
  4031. rweld:Destroy()
  4032. tweld:Destroy()
  4033. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  4034. local clone = rightclone:Clone()
  4035. clone.Part0 = char.Torso
  4036. clone.Part1 = char["Right Arm"]
  4037. clone.Parent = char.Torso
  4038. end
  4039. if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
  4040. local clone = torsoclone:Clone()
  4041. clone.Part0 = char.HumanoidRootPart
  4042. clone.Part1 = char.Torso
  4043. clone.Parent = char.HumanoidRootPart
  4044. end
  4045. end)
  4046. working = false
  4047. end
  4048.  
  4049. function katanaswing()
  4050. working = true
  4051. pcall(function()
  4052. local rweld = Instance.new("Weld", char["Right Arm"])
  4053. local lweld = Instance.new("Weld", char["Left Arm"])
  4054. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  4055. rweld.Part0 = char["Torso"]
  4056. rweld.Part1 = char["Right Arm"]
  4057. rweld.C0 = CFrame.new(1.5, 0, 0)
  4058. lweld.Part0 = char.Torso
  4059. lweld.Part1 = char["Left Arm"]
  4060. lweld.C0 = CFrame.new(-1.5, 0, 0)
  4061. tweld.Part0 = char.HumanoidRootPart
  4062. tweld.Part1 = char.Torso
  4063.  
  4064. local cor = coroutine.wrap(function()
  4065. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), 0),0.08)
  4066. end)
  4067. cor()
  4068. lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(110), math.rad(90)),0.08)
  4069. wait(0.2)
  4070. local at1 = Instance.new("Attachment", handle)
  4071. local at2 = Instance.new("Attachment", handle)
  4072. at1.Visible = false
  4073. at1.Position = Vector3.new(5, 0, 0)
  4074. at2.Visible = false
  4075. at2.Position = Vector3.new(1, 0, 0)
  4076.  
  4077. local trail = Instance.new("Trail", handle)
  4078. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, trail.Parent.Color), ColorSequenceKeypoint.new(1, trail.Parent.Color)})
  4079. trail.LightEmission = 0.25
  4080. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)})
  4081. trail.Lifetime = 0.10
  4082. trail.MinLength = 0.05
  4083. trail.Attachment0 = at1
  4084. trail.Attachment1 = at2
  4085.  
  4086. swinging = true
  4087.  
  4088. local cor = coroutine.wrap(function()
  4089. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), 0),0.04)
  4090. end)
  4091. cor()
  4092. lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04)
  4093. wait(0.2)
  4094. swinging = false
  4095. trail:Destroy()
  4096. at1:Destroy()
  4097. at2:Destroy()
  4098. local cor = coroutine.wrap(function()
  4099. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  4100. end)
  4101. cor()
  4102. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
  4103. rweld:Destroy()
  4104. lweld:Destroy()
  4105. tweld:Destroy()
  4106. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  4107. local clone = rightclone:Clone()
  4108. clone.Part0 = char.Torso
  4109. clone.Part1 = char["Right Arm"]
  4110. clone.Parent = char.Torso
  4111. end
  4112. if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
  4113. local clone = leftclone:Clone()
  4114. clone.Part0 = char.Torso
  4115. clone.Part1 = char["Left Arm"]
  4116. clone.Parent = char.Torso
  4117. end
  4118. if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
  4119. local clone = torsoclone:Clone()
  4120. clone.Part0 = char.HumanoidRootPart
  4121. clone.Part1 = char.Torso
  4122. clone.Parent = char.HumanoidRootPart
  4123. end
  4124. end)
  4125. working = false
  4126. end
  4127.  
  4128. function throw()
  4129. working = true
  4130. pcall(function()
  4131. local rweld = char["Right Arm"]:FindFirstChild("Weld")
  4132. local lweld = char["Left Arm"]:FindFirstChild("Weld")
  4133. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  4134. tweld.Part0 = char.HumanoidRootPart
  4135. tweld.Part1 = char.Torso
  4136. local throwsound = Instance.new("Sound", char.Head)
  4137. throwsound.SoundId = "rbxassetid://711753382"
  4138. throwsound.PlaybackSpeed = 0.75
  4139.  
  4140. local cor = coroutine.wrap(function()
  4141. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04)
  4142. end)
  4143. local cor2 = coroutine.wrap(function()
  4144. lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.04)
  4145. end)
  4146. cor()
  4147. cor2()
  4148. grabweld:Remove()
  4149. throwsound:Play()
  4150.  
  4151. local throwvel = Instance.new("BodyThrust")
  4152. throwvel.Force = Vector3.new(0, 3000, -2000)
  4153. pcall(function()
  4154. throwvel.Parent = grabbed.Torso
  4155. end)
  4156. pcall(function()
  4157. throwvel.Parent = grabbed.UpperTorso
  4158. end)
  4159.  
  4160. lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04)
  4161. wait(0.15)
  4162. throwvel:Remove()
  4163. local cor = coroutine.wrap(function()
  4164. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  4165. end)
  4166. local cor2 = coroutine.wrap(function()
  4167. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  4168. end)
  4169. cor()
  4170. cor2()
  4171. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  4172. lweld:Remove()
  4173. rweld:Remove()
  4174. tweld:Remove()
  4175. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  4176. local clone = rightclone:Clone()
  4177. clone.Part0 = char.Torso
  4178. clone.Part1 = char["Right Arm"]
  4179. clone.Parent = char.Torso
  4180. end
  4181. if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
  4182. local clone = leftclone:Clone()
  4183. clone.Part0 = char.Torso
  4184. clone.Part1 = char["Left Arm"]
  4185. clone.Parent = char.Torso
  4186. end
  4187. if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
  4188. local clone = torsoclone:Clone()
  4189. clone.Part0 = char.HumanoidRootPart
  4190. clone.Part1 = char.Torso
  4191. clone.Parent = char.HumanoidRootPart
  4192. end
  4193. local lolgrabbed = grabbed
  4194. spawn(function()
  4195. wait(2)
  4196. unstun(lolgrabbed)
  4197. end)
  4198. end)
  4199. grabbed = nil
  4200. working = false
  4201. end
  4202.  
  4203. function whoosh(vroom)
  4204. vroom.Parent = workspace
  4205. vroom.Name = "Projectile"
  4206. vroom.CFrame = CFrame.new(char.Head.CFrame.p,mouse.Hit.p)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  4207. vroom.Anchored = true
  4208. vroom.Velocity = Vector3.new(0,0,0)
  4209. vroom.RotVelocity = Vector3.new(0,0,0)
  4210. vroom.Anchored = false
  4211. game:GetService('Debris'):AddItem(vroom,10)
  4212. local flyy = Instance.new('BodyVelocity',vroom)
  4213. flyy.Velocity = vroom.CFrame.rightVector*200
  4214. local touched = false
  4215. for i,v in pairs(vroom:GetChildren()) do
  4216. if v:IsA('BasePart') then
  4217. v.Touched:connect(function(hit)
  4218. local pos = vroom.CFrame
  4219. if touched == false then
  4220. if hit and hit.Parent and hit.Transparency ~= 1 and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent~= char then
  4221. touched = true
  4222. local before = hit.Anchored
  4223. vroom.Anchored = true
  4224. vroom.Velocity = Vector3.new(0,0,0)
  4225. vroom.RotVelocity = Vector3.new(0,0,0)
  4226. vroom.CFrame = vroom.CFrame-(vroom.CFrame.rightVector)
  4227. hit.Anchored = true
  4228. flyy:Destroy()
  4229. pcall(function()
  4230. local weld = Instance.new('Weld',hit)
  4231. weld.Part0 = hit
  4232. weld.Part1 = vroom
  4233. weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame)
  4234. local ayybleed = Instance.new('Part',hit)
  4235. ayybleed.Size = Vector3.new(0.2,0.2,0.2)
  4236. ayybleed.BrickColor = BrickColor.new('Maroon')
  4237. ayybleed.Material = Enum.Material.SmoothPlastic
  4238. ayybleed.Name = "ayybleed"
  4239. ayybleed.CanCollide = false
  4240. ayybleed.Transparency = 1
  4241. ayybleed.CFrame = hit.CFrame
  4242. ayybleed:BreakJoints()
  4243. local attachment1 = Instance.new('Attachment',ayybleed)
  4244. local attachment0 = Instance.new('Attachment',hit)
  4245. for i,v in pairs(vroom:GetChildren()) do
  4246. if v.Name == "blade" and v.Size == Vector3.new(0.23, 1.19, 0.1) then
  4247. v.Name = "REEEE"
  4248. end
  4249. end
  4250. attachment1.Orientation = vroom["REEEE"].Orientation+Vector3.new(90,0,0)
  4251. attachment0.Position = hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).p-(hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).upVector)
  4252. if attachment0 and attachment1 then
  4253. local constraint = Instance.new("HingeConstraint")
  4254. constraint.Attachment0 = attachment0
  4255. constraint.Attachment1 = attachment1
  4256. constraint.LimitsEnabled = true
  4257. constraint.UpperAngle = 0
  4258. constraint.LowerAngle = 0
  4259. constraint.Parent = attachment0
  4260. end
  4261. local bleedBLEED= coroutine.wrap(function()
  4262. bleed(ayybleed)
  4263. end)
  4264. bleedBLEED()
  4265. if hit.Name ~= "Head" and hit.Name ~= "UpperTorso" and hit.Name ~= "Torso" and hit.Name ~= "LowerTorso" then
  4266. game:GetService('Debris'):AddItem(ayybleed,7.5)
  4267. end
  4268. end)
  4269. hit.Anchored = before
  4270. vroom.Anchored = false
  4271. vroom.CanCollide = true
  4272. pcall(function()
  4273. vroom:FindFirstChildOfClass('Trail'):Destroy()
  4274. end)
  4275. for i,v in pairs(vroom:GetChildren()) do
  4276. if v:IsA('BasePart') then
  4277. v.CanCollide = true
  4278. end
  4279. end
  4280. if hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Torso" or hit.Name == "LowerTorso" then
  4281. pcall(function()
  4282. hit.Parent.HumanoidRootPart:Destroy()
  4283. end)
  4284. pcall(function()
  4285. ragdollpart(hit.Parent,"Left Arm")
  4286. ragdollpart(hit.Parent,"Left Leg")
  4287. ragdollpart(hit.Parent,"Right Arm")
  4288. ragdollpart(hit.Parent,"Right Leg")
  4289. end)
  4290. pcall(function()
  4291. ragdollpart(hit.Parent,"LeftUpperLeg")
  4292. ragdollpart(hit.Parent,"RightUpperLeg")
  4293. ragdollpart(hit.Parent,"LeftUpperArm")
  4294. ragdollpart(hit.Parent,"RightUpperArm")
  4295. end)
  4296. spawn(function()
  4297. wait(5)
  4298. ragdollpart(hit.Parent,"Head")
  4299. end)
  4300. else
  4301. pcall(function()
  4302. ragdollpart(hit.Parent,hit.Name)
  4303. end)
  4304. end
  4305. elseif hit and hit.CanCollide == true and hit.Parent and hit.Parent ~= char then
  4306. touched = true
  4307. local before = hit.Anchored
  4308. vroom.Anchored = true
  4309. vroom.Velocity = Vector3.new(0,0,0)
  4310. vroom.RotVelocity = Vector3.new(0,0,0)
  4311. hit.Anchored = true
  4312. flyy:Destroy()
  4313. vroom.CFrame = vroom.CFrame-vroom.CFrame.rightVector
  4314. pcall(function()
  4315. local weld = Instance.new('Weld',hit)
  4316. weld.Part0 = hit
  4317. weld.Part1 = vroom
  4318. weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame)
  4319. end)
  4320. pcall(function()
  4321. vroom:FindFirstChildOfClass('Trail'):Destroy()
  4322. end)
  4323. hit.Anchored = before
  4324. vroom.Anchored = false
  4325. end
  4326. end
  4327. end)
  4328. end
  4329. end
  4330. end
  4331.  
  4332. function fling()
  4333. working = true
  4334. pcall(function()
  4335. local rweld = Instance.new("Weld", char["Right Arm"])
  4336. local lweld = Instance.new("Weld", char["Left Arm"])
  4337. rweld.Part0 = char["Torso"]
  4338. rweld.Part1 = char["Right Arm"]
  4339. rweld.C0 = CFrame.new(1.5, 0, 0)
  4340. lweld.Part0 = char.Torso
  4341. lweld.Part1 = char["Left Arm"]
  4342. lweld.C0 = CFrame.new(-1.5, 0, 0)
  4343. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  4344. tweld.Part0 = char.HumanoidRootPart
  4345. tweld.Part1 = char.Torso
  4346.  
  4347. local at1 = Instance.new("Attachment", handle)
  4348. local at2 = Instance.new("Attachment", handle)
  4349. at1.Visible = false
  4350. at1.Position = Vector3.new(2, 0, 0)
  4351. at2.Visible = false
  4352. at2.Position = Vector3.new(-0.3, 0, 0)
  4353.  
  4354. local trail = Instance.new("Trail", handle)
  4355. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
  4356. trail.LightEmission = 0.25
  4357. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  4358. trail.Lifetime = 0.10
  4359. trail.MinLength = 0.05
  4360. trail.Attachment0 = at1
  4361. trail.Attachment1 = at2
  4362.  
  4363. local cor = coroutine.wrap(function()
  4364. lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(45)),0.07)
  4365. end)
  4366. cor()
  4367. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, -0.5) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.07)
  4368.  
  4369. local cor = coroutine.wrap(function()
  4370. lerp(rweld,rweld.C0,CFrame.new(1.75, 1, 0.25) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(150)),0.07)
  4371. end)
  4372. local cor2 = coroutine.wrap(function()
  4373. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), math.rad(0)),0.07)
  4374. end)
  4375. local cor3 = coroutine.wrap(function()
  4376. lerp(hweld,hweld.C0,CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90),math.rad(90), 0),0.12)
  4377. end)
  4378. cor()
  4379. cor2()
  4380. cor3()
  4381. lerp(lweld,lweld.C0,CFrame.new(-1.75, 0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)),0.07)
  4382. wait(0.2)
  4383.  
  4384. local cor = coroutine.wrap(function()
  4385. lerp(rweld,rweld.C0,CFrame.new(1.5, 1, 0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(170)),0.03)
  4386. end)
  4387. local cor2 = coroutine.wrap(function()
  4388. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.03)
  4389. end)
  4390. cor()
  4391. cor2()
  4392. lerp(lweld,lweld.C0,CFrame.new(-1, 0, -0.45) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(45)),0.03)
  4393.  
  4394. local cor = coroutine.wrap(function()
  4395. lerp(rweld,rweld.C0,CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(90)),0.03)
  4396. end)
  4397. local cor2 = coroutine.wrap(function()
  4398. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), math.rad(0)),0.01)
  4399. end)
  4400. cor()
  4401. cor2()
  4402. whoosh(handle:Clone())
  4403. for i, v in pairs(handle:GetChildren()) do
  4404. if v:IsA("Part") then
  4405. v.Transparency = 1
  4406. end
  4407. end
  4408. handle.Transparency = 1
  4409. trail:Remove()
  4410. at1:Remove()
  4411. at2:Remove()
  4412. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.01)
  4413. local cor = coroutine.wrap(function()
  4414. lerp(rweld,rweld.C0,CFrame.new(0.5, 0.4, -1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(75)),0.04)
  4415. end)
  4416. local cor2 = coroutine.wrap(function()
  4417. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(55), math.rad(0)),0.04)
  4418. end)
  4419. cor()
  4420. cor2()
  4421. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.04)
  4422. wait(0.2)
  4423.  
  4424. local cor = coroutine.wrap(function()
  4425. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07)
  4426. end)
  4427. local cor2 = coroutine.wrap(function()
  4428. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.07)
  4429. end)
  4430. cor()
  4431. cor2()
  4432. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07)
  4433.  
  4434. for i, v in pairs(handle:GetChildren()) do
  4435. if v:IsA("Part") then
  4436. v.Transparency = 0
  4437. end
  4438. end
  4439. handle.Transparency = 0
  4440. hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0)
  4441.  
  4442. lweld:Remove()
  4443. rweld:Remove()
  4444. tweld:Remove()
  4445.  
  4446. if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
  4447. local clone = torsoclone:Clone()
  4448. clone.Part0 = char.HumanoidRootPart
  4449. clone.Part1 = char.Torso
  4450. clone.Parent = char.HumanoidRootPart
  4451. end
  4452. if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
  4453. local clone = leftclone:Clone()
  4454. clone.Part0 = char.Torso
  4455. clone.Part1 = char["Left Arm"]
  4456. clone.Parent = char.Torso
  4457. end
  4458. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  4459. local clone = rightclone:Clone()
  4460. clone.Part0 = char.Torso
  4461. clone.Part1 = char["Right Arm"]
  4462. clone.Parent = char.Torso
  4463. end
  4464. end)
  4465. working = false
  4466. end
  4467.  
  4468. function kill()
  4469. working = true
  4470. pcall(function()
  4471. local rweld = char["Right Arm"]:FindFirstChild("Weld")
  4472. local lweld = char["Left Arm"]:FindFirstChild("Weld")
  4473. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  4474. tweld.Part0 = char.HumanoidRootPart
  4475. tweld.Part1 = char.Torso
  4476. local killsound = Instance.new("Sound", grabbed.Head)
  4477. killsound.SoundId = "rbxassetid://150315649"
  4478. killsound.PlaybackSpeed = 1.2
  4479. local killsoundac = Instance.new("Sound", grabbed.Head)
  4480. killsoundac.SoundId = "rbxassetid://162194585"
  4481. killsoundac.PlaybackSpeed = 1
  4482. killsoundac.Volume = 1
  4483. local throwsound = Instance.new("Sound", char.Head)
  4484. throwsound.SoundId = "rbxassetid://711753382"
  4485. throwsound.PlaybackSpeed = 0.75
  4486. local chokesound = Instance.new("Sound", grabbed.Head)
  4487. chokesound.SoundId = "rbxassetid://418658161"
  4488. chokesound.TimePosition = 3
  4489. chokesound.PlaybackSpeed = 1
  4490. local bleedsound = Instance.new("Sound", grabbed.Head)
  4491. bleedsound.SoundId = "rbxassetid://244502094"
  4492. bleedsound.PlaybackSpeed = 1.5
  4493. bleedsound.Volume = 1
  4494.  
  4495. pitchun = math.random(9, 12)/10
  4496. pitchdos = math.random(9, 13)/10
  4497.  
  4498. killsound.PlaybackSpeed = pitchun
  4499. killsoundac.PlaybackSpeed = pitchdos
  4500. chokesound.PlaybackSpeed = pitchun
  4501.  
  4502. pcall(function()
  4503. grabbed.HumanoidRootPart:Destroy()
  4504. end)
  4505.  
  4506. lerp(rweld,rweld.C0,CFrame.new(0.5, 0.7, -0.70) * CFrame.Angles(0, math.rad(100), math.rad(105)),0.1)
  4507. wait(0.2)
  4508. lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04)
  4509.  
  4510. killsound:Play()
  4511. killsoundac:Play()
  4512. chokesound:Play()
  4513. bleedsound:Play()
  4514.  
  4515. local ayybleed = Instance.new('Part',grabbed)
  4516. ayybleed.Size = Vector3.new(0.2,0.2,0.2)
  4517. ayybleed.BrickColor = BrickColor.new('Maroon')
  4518. ayybleed.Material = Enum.Material.SmoothPlastic
  4519. ayybleed.Name = "ayybleed"
  4520. ayybleed.CanCollide = false
  4521. ayybleed.Transparency = 0.5
  4522. ayybleed.CFrame = grabbed.Head.CFrame
  4523. ayybleed:BreakJoints()
  4524. local attachment1 = Instance.new('Attachment',ayybleed)
  4525. attachment1.Position = Vector3.new(-0.55,0,0)
  4526. attachment1.Orientation = Vector3.new(90, 0, -90)
  4527. local attachment0 = Instance.new('Attachment')
  4528. pcall(function()
  4529. attachment0.Parent = grabbed.Torso
  4530. end)
  4531. pcall(function()
  4532. attachment0.Parent = grabbed.UpperTorso
  4533. end)
  4534. if attachment0 and attachment1 then
  4535. local constraint = Instance.new("HingeConstraint")
  4536. constraint.Attachment0 = attachment0
  4537. constraint.Attachment1 = attachment1
  4538. constraint.LimitsEnabled = true
  4539. constraint.UpperAngle = 0
  4540. constraint.LowerAngle = 0
  4541. pcall(function()
  4542. constraint.Parent = grabbed.Torso
  4543. end)
  4544. pcall(function()
  4545. constraint.Parent = grabbed.UpperTorso
  4546. end)
  4547. end
  4548. local bleedBLEED= coroutine.wrap(function()
  4549. bleed(ayybleed)
  4550. end)
  4551. bleedBLEED()
  4552.  
  4553. wait(0.2)
  4554.  
  4555. local at1 = Instance.new("Attachment", handle)
  4556. local at2 = Instance.new("Attachment", handle)
  4557. at1.Visible = false
  4558. at1.Position = Vector3.new(2, 0, 0)
  4559. at2.Visible = false
  4560. at2.Position = Vector3.new(-0.3, 0, 0)
  4561.  
  4562. local trail = Instance.new("Trail", handle)
  4563. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
  4564. trail.LightEmission = 0.25
  4565. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  4566. trail.Lifetime = 0.10
  4567. trail.MinLength = 0.05
  4568. trail.Attachment0 = at1
  4569. trail.Attachment1 = at2
  4570.  
  4571. lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-40), math.rad(15)),0.08)
  4572. lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.1)
  4573. local coru=coroutine.wrap(function()
  4574. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07)
  4575. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.09)
  4576. end)
  4577. coru()
  4578. local cor = coroutine.wrap(function()
  4579. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04)
  4580. end)
  4581. cor()
  4582. grabweld:Remove()
  4583. throwsound:Play()
  4584.  
  4585. local throwvel = Instance.new("BodyThrust")
  4586. throwvel.Force = Vector3.new(0, 3000, -1000)
  4587. pcall(function()
  4588. throwvel.Parent = grabbed.Torso
  4589. end)
  4590. pcall(function()
  4591. throwvel.Parent = grabbed.UpperTorso
  4592. end)
  4593.  
  4594. trail:Remove()
  4595. at1:Remove()
  4596. at2:Remove()
  4597. lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04)
  4598. pcall(function()
  4599. ragdollpart(grabbed,"Left Arm")
  4600. ragdollpart(grabbed,"Left Leg")
  4601. ragdollpart(grabbed,"Right Arm")
  4602. ragdollpart(grabbed,"Right Leg")
  4603. end)
  4604. pcall(function()
  4605. ragdollpart(grabbed,"LeftUpperLeg")
  4606. ragdollpart(grabbed,"RightUpperLeg")
  4607. ragdollpart(grabbed,"LeftUpperArm")
  4608. ragdollpart(grabbed,"RightUpperArm")
  4609. end)
  4610. wait(0.15)
  4611. throwvel:Remove()
  4612. local cor = coroutine.wrap(function()
  4613. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  4614. end)
  4615. local cor2 = coroutine.wrap(function()
  4616. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  4617. end)
  4618. cor()
  4619. cor2()
  4620. lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
  4621.  
  4622. lweld:Remove()
  4623. rweld:Remove()
  4624. tweld:Remove()
  4625.  
  4626. if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
  4627. local clone = torsoclone:Clone()
  4628. clone.Part0 = char.HumanoidRootPart
  4629. clone.Part1 = char.Torso
  4630. clone.Parent = char.HumanoidRootPart
  4631. end
  4632. if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
  4633. local clone = leftclone:Clone()
  4634. clone.Part0 = char.Torso
  4635. clone.Part1 = char["Left Arm"]
  4636. clone.Parent = char.Torso
  4637. end
  4638. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  4639. local clone = rightclone:Clone()
  4640. clone.Part0 = char.Torso
  4641. clone.Part1 = char["Right Arm"]
  4642. clone.Parent = char.Torso
  4643. end
  4644. local coru2=coroutine.wrap(function()
  4645. local whyy = grabbed
  4646. local continue = true
  4647. local repeats = 0
  4648. while continue == true do
  4649. local ree = pcall(function()
  4650. if repeats < 20 then
  4651. whyy:FindFirstChildOfClass('Humanoid').Health = whyy:FindFirstChildOfClass('Humanoid').Health-4.9
  4652. repeats = repeats+1
  4653. if whyy:FindFirstChildOfClass('Humanoid').Health <= 0 then
  4654. continue = false
  4655. end
  4656. else
  4657. continue = false
  4658. end
  4659. end)
  4660. if ree == false then
  4661. continue = false
  4662. end
  4663. if continue == true then
  4664. wait(0.2)
  4665. end
  4666. end
  4667. ragdollpart(whyy,"Head")
  4668. end)
  4669. coru2()
  4670. throwsound:Remove()
  4671. killsound:Remove()
  4672. end)
  4673. grabbed = nil
  4674. working = false
  4675. end
  4676.  
  4677. function release()
  4678. working = true
  4679. pcall(function()
  4680. unstun(grabbed)
  4681. grabbed = nil
  4682. grabweld:Destroy()
  4683. removewelds(char["Right Arm"])
  4684. removewelds(char["Left Arm"])
  4685. local rweld = Instance.new("Weld", char["Right Arm"])
  4686. local lweld = Instance.new("Weld", char["Left Arm"])
  4687. rweld.Part0 = char["Torso"]
  4688. rweld.Part1 = char["Right Arm"]
  4689. rweld.C0 = CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105))
  4690. lweld.Part0 = char.Torso
  4691. lweld.Part1 = char["Left Arm"]
  4692. lweld.C0 = CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105))
  4693. local cor = coroutine.wrap(function()
  4694. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
  4695. end)
  4696. local cor2 = coroutine.wrap(function()
  4697. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08)
  4698. end)
  4699. cor()
  4700. cor2()
  4701. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
  4702. lweld:Remove()
  4703. rweld:Remove()
  4704. if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
  4705. local clone = leftclone:Clone()
  4706. clone.Part0 = char.Torso
  4707. clone.Part1 = char["Left Arm"]
  4708. clone.Parent = char.Torso
  4709. end
  4710. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  4711. local clone = rightclone:Clone()
  4712. clone.Part0 = char.Torso
  4713. clone.Part1 = char["Right Arm"]
  4714. clone.Parent = char.Torso
  4715. end
  4716. end)
  4717. working = false
  4718. end
  4719.  
  4720. function grab()
  4721. working = true
  4722. pcall(function()
  4723. local rweld = Instance.new("Weld", char["Right Arm"])
  4724. local lweld = Instance.new("Weld", char["Left Arm"])
  4725. rweld.Part0 = char["Torso"]
  4726. rweld.Part1 = char["Right Arm"]
  4727. rweld.C0 = CFrame.new(1.5, 0, 0)
  4728. lweld.Part0 = char.Torso
  4729. lweld.Part1 = char["Left Arm"]
  4730. lweld.C0 = CFrame.new(-1.5, 0, 0)
  4731.  
  4732. local at1 = Instance.new("Attachment", handle)
  4733. local at2 = Instance.new("Attachment", handle)
  4734. at1.Visible = false
  4735. at1.Position = Vector3.new(2, 0, 0)
  4736. at2.Visible = false
  4737. at2.Position = Vector3.new(-0.3, 0, 0)
  4738.  
  4739. local trail = Instance.new("Trail", handle)
  4740. trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
  4741. trail.LightEmission = 0.25
  4742. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
  4743. trail.Lifetime = 0.10
  4744. trail.MinLength = 0.05
  4745. trail.Attachment0 = at1
  4746. trail.Attachment1 = at2
  4747.  
  4748. local spinnyshit = coroutine.wrap(function()
  4749. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07)
  4750. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(90), 0), 0.07)
  4751. end)
  4752. spinnyshit()
  4753. local cor = coroutine.wrap(function()
  4754. lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.08)
  4755. end)
  4756. cor()
  4757. lerp(lweld,lweld.C0,CFrame.new(-2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(-90)),0.08)
  4758. wait(0.15)
  4759. grabbing = true
  4760. local cor = coroutine.wrap(function()
  4761. lerp(rweld,rweld.C0,CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)),0.08)
  4762. end)
  4763. cor()
  4764. lerp(lweld,lweld.C0,CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)),0.08)
  4765. at1:Remove()
  4766. at2:Remove()
  4767. trail:Remove()
  4768. wait(0.3)
  4769. grabbing = false
  4770.  
  4771. if grabbed == nil then
  4772. local cor = coroutine.wrap(function()
  4773. lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
  4774. end)
  4775. local cor2 = coroutine.wrap(function()
  4776. lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08)
  4777. end)
  4778. cor()
  4779. cor2()
  4780. lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
  4781. lweld:Remove()
  4782. rweld:Remove()
  4783. if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
  4784. local clone = leftclone:Clone()
  4785. clone.Part0 = char.Torso
  4786. clone.Part1 = char["Left Arm"]
  4787. clone.Parent = char.Torso
  4788. end
  4789. if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
  4790. local clone = rightclone:Clone()
  4791. clone.Part0 = char.Torso
  4792. clone.Part1 = char["Right Arm"]
  4793. clone.Parent = char.Torso
  4794. end
  4795. end
  4796. end)
  4797. working = false
  4798. end
  4799.  
  4800. mouse.KeyDown:connect(function(kkk)
  4801. local key = kkk:lower()
  4802. if usable and working == false then
  4803. if key == "z" then
  4804. if equipped == false then
  4805. if firsttime then
  4806. firsttime = false
  4807. notify("Equipped || Press X or C to equip one of two weapons",true)
  4808. else
  4809. notify("Equipped")
  4810. end
  4811. equip()
  4812. else
  4813. notify("Unequipped")
  4814. unequip()
  4815. end
  4816. elseif key == "x" then
  4817. if blademode ~= "katana" and equipped == true then
  4818. getrid(handle)
  4819. if firsttime2 then
  4820. firsttime2 = false
  4821. notify("Katana mode enabled || Press Q, E, or click to perform an action",true)
  4822. else
  4823. notify("Katana mode enabled")
  4824. end
  4825. katanamode()
  4826. elseif blademode == "katana" then
  4827. getrid(handle)
  4828. notify("Katana mode disabled")
  4829. end
  4830. elseif key == "v" then
  4831. if blademode ~= "gun" and equipped == true then
  4832. getrid(handle)
  4833. if firsttime5 then
  4834. firsttime5 = false
  4835. notify("Gun mode enabled || Click to perform an action",true)
  4836. else
  4837. notify("Gun mode enabled")
  4838. end
  4839. gunmode()
  4840. elseif blademode == "gun" then
  4841. getrid(handle)
  4842. notify("Gun mode disabled")
  4843. end
  4844. elseif key == "b" then
  4845. if childlock == false then
  4846. if blademode ~= "dildo" and equipped == true then
  4847. getrid(handle)
  4848. if firsttime4 then
  4849. firsttime4 = false
  4850. notify("Dildo mode enabled || Click to perform an action",true)
  4851. else
  4852. notify("Dildo mode enabled")
  4853. end
  4854. dildo()
  4855. elseif blademode == "dildo" then
  4856. notify("Dildo mode disabled")
  4857. getrid(handle)
  4858. end
  4859. end
  4860. elseif key == "c" then
  4861. if blademode ~= "knife" and equipped == true then
  4862. getrid(handle)
  4863. if firsttime3 then
  4864. firsttime3 = false
  4865. notify("Knife mode enabled || Press F, E, T, or Q to set modes; Click to perform an action",true)
  4866. else
  4867. notify("Knife mode enabled")
  4868. end
  4869. knifemode()
  4870. elseif blademode == "knife" then
  4871. notify("Knife mode disabled")
  4872. getrid(handle)
  4873. end
  4874. elseif key == "q" then
  4875. if blademode == "katana" then
  4876. notify()
  4877. katanaQ()
  4878. elseif blademode == "knife" then
  4879. mode = "release"
  4880. notify("Mode changed to "..mode)
  4881. end
  4882. elseif key == "e" then
  4883. if blademode == "katana" then
  4884. notify()
  4885. katanaE()
  4886. elseif blademode == "knife" then
  4887. mode = "throw"
  4888. notify("Mode changed to "..mode)
  4889. end
  4890. elseif key == "f" then
  4891. if blademode == "handle" then
  4892. notify([[BEGONE
  4893. THOT]])
  4894. begoneTHOUGHT()
  4895. elseif blademode == "knife" then
  4896. mode = "kill"
  4897. notify("Mode changed to "..mode)
  4898. end
  4899. elseif key == "t" then
  4900. if blademode == "knife" then
  4901. mode = "fling"
  4902. notify("Mode changed to "..mode)
  4903. end
  4904. end
  4905. end
  4906. if key == "m" and sounding == false then
  4907. --badass mode
  4908. pcall(function()
  4909. if badass.Playing == false then
  4910. sounding = true
  4911. for i,v in pairs(workspace:GetDescendants()) do
  4912. if v:IsA('Sound') and v~=player.Character.Head.Badass then
  4913. v:Stop()
  4914. end
  4915. end
  4916. badass:Play()
  4917. badass.Volume = 10
  4918. sounding = false
  4919. else
  4920. sounding = true
  4921. for i=1,100 do
  4922. badass.Volume = badass.Volume-0.1
  4923. wait()
  4924. end
  4925. badass.Volume = 0
  4926. badass:Stop()
  4927. sounding = false
  4928. end
  4929. end)
  4930. end
  4931. if key == "r" then
  4932. rag1 = true
  4933. if rag1 == true and rag2 == true then
  4934. oogabooga()
  4935. end
  4936. end
  4937. if key == "g" then
  4938. rag2 = true
  4939. if rag1 == true and rag2 == true then
  4940. oogabooga()
  4941. end
  4942. end
  4943. end)
  4944. mouse.KeyUp:connect(function(key)
  4945. if key == "r" then
  4946. rag1 = false
  4947. end
  4948. if key == "g" then
  4949. rag2 = false
  4950. end
  4951. end)
  4952.  
  4953. handle.ChildAdded:connect(function(child)
  4954. if child:IsA('BasePart') then
  4955. child.CanCollide = false
  4956. if child.Name == "blade" then
  4957. child.Touched:connect(function(hit)
  4958. if blademode == "katana" and swinging then
  4959. if gettingeem then
  4960. if goteem == nil then
  4961. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
  4962. local sounn = Instance.new("Sound", char.Torso)
  4963. local lipp = math.random(1, 3)
  4964. if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end
  4965. if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end
  4966. if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end
  4967. sounn:Play()
  4968. goteem = hit.Parent
  4969. pcall(function()
  4970. goteem.HumanoidRootPart:Destroy()
  4971. end)
  4972. pcall(function()
  4973. ragdollpart(goteem,"Right Arm")
  4974. ragdollpart(goteem,"Right Leg")
  4975. ragdollpart(goteem,"Left Arm")
  4976. ragdollpart(goteem,"Left Leg")
  4977. end)
  4978. pcall(function()
  4979. ragdollpart(goteem,"RightUpperArm")
  4980. ragdollpart(goteem,"RightUpperLeg")
  4981. ragdollpart(goteem,"LeftUpperArm")
  4982. ragdollpart(goteem,"LeftUpperLeg")
  4983. end)
  4984. pcall(function()
  4985. local weld = Instance.new('Weld',goteem.Torso)
  4986. weld.Part0 = goteem.Torso
  4987. weld.Part1 = handle
  4988. weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90))
  4989. end)
  4990. pcall(function()
  4991. local weld = Instance.new('Weld',goteem.UpperTorso)
  4992. weld.Part0 = goteem.UpperTorso
  4993. weld.Part1 = handle
  4994. weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90))
  4995. end)
  4996. pcall(function()
  4997. local thang = "Torso"
  4998. if goteem:FindFirstChild('UpperTorso') then
  4999. thang = "UpperTorso"
  5000. end
  5001. local ayybleed = Instance.new('Part',goteem)
  5002. ayybleed.Size = Vector3.new(0.2,0.2,0.2)
  5003. ayybleed.BrickColor = BrickColor.new('Maroon')
  5004. ayybleed.Material = Enum.Material.SmoothPlastic
  5005. ayybleed.Name = "ayybleed"
  5006. ayybleed.CanCollide = false
  5007. ayybleed.Transparency = 1
  5008. ayybleed.CFrame = goteem[thang].CFrame
  5009. ayybleed:BreakJoints()
  5010. local attachment1 = Instance.new('Attachment',ayybleed)
  5011. attachment1.Position = Vector3.new(0,0,0)
  5012. attachment1.Orientation = Vector3.new(-90, 0, -90)
  5013. local attachment0 = Instance.new('Attachment',goteem[thang])
  5014. if attachment0 and attachment1 then
  5015. local constraint = Instance.new("HingeConstraint")
  5016. constraint.Attachment0 = attachment0
  5017. constraint.Attachment1 = attachment1
  5018. constraint.LimitsEnabled = true
  5019. constraint.UpperAngle = 0
  5020. constraint.LowerAngle = 0
  5021. constraint.Parent = goteem
  5022. end
  5023. local bleedBLEED= coroutine.wrap(function()
  5024. bleed(ayybleed)
  5025. end)
  5026. bleedBLEED()
  5027. end)
  5028. end
  5029. end
  5030. elseif SLESH then
  5031.  
  5032. if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
  5033. local sounn = Instance.new("Sound", char.Torso)
  5034. local lipp = math.random(1, 3)
  5035. if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end
  5036. if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end
  5037. if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end
  5038. sounn:Play()
  5039. ragdollpart(hit.Parent,hit.Name,false)
  5040. end
  5041. else
  5042. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
  5043. local sounn = Instance.new("Sound", char.Torso)
  5044. local lipp = math.random(1, 3)
  5045. if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end
  5046. if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end
  5047. if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end
  5048. sounn:Play()
  5049. swinging = false
  5050. ragdollpart(hit.Parent,"Head",true,false)
  5051. end
  5052. end
  5053. elseif blademode == "knife" then
  5054. if grabbing == true and grabbed == nil then
  5055. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
  5056. grabbed = hit.Parent
  5057.  
  5058. stun(grabbed)
  5059.  
  5060. local grabwelds = Instance.new("Weld", char.Torso)
  5061. grabwelds.Part0 = char.Torso
  5062. pcall(function()
  5063. grabwelds.Part1 = grabbed.Torso
  5064. end)
  5065. pcall(function()
  5066. grabwelds.Part1 = grabbed.UpperTorso
  5067. end)
  5068. grabwelds.C0 = CFrame.new(-0.45, 0, -1)
  5069. grabweld = grabwelds
  5070. end
  5071. end
  5072. end
  5073. end)
  5074. end
  5075. elseif child:IsA("Model") then
  5076. child.ChildAdded:connect(function(dildotip)
  5077. if dildotip:IsA('BasePart') then
  5078. dildotip.Touched:connect(function(hit)
  5079. if MOAN == true then
  5080. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
  5081. local sound = Instance.new('Sound',hit.Parent.Head)
  5082. sound.SoundId = 'rbxassetid://959679286'
  5083. sound.Volume = 5
  5084. sound:Play()
  5085. local sound3 = Instance.new("Sound",hit.Parent.Head)
  5086. sound3.Volume = 5.5
  5087. sound3.SoundId = "rbxassetid://702631545"
  5088. sound3:Play()
  5089. pcall(function()
  5090. for i,v in pairs(hit.Parent.Head:GetChildren()) do
  5091. if v:IsA('Decal') then v:Destroy() end
  5092. end
  5093. end)
  5094. pcall(function()
  5095. local ree=Instance.new('Decal',hit.Parent.Head)
  5096. ree.Name = "face"
  5097. ree.Texture = "rbxassetid://996521543"
  5098. end)
  5099. MOAN = false
  5100. aidsificating = hit.Parent
  5101. for i, v in pairs(handle["pink toy"]:GetChildren()) do
  5102. if v:IsA("Part") then
  5103. v:FindFirstChild("ParticleEmitter"):Destroy()
  5104. end
  5105. end
  5106. end
  5107. end
  5108. end)
  5109. end
  5110. end)
  5111. end
  5112. end)
  5113.  
  5114. mouse.Button1Down:connect(function(jew)
  5115. if usable and working == false and equipped then
  5116. if blademode == "katana" then
  5117. notify()
  5118. katanaswing()
  5119. elseif blademode == "knife" then
  5120. notify()
  5121. if grabbed == nil then
  5122. if mode == "fling" then
  5123. fling()
  5124. else
  5125. grab()
  5126. end
  5127. elseif grabbed ~= nil then
  5128. if mode == "kill" then
  5129. kill()
  5130. elseif mode == "throw" then
  5131. throw()
  5132. elseif mode == "release" then
  5133. release()
  5134. end
  5135. end
  5136. elseif blademode == "dildo" then
  5137. raep()
  5138. end
  5139. end
  5140. end)
  5141.  
  5142. end
  5143. spawned()
  5144.  
  5145. player.CharacterAdded:connect(function()
  5146. spawned()
  5147. end)
  5148. local avgs = {}
  5149.  
  5150. game:GetService('RunService').Heartbeat:connect(function(step)
  5151. local ofps = math.floor((60/(step*60))*10)/10
  5152. if #avgs > 100 then
  5153. table.remove(avgs,1)
  5154. end
  5155. table.insert(avgs,#avgs+1,ofps)
  5156. local fpsa = 0
  5157. for i,v in pairs(avgs) do
  5158. fpsa = fpsa+v
  5159. end
  5160. fpsa = math.floor(fpsa/#avgs)
  5161. fps.Text = 'FPS: '..tostring(fpsa)
  5162. end)
  5163.  
  5164. while true do
  5165. for i,v in pairs(rekt) do
  5166. if v.Parent ~= nil then
  5167. if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then
  5168. for a,c in pairs(v:GetChildren()) do
  5169. if c:IsA('Tool') then
  5170. c.ManualActivationOnly = true
  5171. wait()
  5172. if game:GetService('Players'):GetPlayerFromCharacter(v) then
  5173. c.Parent = game:GetService('Players'):GetPlayerFromCharacter(v).Backpack
  5174. c.ManualActivationOnly = false
  5175. end
  5176. end
  5177. end
  5178. v:FindFirstChildOfClass('Humanoid').PlatformStand = true
  5179. v:FindFirstChildOfClass('Humanoid').Sit = false
  5180. v:FindFirstChildOfClass('Humanoid').JumpPower = 0
  5181. v:FindFirstChildOfClass('Humanoid').WalkSpeed = 0
  5182. v:FindFirstChildOfClass('Humanoid').Name = "hecc"
  5183. else
  5184. table.remove(rekt,i)
  5185. end
  5186. else
  5187. table.remove(rekt,i)
  5188. end
  5189. end
  5190. wait()
  5191. end
  5192.  
  5193.  
  5194.  
  5195.  
  5196.  
  5197.  
  5198. end)
  5199.  
  5200.  
  5201. S1Exit.Name = "S1 Exit"
  5202. S1Exit.Parent = Scripts1Frame
  5203. S1Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  5204. S1Exit.Position = UDim2.new(0.951662838, 0, 0, 0)
  5205. S1Exit.Size = UDim2.new(0, 22, 0, 26)
  5206. S1Exit.Font = Enum.Font.GothamBlack
  5207. S1Exit.Text = "X"
  5208. S1Exit.TextColor3 = Color3.new(0, 0, 0)
  5209. S1Exit.TextSize = 14
  5210.  
  5211. S1Exit.MouseButton1Down:connect(function()
  5212. Scripts1Frame.Visible = false
  5213. end)
  5214.  
  5215. Keemstar.Name = "Keemstar"
  5216. Keemstar.Parent = Scripts1Frame
  5217. Keemstar.BackgroundColor3 = Color3.new(1, 0, 0)
  5218. Keemstar.BorderSizePixel = 0
  5219. Keemstar.Position = UDim2.new(0.373417735, 0, 0.351744175, 0)
  5220. Keemstar.Size = UDim2.new(0, 161, 0, 42)
  5221. Keemstar.Font = Enum.Font.GothamBlack
  5222. Keemstar.Text = "Keemstar"
  5223. Keemstar.TextColor3 = Color3.new(0, 0, 0)
  5224. Keemstar.TextSize = 14
  5225. Keemstar.MouseButton1Down:connect(function()
  5226. local a = Instance.new("Sound")
  5227. a.Name = "Sound"
  5228. a.SoundId = "http://www.roblox.com/asset/?id=433992205"
  5229. a.Volume = 1
  5230. a.Pitch = 1
  5231. a.Looped = true
  5232. a.archivable = false
  5233. a.Parent = game.Workspace
  5234. a:play()
  5235. for i, v in pairs(game.Players:GetChildren()) do--this is going down in order of evrything in players, v is the variable
  5236. p = v.Character
  5237.  
  5238. local weld = Instance.new("Weld",p.Torso)
  5239. weld.Part0 = p.Torso
  5240.  
  5241. local train = Instance.new("Part",p.Torso)
  5242. train.Anchored = true
  5243. train.CanCollide = false
  5244. train.Size = Vector3.new(3,2,6)
  5245. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  5246. weld.Part1 = train
  5247. weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
  5248. train.Anchored = false
  5249. local TrainMesh = Instance.new("SpecialMesh",train)
  5250. TrainMesh.MeshType = Enum.MeshType.FileMesh
  5251. TrainMesh.Scale = Vector3.new(.5,.5,.5)
  5252. TrainMesh.MeshId = "rbxassetid://471652548"
  5253. TrainMesh.TextureId = "rbxassetid://471652580"
  5254.  
  5255.  
  5256. local weld2 = Instance.new("Weld",p.Torso)
  5257. weld2.Part0 = p.Torso
  5258. local Smoke = Instance.new("Part",p.Torso)
  5259. Smoke.Anchored = true
  5260. Smoke.CanCollide = false
  5261. Smoke.Size = Vector3.new(1,1,1)
  5262. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  5263. weld2.Part1 = Smoke
  5264. weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
  5265. Smoke.Anchored = false
  5266. Smoke.Transparency = 1;
  5267.  
  5268. p.Humanoid.WalkSpeed = 60;
  5269.  
  5270.  
  5271. for i,v in pairs(p:GetChildren()) do
  5272. if v:IsA("Part") then
  5273. v.Transparency = 1;
  5274. elseif v:IsA("Hat") then
  5275. v:Destroy()
  5276. elseif v:IsA("Model") then
  5277. v:Destroy()
  5278. end
  5279. end
  5280. end
  5281.  
  5282. local playerLeaderstats = {}
  5283. for i, v in pairs(game.Players:GetChildren()) do
  5284. table.insert(playerLeaderstats, v)
  5285. end
  5286.  
  5287. end)
  5288. DogeFace.Name = "Doge Face"
  5289. DogeFace.Parent = Scripts1Frame
  5290. DogeFace.BackgroundColor3 = Color3.new(1, 0, 0)
  5291. DogeFace.BorderSizePixel = 0
  5292. DogeFace.Position = UDim2.new(0.0147679448, 0, 0.351744175, 0)
  5293. DogeFace.Size = UDim2.new(0, 161, 0, 42)
  5294. DogeFace.Font = Enum.Font.GothamBlack
  5295. DogeFace.Text = "Doge Face"
  5296. DogeFace.TextColor3 = Color3.new(0, 0, 0)
  5297. DogeFace.TextSize = 14
  5298. DogeFace.MouseButton1Down:connect(function()
  5299. gui1=Instance.new("BillboardGui")
  5300. gui1.Parent = game.Players.LocalPlayer.Character.Head
  5301. gui1.Adornee = game.Players.LocalPlayer.Character.Head
  5302. gui1.Size=UDim2.new(2.5,0,2.5,0)
  5303. gui1.StudsOffset=Vector3.new(0,0.2,0)
  5304. gui1.AlwaysOnTop = true
  5305. text1=Instance.new("ImageLabel")
  5306. text1.Image = "http://www.roblox.com/asset/?id=130742396" --
  5307. text1.Size=UDim2.new(1,0,1,0)
  5308. text1.Position=UDim2.new(0,0,0,0)
  5309. text1.BackgroundTransparency = 1
  5310. text1.Parent=gui1
  5311. game.Players.LocalPlayer.Character.Head.Transparency = 1
  5312. end)
  5313.  
  5314. Pepe.Name = "Pepe"
  5315. Pepe.Parent = Scripts1Frame
  5316. Pepe.BackgroundColor3 = Color3.new(1, 0, 0)
  5317. Pepe.BorderSizePixel = 0
  5318. Pepe.Position = UDim2.new(0.373417735, 0, 0.191860467, 0)
  5319. Pepe.Size = UDim2.new(0, 161, 0, 42)
  5320. Pepe.Font = Enum.Font.GothamBlack
  5321. Pepe.Text = "Pepe"
  5322. Pepe.TextColor3 = Color3.new(0, 0, 0)
  5323. Pepe.TextSize = 14
  5324. Pepe.MouseButton1Down:connect(function()
  5325. --Ultimate V2.2
  5326. m = Instance.new("Message")
  5327. m.Parent = Workspace
  5328. m.Text = ("Loaded PePe Rage Script/Server Destruction")
  5329. game.Workspace.Gravity = 75
  5330. game.Lighting.TimeOfDay = ("5:00")
  5331. game.Lighting.FogEnd = 300
  5332.  
  5333.  
  5334. wait(1)
  5335. m:Remove()
  5336.  
  5337. while true do
  5338. wait(0.5)
  5339. b = Instance.new("BlurEffect")
  5340. b.Parent = game.Lighting
  5341. h = Instance.new("Hint")
  5342. h.Parent = game.Workspace
  5343. h.Text = ("It is the ultimate end of the server.")
  5344. game.Workspace.Gravity = -10
  5345. game.Lighting.TimeOfDay = ("0:00")
  5346. game.Lighting.FogEnd = 75
  5347. game.StarterPlayer.CameraMode = ("LockFirstPerson")
  5348. game.Workspace.Camera.FieldOfView = 200
  5349.  
  5350. for i,v in pairs(game.Workspace:GetChildren()) do
  5351. if v:IsA("Part")then
  5352. v.BrickColor = BrickColor.new('le color')
  5353. v.Name = ("locked")
  5354. v.Locked = true
  5355. v.Anchored = false
  5356. end
  5357. end
  5358. end
  5359. end)
  5360.  
  5361. Illuminati.Name = "Illuminati"
  5362. Illuminati.Parent = Scripts1Frame
  5363. Illuminati.BackgroundColor3 = Color3.new(1, 0, 0)
  5364. Illuminati.BorderSizePixel = 0
  5365. Illuminati.Position = UDim2.new(0.373417735, 0, 0.502906978, 0)
  5366. Illuminati.Size = UDim2.new(0, 161, 0, 42)
  5367. Illuminati.Font = Enum.Font.GothamBlack
  5368. Illuminati.Text = "illuminati"
  5369. Illuminati.TextColor3 = Color3.new(0, 0, 0)
  5370. Illuminati.TextSize = 14
  5371. Illuminati.MouseButton1Down:connect(function()
  5372. local playerLeaderstats = {}
  5373. for i, v in pairs(game.Players:GetChildren()) do
  5374. table.insert(playerLeaderstats, v)
  5375. end
  5376. for i, v in pairs(playerLeaderstats) do
  5377. pe = Instance.new("ParticleEmitter",v.Character.Torso)
  5378. pe.Texture = "http://www.roblox.com/asset/?id=377792063"
  5379. pe.VelocitySpread = 50
  5380.  
  5381. end
  5382.  
  5383. a=Instance.new("Sky",game.Lighting)
  5384.  
  5385. b={"Bk","Dn","Ft","Lf","Rt","Up"}
  5386.  
  5387. for i,v in pairs(b) do
  5388.  
  5389. a["Skybox"..v]="rbxassetid://377792063"
  5390.  
  5391. end
  5392.  
  5393.  
  5394.  
  5395. print("Music executed!")
  5396.  
  5397. s = Instance.new("Sound")
  5398.  
  5399. s.Name = "Music"
  5400.  
  5401. s.SoundId = "http://www.roblox.com/asset/?id=185993653" --Put the id into there.
  5402.  
  5403. s.Looped = true
  5404.  
  5405. s.Pitch = 1 --You can edit these settings.
  5406.  
  5407. s.Volume = 4 --You can edit these settings.
  5408.  
  5409. s.archivable = false
  5410.  
  5411.  
  5412.  
  5413. s.Parent = game.Workspace
  5414.  
  5415.  
  5416.  
  5417. wait(1)
  5418.  
  5419.  
  5420. s:play()
  5421. end)
  5422.  
  5423. UltraMech.Name = "Ultra Mech"
  5424. UltraMech.Parent = Scripts1Frame
  5425. UltraMech.BackgroundColor3 = Color3.new(1, 0, 0)
  5426. UltraMech.BorderSizePixel = 0
  5427. UltraMech.Position = UDim2.new(0.0147679448, 0, 0.502906978, 0)
  5428. UltraMech.Size = UDim2.new(0, 161, 0, 42)
  5429. UltraMech.Font = Enum.Font.GothamBlack
  5430. UltraMech.Text = "Ultra Mech"
  5431. UltraMech.TextColor3 = Color3.new(0, 0, 0)
  5432. UltraMech.TextSize = 14
  5433. UltraMech.MouseButton1Down:connect(function()
  5434. Players = game:service'Players'
  5435. Debris = game:service'Debris'
  5436.  
  5437. CF = CFrame.new
  5438. CFa = CFrame.Angles
  5439. CFA = function(x,y,z) return CFa(MR(x),MR(y),MR(z)) end
  5440. V3 = Vector3.new
  5441. MR = math.rad
  5442. MD = math.deg
  5443. MRND = math.random
  5444. CFN=CF(0,0,0)
  5445. V3N=V3(0,0,0)
  5446. V3M=V3(1/0,1/0,1/0)
  5447.  
  5448.  
  5449. newI = function(tab)
  5450. local p = Instance.new(tab[1],tab[2])
  5451. for i,v in pairs(tab) do
  5452. if i=="Debris" then
  5453. Debris:AddItem(p,v)
  5454. elseif (i~=1 and i~=2) then
  5455. p[i] = v
  5456. end
  5457. end
  5458. return p
  5459. end
  5460.  
  5461. ------------Assets
  5462. assets = {}
  5463. --Meshes
  5464. assets.Ring = "3270017"
  5465. assets.Bullet1 = "10207677"
  5466. assets.MuzzleFlash = "25212400"
  5467. --MeshTexture
  5468.  
  5469. --Decals
  5470.  
  5471. --Gui Decals
  5472.  
  5473. --Sounds
  5474. assets.Minigun1 = "2766581"
  5475. assets.Fire1 = "2760979"
  5476. --
  5477. assetprefix = "http://www.roblox.com/asset/?id="
  5478. for i,v in pairs(assets) do
  5479. if v:sub(1,3)~="htt" and v:sub(1,3)~="rbx" then
  5480. assets[i]=assetprefix..v
  5481. end
  5482. end
  5483. ----------------------------
  5484. PlaySound=function(soundId,Parent,Pit,Vol)
  5485. local v=newI{"Sound",Parent,SoundId=soundId,Volume=Vol,Pitch=Pit,Looped=false,Debris=5}
  5486. v:Play()
  5487. end
  5488.  
  5489. newPart = function(sizea,sizeb,sizec,parent,cframe,aa,bb,cc,dd,ee,ff)
  5490. local Materials = {}
  5491. for i,v in pairs{
  5492. "Plastic","SmoothPlastic","Wood", "WoodPlanks",
  5493. "Marble", "Slate","Concrete", "Granite",
  5494. "Brick","Pebble", "Cobblestone","CorrodedMetal",
  5495. "DiamondPlate", "Foil", "Metal","Grass",
  5496. "Sand","Fabric","Ice","Neon"} do
  5497. Materials[v]=v
  5498. end
  5499. local mat,col
  5500. local part = Instance.new("Part",parent or Model)
  5501. for i,v in pairs{aa,bb,cc,dd,ee,ff} do
  5502. if Materials[v] then mat=v end
  5503. if BrickColor.new(v).Name==v then col=v end
  5504. if v=="CylinderMesh" or v=="BlockMesh" then local m = Instance.new(v,part) m.Name="Mesh" end
  5505. if v=="Torso" then newI{"SpecialMesh",part,MeshType="Torso"} end
  5506. if v=="Sphere" then newI{"SpecialMesh",part,MeshType="Sphere"} end
  5507. if v=="Wedge" then part:Destroy() part=Instance.new("WedgePart",parent or Model) end
  5508. if v=="Corner" then part:Destroy() part=Instance.new("CornerWedgePart",parent or Model) end
  5509. if v=="Ring" then newI{"SpecialMesh",part,MeshType="FileMesh",MeshId=assets.Ring} end
  5510. if v=="nonCollide" then part.CanCollide=false end
  5511. if v=="Transparent" then part.Transparency=1 end
  5512. if v=="Anchored" then part.Anchored=true end
  5513. if v=="S0.5" then sizea=sizea/2 sizeb=sizeb/2 sizec=sizec/2 part.Mesh.Scale=part.Mesh.Scale*2 end
  5514. end
  5515. if part.className~="CornerWedgePart" then part.formFactor="Custom" end
  5516. for i,v in pairs{"Top","Bottom","Left","Right","Front","Back"} do
  5517. part[v.."Surface"]="SmoothNoOutlines"
  5518. end
  5519. part.Size=V3(sizea,sizeb,sizec) or V3(1,1,1)
  5520. part.CFrame=cframe or CF(0,-50,0)
  5521. part.BrickColor=BrickColor.new(col or '')
  5522. part.Material = mat or 'SmoothPlastic'
  5523. part:BreakJoints()
  5524. part.Elasticity = 0
  5525. part.Name="z"
  5526. part.CustomPhysicalProperties = PhysicalProperties.new(2,2,0,2,0)
  5527. return part,cframe
  5528. end
  5529.  
  5530. newMesh=function(parent,dtype,sx,sy,sz)
  5531. local filemesh
  5532. local mesh
  5533. if dtype=="Block" or dtype=="Cylinder" then
  5534. mesh=INEW(types.."Mesh",parent)
  5535. elseif dtype:sub(1,4)=="http" or dtype:sub(1,3)=="rbx" then
  5536. mesh=INEW("SpecialMesh",parent)
  5537. mesh.MeshType="FileMesh"
  5538. mesh.MeshId=dtype
  5539. filemesh=true
  5540. else
  5541. mesh=INEW("SpecialMesh",parent)
  5542. mesh.MeshType=dtype
  5543. end
  5544. if parent.Size.x<=0.2 then parent.CanCollide=false end
  5545. local yes=parent.Size.x<0.2001 and 5 or 1
  5546. if filemesh then yes=1 end
  5547. mesh.Scale=V3(sx or 1,sy or 1,sz or 1)*yes
  5548. return mesh
  5549. end
  5550.  
  5551. newWeld = function(parent,P0,P1,C0,C1)
  5552. local weld=Instance.new("Weld",parent or P0)
  5553. weld.Part0=P0
  5554. weld.Part1=P1
  5555. weld.C0=C0 or weld.C0
  5556. weld.C1=C1 or weld.C1
  5557. return weld
  5558. end
  5559. newWeld6D = function(parent,P0,P1,C0,C1)
  5560. local weld=Instance.new("Motor6D",parent or P0)
  5561. weld.Part0=P0
  5562. weld.Part1=P1
  5563. weld.C0=C0 or weld.C0
  5564. weld.C1=C1 or weld.C1
  5565. return weld
  5566. end
  5567.  
  5568. ray = function(Origin,Direction,tab,length) -- ray cast
  5569. return workspace:FindPartOnRay(Ray.new(Origin,Direction.unit *(length or 999)),tab)
  5570. end
  5571. addProjectile = function(Origin,Destination,Speed,onHit,extra,noHit)
  5572. local current = CF(Origin,Destination.p)
  5573. local co = 0
  5574. doIn(4,function(i,wkey,step)
  5575. co=co+1
  5576. if co%2==0 then
  5577. local Speed2 = Speed*step
  5578. local Hit,Pos = ray(current.p,Destination.p-Origin,mech,Speed2)
  5579. if Hit then
  5580. current=current*CF(0,0,-(current.p-Pos).magnitude)
  5581. doInT[wkey] = nil
  5582. onHit(Hit)
  5583. else
  5584. current=current*CF(0,0,-Speed2)
  5585. end
  5586. extra(current,i*4)
  5587. end
  5588. end,function()
  5589. if noHit and noHit~=0 then
  5590. noHit()
  5591. end
  5592. end)
  5593. end
  5594.  
  5595. checkCF = function(weld)
  5596. local x,y,z = weld.C0:toEulerAnglesXYZ()
  5597. print(weld.Name ..".C0 ",weld.C0.x,weld.C0.y,weld.C0.z," ",MD(x),MD(y),MD(z))
  5598. local x,y,z = weld.C1:toEulerAnglesXYZ()
  5599. print(weld.Name ..".C1 ",weld.C1.x,weld.C1.y,weld.C1.z," ",MD(x),MD(y),MD(z))
  5600. end
  5601.  
  5602. GetX = function(Part,Point)
  5603. local x,y,z=Part.CFrame:toObjectSpace(CFrame.new(Part.Position,Point)):toEulerAnglesXYZ()
  5604. return math.deg(x)
  5605. end
  5606. GetY = function(Part,Point)
  5607. local x,y,z=Part.CFrame:toObjectSpace(CFrame.new(Part.Position,Point)):toEulerAnglesXYZ()
  5608. return math.deg(y)
  5609. end
  5610.  
  5611. getTriangleValues = function(Points)
  5612. local G, V = 0
  5613. for S = 1, 3 do
  5614. local L = (Points[1+(S+1)%3]-Points[1+S%3]).magnitude
  5615. G, V = L > G and L or G, L > G and {Points[1+(S-1)%3], Points[1+(S)%3], Points[1+(S+1)%3]} or V
  5616. end
  5617. local D = V[2]+(V[3]-V[2]).unit*((V[3]-V[2]).unit:Dot(V[1]-V[2]))
  5618. local C, B = (D-V[1]).unit, (V[2]-V[3]).unit
  5619. local A = B:Cross(C)
  5620. S1 = V3(0.2, (V[2]-D).magnitude, (V[1]-D).magnitude)/1 --0.2
  5621. S2 = V3(0.2, (V[3]-D).magnitude, (V[1]-D).magnitude)/1 --0.2
  5622. C1 = CF(0,0,0,A.X,B.X,C.X,A.Y,B.Y,C.Y,A.Z,B.Z,C.Z)+(V[1]+V[2])/2
  5623. C2 = CF(0,0,0,-A.X,-B.X,C.X,-A.Y,-B.Y,C.Y,-A.Z,-B.Z,C.Z)+(V[1]+V[3])/2
  5624. return C1, C2, S1, S2
  5625. end
  5626.  
  5627. fillTriangle = function(...)
  5628. local C1,C2,S1,S2 = getTriangleValues(...)
  5629. local tri1 = newPart(S1.x,S1.y,S1.z,mech,C1,"Wedge")
  5630. local tri2 = newPart(S2.x,S2.y,S2.z,mech,C2,"Wedge")
  5631. --for i=1,3 do
  5632. --newPart(0.4,0.4,0.4,mech,CF((...)[i]),"nonCollide","Really black","Anchored")
  5633. --end
  5634. return tri1,tri2
  5635. end
  5636.  
  5637.  
  5638.  
  5639. n = ""
  5640.  
  5641. ThighAngle = -40
  5642. LegAngle = 135
  5643. FootAngle = -40
  5644. ToeAngle = -LegAngle-ThighAngle-FootAngle
  5645.  
  5646. ThighAngle = -25
  5647. LegAngle = 75
  5648. FootAngle = 10
  5649. ToeAngle = -LegAngle-ThighAngle-FootAngle
  5650.  
  5651. --SCROP SCROP SCROP SCROP SCROP SCROP SCROP SCROP SCROP SCROP SCROP
  5652. pcall(function() workspace["RM Mech 2"]:Remove() end)
  5653. mech = newI{"Model",workspace,Name="RM Mech 2"}
  5654.  
  5655. Base = newPart(10,10,8,mech,CF(0,50,0),"nonCollide")
  5656. Base.Transparency=1
  5657. Torso = newPart(4,4,4,mech,Base.CFrame,"nonCollide","Transparent")
  5658. BaseW = newWeld6D(Base,Base,Torso,CF(0,0,0)*CFA(0,0,0))
  5659. Torso1 = newPart(4,4,4,mech,Base.CFrame,"nonCollide","Transparent") --for X Turn
  5660. Torso1W = newWeld6D(Torso,Torso,Torso1,CF(0,0,0)*CFA(0,0,0))
  5661. Torso2 = newPart(4,4,4,mech,Base.CFrame,"nonCollide","Transparent") --for Y Turning Torso
  5662. Torso2W = newWeld6D(Torso1,Torso1,Torso2,CF(0,0,0)*CFA(0,0,0))
  5663.  
  5664.  
  5665. --[[
  5666. Stand = newPart(2,2,2,mech,Base.CFrame,"Transparent") --Stand (motor6d never used)
  5667. Stand.Name = "Left Leg"
  5668. StandW = newWeld6D(Base,Base,Stand,CF(-4.5,-7-0.172-6,0))
  5669. Stand = newPart(2,2,2,mech,Base.CFrame,"Transparent")
  5670. Stand.Name = "Right Leg"
  5671. StandW = newWeld6D(Base,Base,Stand,CF( 4.5,-7-0.172-6,0)) --]]
  5672.  
  5673. ------------------
  5674. fillTriangle1Mech = function(...)
  5675. local t1,t2 = fillTriangle(...)
  5676. newWeld(Torso,Torso2,t1,Torso2.CFrame:toObjectSpace(t1.CFrame))
  5677. newWeld(Torso,Torso2,t2,Torso2.CFrame:toObjectSpace(t2.CFrame))
  5678. return t1,t2
  5679. end
  5680.  
  5681. ------------------
  5682. LThigh = newPart(3,3,3,mech,Torso.CFrame,"nonCollide","Transparent")
  5683. LThighW = newWeld6D(Torso,Torso,LThigh,CF(-4.5+1.5,0,0),CF( 1.5,0.5,0)*CFA(ThighAngle,0,0))
  5684. RThigh = newPart(3,3,3,mech,Torso.CFrame,"nonCollide","Transparent")
  5685. RThighW = newWeld6D(Torso,Torso,RThigh,CF( 4.5-1.5,0,0),CF(-1.5,0.5,0)*CFA(ThighAngle,0,0))
  5686. for i,v in pairs{[-1]=LThigh,[1]=RThigh} do
  5687. newWeld(Torso,v,newPart(2.2,0.4,2.2,mech,nil,"CylinderMesh","nonCollide","Dark stone grey"),CF(1.41*i,0.5,0)*CFA(0,0,90))
  5688. newWeld(Torso,v,newPart(1.8,0.41,1.8,mech,nil,"CylinderMesh","nonCollide","Black"),CF(1.41*i,0.5,0)*CFA(0,0,90))
  5689. newWeld(Torso,v,newPart(1.75,0.2,1.75,mech,nil,"CylinderMesh","nonCollide","Really black"),CF(1.41*-i,0.5,0)*CFA(0,0,90))
  5690.  
  5691. newWeld(Torso,v,newPart(1.4,3.2,1.4,mech,nil,"CylinderMesh","nonCollide","Dark stone grey"),CF(0,-5,0)*CFA(0,0,90))
  5692. newWeld(Torso,v,newPart(1.1,3.3,1.1,mech,nil,"CylinderMesh","nonCollide","Black"),CF(0,-5,0)*CFA(0,0,90))
  5693. newWeld(Torso,v,newPart(1.6,0.2,1.2,mech,nil),CF(0,-3.9,-0.1))
  5694.  
  5695. local newp = newPart(1.6,math.sqrt(1+5.5*5.5)+0.05,0.2,mech,nil)
  5696. local newpw = newWeld(Torso,v,newp,CF(0,-1.25,1.4-0.52)*CFA(math.deg(math.tan(1/5.5)),0,0))
  5697. if i==-1 then
  5698. LThighPad = newp
  5699. LThighPadW = newpw
  5700. else
  5701. RThighPad = newp
  5702. RThighPadW = newpw
  5703. end
  5704. local newp = newPart(1.6,math.sqrt(0.2^2+5.5^2)+0.05,0.2,mech,nil)
  5705. local newpw = newWeld(Torso,v,newp,CF(0,-1.25,-1.4+0.3)*CFA(-math.deg(math.tan(0.6/5.5)),0,0)*CF(0,2.7725,0),CF(0,2.7725,0)*CFA(0,0,0))
  5706. if i==-1 then
  5707. LThighPad2 = newp
  5708. LThighPad2W = newpw
  5709. else
  5710. RThighPad2 = newp
  5711. RThighPad2W = newpw
  5712. end
  5713.  
  5714. newWeld(Torso,v,newPart(3,1.2,0.8,mech,nil,"Wedge"),CF(0,2.1,-1.5+0.4)*CFA(0,0,0))
  5715. newWeld(Torso,v,newPart(3,1.2,0.6,mech,nil),CF(0,2.1,-1.5+1.1))
  5716. newWeld(Torso,v,newPart(3,1.2,1.6,mech,nil,"Wedge"),CF(0,2.1, 1.5-0.8)*CFA(0,180,0))
  5717. for i=-1,1,2 do
  5718. newWeld(Torso,v,newPart(0.7,7.5,1.6,mech,nil),CF(-1.15*i,-2.25,0))
  5719. newWeld(Torso,v,newPart(0.7,0.8,0.5,mech,nil,"Wedge"),CF(1.15*i,-6.25,-0.4)*CFA(-90,0,0))
  5720. newWeld(Torso,v,newPart(0.7,0.8,0.5,mech,nil,"Wedge"),CF(1.15*i,-6.25, 0.4)*CFA(-90,0,180))
  5721. newWeld(Torso,v,newPart(0.7,0.7,7.5,mech,nil,"Wedge"),CF(1.15*i,-2.25,-0.8-0.35)*CFA(-90,0,0))
  5722. newWeld(Torso,v,newPart(0.7,0.7,7.5,mech,nil,"Wedge"),CF(1.15*i,-2.25, 0.8+0.35)*CFA(-90,0,180))
  5723. end
  5724. end
  5725. LLeg = newPart(2,2,2,mech,Torso.CFrame,"Transparent","nonCollide")
  5726. LLegW = newWeld6D(LThigh,LThigh,LLeg,CF(0,-5,0),CF(0,0,0)*CFA(LegAngle,0,0))
  5727. RLeg = newPart(2,2,2,mech,Torso.CFrame,"Transparent","nonCollide")
  5728. RLegW = newWeld6D(RThigh,RThigh,RLeg,CF(0,-5,0),CF(0,0,0)*CFA(LegAngle,0,0))
  5729. for i,v in pairs{LLeg,RLeg} do
  5730. newWeld(Torso,v,newPart(2,1.6,2,mech,nil,"CylinderMesh"),CF(0,0,0)*CFA(0,0,90))
  5731. newWeld(Torso,v,newPart(1,1,1,mech,nil,"CylinderMesh"),CF(0,-6,0)*CFA(0,0,90))
  5732. newWeld(Torso,v,newPart(1.599,2,1,mech,nil),CFA(4,0,0)*CF(0,-1,-0.49))
  5733. newWeld(Torso,v,newPart(1.599,2,1,mech,nil,"Wedge"),CFA(4,0,0)*CF(0,-1,0.5)*CFA(180,0,0))
  5734. newWeld(Torso,v,newPart(1.6,3.2,1,mech,nil,"Torso"),CFA(4,0,0)*CF(0,-2-0.8,-0.355)*CFA(165+5,0,0)*CF(0,0.7,0))
  5735. newWeld(Torso,v,newPart(1,1.15,1,mech,nil),CF(0,-6,0)*CFA(-17,0,0)*CF(0,0.575,0))
  5736. for i=-1,1,2 do
  5737. local baa = newPart(0.5,0.4,0.5,mech,nil,"CylinderMesh","Dark stone grey")
  5738. newWeld(Torso,v,baa,CF(-0.25*i,-5.5,0.5)*CFA(-5,0,2.2*i))
  5739. newWeld(Torso,baa,newPart(0.4,5,0.4,mech,nil,"CylinderMesh","Black"),CF(0,2.5,0))
  5740. newWeld(Torso,baa,newPart(0.5,0.5,0.5,mech,nil,"Sphere","Dark stone grey"),CF(0,-0.15,0))
  5741. newWeld(Torso,baa,newPart(0.7,1.8,0.7,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,4.1-0.4,0))
  5742. end
  5743. end
  5744. LFoot = newPart(2,2,2,mech,nil,"Transparent","nonCollide")
  5745. LFootW = newWeld6D(LLeg,LLeg,LFoot,CF(0,-6,0),CF(0,0,0)*CFA(FootAngle,0,0))
  5746. RFoot = newPart(2,2,2,mech,nil,"Transparent","nonCollide")
  5747. RFootW = newWeld6D(RLeg,RLeg,RFoot,CF(0,-6,0),CF(0,0,0)*CFA(FootAngle,0,0))
  5748. for i,v in pairs{LFoot,RFoot} do
  5749. newWeld(Torso,v,newPart(0.8,2.8,0.8,mech,nil,"CylinderMesh","nonCollide","S0.5","Dark stone grey"),CF(0,-1,-5)*CFA(0,0,90))
  5750. newWeld(Torso,v,newPart(0.6,2.81,0.6,mech,nil,"CylinderMesh","nonCollide","S0.5","Black"),CF(0,-1,-5)*CFA(0,0,90))
  5751. newWeld(Torso,v,newPart(1,0.5,1,mech,nil,"CylinderMesh","nonCollide","S0.5"),CF(0,-1,-5)*CFA(0,-1,90))
  5752. newWeld(Torso,v,newPart(1,0.25,1,mech,nil,"CylinderMesh","nonCollide","S0.5"),CF(-0.125-0.65-0.4,-1,-5)*CFA(0,0,90))
  5753. newWeld(Torso,v,newPart(1,0.25,1,mech,nil,"CylinderMesh","nonCollide","S0.5"),CF(0.125+0.65+0.4,-1,-5)*CFA(0,0,90))
  5754. newWeld(Torso,v,newPart(0.501,1,1,mech,nil,"nonCollide"),CF(0,-1,-4.5))
  5755. newWeld(Torso,v,newPart(0.251,1,1,mech,nil,"nonCollide"),CF(-0.125-0.65-0.4,-1,-4.5))
  5756. newWeld(Torso,v,newPart(0.251,1,1,mech,nil,"nonCollide"),CF( 0.125+0.65+0.4,-1,-4.5))
  5757. newWeld(Torso,v,newPart(1,0.5,5.5,mech,nil,"Wedge"),CF(-0.9-0.15,-1,-1.25)*CFA(0,180,-90))
  5758. newWeld(Torso,v,newPart(1,0.5,5.5,mech,nil,"Wedge"),CF( 0.9+0.15,-1,-1.25)*CFA(0,180, 90))
  5759. newWeld(Torso,v,newPart(1.6,1,5.5,mech,nil),CF(0,-1,-1.25)) --asd
  5760. newWeld(Torso,v,newPart(0.8,1.7,0.8,mech,nil,"CylinderMesh","nonCollide","Dark stone grey"),CF(0,0,0)*CFA(0,0,90))
  5761. newWeld(Torso,v,newPart(0.6,1.71,0.6,mech,nil,"CylinderMesh","nonCollide","Black"),CF(0,0,0)*CFA(0,0,90))
  5762. for i=-1,1,2 do
  5763. newWeld(Torso,v,newPart(0.6,1,1,mech,nil,"Wedge"),CF(0.5*i,-1,2)*CFA(0,180,180)) --heel
  5764. newWeld(Torso,v,newPart(0.3,0.5,0.8,mech,nil),CF(0.65*i, 0.25,0)*CFA(0,0,0))
  5765. newWeld(Torso,v,newPart(0.3,0.5,1.6,mech,nil),CF(0.65*i,-0.25,0)*CFA(0,0,0))
  5766. newWeld(Torso,v,newPart(0.3,0.5,0.4,mech,nil,"Wedge"),CF(0.65*i,0.25,-0.6)*CFA(0, 0,0))
  5767. newWeld(Torso,v,newPart(0.3,0.5,0.4,mech,nil,"Wedge"),CF(0.65*i,0.25, 0.6)*CFA(0,180,0))
  5768. newWeld(Torso,v,newPart(0.3,0.5,0.2,mech,nil,"Wedge"),CF(0.65*i,-0.25,-0.9)*CFA(0, 0,0))
  5769. newWeld(Torso,v,newPart(0.3,0.5,0.2,mech,nil,"Wedge"),CF(0.65*i,-0.25, 0.9)*CFA(0,180,0))
  5770. end
  5771. end
  5772. LToe = newPart(3,1,1,mech,nil,"Dark stone grey","Transparent")
  5773. LToeW = newWeld6D(LFoot,LFoot,LToe,CF(0,-1,-5),CF(0,0,0)*CFA(ToeAngle,0,0))
  5774. RToe = newPart(3,1,1,mech,nil,"Dark stone grey","Transparent")
  5775. RToeW = newWeld6D(RFoot,RFoot,RToe,CF(0,-1,-5),CF(0,0,0)*CFA(ToeAngle,0,0))
  5776. for i,v in pairs{LToe,RToe} do
  5777. local part = newPart(0.8,1,3,mech,nil,"Wedge","Dark stone grey")
  5778. newWeld(Torso,v,part,CF(-0.65,0,-1.75))
  5779. local part = newPart(0.8,1,3,mech,nil,"Wedge","Dark stone grey")
  5780. newWeld(Torso,v,part,CF(0.65,0,-1.75))
  5781. local part = newPart(0.8,1,1,mech,nil,"Wedge","Dark stone grey")
  5782. newWeld(Torso,v,part,CF(-0.65,0,0.25)*CFA(180,0,0))
  5783. local part = newPart(0.8,1,1,mech,nil,"Wedge","Dark stone grey")
  5784. newWeld(Torso,v,part,CF( 0.65,0,0.25)*CFA(180,0,0))
  5785. newWeld(Torso,v,newPart(4,3,5,mech,nil,"Transparent"),CF(0,1,-1.5))
  5786. end
  5787.  
  5788.  
  5789. ---------------TORSO1 LOWER (NOT Y TURN)
  5790. newWeld(Torso,Torso1,newPart(5,3,3,mech,nil,"Torso"),CF(0,-0.5,0)*CFA(180,90,0)) --lowest torso
  5791. newWeld(Torso,Torso1,newPart(1.6,3.4,1.6,mech,nil,"CylinderMesh","nonCollide","Dark stone grey"),CF(0,-0.8,-0.55)*CFA(0,0,90))
  5792. for i=-1,1,2 do
  5793. newWeld(Torso,Torso1,newPart(1.5,1.5,1.5,mech,nil,"Sphere","nonCollide"),CF(3*i,0,0))
  5794. newWeld(Torso,Torso1,newPart(1.2,2.4,1.2,mech,nil,"CylinderMesh","nonCollide"),CF(3*i,0,0)*CFA(-55,55*i,0)*CF(0,0,-1.2)*CFA(90,0,0))
  5795. end
  5796. --Tail
  5797. newWeld(Torso,Torso1,newPart(2.5,1.5,2.5,mech,nil,"CylinderMesh"),CF(0,-0.5,2)*CFA(90,0,0)*CF(0,0.5-0.25,0))
  5798. newWeld(Torso,Torso1,newPart(2.3,0.2,2.3,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,-0.5,2)*CFA(90,0,0)*CF(0,1-0.09,0))
  5799. newWeld(Torso,Torso1,newPart(2,0.5,0.2,mech,nil,"Black"),CF(0,-0.5,2+1-0.08)*CFA(0,0,0))
  5800.  
  5801.  
  5802.  
  5803.  
  5804. CockpitGlass = {}
  5805. ---------------------TORSO2 UPPER
  5806. newWeld(Torso,Torso2,newPart(2.9,0.2,2.9,mech,nil,"CylinderMesh","nonCollide","Really black"),CF(0,1-0.09,0))
  5807. newWeld(Torso,Torso2,newPart(2.9,0.2,2.9,mech,nil,"CylinderMesh","nonCollide","Really black"),CF(0,1+2+0.09,0))
  5808. newWeld(Torso,Torso2,newPart(2.6,2,2.6,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,1+1,0))
  5809.  
  5810. for i=0.2,1.8,0.4 do
  5811. newWeld(Torso,Torso2,newPart(3.1+i/3,0.2,3.1+i/3,mech,nil,"CylinderMesh","nonCollide"),CF(0,1+i,0))
  5812. end
  5813. newWeld(Torso,Torso2,newPart(8,5,4,mech,nil,"Torso"),CF(0,1+2+2.5,0)*CFA(180,90,0)) -- upper
  5814.  
  5815. Ceiling = newPart(4,0.2,6,mech,nil)
  5816. newWeld(Torso,Torso2,Ceiling,CF(0,16.9,0))
  5817.  
  5818. newWeld(Torso,Torso2,newPart(4,1,1,mech,nil),CF(0,8-0.5,-4.5)) --floor front
  5819. --front glass part
  5820. newWeld(Torso,Torso2,newPart(4.4,1,0.2,mech,nil),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,0.5,0))
  5821. newWeld(Torso,Torso2,newPart(0.25,4.4,0.25,mech,nil,"CylinderMesh"),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1,0)*CFA(0,0,90)) --glass metal
  5822. CockpitGlass[#CockpitGlass+1] = newWeld(Torso,Torso2,newPart(4.4,2+0.1,0.2,mech,nil),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1+1,0)).Part1
  5823. newWeld(Torso,Torso2,newPart(0.25,4.4,0.25,mech,nil,"CylinderMesh"),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(0,0,90)) --glass metal
  5824. CockpitGlass[#CockpitGlass+1] = newWeld(Torso,Torso2,newPart(4.4,1+3.35,0.2,mech,nil),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(30+19.8,0,0)*CF(0,0.5+1.675,0)).Part1
  5825. newWeld(Torso,Torso2,newPart(4.4,3,0.2,mech,nil),CF(0,17,-3)*CFA(-135-5,0,0)*CF(0,1.5,0)) --upper ceiling
  5826. newWeld(Torso,Torso2,newPart(0.25,4.4,0.25,mech,nil,"CylinderMesh"),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(30+19.8,0,0)*CF(0,1+3.35,0)*CFA(0,0,90)) --glass metal
  5827.  
  5828.  
  5829. for i=-1,1,2 do
  5830. newWeld(Torso,Torso2,newPart(6.2,3,2,mech,nil,"Torso"),CF(3*i,1+2+3.5,0)*CFA(180,90,0)) --side torsos
  5831. newWeld(Torso,Torso2,newPart(3,1,3,mech,nil,"CylinderMesh"),CF(2.5*i,5,0)*CFA(0,0,90)) -- hipgun
  5832.  
  5833. newWeld(Torso,Torso2,newPart(1,2,2,mech,nil,"Wedge"),CF(3*i,8-0.5,-4)*CFA(0,-90*i,90*i)) --floorwedge
  5834. newWeld(Torso,Torso2,newPart(1,1,2,mech,nil,"Wedge"),CF(3*i,8-0.5, 3.5)*CFA(0,-90*i,90*-i))
  5835.  
  5836. newWeld(Torso,Torso2,newPart(0.2, 6,6.2,mech,nil),CF(4*i,8,-0.1)*CFA(0,0,-10*i)*CF(-0.1*i,3,0)) --sidewalls
  5837. newWeld(Torso,Torso2,newPart(0.2,4.3,6.2,mech,nil),CF(4*i,8,-0.1)*CFA(0,0,-10*i)*CF(0,6,0)*CFA(0,0,55*i)*CF(0,2.15,0)) --sidewall upper
  5838. newWeld(Torso,Torso2,newPart(0.2,1,math.sqrt(2*2+2*2)+0.1,mech,nil),CF(-2.9*i,8,-4)*CFA(0,-45*i,25*i)*CF(0,0.5,0.05)) --side front
  5839.  
  5840. --metal glasses
  5841. newWeld(Torso,Torso2,newPart(0.25,4,0.25,mech,nil,"CylinderMesh"),CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+1-1,0))
  5842. newWeld(Torso,Torso2,newPart(0.25,4.4,0.25,mech,nil,"CylinderMesh"),CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(30+19.8,0,0)*CF(0,0.5+1.675,0))
  5843. newWeld(Torso,Torso2,newPart(0.25,0.25,0.25,mech,nil,"Sphere"),CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0))
  5844. newWeld(Torso,Torso2,newPart(0.25,0.25,0.25,mech,nil,"Sphere"),CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(30+19.8,0,0)*CF(0,1+3.35,0))
  5845. local p1 = (Torso2.CFrame*CF(2.2*i,17,-3)*CFA(-135-5,0,0)*CF(0,3,0)).p
  5846. local p2 = (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(0,6,0)).p
  5847. local len = (p1-p2).magnitude
  5848. local cf = CF(p1,p2)*CF(0,0,-len/2)*CFA(-90,0,0)
  5849. newWeld(Torso,Torso2,newPart(0.25,len,0.25,mech,nil,"CylinderMesh"),Torso2.CFrame:toObjectSpace(cf))
  5850. newWeld(Torso,Torso2,newPart(0.25,0.25,0.25,mech,nil,"Sphere"),Torso2.CFrame:toObjectSpace(cf*CF(0,len/2,0)))
  5851. p1 = (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)).p
  5852. len = (p1-p2).magnitude
  5853. cf = CF(p1,p2)*CF(0,0,-len/2)*CFA(-90,0,0)
  5854. newWeld(Torso,Torso2,newPart(0.25,len,0.25,mech,nil,"CylinderMesh"),Torso2.CFrame:toObjectSpace(cf))
  5855. p1 = (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(-0.1*i,2,0)).p
  5856. len = (p1-p2).magnitude
  5857. cf = CF(p1,p2)*CF(0,0,-len/2)*CFA(-90,0,0)
  5858. newWeld(Torso,Torso2,newPart(0.25,len,0.25,mech,nil,"CylinderMesh"),Torso2.CFrame:toObjectSpace(cf))
  5859. newWeld(Torso,Torso2,newPart(0.25,0.25,0.25,mech,nil,"Sphere"),Torso2.CFrame:toObjectSpace(cf*CF(0,-len/2,0)))
  5860. p2 = (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1,0)).p
  5861. len = (p1-p2).magnitude
  5862. cf = CF(p1,p2)*CF(0,0,-len/2)*CFA(-90,0,0)
  5863. newWeld(Torso,Torso2,newPart(0.25,len,0.25,mech,nil,"CylinderMesh"),Torso2.CFrame:toObjectSpace(cf))
  5864.  
  5865. local t1,t2 = fillTriangle1Mech{ --upper glass
  5866. (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)).p;
  5867. (Torso2.CFrame*CF(2.2*i,17,-3)*CFA(-135-5,0,0)*CF(0,3,0)).p;
  5868. (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(0,6,0)).p;}
  5869. CockpitGlass[#CockpitGlass+1] = t1 newI{"SpecialMesh",t1,MeshType="Wedge",Scale=V3(0,1,1)}
  5870. CockpitGlass[#CockpitGlass+1] = t2 newI{"SpecialMesh",t2,MeshType="Wedge",Scale=V3(0,1,1)}
  5871. local t1,t2 = fillTriangle1Mech{ --mid glass
  5872. (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)).p;
  5873. (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1,0)).p;
  5874. (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(-0.1*i,2,0)).p;}
  5875. CockpitGlass[#CockpitGlass+1] = t1 newI{"SpecialMesh",t1,MeshType="Wedge",Scale=V3(0,1,1)}
  5876. CockpitGlass[#CockpitGlass+1] = t2 newI{"SpecialMesh",t2,MeshType="Wedge",Scale=V3(0,1,1)}
  5877. local t1,t2 = fillTriangle1Mech{ --lower glass
  5878. (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)).p;
  5879. (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(0,6,0)).p;
  5880. (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(-0.1*i,2,0)).p;}
  5881. CockpitGlass[#CockpitGlass+1] = t1 newI{"SpecialMesh",t1,MeshType="Wedge",Scale=V3(0,1,1)}
  5882. CockpitGlass[#CockpitGlass+1] = t2 newI{"SpecialMesh",t2,MeshType="Wedge",Scale=V3(0,1,1)}
  5883.  
  5884. fillTriangle1Mech{ --sidewall upper front
  5885. (Torso2.CFrame*CF(2.2*i,17,-3)).p;
  5886. (Torso2.CFrame*CF(2.2*i,17,-3)*CFA(-135-5,0,0)*CF(0,3,0)).p;
  5887. (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(0,6,0)).p;}
  5888.  
  5889. fillTriangle1Mech{ --sidewall lower front
  5890. (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1,0)).p;
  5891. (Torso2.CFrame*CF(2.9*i,8,-4)*CFA(0,45*i,-25*i)*CF(0,1,math.sqrt(2*2+2*2)/2+0.1)).p;
  5892. (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(-0.1*i,2,0)).p;}
  5893.  
  5894. fillTriangle1Mech{ --sides and back ceiling
  5895. (Torso2.CFrame*CF(2*i,8,4)).p;
  5896. (Torso2.CFrame*CF(2*i,8,4)*CFA(20,0,0)*CF(0,6,0)).p;
  5897. (Torso2.CFrame*CF(4*i,8,3)).p;}
  5898. fillTriangle1Mech{
  5899. (Torso2.CFrame*CF(4*i,8,3)*CFA(0,0,-10*i)*CF(0,6,0)).p;
  5900. (Torso2.CFrame*CF(2*i,8,4)*CFA(20,0,0)*CF(0,6,0)).p;
  5901. (Torso2.CFrame*CF(4*i,8,3)).p;}
  5902. fillTriangle1Mech{
  5903. (Torso2.CFrame*CF(4*i,8,3)*CFA(0,0,-10*i)*CF(0,6,0)).p;
  5904. (Torso2.CFrame*CF(2*i,8,4)*CFA(20,0,0)*CF(0,6,0)).p;
  5905. (Torso2.CFrame*CF(2*i,16.5+0.5,3)).p;}
  5906.  
  5907.  
  5908.  
  5909.  
  5910. end
  5911.  
  5912. --roof designs
  5913. newWeld(Torso,Torso2,newPart(9,1,1,mech,nil,"Wedge"),CF(0,17.5,-1.5))
  5914. newWeld(Torso,Torso2,newPart(4.4,1,2,mech,nil,"Wedge"),CF(0,17.5,-2))
  5915. newWeld(Torso,Torso2,newPart(4.4,1,4,mech,nil,"Wedge"),CF(0,18.5, 1))
  5916. newWeld(Torso,Torso2,newPart(4.4,2,3,mech,nil,"Wedge"),CF(0,18, 4.5)*CFA(0,180,0))
  5917. newWeld(Torso,Torso2,newPart(9,1,4,mech,nil),CF(0,17.5, 1))
  5918. newWeld(Torso,Torso2,newPart(4.4,3,3.3,mech,nil,"Wedge"),CF(0,17-1.65, 4.5)*CFA(-90,0,0))
  5919.  
  5920. LShoulder = newPart(2.6,2.6,2.6,mech,nil,"Dark stone grey","Sphere")
  5921. LShoulderW = newWeld6D(Torso2,Torso2,LShoulder,CF(-8,16,0),CF(0,0,0)*CFA(30,0,8))
  5922. RShoulder = newPart(2.6,2.6,2.6,mech,nil,"Dark stone grey","Sphere")
  5923. RShoulderW = newWeld6D(Torso2,Torso2,RShoulder,CF( 8,16,0),CF(0,0,0)*CFA(30,0,-8))
  5924.  
  5925. BackBooster = {}
  5926. for i=-1,1,2 do --back torso design
  5927. local v = newPart(4,4,4,mech,nil,"CylinderMesh")
  5928. newWeld(Torso,Torso2,v,CF(4.5*i,15.5,3.75)*CFA(-15,0,5*i))
  5929. newWeld(Torso,v,newPart(3.65,2,3.65,mech,nil,"CylinderMesh"),CF(0,-2,0)*CFA(2,0,0)*CF(0,0,0))
  5930. newWeld(Torso,v,newPart(3.2,3,3.2,mech,nil,"CylinderMesh"),CF(0,-2,0)*CFA(4,0,0)*CF(0,-1.5,0.1))
  5931. local backboost = newPart(2.4,0.2,2.4,mech,nil,"CylinderMesh","Really black","Neon")
  5932. newWeld(Torso,v,backboost,CF(0,-2,0)*CFA(4,0,0)*CF(0,-2.91,0.1))
  5933. BackBooster[i] = newI{"ParticleEmitter",backboost
  5934. ,Lifetime = NumberRange.new(0.8,1)
  5935. ,LightEmission=1
  5936. ,Color = ColorSequence.new(Color3.new(178/255,248/255,255/255),Color3.new(0/255,0/255,255/255))
  5937. ,Texture = assetprefix.."346519018"
  5938. ,LockedToPart=true
  5939. ,EmissionDirection="Bottom"
  5940. ,Rate=600
  5941. ,Speed = NumberRange.new(6,6)
  5942. ,Rotation = NumberRange.new(-180,-180)
  5943. ,RotSpeed = NumberRange.new(-90,-90)
  5944. ,VelocitySpread=0
  5945. ,Acceleration=V3(0,-15,0)
  5946. ,Enabled=false
  5947. }
  5948. for y=1,6 do
  5949. newWeld(Torso,v,newPart(1,1,0.4,mech,nil,"Wedge"),CF(0,-2,0)*CFA(4,0,0)*CF(0,-3-0.5,0.1)*CFA(0,y*60,0)*CF(0,0,1.5-0.2)*CFA(180,0,0))
  5950. end
  5951. end
  5952.  
  5953.  
  5954. for i,v in pairs{[-1]=LShoulder,[1]=RShoulder} do
  5955. newWeld(Torso,v,newPart(3,0.75,3,mech,nil,"CylinderMesh"),CFA(0,0, 50)) --x
  5956. newWeld(Torso,v,newPart(3,0.75,3,mech,nil,"CylinderMesh"),CFA(0,0,-50)) --x
  5957. newWeld(Torso,Torso2,newPart(6,2.5,2,mech,nil,"Torso"),CF(-5.5*i,17-0.25,0)*CFA(0,90,0)) --shoulder
  5958. newWeld(Torso,Torso2,newPart(4.5,2.5,3,mech,nil,"Torso"),CF(-8*i,17+0.5,0)*CFA(0,90,0))
  5959.  
  5960. newWeld(Torso,Torso2,newPart(1.6,2,2,mech,nil,"Wedge"),CF(-5.5*i,14.5, 1.5)*CFA(180,90*i,0))
  5961. newWeld(Torso,Torso2,newPart(1.6,2,2,mech,nil,"Wedge"),CF(-5.5*i,14.5,-1.5)*CFA(180,90*i,0))
  5962. newWeld(Torso,Torso2,newPart(5,3,2.5,mech,nil,"Wedge"),CF(-3.5*i,15.5,0.5)*CFA(180,-90*i,0))
  5963.  
  5964. newWeld(Torso,Torso2,newPart(4.3,2.5,3,mech,nil,"Wedge"),CF(-4.35*i,16.75,3.5)*CFA(180,0,0))
  5965.  
  5966.  
  5967. newWeld(Torso,v,newPart(3,1,3,mech,nil,"Wedge"),CF(0,-11.5, 1)*CFA(180,0, 0))
  5968. newWeld(Torso,v,newPart(3,2,1,mech,nil,"Wedge"),CF(0,-11 , -1)*CFA( 0,0,180))
  5969. newWeld(Torso,v,newPart(3,1,3,mech,nil,"Wedge"),CF(0,-10.5, 1)*CFA( 0,180,0))
  5970.  
  5971. newWeld(Torso,v,newPart(2.8,1,2.2,mech,nil,"Wedge"),CF(0,-2.5,0.6)*CFA(180,0, 0))
  5972. newWeld(Torso,v,newPart(2.8,2,1,mech,nil,"Wedge"),CF(0,-2 , -1)*CFA( 180,180,180))
  5973. newWeld(Torso,v,newPart(2.8,1,2.2,mech,nil,"Wedge"),CF(0,-1.5,0.6)*CFA( 0,180,0))
  5974. newWeld(Torso,v,newPart(0.8,1.7,0.8,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.6,-1.3,0.9)*CFA(-15,0,-7))
  5975. newWeld(Torso,v,newPart(0.8,1.7,0.8,mech,nil,"CylinderMesh","Dark stone grey"),CF( 0.6,-1.3,0.9)*CFA(-15,0,7))
  5976.  
  5977. newWeld(Torso,v,newPart(4,1.42,4,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.7*i,-4,2)*CFA(0,0,90))--cylinder upper shoulder
  5978. newWeld(Torso,v,newPart(3,0.2,3,mech,nil,"CylinderMesh"),CF(-1.5*i,-4,2)*CFA(0,0,90))
  5979. newWeld(Torso,v,newPart(4,1.41,4,mech,nil,"CylinderMesh"),CF(-0.7*i,-4-0.25,1.5-0.5)*CFA(0,0,90))
  5980. newWeld(Torso,v,newPart(2.05,3.19,2.05,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.1*i,-4,2)*CFA(0,0,90))
  5981. newWeld(Torso,v,newPart(1.5,1.6,1.5,mech,nil,"CylinderMesh","Black"),CF(0.7*i,-4,2)*CFA(0,0,90))
  5982. newWeld(Torso,v,newPart(1.4,5,2,mech,nil,"Dark stone grey"),CF(0.69*i,-4,2)*CFA(12.5,0,0)*CF(0,-2.5,0))
  5983. newWeld(Torso,v,newPart(1.4,2.8,2,mech,nil,"Dark stone grey"),CF(0.69*i,-4,2)*CFA(129,0,0)*CF(0,-1.4,0))
  5984. for x=50,110,30 do
  5985. newWeld(Torso,v,newPart(1.3,1.6,1.3,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.7*i,-4-0.25,1.5-0.5)*CFA(x,0,0)*CF(0,2+0.8,0))
  5986. newWeld(Torso,v,newPart(1,0.2,1,mech,nil,"CylinderMesh"),CF(-0.7*i,-4-0.25,1.5-0.5)*CFA(x,0,0)*CF(0,2+1.6-0.09,0))
  5987. end
  5988. newWeld(Torso,v,newPart(1.4,6.6,1.4,mech,nil,"CylinderMesh"),CF(-0.7*i,-4-0.25,1+2)*CFA( 5,0,0)*CF(0,-3.3,-0.7))
  5989. newWeld(Torso,v,newPart(1.4,6,1.4,mech,nil,"CylinderMesh"),CF(-0.7*i,-4-0.25,1-2)*CFA(-2,0,0)*CF(0,-3, 0.7))
  5990. newWeld(Torso,v,newPart(1.4,6,2.3,mech,nil),CF(-0.7*i,-7,0.8))
  5991.  
  5992. newWeld(Torso,v,newPart(4.2,2,3,mech,nil,"Torso"),CF(0,-9.55,0.75)*CFA(14,90,0))
  5993.  
  5994. end
  5995.  
  5996. LElbow = newPart(1,1,1,mech,nil)
  5997. LElbowW = newWeld6D(LShoulder,LShoulder,LElbow,CF(0,-12,0),CF(0,0,0)*CFA(-90,0,0))
  5998. RElbow = newPart(1,1,1,mech,nil)
  5999. RElbowW = newWeld6D(RShoulder,RShoulder,RElbow,CF(0,-12,0),CF(0,0,0)*CFA(-90-10,0,0))
  6000.  
  6001. for i,v in pairs{[-1]=LElbow,[1]=RElbow} do
  6002. newWeld(Torso,v,newPart(2.4,3.5,2.4,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,0,0)*CFA(0,0,90))
  6003. newWeld(Torso,v,newPart(1.7,3.8,1.7,mech,nil,"CylinderMesh","Black"),CF(0,0,0)*CFA(0,0,90))
  6004. newWeld(Torso,v,newPart(3,0.6,3,mech,nil,"CylinderMesh","Really black"),CF(0,0,0)*CFA(0,0,90))
  6005. if i == -1 then
  6006. newWeld(Torso,v,newPart(2.2,2,2.5,mech,nil,"Torso"),CF(0,-0.5,1.3)*CFA(90,90,0)) --z y x --y z x
  6007. newWeld(Torso,v,newPart(1.4,2,1,mech,nil,"Dark stone grey"),CF(0,-1,0))
  6008.  
  6009. newWeld(Torso,v,newPart(0.75,2.4,0.75,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.6,-1.6,1.3)*CFA(30,0,0))
  6010. newWeld(Torso,v,newPart(0.75,2.4,0.75,mech,nil,"CylinderMesh","Dark stone grey"),CF( 0.6,-1.6,1.3)*CFA(30,0,0))
  6011.  
  6012. newWeld(Torso,v,newPart(2,2.2,2,mech,nil,"Wedge"),CF(0,-1.9,-1.5))
  6013. newWeld(Torso,v,newPart(3,1,2,mech,nil),CF(0,-2.5,0))
  6014.  
  6015. end
  6016. end
  6017.  
  6018. --Left Arm
  6019. newWeld(Torso,LElbow,newPart(3,3.5,4,mech,nil,"Wedge"),CF(0,-3-2,-0.75)*CFA(-90,0,0))
  6020. newWeld(Torso,LElbow,newPart(5,4,5,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,-3-2.5,0)*CFA(0,0,90))
  6021. newWeld(Torso,LElbow,newPart(2.4,5,2.4,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,-3-2.5,0)*CFA(0,0,90))
  6022. newWeld(Torso,LElbow,newPart(4,1.2,4,mech,nil,"CylinderMesh","Black"),CF(0,-3-2.5+1,-1)*CFA(0,0,90))
  6023. --newWeld(Torso,LElbow,newPart(4.99,2.3,1.1,mech,nil,"Dark stone grey"),CF(0,-3-2.5-0.5,0))
  6024. for i=-1,1,2 do
  6025. newWeld(Torso,LElbow,newPart(1,4,4,mech,nil,"Sphere"),CF(2*i,-3-2.5,0)*CFA(0,0,0))
  6026. newWeld(Torso,LElbow,newPart(0.7,5,0.7,mech,nil,"CylinderMesh","Dark stone grey"),CF(0.6*i,-3-5+1+1.2+0.5,1.3+1.8-0.45)*CFA(-10,0,0)*CF(0,2.5,0))
  6027. end
  6028. newWeld(Torso,LElbow,newPart(2.6,6,2.6,mech,nil),CF(0,-3-5-1,0)) --
  6029. newWeld(Torso,LElbow,newPart(3.5,6,1.1,mech,nil,"Dark stone grey"),CF(0,-3-5-1,0))
  6030. newWeld(Torso,LElbow,newPart(2.6,3,1.8,mech,nil,"Wedge"),CF(0,-3-5+1,1.3+0.9)*CFA(180,0,0))
  6031. newWeld(Torso,LElbow,newPart(1,2.6,1,mech,nil,"CylinderMesh"),CF(0,-3-5+1+1.2+0.5,1.3+1.8-0.45)*CFA(0,0,90))
  6032. newWeld(Torso,LElbow,newPart(1,1.4,1,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,-3-5-3.5,1.3)*CFA(0,0,90))
  6033. newWeld(Torso,LElbow,newPart(1.4,4,1,mech,nil,"Dark stone grey"),CF(0,-3-5-3.5+2,1.3))
  6034. newWeld(Torso,LElbow,newPart(1.5,6,1.5,mech,nil,"Dark stone grey","CylinderMesh"),CF(0,-3-5-3.5+2.5,-2.2+1))
  6035. newWeld(Torso,LElbow,newPart(2,3,2,mech,nil,"Dark stone grey","CylinderMesh"),CF(0,-3-5,-2.2+1))
  6036. newWeld(Torso,LElbow,newPart(2.5,3,2.5,mech,nil,"Dark stone grey","CylinderMesh"),CF(0,-3-3.5,-2.2+1))
  6037. newWeld(Torso,LElbow,newPart(2.6,1,1,mech,nil,"Wedge"),CF(0,-3-2.5+1,-2.5-0.5+0.2)*CFA(0,180,0))
  6038. newWeld(Torso,LElbow,newPart(2.6,1,1,mech,nil),CF(0,-3-2.5,-2.5-0.5+0.2))
  6039. newWeld(Torso,LElbow,newPart(2.6,2,2,mech,nil,"Wedge"),CF(0,-3-2.5-1-0.5,-2.5+0.2)*CFA(0,0,180))
  6040.  
  6041. LeftGunUse = false
  6042. LeftGun = newPart(4,1,4,mech,nil,"CylinderMesh","Dark stone grey")
  6043. LeftGunW = newWeld(Torso,LElbow,LeftGun,CF(0,-3-5-4.5,0)*CFA(0,0,0))
  6044. newWeld(Torso,LeftGun,newPart(1.6,1,1.6,mech,nil,"Dark stone grey"),CF(0,-1,0))
  6045. LeftGunSmoke = newI{"Smoke",LeftGun,Color=Color3.new(20/255,20/255,20/255),Opacity=0.5,Enabled=false,RiseVelocity=-10,Size=2}
  6046. for i=120,360,120 do
  6047. newWeld(Torso,LeftGun,newPart(1.6,1,1.6,mech,nil,"Dark stone grey"),CF(0,-1,0)*CFA(0,i,0)*CF(0,0,-2+0.8))
  6048. newWeld(Torso,LeftGun,newPart(1,1,1,mech,nil,"Ring","Dark stone grey"),CF(0,-1.5-2,0)*CFA(0,i,0)*CF(0,0,-2+0.85)*CFA(90,0,0)).Part1.Mesh.Scale=V3(1.6,1.6,25)
  6049. newWeld(Torso,LeftGun,newPart(2.66,1,1,mech,nil,"Dark stone grey"),CF(0,-1,0)*CFA(0,i+60,0)*CF(0,0,-2+0.81))
  6050. local ghole = newPart(1.75,0.5,1.75,mech,nil,"Really black","Sphere","Neon")
  6051. newWeld(Torso,LeftGun,ghole,CF(0,-1.5-2-0.5,0)*CFA(0,i,0)*CF(0,0,-2+0.85)) -- gun hole
  6052. end
  6053.  
  6054. --Right Arm
  6055. local of1 = 2
  6056. local of2 = -5.2
  6057. newWeld(Torso,RElbow,newPart(3.5,3,2.4,mech,nil,"Dark stone grey"),CFA(-55,0,0)*CF( 0,-1.5,0))
  6058. newWeld(Torso,RElbow,newPart(3,4,3,mech,nil,"CylinderMesh","Dark stone grey"),CF( 0,of2+3.5,of1)*CFA(0,0,90))
  6059. newWeld(Torso,RElbow,newPart(7,1,2,mech,nil,"Torso"),CF( 0,of2-1,of1-1.5-1.5)*CFA(-90,90,0))
  6060. newWeld(Torso,RElbow,newPart(5,0.5,1,mech,nil,"Torso"),CF( 0,of2-5,of1-1.5-1.25)*CFA(-90,90,0))
  6061. newWeld(Torso,RElbow,newPart(6,0.8,1.4,mech,nil,"Torso"),CF( 0,of2-1,of1+1.5+1.4)*CFA( 90,90,0))
  6062. newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF(0,of2-3-3,of1-1.5-0.5)) --upper long
  6063. newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF(-0.535,of2-3-3,of1-1.5-0.825)*CFA(0, 70,0)*CF(-1,0,0))
  6064. newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF( 0.535,of2-3-3,of1-1.5-0.825)*CFA(0,-70,0)*CF( 1,0,0))
  6065. newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF(0,of2-3-3,of1+1.5+0.5)) --lower long
  6066. newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF(-0.535,of2-3-3,of1+1.5+0.825)*CFA(0,-70,0)*CF(-1,0,0))
  6067. newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF( 0.535,of2-3-3,of1+1.5+0.825)*CFA(0, 70,0)*CF( 1,0,0))
  6068. newWeld(Torso,RElbow,newPart(3.4,2,4,mech,nil,"Wedge"),CF( 0,of2+1,of1-1.5)*CFA(-90,0,180))
  6069. newWeld(Torso,RElbow,newPart(3.4,4,2,mech,nil,"Wedge"),CF( 0,of2+1,of1+1.5)*CFA( 0,0,180))
  6070. newWeld(Torso,RElbow,newPart(1.7,2,1.7,mech,nil,"CylinderMesh","Dark stone grey"),CF( 0,of2+2,of1)*CFA( 0,0,180))
  6071. newWeld(Torso,RElbow,newPart(1.3,2.01,1.3,mech,nil,"CylinderMesh","Really black"),CF( 0,of2+2,of1)*CFA( 0,0,180))
  6072.  
  6073.  
  6074. newWeld(Torso,RElbow,newPart(3.4,1,5,mech,nil),CF( 0,of2+3.5,of1)*CFA( 0,0,180))
  6075. newWeld(Torso,RElbow,newPart(3.4,1,5,mech,nil,"Wedge"),CF( 0,of2+1.5,of1+3)*CFA(-90,0,180))
  6076. newWeld(Torso,RElbow,newPart(3.4,2,2,mech,nil,"Wedge"),CF( 0,of2+5,of1-1.5)*CFA(0,0,0))
  6077. newWeld(Torso,RElbow,newPart(3.4,2,4,mech,nil,"Wedge"),CF( 0,of2+5,of1+1.5)*CFA(0,180,0))
  6078.  
  6079. newWeld(Torso,RElbow,newPart(2.6,1,3,mech,nil,"Dark stone grey"),CF( 0,of2+5.25,of1+1.5+0.5)*CFA(27,0,0))
  6080. for x=60,360,60 do
  6081. newWeld(Torso,RElbow,newPart(5,1,3.45,mech,nil),CF( 0,of2+4.5,of1+1.5+0.25)*CFA(27,0,0)*CF(0,1+3,0)*CFA(x,0,0)*CF(0,2.5,0))
  6082. end
  6083. newWeld(Torso,RElbow,newPart(5.5,4,5.5,mech,nil,"Dark stone grey","CylinderMesh"),CF( 0,of2+4.5,of1+1.5+0.25)*CFA(27,0,0)*CF(0,1+3,0)*CFA(0,0,90))
  6084. for i=-1,1,2 do
  6085. newWeld(Torso,RElbow,newPart(0.6,0.25,1.6,mech,nil,"Black"),CF(1.2*i,of2-14,of1))
  6086. for ii=1,10 do
  6087. newWeld(Torso,RElbow,newPart(0.6,0.25,2,mech,nil,"Black"),CF(1.2*i,of2-14.75+ii*1.7,of1)*CFA(ii%2==0 and 56 or -56,0,0))
  6088. end
  6089. end
  6090.  
  6091.  
  6092. Hatch = newPart(4,6,0.2,mech,nil)
  6093. HatchW = newWeld6D(Torso2,Torso2,Hatch,CF(0,11-3,4),CF(0,-3,-0.1)*CFA(-20,0,0)) -- x is -20
  6094. newWeld(Torso,Torso2,newPart(4,4.5,0.2,mech,nil),CF(0,8,4)*CFA(20,0,0)*CF(0,6,0)*CFA(-20-42,0,0)*CF(0,2.25,0))
  6095.  
  6096. Seat = newI{"Seat",mech,Name="Seat",formFactor="Symmetric",Size=V3(2,1,2),TopSurface="SmoothNoOutlines"}
  6097. SeatW = newWeld6D(Torso2,Torso2,Seat,CF(0,8.5,0))
  6098. newWeld(Torso,Seat,newPart(2,1,1,mech,nil,"Wedge"),CF(0,0,-1.5))
  6099. newWeld(Torso,Seat,newPart(2,2.6,0.8,mech,nil),CF(0,0.5+1.15,0.8)*CFA(10,0,0))
  6100. newWeld(Torso,Seat,newPart(2,1.2,0.8,mech,nil),CF(0,0.5+2.9,1)*CFA(0,0,0))
  6101.  
  6102.  
  6103. Head = newPart(1,1,1,mech,nil,"nonCollide","Transparent")
  6104. Head.Name="Head"
  6105. HeadW = newWeld(Torso,Torso,Head,CF(0,2,0))
  6106.  
  6107. for i,v in pairs(CockpitGlass) do
  6108. v.Transparency = 0.6
  6109. end
  6110. CockpitGlassD = false
  6111. for i,v in pairs(mech:children()) do
  6112. if v:IsA'BasePart' and v.Material==Enum.Material.SmoothPlastic and v.Transparency==0 then
  6113. v.Material="Metal"
  6114. end
  6115. end
  6116.  
  6117. Base.Name="HumanoidRootPart" BaseW.Name = "Root Hip"
  6118. Torso.Name="Torso"
  6119. Torso1.Name = "LowerTorso" Torso1W.Name = "Lower Hip"
  6120. Torso2.Name = "UpperTorso" Torso2W.Name = "Upper Hip"
  6121. LThigh.Name = "LeftThigh" LThighW.Name = "LThigh"
  6122. RThigh.Name = "RightThigh" RThighW.Name = "RThigh"
  6123. LLeg.Name = "LeftLeg" LLegW.Name = "LLeg"
  6124. RLeg.Name = "RightLeg" RLegW.Name = "RLeg"
  6125. LFoot.Name = "LeftFoot" LFootW.Name = "LFoot"
  6126. RFoot.Name = "RightFoot" RFootW.Name = "RFoot"
  6127. LToe.Name = "LeftToe" LToeW.Name = "LToe"
  6128. RToe.Name = "RightToe" RToeW.Name = "RToe"
  6129. LShoulder.Name = "LeftShoulder" LShoulderW.Name = "LShoulder"
  6130. RShoulder.Name = "RightShoulder" RShoulderW.Name = "RShoulder"
  6131. LElbow.Name = "LeftElbow" LElbowW.Name = "LElbow"
  6132. RElbow.Name = "RightElbow" RElbowW.Name = "RElbow"
  6133. Hatch.Name = "Hatch" HatchW.Name = "Hatch"
  6134. SeatW.Name="Seat"
  6135.  
  6136.  
  6137. ----
  6138. checkGroundTouch = function()
  6139. local Hit1,Pos1 = ray(LToe.Position,LToe.CFrame*CF(0,-1,0).p-LToe.Position,mech,3)
  6140. local Hit2,Pos2 = ray(RToe.Position,RToe.CFrame*CF(0,-1,0).p-RToe.Position,mech,3)
  6141. if Hit1 or Hit2 then return 1 end
  6142. return 0
  6143. end
  6144. ----
  6145.  
  6146. doAfterT = {}
  6147. doAfter = function(t,f)
  6148. local key = (MRND(-100,100)*MRND(-100,100)).."a"..MRND(-999999,999999)
  6149. doAfterT[key] = {Time=t,Func=f,Current=0}
  6150. return key
  6151. end
  6152. doInT = {}
  6153. doIn = function(t,f,f2)
  6154. local key = (MRND(-100,100)*MRND(-100,100)).."a"..MRND(-999999,999999)
  6155. doInT[key] = {Time=t,Func=f,FuncEnd=f2,Current=0}
  6156. return key
  6157. end
  6158.  
  6159.  
  6160. Motors = {["BaseW"]=BaseW,["Torso1W"]=Torso1W,["Torso2W"]=Torso2W,["LThighW"]=LThighW,["RThighW"]=RThighW,["LLegW"]=LLegW,["RLegW"]=RLegW,["LFootW"]=LFootW,["RFootW"]=RFootW,["LToeW"]=LToeW,["RToeW"]=RToeW,
  6161. ["LShoulderW"]=LShoulderW,["RShoulderW"]=RShoulderW,["LElbowW"]=LElbowW,["RElbowW"]=RElbowW,["HatchW"]=HatchW,["SeatW"]=SeatW}
  6162.  
  6163. print(#mech:getChildren().." Parts")
  6164. _G.mech = mech
  6165. _G.RMM2 = getfenv()
  6166. _G.m = _G.RMM2
  6167.  
  6168. gw = function()
  6169. print(" ")
  6170. for i,weldn in pairs{"LThighW","LLegW","LFootW","LToeW","RThighW","RLegW","RFootW","RToeW","LShoulderW","LElbowW","RShoulderW","RElbowW","BaseW","Torso1W","Torso2W","HatchW","SeatW"} do
  6171. weld = getfenv()[weldn]
  6172. local a,b,c = weld.C0:toEulerAnglesXYZ()
  6173. local d,e,f = weld.C1:toEulerAnglesXYZ()
  6174. inde = function(n)
  6175. n = math.floor(n*1000+0.5)/1000
  6176. return string.rep(" ",5-#(""..n))..n
  6177. end
  6178. --print(weldn..".C0 = CF("..inde(weld.C0.x)..","..inde(weld.C0.y)..","..inde(weld.C0.z)..")*CFA("..inde(MD(a))..","..inde(MD(b))..","..inde(MD(c))..")")
  6179. print(" addAnim("..weldn..string.rep(" ",10-#weldn)..",1,t,nil,{"..inde(weld.C1.x)..","..inde(weld.C1.y)..","..inde(weld.C1.z)..","..inde(MD(d))..","..inde(MD(e))..","..inde(MD(f)).."})")
  6180. end
  6181. print(" ")
  6182. end
  6183. gwBool = newI{"BoolValue",mech,Name="GetWelds"}
  6184. gwBool.Changed:connect(function()
  6185. if not gwBool.Value then return end
  6186. gwBool.Value=false
  6187. gw()
  6188. end)
  6189. gw2 = function()
  6190. print(" ")
  6191. for i,weldn in pairs{"LS","RS","LH","RH"} do
  6192. weld = getfenv()[weldn]
  6193. local a,b,c = weld.C0:toEulerAnglesXYZ()
  6194. local d,e,f = weld.C1:toEulerAnglesXYZ()
  6195. inde = function(n)
  6196. n = math.floor(n*1000+0.5)/1000
  6197. return string.rep(" ",5-#(""..n))..n
  6198. end
  6199. print(" addAnim("..weldn..string.rep(" ",10-#weldn)..",0,t,nil,{"..inde(weld.C0.x)..","..inde(weld.C0.y)..","..inde(weld.C0.z)..","..inde(MD(a))..","..inde(MD(b))..","..inde(MD(c)).."})")
  6200. print(" addAnim("..weldn..string.rep(" ",10-#weldn)..",1,t,nil,{"..inde(weld.C1.x)..","..inde(weld.C1.y)..","..inde(weld.C1.z)..","..inde(MD(d))..","..inde(MD(e))..","..inde(MD(f)).."})")
  6201. end
  6202. print(" ")
  6203. end
  6204. ------
  6205. Anims = {} -- {WELD,C0or1,Time,CFStart,CFEnd,Current}
  6206. addAnim = function(weld,C0or1,Time,CFStart,CFEnd)
  6207. if not weld then return end
  6208. local CC = "C"..C0or1
  6209. if not CFStart then
  6210. local a,b,c = weld[CC]:toEulerAnglesXYZ()
  6211. CFStart = {weld[CC].x,weld[CC].y,weld[CC].z,MD(a),MD(b),MD(c)}
  6212. end
  6213. if not CFEnd[1] and not CFEnd[2] and not CFEnd[3] then
  6214. CFEnd[1] = weld[CC].x
  6215. CFEnd[2] = weld[CC].y
  6216. CFEnd[3] = weld[CC].z
  6217. end
  6218. Anims[weld.Name..CC] = {weld=weld,CC="C"..C0or1,CFStart=CFStart,CFEnd=CFEnd,Time=Time,Current=0}
  6219. end
  6220. --
  6221. WalkKey = {}
  6222. loadAnim = {} _G.la = loadAnim
  6223. --
  6224. ClearWalk = function()
  6225. for i,v in pairs(WalkKey) do
  6226. doAfterT[i] = nil
  6227. WalkKey[i] = nil
  6228. end
  6229. end
  6230. --
  6231. loadAnim.Open = function(a,t)
  6232. t = t or 1.5
  6233. addAnim(LThighW ,1,t,nil,{nil,nil,nil, -75, 0, 0})
  6234. addAnim(LLegW ,1,t,nil,{nil,nil,nil, 155, 0, 0})
  6235. addAnim(LFootW ,1,t,nil,{nil,nil,nil, -80, 0, 0})
  6236. addAnim(LToeW ,1,t,nil,{nil,nil,nil, 0, 0, 0})
  6237. addAnim(RThighW ,1,t,nil,{nil,nil,nil, -75, 0, 0})
  6238. addAnim(RLegW ,1,t,nil,{nil,nil,nil, 155, 0, 0})
  6239. addAnim(RFootW ,1,t,nil,{nil,nil,nil, -80, 0, 0})
  6240. addAnim(RToeW ,1,t,nil,{nil,nil,nil, 0, 0, 0})
  6241. addAnim(LShoulderW,1,t,nil,{nil,nil,nil, 20, 0, 8})
  6242. addAnim(LElbowW ,1,t,nil,{nil,nil,nil, -90, 0, 0})
  6243. addAnim(RShoulderW,1,t,nil,{nil,nil,nil, -20, 0, -8})
  6244. addAnim(RElbowW ,1,t,nil,{nil,nil,nil, -60, 0, 0})
  6245. addAnim(BaseW ,1,t,nil,{ 0,10.2-10.2, 0, 0, 0, 0})
  6246. addAnim(Torso1W ,1,t,nil,{nil,nil,nil, 0, 0, 0})
  6247. addAnim(Torso2W ,1,t,nil,{nil,nil,nil, 0, 0, 0})
  6248. addAnim(HatchW ,1,t,nil,{nil,nil,nil,-180, 0, 0})
  6249. addAnim(SeatW ,0,t,nil,{-0.6,8.5, 5, 0, 180, 0})
  6250. doAfter(t,function() addAnim(SeatW ,0,t*0.5,nil,{ 0, -1, 5.3, 0, 180, 0}) end)
  6251. end
  6252. loadAnim.Close = function(a,t)
  6253. addAnim(SeatW ,0,t*0.5,nil,{ -0.6, 8.5, 5, 0, 180, 0})
  6254. doAfter(t*0.5,function() loadAnim:Standing(1) end)
  6255. end
  6256. loadAnim.Standing = function(a,t)
  6257. t = t or 1
  6258. addAnim(LThighW ,1,t,nil,{ 1.5, 0.5, 0, -25, 0, 0})
  6259. addAnim(LLegW ,1,t,nil,{ 0, 0, 0, 75, 0, 0})
  6260. addAnim(LFootW ,1,t,nil,{ 0, 0, 0, 10, 0, 0})
  6261. addAnim(LToeW ,1,t,nil,{ 0, 0, 0, -60, 0, 0})
  6262. addAnim(RThighW ,1,t,nil,{ -1.5, 0.5, 0, -25, 0, 0})
  6263. addAnim(RLegW ,1,t,nil,{ 0, 0, 0, 75, 0, 0})
  6264. addAnim(RFootW ,1,t,nil,{ 0, 0, 0, 10, 0, 0})
  6265. addAnim(RToeW ,1,t,nil,{ 0, 0, 0, -60, 0, 0})
  6266. addAnim(LShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, 8})
  6267. addAnim(LElbowW ,1,t,nil,{ 0, 0, 0, -90, 0, 0})
  6268. addAnim(RShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, -8})
  6269. addAnim(RElbowW ,1,t,nil,{ 0, 0, 0, -100, 0, 0})
  6270. addAnim(BaseW ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
  6271. addAnim(Torso1W ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
  6272. addAnim(Torso2W ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
  6273. addAnim(HatchW ,1,t,nil,{ 0, -3, -0.1, -20, 0, 0})
  6274. addAnim(SeatW ,0,t,nil,{ 0, 8.5, 0, 0, 0, 0})
  6275. end
  6276. loadAnim.ReturnLeg = function(a,t)
  6277. t = t or 0.5
  6278. addAnim(LThighW ,1,t,nil,{ 1.5, 0.5, 0, -25, 0, 0})
  6279. addAnim(LLegW ,1,t,nil,{ 0, 0, 0, 75, 0, 0})
  6280. addAnim(LFootW ,1,t,nil,{ 0, 0, 0, 10, 0, 0})
  6281. addAnim(LToeW ,1,t,nil,{ 0, 0, 0, -60, 0, 0})
  6282. addAnim(RThighW ,1,t,nil,{ -1.5, 0.5, 0, -25, 0, 0})
  6283. addAnim(RLegW ,1,t,nil,{ 0, 0, 0, 75, 0, 0})
  6284. addAnim(RFootW ,1,t,nil,{ 0, 0, 0, 10, 0, 0})
  6285. addAnim(RToeW ,1,t,nil,{ 0, 0, 0, -60, 0, 0})
  6286. end
  6287. loadAnim.ReturnArm = function(a,t)
  6288. t = t or 0.5
  6289. addAnim(LShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, 8})
  6290. addAnim(LElbowW ,1,t,nil,{ 0, 0, 0, -90, 0, 0})
  6291. addAnim(RShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, -8})
  6292. addAnim(RElbowW ,1,t,nil,{ 0, 0, 0, -100, 0, 0})
  6293. end
  6294. loadAnim.WalkL = function(a,t)
  6295. local WalkSpeed = 0.3
  6296. local tu = Turn==0 and 0 or (Turn<0 and 45 or -45)
  6297. addAnim(LThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -65, tu, 0})
  6298. addAnim(LLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 115, 0, 0})
  6299. addAnim(LFootW ,1,WalkSpeed ,nil,{ 0, 0, 0, -20, 0, 0})
  6300. addAnim(LToeW ,1,WalkSpeed ,nil,{ 0, 0, 0, -30, 0, 0})
  6301. addAnim(RThighW ,1,WalkSpeed*2,nil,{ nil, nil, nil, 15, tu, 0})
  6302. addAnim(RLegW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 35, 0, 0})
  6303. addAnim(RFootW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 30, 0, 0})
  6304. addAnim(RToeW ,1,WalkSpeed*2,nil,{ 0, 0, 0, -80, 0, 0})
  6305. wkey = doAfter(WalkSpeed,function()
  6306. addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -45, tu, 0})
  6307. addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 35, 0, 0})
  6308. addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 60, 0, 0})
  6309. addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -50, 0, 0})
  6310. end)
  6311. WalkKey[wkey] = true
  6312. wkey = doAfter(WalkSpeed*2,function()
  6313. addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -20, tu, 0})
  6314. addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 65, 0, 0})
  6315. addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 10, 0, 0})
  6316. addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -50, 0, 0})
  6317. addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -35, tu, 0})
  6318. addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 105, 0, 0})
  6319. addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 40, 0, 0})
  6320. addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -40, 0, 0})
  6321. end)
  6322. WalkKey[wkey] = true
  6323. end
  6324. loadAnim.WalkR = function(a,t)
  6325. local WalkSpeed = 0.3
  6326. local tu = Turn==0 and 0 or (Turn<0 and 45 or -45)
  6327. addAnim(LThighW ,1,WalkSpeed*2,nil,{ nil, nil, nil, 15, tu, 0})
  6328. addAnim(LLegW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 35, 0, 0})
  6329. addAnim(LFootW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 30, 0, 0})
  6330. addAnim(LToeW ,1,WalkSpeed*2,nil,{ 0, 0, 0, -80, 0, 0})
  6331. addAnim(RThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -65, tu, 0})
  6332. addAnim(RLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 115, 0, 0})
  6333. addAnim(RFootW ,1,WalkSpeed ,nil,{ 0, 0, 0, -20, 0, 0})
  6334. addAnim(RToeW ,1,WalkSpeed ,nil,{ 0, 0, 0, -30, 0, 0})
  6335. wkey = doAfter(WalkSpeed,function()
  6336. addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -45, tu, 0})
  6337. addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 35, 0, 0})
  6338. addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 60, 0, 0})
  6339. addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -50, 0, 0})
  6340. end)
  6341. WalkKey[wkey] = true
  6342. wkey = doAfter(WalkSpeed*2,function()
  6343. addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -35, tu, 0})
  6344. addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 105, 0, 0})
  6345. addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 40, 0, 0})
  6346. addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -40, 0, 0})
  6347. addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -20, tu, 0})
  6348. addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 65, 0, 0})
  6349. addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 10, 0, 0})
  6350. addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -50, 0, 0})
  6351. end)
  6352. WalkKey[wkey] = true
  6353. end
  6354. loadAnim.Walk2L = function(a,t)
  6355. local WalkSpeed = 0.4
  6356. local tu = Turn==0 and 0 or (Turn<0 and 45 or -45)
  6357. addAnim(LThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -15, tu, 0})
  6358. addAnim(LLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 105, 0, 0})
  6359. addAnim(LFootW ,1,WalkSpeed ,nil,{ 0, 0, 0,24.286, 0, 0})
  6360. addAnim(LToeW ,1,WalkSpeed ,nil,{ 0, 0, 0,-74.286, 0, 0})
  6361. addAnim(RThighW ,1,WalkSpeed*2,nil,{ nil, nil, nil, -45, tu, 0})
  6362. addAnim(RLegW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 45, 0, 0})
  6363. addAnim(RFootW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 50, 0, 0})
  6364. addAnim(RToeW ,1,WalkSpeed*2,nil,{ 0, 0, 0, -50, 0, 0})
  6365. wkey = doAfter(WalkSpeed,function()
  6366. addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, 15, tu, 0})
  6367. addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 35, 0, 0})
  6368. addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 30, 0, 0})
  6369. addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -80, 0, 0})
  6370. end)
  6371. WalkKey[wkey] = true
  6372. end
  6373. loadAnim.Walk2R = function(a,t)
  6374. local WalkSpeed = 0.4
  6375. local tu = Turn==0 and 0 or (Turn<0 and 45 or -45)
  6376. addAnim(LThighW ,1,WalkSpeed*2,nil,{ nil, nil, nil, -45, tu, 0})
  6377. addAnim(LLegW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 45, 0, 0})
  6378. addAnim(LFootW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 50, 0, 0})
  6379. addAnim(LToeW ,1,WalkSpeed*2,nil,{ 0, 0, 0, -50, 0, 0})
  6380. addAnim(RThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -15, tu, 0})
  6381. addAnim(RLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 105, 0, 0})
  6382. addAnim(RFootW ,1,WalkSpeed ,nil,{ 0, 0, 0,24.286, 0, 0})
  6383. addAnim(RToeW ,1,WalkSpeed ,nil,{ 0, 0, 0,-74.286, 0, 0})
  6384. wkey = doAfter(WalkSpeed,function()
  6385. addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, 15, tu, 0})
  6386. addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 35, 0, 0})
  6387. addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 30, 0, 0})
  6388. addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -80, 0, 0})
  6389. end)
  6390. WalkKey[wkey] = true
  6391. end
  6392. loadAnim.RunL = function(a,t)
  6393. local WalkSpeed = 0.24
  6394. addAnim(LThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -105, 0, 0})
  6395. addAnim(LLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 115, 0, 0})
  6396. addAnim(LFootW ,1,WalkSpeed ,nil,{ 0, 0, 0, 10, 0, 0})
  6397. addAnim(LToeW ,1,WalkSpeed ,nil,{ 0, 0, 0, -40, 0, 0})
  6398. addAnim(RThighW ,1,WalkSpeed*1.5,nil,{ nil, nil, nil, 50, 0, 0})
  6399. addAnim(RLegW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, 5, 0, 0})
  6400. addAnim(RFootW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, 10, 0, 0})
  6401. addAnim(RToeW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, -65, 0, 0})
  6402. wkey = doAfter(WalkSpeed,function()
  6403. WalkSpeed = 0.12
  6404. addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -75, 0, 0})
  6405. addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 75, 0, 0})
  6406. addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 40, 0, 0})
  6407. addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -40, 0, 0})
  6408. end)
  6409. WalkKey[wkey] = true
  6410. end
  6411. loadAnim.RunR = function(a,t)
  6412. local WalkSpeed = 0.24
  6413. addAnim(LThighW ,1,WalkSpeed*1.5,nil,{ nil, nil, nil, 50, 0, 0})
  6414. addAnim(LLegW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, 5, 0, 0})
  6415. addAnim(LFootW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, 10, 0, 0})
  6416. addAnim(LToeW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, -65, 0, 0})
  6417. addAnim(RThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -105, 0, 0})
  6418. addAnim(RLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 115, 0, 0})
  6419. addAnim(RFootW ,1,WalkSpeed ,nil,{ 0, 0, 0, 10, 0, 0})
  6420. addAnim(RToeW ,1,WalkSpeed ,nil,{ 0, 0, 0, -30, 0, 0})
  6421. wkey = doAfter(WalkSpeed,function()
  6422. WalkSpeed = 0.12
  6423. addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -75, 0, 0})
  6424. addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 75, 0, 0})
  6425. addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 40, 0, 0})
  6426. addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -30, 0, 0})
  6427. end)
  6428. WalkKey[wkey] = true
  6429. end
  6430. loadAnim.Jump = function(a,t)
  6431. local t = 0.4
  6432. addAnim(LThighW ,1,t,nil,{ 1.5, 0.5, 0,-74.779,-9.656,2.613})
  6433. addAnim(LLegW ,1,t,nil,{ 0, 0, 0, 155, 0, 0})
  6434. addAnim(LFootW ,1,t,nil,{ 0, 0, 0, -80, 0, 0})
  6435. addAnim(LToeW ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
  6436. addAnim(RThighW ,1,t,nil,{ -1.5, 0.5, 0,-84.923,9.962,-0.88})
  6437. addAnim(RLegW ,1,t,nil,{ 0, 0, 0, 155, 0, 0})
  6438. addAnim(RFootW ,1,t,nil,{ 0, 0, 0, -70, 0, 0})
  6439. addAnim(RToeW ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
  6440. addAnim(LShoulderW,1,t,nil,{ 0, 0, 0, 10, 0, 8})
  6441. addAnim(LElbowW ,1,t,nil,{ 0, 0, 0, -110, 0, 0})
  6442. addAnim(RShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, -8})
  6443. addAnim(RElbowW ,1,t,nil,{ 0, 0, 0, -130, 0, 0})
  6444. addAnim(Torso1W ,1,t,nil,{ 0, 0, 0, 20, 0, 0})
  6445. doAfter(t,function()
  6446. local t = 0.2
  6447. addAnim(LThighW ,1,t,nil,{ 1.5, 0.5, 0,-15.455,-19.312,-0.077})
  6448. addAnim(LLegW ,1,t,nil,{ 0, 0, 0, 85, 0, 0})
  6449. addAnim(LFootW ,1,t,nil,{ 0, 0, 0, -10, 0, 0})
  6450. addAnim(LToeW ,1,t,nil,{ 0, 0, 0, -30, 0, 0})
  6451. addAnim(RThighW ,1,t,nil,{ -1.5, 0.5, 0,-14.923,9.962,-0.88})
  6452. addAnim(RLegW ,1,t,nil,{ 0, 0, 0, 85, 0, 0})
  6453. addAnim(RFootW ,1,t,nil,{ 0, 0, 0, -10, 0, 0})
  6454. addAnim(RToeW ,1,t,nil,{ 0, 0, 0, -30, 0, 0})
  6455. addAnim(Torso1W ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
  6456. end)
  6457. end
  6458. Base.CanCollide=false
  6459. --------------------------------------------------------------------------
  6460. Player = Players.LocalPlayer
  6461. if not Player then print'not found' mech:MoveTo(V3(0,0,0)) return end
  6462. Hum = newI{"Humanoid",mech} Hum.PlatformStand=true
  6463. Char = Player.Character
  6464. CTorso = Char.Torso
  6465. CHRP = Char.HumanoidRootPart
  6466. LS = CTorso:findFirstChild'Left Shoulder'
  6467. RS = CTorso:findFirstChild'Right Shoulder'
  6468. LH = CTorso:findFirstChild'Left Hip'
  6469. RH = CTorso:findFirstChild'Right Hip'
  6470.  
  6471. if Char:findFirstChild(mech.Name) then Char[mech.Name]:Destroy() end
  6472. mech.Parent = Char
  6473. Base.Name="HRP"
  6474. ------
  6475. Pilot = nil
  6476. Anim = "Opening"
  6477. AnimLegs = true --use leg pose
  6478. AnimArms = true --use arm pose
  6479. AnimTorso = true --use torso pose
  6480. WalkDir = 0
  6481. ------
  6482. SeatWeld = nil
  6483. Seat.ChildAdded:connect(function(weld)
  6484. SeatWeld = weld
  6485. Pilot = weld.Part1==CHRP and CHRP or nil
  6486. pcall(function()
  6487. weld.C1 = CF(0,-1.5,0.25)*CFA(-95,0,0)
  6488. LS2 = weld.Part1.Parent.Torso:findFirstChild'Left Shoulder' LS2.Parent = nil
  6489. RS2 = weld.Part1.Parent.Torso:findFirstChild'Right Shoulder' RS2.Parent = nil
  6490. LH2 = weld.Part1.Parent.Torso:findFirstChild'Left Hip' LH2.Parent = nil
  6491. RH2 = weld.Part1.Parent.Torso:findFirstChild'Right Hip' RH2.Parent = nil
  6492. LS1 = newI{"Weld",weld.Part1.Parent.Torso,Part0=weld.Part1.Parent.Torso,Part1=weld.Part1.Parent:findFirstChild'Left Arm' ,Name="RM1"}
  6493. RS1 = newI{"Weld",weld.Part1.Parent.Torso,Part0=weld.Part1.Parent.Torso,Part1=weld.Part1.Parent:findFirstChild'Right Arm',Name="RM2"}
  6494. LH1 = newI{"Weld",weld.Part1.Parent.Torso,Part0=weld.Part1.Parent.Torso,Part1=weld.Part1.Parent:findFirstChild'Left Leg' ,Name="RM3"}
  6495. RH1 = newI{"Weld",weld.Part1.Parent.Torso,Part0=weld.Part1.Parent.Torso,Part1=weld.Part1.Parent:findFirstChild'Right Leg',Name="RM4"}
  6496. LS1.C0 = CF(-1.2,0.5,-0.5)*CFA(0,0,0)
  6497. LS1.C1 = CF( 0,0.5,0)*CFA(-80,-10,10)
  6498. RS1.C0 = CF( 1.2,0.5,-0.5)*CFA(0,0,0)
  6499. RS1.C1 = CF( 0,0.5,0)*CFA(-80, 10,-10)
  6500. LH1.C0 = CF(-0.5, -1,-0.3)*CFA(0,0,0)
  6501. LH1.C1 = CF( 0, 1,0)*CFA(-45,0, 5)
  6502. RH1.C0 = CF( 0.5, -1,-0.3)*CFA(0,0,0)
  6503. RH1.C1 = CF( 0, 1,0)*CFA(-45,0,-5)
  6504. end)
  6505. end)
  6506. Seat.ChildRemoved:connect(function(weld)
  6507. pcall(function()
  6508. local mm = weld.Part1.Parent
  6509. for i=1,4 do
  6510. mm.Torso["RM"..i]:Destroy()
  6511. end
  6512. LS2.Parent = mm.Torso
  6513. LS2.Part0 = mm.Torso
  6514. LS2.Part1 = mm["Left Arm"]
  6515. RS2.Parent = mm.Torso
  6516. RS2.Part0 = mm.Torso
  6517. RS2.Part1 = mm["Right Arm"]
  6518. LH2.Parent = mm.Torso
  6519. LH2.Part0 = mm.Torso
  6520. LH2.Part1 = mm["Left Leg"]
  6521. RH2.Parent = mm.Torso
  6522. RH2.Part0 = mm.Torso
  6523. RH2.Part1 = mm["Right Leg"]
  6524. end)
  6525. Pilot = nil
  6526. end)
  6527. ------
  6528. Gyro = newI{"BodyGyro",Base,cframe=Base.CFrame,maxTorque=V3(5000000,5000000,5000000),P=15000}
  6529. WeightForce = newI{"BodyForce",Base,Force=V3(0,-1000000,0)}
  6530. Turn = 0
  6531. Velo = newI{"BodyVelocity",Base,maxForce=V3N}
  6532. veloym = 0
  6533. veloy = 0
  6534. ------
  6535. Mouse = Player:GetMouse()
  6536. Key = {}
  6537. --[[
  6538. X Open/Close
  6539. C Jump
  6540. WASD Movement
  6541. P Cockpit glass
  6542. --]]
  6543. WalkingSpeed = 16
  6544. onKeyDown = function(k)
  6545. if k=="a" then
  6546. Turn = 10
  6547. elseif k=="d" then
  6548. Turn = -10
  6549. end
  6550. --
  6551. if k=="x" and Anim=="Opened" then
  6552. Anim="Closing"
  6553. AnimLegs,AnimArms,AnimTorso,Movement=false,false,false,false
  6554. loadAnim:Close(2)
  6555. wait(2)
  6556. Anim="None"
  6557. AnimLegs,AnimArms,AnimTorso,Movement=true,true,true,true
  6558. elseif k=="x" and Anim=="None" then
  6559. Anim="Opening"
  6560. ClearWalk()
  6561. AnimLegs,AnimArms,AnimTorso,Movement=false,false,false,false
  6562. loadAnim:Open(2)
  6563. wait(3)
  6564. Anim="Opened"
  6565. elseif (k=="w" or k=="a" or k=="d") and not Key.s and Movement and Pilot and WalkDir~=1 and AnimLegs then
  6566. WalkDir=1
  6567. ClearWalk()
  6568. local whichLeg = -1
  6569. while (Key.w or Key.a or Key.d) and not Key.s and Movement and Pilot do
  6570. loadAnim[(Key["0"] and "Run" or "Walk")..(whichLeg==-1 and "L" or "R")]()
  6571. WalkingSpeed = Key["0"] and 18*4.5 or 18
  6572. whichLeg = whichLeg*-1
  6573. if not AnimLegs then repeat wait() until AnimLegs end
  6574. local duration = (Key["0"] and 0.36 or 0.9)
  6575. for i=duration/8,duration,duration/8 do wait(duration/8) if (Key.w or Key.a or Key.d) and not Key.s and Movement and Pilot then else break end end
  6576. if not AnimLegs then repeat wait() until AnimLegs end
  6577. end
  6578. WalkDir=0
  6579. ClearWalk()
  6580. if Movement and Anim=="None" then
  6581. loadAnim:Standing(0.5)
  6582. end
  6583. elseif k=="s" and not Key.w and Movement and Pilot and AnimLegs then
  6584. WalkDir=-1
  6585. ClearWalk()
  6586. local whichLeg = -1
  6587. while Key.s and not Key.w and Movement and Pilot do
  6588. loadAnim["Walk2"..(whichLeg==-1 and "L" or "R")]()
  6589. whichLeg = whichLeg*-1
  6590. if not AnimLegs then repeat wait() until AnimLegs end
  6591. for i=0.1,0.8,0.1 do wait(0.1) if Key.s and not Key.w and Movement and Pilot then else break end end
  6592. if not AnimLegs then repeat wait() until AnimLegs end
  6593. end
  6594. WalkDir=0
  6595. ClearWalk()
  6596. if Movement and Anim=="None" then
  6597. loadAnim:Standing(0.5)
  6598. end
  6599. elseif k=="c" and Movement and Pilot and AnimLegs and AnimTorso and checkGroundTouch()>0 then
  6600. AnimLegs,AnimArms,AnimTorso=false,false,false
  6601. ClearWalk()
  6602. loadAnim:Jump()
  6603. wait(0.5)
  6604. AnimTorso=true
  6605. AnimArms=true
  6606. veloym = 10000000
  6607. loadAnim:ReturnArm(0.3)
  6608. if Key.c then BackBooster[-1].Enabled = true BackBooster[1].Enabled = true veloy = 100 wait(1) else veloy = 75 wait(0.5) end
  6609. BackBooster[-1].Enabled = false BackBooster[1].Enabled = false
  6610. veloym = 0
  6611. veloy = 0
  6612. AnimLegs=true
  6613. if WalkDir==0 then loadAnim:ReturnLeg() end
  6614. elseif k=="p" and not CockpitGlassD and Pilot then
  6615. CockpitGlassD = true
  6616. if CockpitGlass[1].Transparency==0 then
  6617. doIn(0.7,function(i)
  6618. for x,v in pairs(CockpitGlass) do
  6619. v.Transparency = 0.6*i
  6620. end
  6621. end)
  6622. else
  6623. doIn(0.7,function(i)
  6624. for x,v in pairs(CockpitGlass) do
  6625. v.Transparency = 0.6-0.6*i
  6626. end
  6627. end)
  6628. end
  6629. wait(0.8)
  6630. CockpitGlassD = false
  6631. elseif k =="q" and not LeftGunUse then
  6632. LeftGunUse=true
  6633. if not spinSpeed then spinSpeed=0 end
  6634. for i=1,50 do
  6635. if spinSpeed>40 then spinSpeed=40 end
  6636. LeftGunW.C1=LeftGunW.C1*CFA(0,spinSpeed,0)
  6637. spinSpeed=spinSpeed+0.7
  6638. if i%2==0 then PlaySound(assets.Minigun1,LeftGun,0.4+0.8*spinSpeed/40,1) end
  6639. wait()
  6640. end
  6641. local co=0
  6642. LeftGunSmoke.Enabled=true
  6643. local muzzleFlash = newPart(1,1,1,mech,nil,"Transparent","New Yeller")
  6644. newI{"SpecialMesh",muzzleFlash,MeshType="FileMesh",MeshId=assets.MuzzleFlash,Scale=V3(0.8,3,0.8)}
  6645. local muzzleW = newWeld(LeftGun,LeftGun,muzzleFlash,CF(0,0,0))
  6646. repeat
  6647. co=co+1
  6648. LeftGunW.C1=LeftGunW.C1*CFA(0,spinSpeed,0)
  6649. if co%2==0 then PlaySound(assets.Minigun1,LeftGun,1.2,1) end
  6650. if co%2==0 then
  6651. muzzleFlash.Transparency = 0.5
  6652. PlaySound(assets.Fire1,LeftGun,MRND(600,950)/1000,0.4)
  6653. local bullet = newI{"Part",mech,Name="Bullet",Anchored=true,CanCollide=false,formFactor="Custom",Size=V3(0.5,2,0.5),Debris=10,TopSurface='Smooth',BottomSurface='Smooth'}
  6654. newI{"CylinderMesh",bullet}
  6655. local rotRand = MRND(1,3)*120
  6656. bullet.CFrame=LeftGun.CFrame*CF(0,-6+2,0)*CFA(0,rotRand,0)*CF(0,0,-2+0.85)
  6657. addProjectile(bullet.Position,bullet.CFrame*CF(0,-1,0),800,function() print'boom' end,function(cf) bullet.CFrame=cf*CF(0,0,1)*CFA(90,0,0) end,function() bullet:Destroy() end)
  6658. muzzleW.C0 = CF(0,-6-2,0)*CFA(0,rotRand,0)*CF(0,0,-2+0.85)*CFA(180,0,0)
  6659. else
  6660. muzzleFlash.Transparency=1
  6661. end
  6662. wait()
  6663. until not Key.q
  6664. muzzleFlash:Destroy()
  6665. LeftGunSmoke.Enabled=false
  6666. LeftGunUse=false
  6667. for i=50,1,-0.5 do
  6668. if LeftGunUse then break end
  6669. if spinSpeed<0 then spinSpeed=0 end
  6670. LeftGunW.C1=LeftGunW.C1*CFA(0,spinSpeed,0)
  6671. spinSpeed=spinSpeed-0.35
  6672. if i%2==0 then PlaySound(assets.Minigun1,LeftGun,0.4+0.8*spinSpeed/40,1) end
  6673. wait()
  6674. end
  6675. elseif k=="]" then
  6676. Pilot = Char.Torso
  6677. Char.Humanoid.Sit = true
  6678. elseif k=="0" then
  6679. end
  6680. end
  6681. ------
  6682. onKeyUp = function(k)
  6683. if k=="a" and not Key.d then
  6684. Turn = 0
  6685. elseif k=="d" and not Key.a then
  6686. Turn = 0
  6687. end
  6688. end
  6689. ------
  6690. onButton1Down = function(k)
  6691. end
  6692. ------
  6693. onButton1Up = function(k)
  6694. end
  6695. ------
  6696. Mouse.KeyDown:connect(function(k)
  6697. Key[k]=true
  6698. onKeyDown(k)
  6699. end)
  6700. -------------------------
  6701. Mouse.KeyUp:connect(function(k)
  6702. Key[k]=false
  6703. onKeyUp(k)
  6704. end)
  6705. Mouse.Button1Down:connect(function()
  6706. Button1=true
  6707. onButton1Down()
  6708. end)
  6709. Mouse.Button1Up:connect(function()
  6710. Button1=false
  6711. onButton1Up()
  6712. end)
  6713.  
  6714. doAfter(1,function() Base.CanCollide=false end)
  6715. runcount = 0
  6716. game:getService'RunService'.Stepped:connect(function(aa,step)
  6717. runcount = runcount+1
  6718. --
  6719. if runcount%10==0 and AnimTorso and Movement and Pilot then
  6720. local y=GetY(Base,Mouse.Hit.p)
  6721. addAnim(Torso2W ,1,1,nil,{ 0, 0, 0, 0, -y, 0})
  6722. end
  6723. --
  6724. if AnimArms and Movement and Pilot then
  6725. local x=GetX(Torso2,Mouse.Hit.p)
  6726. if x>40 then x = 40 end
  6727. if x<-120 then x = -120 end
  6728. addAnim(LElbowW ,1,0.5,nil,{ nil, 0, nil, -120-x, 0, 0})
  6729. if x<-60 then x = -60 end
  6730. addAnim(RElbowW ,1,0.5,nil,{ nil, 0, nil, -120-x, 0, 0})
  6731. end
  6732. --
  6733. if runcount%5==0 and Turn~=0 and Movement and Pilot then
  6734. local turntarg = Base.CFrame*CFA(0,Turn,0)*CF(0,0,-1)
  6735. Gyro.cframe = CF(V3(Base.Position.x,0,Base.Position.z),V3(turntarg.x,0,turntarg.z))
  6736. end
  6737. --
  6738. if Key.w and not Key.s and Movement and Pilot and WalkDir==1 then
  6739. Velo.maxForce = V3(10000000,veloym,10000000)
  6740. local velo = Base.CFrame.lookVector*WalkingSpeed
  6741. Velo.Velocity = V3(velo.x,veloy,velo.z)
  6742. elseif Key.s and not Key.w and Movement and Pilot and WalkDir==-1 then
  6743. Velo.maxForce = V3(10000000,veloym,10000000)
  6744. local velo = Base.CFrame.lookVector*-12
  6745. Velo.Velocity = V3(velo.x,veloy,velo.z)
  6746. else
  6747. Velo.maxForce = V3(10000000,veloym,10000000)
  6748. Velo.Velocity = V3(0,veloy,0)
  6749. end
  6750. --
  6751. for i,anim in pairs(Anims) do
  6752. anim.Current = anim.Current + step
  6753. local CFStart = CF(anim.CFStart[1],anim.CFStart[2],anim.CFStart[3])*CFA(anim.CFStart[4],anim.CFStart[5],anim.CFStart[6])
  6754. local CFEnd = CF( anim.CFEnd[1], anim.CFEnd[2], anim.CFEnd[3])*CFA( anim.CFEnd[4], anim.CFEnd[5], anim.CFEnd[6])
  6755. anim.weld[anim.CC] = CFStart:lerp(CFEnd,anim.Current/anim.Time)
  6756. --print(anim.Current)
  6757. if anim.Current>=anim.Time then
  6758. anim.weld[anim.CC] = CFEnd -- 100%
  6759. Anims[i]=nil
  6760. end
  6761. end
  6762. --
  6763. for i,v in pairs(doAfterT) do
  6764. v.Current = v.Current + step
  6765. if v.Current>=v.Time then
  6766. v.Func()
  6767. doAfterT[i] = nil
  6768. end
  6769. end
  6770. --
  6771. for i,v in pairs(doInT) do
  6772. v.Current = v.Current + step
  6773. if v.Current>v.Time then v.Current = v.Time end -- sometimes exceeds
  6774. v.Func(v.Current/v.Time,i,step)
  6775. if doInT[i] and v.Current>=v.Time then
  6776. if v.FuncEnd then v.FuncEnd() end
  6777. doInT[i] = nil
  6778. end
  6779. end
  6780. --
  6781. end)
  6782. loadAnim:Open(0.2)
  6783. Anim = "Opened"
  6784. mech:MoveTo((CTorso.CFrame*CF(0,0,-30)).p)
  6785.  
  6786. --(CTorso.CFrame*CF(0,0,-16)).p)
  6787. -- hl/https://preview.c9users.io/jaspher/rbx_stoof/RMMech.lua
  6788. -- l/_G.m.addAnim(_G.m.BaseW ,1,1,nil,{ 0, 0, 0, 90, 0, 0})
  6789. -- l/_G.m.addAnim(_G.m.LThighW,1,1,nil,{1.5,0.5,0,-25,0,45})
  6790. -- l/_G.la:Open() l/_G.la:Standing()
  6791. -- c/for i,v in pairs(workspace.notrmdx["RM Mech 2"]:children()) do if v:IsA'BasePart' then v:SetNetworkOwner(game.Players.notrmdx) end end -- jew
  6792. end)
  6793.  
  6794. Bleach.Name = "Bleach"
  6795. Bleach.Parent = Scripts1Frame
  6796. Bleach.BackgroundColor3 = Color3.new(1, 0, 0)
  6797. Bleach.BorderSizePixel = 0
  6798. Bleach.Position = UDim2.new(0.373417735, 0, 0.656976759, 0)
  6799. Bleach.Size = UDim2.new(0, 161, 0, 42)
  6800. Bleach.Font = Enum.Font.GothamBlack
  6801. Bleach.Text = "Bleach"
  6802. Bleach.TextColor3 = Color3.new(0, 0, 0)
  6803. Bleach.TextSize = 14
  6804. Bleach.MouseButton1Down:connect(function()
  6805. nigga = Instance.new("Tool")
  6806. nigga.Parent = game.Players.LocalPlayer.Backpack
  6807. nigga.Name = "KYS"
  6808. nigga2 = Instance.new("Part", nigga)
  6809. nigga2.Name = "Handle"
  6810. asd = Instance.new("SpecialMesh", nigga2)
  6811. asd.MeshId = "rbxassetid://483388971"
  6812. asd.TextureId = "rbxassetid://520016684"
  6813. asd.Name = "Mesh"
  6814. asd.Scale = Vector3.new(0.005, 0.005, 0.005)
  6815. pussay = Instance.new("Sound", asd)
  6816. pussay.Playing = false
  6817. pussay.SoundId = "http://www.roblox.com/asset/?id=10722059"
  6818. pussay.Name = "DRINKNOISE"
  6819. pussay.Volume = 10
  6820.  
  6821. local Tool = nigga
  6822. script.Parent = game.Players.LocalPlayer.Backpack.KYS
  6823.  
  6824. function onActivated()
  6825.  
  6826. Tool.GripForward = Vector3.new(0,-.759,-.651)
  6827. Tool.GripPos = Vector3.new(1.5,-.5,.3)
  6828. Tool.GripRight = Vector3.new(1,0,0)
  6829. Tool.GripUp = Vector3.new(0,.651,-.759)
  6830.  
  6831. pussay:Play()
  6832.  
  6833. wait(3)
  6834.  
  6835. local h = Tool.Parent:FindFirstChild("Humanoid")
  6836. if (h ~= nil) then
  6837. if (h.MaxHealth > h.Health - 500) then
  6838. h.Health = h.Health - 500
  6839. else
  6840. h.Health = h.MaxHealth
  6841. end
  6842. end
  6843.  
  6844. Tool.GripForward = Vector3.new(-.976,0,-0.217)
  6845. Tool.GripPos = Vector3.new(0.03,0,0)
  6846. Tool.GripRight = Vector3.new(.217,0,-.976)
  6847. Tool.GripUp = Vector3.new(0,1,0)
  6848.  
  6849. end
  6850.  
  6851.  
  6852. game.Players.LocalPlayer.Backpack.KYS.Activated:connect(onActivated)
  6853. end)
  6854.  
  6855. NoClip.Name = "NoClip"
  6856. NoClip.Parent = Scripts1Frame
  6857. NoClip.BackgroundColor3 = Color3.new(1, 0, 0)
  6858. NoClip.BorderSizePixel = 0
  6859. NoClip.Position = UDim2.new(0.373417735, 0, 0.813953519, 0)
  6860. NoClip.Size = UDim2.new(0, 161, 0, 42)
  6861. NoClip.Font = Enum.Font.GothamBlack
  6862. NoClip.Text = "NoClip"
  6863. NoClip.TextColor3 = Color3.new(0, 0, 0)
  6864. NoClip.TextSize = 14
  6865. NoClip.MouseButton1Down:connect(function()
  6866. noclip = false
  6867. game:GetService('RunService').Stepped:connect(function()
  6868. if noclip then
  6869. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  6870. end
  6871. end)
  6872. plr = game.Players.LocalPlayer
  6873. mouse = plr:GetMouse()
  6874. mouse.KeyDown:connect(function(key)
  6875.  
  6876. if key == "e" then
  6877. noclip = not noclip
  6878. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  6879. end
  6880. end)
  6881. print('Created by FileExplorer')
  6882. print('E to enable')
  6883.  
  6884. end)
  6885.  
  6886. JohnDoe.Name = "John Doe"
  6887. JohnDoe.Parent = Scripts1Frame
  6888. JohnDoe.BackgroundColor3 = Color3.new(1, 0, 0)
  6889. JohnDoe.BorderSizePixel = 0
  6890. JohnDoe.Position = UDim2.new(0.0147679448, 0, 0.813953519, 0)
  6891. JohnDoe.Size = UDim2.new(0, 161, 0, 42)
  6892. JohnDoe.Font = Enum.Font.GothamBlack
  6893. JohnDoe.Text = "John Doe"
  6894. JohnDoe.TextColor3 = Color3.new(0, 0, 0)
  6895. JohnDoe.TextSize = 14
  6896. JohnDoe.MouseButton1Down:connect(function()
  6897. function a(b)
  6898. for i,v in next, b:GetChildren() do
  6899. if v:IsA("Part") then
  6900. bbg = Instance.new("BillboardGui")
  6901. bbg.Adornee=v
  6902. bbg.Parent=v
  6903. bbg.Size=UDim2.new(3,0,3,0)
  6904. bbg.StudsOffset=Vector3.new(0,2,0)
  6905. fr = Instance.new("Frame", bbg)
  6906. fr.BackgroundTransparency=1
  6907. fr.Size=UDim2.new(1,0,1,0)
  6908. tl = Instance.new("TextLabel", fr)
  6909. tl.FontSize="Size48"
  6910. tl.BackgroundTransparency=1
  6911. tl.Text="JOHN DOE IS HERE"
  6912. tl.TextColor3=Color3.new(1,0,0)
  6913. tl.Size=UDim2.new(1,0,1,0)
  6914. end
  6915. a(v)
  6916. end
  6917. end
  6918. a(workspace)
  6919. end)
  6920.  
  6921. Invisible.Name = "Invisible"
  6922. Invisible.Parent = Scripts1Frame
  6923. Invisible.BackgroundColor3 = Color3.new(1, 0, 0)
  6924. Invisible.BorderSizePixel = 0
  6925. Invisible.Position = UDim2.new(0.0147679448, 0, 0.656976759, 0)
  6926. Invisible.Size = UDim2.new(0, 161, 0, 42)
  6927. Invisible.Font = Enum.Font.GothamBlack
  6928. Invisible.Text = "Invisible"
  6929. Invisible.TextColor3 = Color3.new(0, 0, 0)
  6930. Invisible.TextSize = 14
  6931. Invisible.MouseButton1Down:connect(function()
  6932. for i,v in next, game.Players.LocalPlayer.Character:GetChildren() do
  6933. local h = v:FindFirstChildOfClass("Decal")
  6934. if h then
  6935. h:Destroy()
  6936. end
  6937. if v.ClassName == "Part" then
  6938. v.Transparency = 1
  6939. end
  6940. if v.ClassName == "Accessory" then
  6941. v:Destroy()
  6942. end
  6943. end
  6944. end)
  6945.  
  6946. Open.Name = "Open"
  6947. Open.Parent = EleganceV1
  6948. Open.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  6949. Open.Position = UDim2.new(0.0629241168, 0, 0.474201441, 0)
  6950. Open.Size = UDim2.new(0, 135, 0, 41)
  6951.  
  6952. OpenBut.Name = "OpenBut"
  6953. OpenBut.Parent = Open
  6954. OpenBut.BackgroundColor3 = Color3.new(1, 1, 1)
  6955. OpenBut.BackgroundTransparency = 1
  6956. OpenBut.Position = UDim2.new(0, 0, 0.195121944, 0)
  6957. OpenBut.Size = UDim2.new(0, 135, 0, 33)
  6958. OpenBut.Font = Enum.Font.GothamBlack
  6959. OpenBut.Text = "Open Elegance V1"
  6960. OpenBut.TextColor3 = Color3.new(1, 0, 0)
  6961. OpenBut.TextSize = 14
  6962. OpenBut.MouseButton1Down:connect(function()
  6963. LoginFrame.Visible = true
  6964. Open.Visible = false
  6965. Close.Visible = true
  6966. end)
  6967.  
  6968. Close.Name = "Close"
  6969. Close.Parent = EleganceV1
  6970. Close.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  6971. Close.Position = UDim2.new(0.0629241168, 0, 0.472972959, 0)
  6972. Close.Size = UDim2.new(0, 135, 0, 41)
  6973. Close.Visible = false
  6974.  
  6975. CloseBut.Name = "CloseBut"
  6976. CloseBut.Parent = Close
  6977. CloseBut.BackgroundColor3 = Color3.new(1, 1, 1)
  6978. CloseBut.BackgroundTransparency = 1
  6979. CloseBut.Position = UDim2.new(0, 0, 0.146341458, 0)
  6980. CloseBut.Size = UDim2.new(0, 135, 0, 35)
  6981. CloseBut.Font = Enum.Font.GothamBlack
  6982. CloseBut.Text = "Close Elegance V1"
  6983. CloseBut.TextColor3 = Color3.new(1, 0, 0)
  6984. CloseBut.TextSize = 14
  6985. CloseBut.TextStrokeColor3 = Color3.new(1, 0, 0)
  6986. CloseBut.MouseButton1Down:connect(function()
  6987. Scripts1Frame.Visible = false
  6988. MainFrame.Visible = false
  6989. LoginFrame.Visible = false
  6990. Open.Visible = true
  6991. Close.Visible = false
  6992. Scripts2Frame.Visible = false
  6993. end)
  6994.  
  6995. Scripts2Frame.Name = "Scripts 2 Frame"
  6996. Scripts2Frame.Parent = EleganceV1
  6997. Scripts2Frame.Active = true
  6998. Scripts2Frame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  6999. Scripts2Frame.BackgroundTransparency = 0.30000001192093
  7000. Scripts2Frame.Position = UDim2.new(0.531770527, 0, 0.0601965785, 0)
  7001. Scripts2Frame.Size = UDim2.new(0, 474, 0, 344)
  7002. Scripts2Frame.Visible = false
  7003. Scripts2Frame.Draggable = true
  7004.  
  7005. S2Header_2.Name = "S1Header"
  7006. S2Header_2.Parent = Scripts2Frame
  7007. S2Header_2.BackgroundColor3 = Color3.new(0, 0, 0)
  7008. S2Header_2.BorderSizePixel = 0
  7009. S2Header_2.Size = UDim2.new(0, 474, 0, 57)
  7010.  
  7011. S2Title_2.Name = "S1Title"
  7012. S2Title_2.Parent = S2Header_2
  7013. S2Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  7014. S2Title_2.BackgroundTransparency = 1
  7015. S2Title_2.Position = UDim2.new(-0.00210970454, 0, 0, 0)
  7016. S2Title_2.Size = UDim2.new(0, 474, 0, 57)
  7017. S2Title_2.Font = Enum.Font.GothamBlack
  7018. S2Title_2.Text = "Elegance V1 | Scripts 2"
  7019. S2Title_2.TextColor3 = Color3.new(1, 0, 0)
  7020. S2Title_2.TextSize = 25
  7021.  
  7022. Swim.Name = "Swim"
  7023. Swim.Parent = Scripts2Frame
  7024. Swim.BackgroundColor3 = Color3.new(1, 0, 0)
  7025. Swim.BorderSizePixel = 0
  7026. Swim.Position = UDim2.new(0.0147679327, 0, 0.191860467, 0)
  7027. Swim.Size = UDim2.new(0, 161, 0, 42)
  7028. Swim.Font = Enum.Font.GothamBlack
  7029. Swim.Text = "Swim"
  7030. Swim.TextColor3 = Color3.new(0, 0, 0)
  7031. Swim.TextSize = 14
  7032. Swim.MouseButton1Down:connect(function()
  7033. while true do
  7034. if Player.GetKey("E") then
  7035. game.Players.LocalPlayer.Character.Humanoid:ChangeState(4)
  7036. wait(0.1)
  7037. end
  7038. end
  7039. end)
  7040.  
  7041. S2Exit_2.Name = "S1 Exit"
  7042. S2Exit_2.Parent = Scripts2Frame
  7043. S2Exit_2.BackgroundColor3 = Color3.new(1, 0, 0)
  7044. S2Exit_2.Position = UDim2.new(0.951662838, 0, 0, 0)
  7045. S2Exit_2.Size = UDim2.new(0, 22, 0, 26)
  7046. S2Exit_2.Font = Enum.Font.GothamBlack
  7047. S2Exit_2.Text = "X"
  7048. S2Exit_2.TextColor3 = Color3.new(0, 0, 0)
  7049. S2Exit_2.TextSize = 14
  7050. S2Exit_2.MouseButton1Down:connect(function()
  7051. Scripts2Frame.Visible = false
  7052. end)
  7053.  
  7054. BookOfWisdom.Name = "Book Of Wisdom"
  7055. BookOfWisdom.Parent = Scripts2Frame
  7056. BookOfWisdom.BackgroundColor3 = Color3.new(1, 0, 0)
  7057. BookOfWisdom.BorderSizePixel = 0
  7058. BookOfWisdom.Position = UDim2.new(0.373417735, 0, 0.351744175, 0)
  7059. BookOfWisdom.Size = UDim2.new(0, 161, 0, 42)
  7060. BookOfWisdom.Font = Enum.Font.GothamBlack
  7061. BookOfWisdom.Text = "Book Of Wisdom"
  7062. BookOfWisdom.TextColor3 = Color3.new(0, 0, 0)
  7063. BookOfWisdom.TextSize = 14
  7064. BookOfWisdom.MouseButton1Down:connect(function()
  7065. -- Book Of Wisdom --
  7066. -- Local Script --
  7067.  
  7068. for i, v in pairs(game:service("Players").LocalPlayer.Backpack:children()) do
  7069.  
  7070. if v.className == "HopperBin" and v.Name == "Book" then
  7071.  
  7072. v:remove()
  7073.  
  7074. end
  7075.  
  7076. end
  7077.  
  7078. for i, v in pairs(game:service("Players").LocalPlayer.Character.Head:children()) do
  7079.  
  7080. if v.Name == "PTS" and v.className == "Sound" then
  7081.  
  7082. v:remove()
  7083.  
  7084. end
  7085.  
  7086. end
  7087.  
  7088. wait(0.3)
  7089.  
  7090. bin = Instance.new("HopperBin")
  7091.  
  7092. bin.Name = "Book"
  7093.  
  7094. bin.Parent = game.Players.LocalPlayer.Backpack
  7095.  
  7096.  
  7097.  
  7098.  
  7099. local player = game:service("Players").LocalPlayer
  7100.  
  7101. local char = player.Character
  7102.  
  7103. local Torsoz = char:findFirstChild("Torso")
  7104.  
  7105. local RA = char:findFirstChild("Right Arm")
  7106.  
  7107. local LA = char:findFirstChild("Left Arm")
  7108.  
  7109. local RL = char:findFirstChild("Right Leg")
  7110.  
  7111. local LL = char:findFirstChild("Left Leg")
  7112.  
  7113. local H = char:findFirstChild("Head")
  7114.  
  7115. local RS = Torsoz:findFirstChild("Right Shoulder")
  7116.  
  7117. local LS = Torsoz:findFirstChild("Left Shoulder")
  7118.  
  7119. local RH = Torsoz:findFirstChild("Right Hip")
  7120.  
  7121. local LH = Torsoz:findFirstChild("Left Hip")
  7122.  
  7123. local N = Torsoz:findFirstChild("Neck")
  7124.  
  7125. local Main
  7126.  
  7127. local Page = 1
  7128.  
  7129. local Glows = {}
  7130.  
  7131. local RiseEffects = {}
  7132.  
  7133. local GroundSymbols = {}
  7134.  
  7135. local prevpage = 0
  7136.  
  7137. local Joint
  7138.  
  7139. local Animating = false
  7140.  
  7141. local Casting = false
  7142.  
  7143. local PTS = Instance.new("Sound", H)
  7144.  
  7145. PTS.Name = "PTS"
  7146.  
  7147. PTS.SoundId = "http://www.roblox.com/asset/?id=3931318"
  7148.  
  7149. PTS.Pitch = 1.1
  7150.  
  7151. PTS.Volume = 0.25
  7152.  
  7153.  
  7154.  
  7155.  
  7156. local s = 1
  7157.  
  7158. local numofpages = 10
  7159.  
  7160. local spellids = {"78036587", "132611096", "12579755","116835157","127817360","112716066","112670381","112671903","112724208"}
  7161.  
  7162.  
  7163.  
  7164.  
  7165. local P = Instance.new("Part")
  7166.  
  7167. P.Anchored = false
  7168.  
  7169. P.CanCollide = false
  7170.  
  7171. P.Name = "Part"
  7172.  
  7173. P.formFactor = "Custom"
  7174.  
  7175. P.BrickColor = BrickColor.new("Brick yellow")
  7176.  
  7177. P.Size = Vector3.new(0.5,0.5,0.5)
  7178.  
  7179. P.Locked = true
  7180.  
  7181. P.TopSurface = 0
  7182.  
  7183. P.BottomSurface = 0
  7184.  
  7185.  
  7186.  
  7187.  
  7188. function Build()
  7189.  
  7190. for i, v in pairs(char:children()) do
  7191.  
  7192. if v.className == "Model" and v.Name == "Book" then
  7193.  
  7194. v:remove()
  7195.  
  7196. end
  7197.  
  7198. end
  7199.  
  7200. local mdl = Instance.new("Model", char)
  7201.  
  7202. mdl.Name = "Book"
  7203.  
  7204.  
  7205.  
  7206.  
  7207. local h = P:Clone()
  7208.  
  7209. h.Parent = mdl
  7210.  
  7211. h.Transparency = 1
  7212.  
  7213. local mesh = Instance.new("SpecialMesh", h)
  7214.  
  7215. mesh.MeshType = "Brick"
  7216.  
  7217. mesh.Scale = Vector3.new(3*s,4*s,1.4*s)
  7218.  
  7219. local w = Instance.new("Motor", h)
  7220.  
  7221. w.Part0 = Torsoz
  7222.  
  7223. w.Part1 = h
  7224.  
  7225. w.C0 = CFrame.new(1,-1,0*s) * CFrame.Angles(-3.5,4.5,0.5)
  7226.  
  7227. Main = w
  7228.  
  7229.  
  7230.  
  7231.  
  7232. ---- Book ----------
  7233.  
  7234.  
  7235.  
  7236.  
  7237. local c = P:Clone()
  7238.  
  7239. c.Parent = mdl
  7240.  
  7241. c.BrickColor = BrickColor.new("Navy blue")
  7242.  
  7243. local mesh = Instance.new("BlockMesh", c)
  7244.  
  7245. mesh.Scale = Vector3.new(0.3*s,4*s,1.6*s)
  7246.  
  7247. local w = Instance.new("Motor", c)
  7248.  
  7249. w.Part0 = h
  7250.  
  7251. w.Part1 = c
  7252.  
  7253. w.C0 = CFrame.new(-0.75*s,0,0)
  7254.  
  7255. local W = P:Clone()
  7256.  
  7257. W.Parent = mdl
  7258.  
  7259. local mesh = Instance.new("BlockMesh", W)
  7260.  
  7261. mesh.Scale = Vector3.new(0.25*s,3.6*s,1.5*s)
  7262.  
  7263. local w = Instance.new("Motor", W)
  7264.  
  7265. w.Part0 = c
  7266.  
  7267. w.Part1 = W
  7268.  
  7269. w.C0 = CFrame.new(0.07*s,0,0)
  7270.  
  7271.  
  7272.  
  7273.  
  7274. pages = {}
  7275.  
  7276. for i = 1, numofpages do
  7277.  
  7278. local p = P:Clone()
  7279.  
  7280. p.Parent = mdl
  7281.  
  7282. p.Name = "Page"..i
  7283.  
  7284. local mesh = Instance.new("BlockMesh", p)
  7285.  
  7286. mesh.Scale = Vector3.new(2.8*s, 3.6*s, (1.3/numofpages)*s)
  7287.  
  7288. local w = Instance.new("Motor", p)
  7289.  
  7290. w.Name = "PageW"..i
  7291.  
  7292. w.Part0 = c
  7293.  
  7294. w.Part1 = p
  7295.  
  7296. w.C0 = CFrame.new(0,0,(0.4*s)-(((0.7*s)/numofpages)*i)) * CFrame.Angles(math.pi/2,0,0)
  7297.  
  7298. w.C1 = CFrame.new(-0.7*s,0,0) * CFrame.Angles(math.pi/2,0,0)
  7299.  
  7300. w.MaxVelocity = 0.03
  7301.  
  7302. table.insert(pages, w)
  7303.  
  7304. local b = P:Clone()
  7305.  
  7306. b.Parent = mdl
  7307.  
  7308. b.Name = "PageSymbol"..i
  7309.  
  7310. b.Transparency = 1
  7311.  
  7312. local mesh = Instance.new("SpecialMesh", b)
  7313.  
  7314. mesh.MeshType = "Brick"
  7315.  
  7316. mesh.Scale = Vector3.new(2.2*s,2.2*s,((1.3/numofpages)+0.05)*s)
  7317.  
  7318. local w = Instance.new("Motor", b)
  7319.  
  7320. w.Part0 = p
  7321.  
  7322. w.Part1 = b
  7323.  
  7324. w.C0 = CFrame.new(0.05*s,0,0)
  7325.  
  7326. local d = Instance.new("Decal", b)
  7327.  
  7328. d.Face = "Front"
  7329.  
  7330. if spellids[i] ~= nil then
  7331.  
  7332. d.Texture = "http://www.roblox.com/asset/?id="..spellids[i]
  7333.  
  7334. end
  7335.  
  7336. if i > 1 and spellids[i-1] ~= nil then
  7337.  
  7338. local d = Instance.new("Decal", b)
  7339.  
  7340. d.Face = "Back"
  7341.  
  7342. d.Texture = "http://www.roblox.com/asset/?id="..spellids[i-1]
  7343.  
  7344. end
  7345.  
  7346. end
  7347.  
  7348.  
  7349.  
  7350.  
  7351. local c1 = P:Clone()
  7352.  
  7353. c1.Parent = mdl
  7354.  
  7355. c1.Name = "Cover"
  7356.  
  7357. c1.BrickColor = BrickColor.new("Navy blue")
  7358.  
  7359. local mesh = Instance.new("BlockMesh", c1)
  7360.  
  7361. mesh.Scale = Vector3.new(3*s, 4*s, 0.24*s)
  7362.  
  7363. local w = Instance.new("Motor", c1)
  7364.  
  7365. w.Part0 = c
  7366.  
  7367. w.Part1 = c1
  7368.  
  7369. w.C0 = CFrame.new(0,0,0.4*s) * CFrame.Angles(math.pi/2,0,0)
  7370.  
  7371. w.C1 = CFrame.new(-0.75*s,0,0) * CFrame.Angles(math.pi/2,0,0)
  7372.  
  7373. w.MaxVelocity = 0.03
  7374.  
  7375. Cover1 = w
  7376.  
  7377. local c2 = P:Clone()
  7378.  
  7379. c2.Parent = mdl
  7380.  
  7381. c2.Name = "Cover"
  7382.  
  7383. c2.BrickColor = BrickColor.new("Navy blue")
  7384.  
  7385. local mesh = Instance.new("BlockMesh", c2)
  7386.  
  7387. mesh.Scale = Vector3.new(3*s, 4*s, 0.24*s)
  7388.  
  7389. local w = Instance.new("Motor", c2)
  7390.  
  7391. w.Part0 = c
  7392.  
  7393. w.Part1 = c2
  7394.  
  7395. w.C0 = CFrame.new(0,0,-0.4*s) * CFrame.Angles(math.pi/2,0,0)
  7396.  
  7397. w.C1 = CFrame.new(-0.75*s,0,0) * CFrame.Angles(math.pi/2,0,0)
  7398.  
  7399. w.MaxVelocity = 0.03
  7400.  
  7401. Cover2 = w
  7402.  
  7403.  
  7404.  
  7405.  
  7406. local e = P:Clone()
  7407.  
  7408. e.Parent = mdl
  7409.  
  7410. e.BrickColor = BrickColor.new("Black")
  7411.  
  7412. local mesh = Instance.new("CylinderMesh", e)
  7413.  
  7414. mesh.Scale = Vector3.new(0.3*s,3.98*s,0.3*s)
  7415.  
  7416. local e2 = e:Clone()
  7417.  
  7418. e2.Parent = mdl
  7419.  
  7420. e2.BrickColor = BrickColor.new("Really black")
  7421.  
  7422. e2.Reflectance = 0.32
  7423.  
  7424. e2.Transparency = 0.22
  7425.  
  7426. e2.Mesh.Scale = Vector3.new(0.31*s,2*s,0.31*s)
  7427.  
  7428. local w = Instance.new("Motor", e)
  7429.  
  7430. w.Part0 = c
  7431.  
  7432. w.Part1 = e
  7433.  
  7434. w.C0 = CFrame.new(0,0,0.4*s)
  7435.  
  7436. local w = Instance.new("Motor", e)
  7437.  
  7438. w.Part0 = c
  7439.  
  7440. w.Part1 = e2
  7441.  
  7442. w.C0 = CFrame.new(0,0,0.4*s)
  7443.  
  7444. local e = P:Clone()
  7445.  
  7446. e.Parent = mdl
  7447.  
  7448. e.BrickColor = BrickColor.new("Black")
  7449.  
  7450. local mesh = Instance.new("CylinderMesh", e)
  7451.  
  7452. mesh.Scale = Vector3.new(0.3*s,3.98*s,0.3*s)
  7453.  
  7454. local e2 = e:Clone()
  7455.  
  7456. e2.Parent = mdl
  7457.  
  7458. e2.BrickColor = BrickColor.new("Really black")
  7459.  
  7460. e2.Reflectance = 0.32
  7461.  
  7462. e2.Transparency = 0.22
  7463.  
  7464. e2.Mesh.Scale = Vector3.new(0.31*s,2*s,0.31*s)
  7465.  
  7466. local w = Instance.new("Motor", e)
  7467.  
  7468. w.Part0 = c
  7469.  
  7470. w.Part1 = e
  7471.  
  7472. w.C0 = CFrame.new(0,0,-0.4*s)
  7473.  
  7474. local w = Instance.new("Motor", e2)
  7475.  
  7476. w.Part0 = c
  7477.  
  7478. w.Part1 = e2
  7479.  
  7480. w.C0 = CFrame.new(0,0,-0.4*s)
  7481.  
  7482.  
  7483.  
  7484.  
  7485. Glows = {}
  7486.  
  7487. for i = 1, 9 do
  7488.  
  7489. local p = P:Clone()
  7490.  
  7491. p.Parent = mdl
  7492.  
  7493. p.Name = "DesignPart"
  7494.  
  7495. p.BrickColor = BrickColor.new("Black")
  7496.  
  7497. local w = Instance.new("Motor", p)
  7498.  
  7499. w.Part0 = c1
  7500.  
  7501. w.Part1 = p
  7502.  
  7503. w.C0 = CFrame.new(0,0,0.06*s)
  7504.  
  7505. local p2 = P:Clone()
  7506.  
  7507. p2.Parent = mdl
  7508.  
  7509. p2.Name = "DesignPart2"
  7510.  
  7511. p2.BrickColor = BrickColor.new("White")
  7512.  
  7513. local w2 = Instance.new("Motor", p2)
  7514.  
  7515. w2.Part0 = c1
  7516.  
  7517. w2.Part1 = p2
  7518.  
  7519. w2.C0 = CFrame.new(0,0,0.06*s)
  7520.  
  7521. table.insert(Glows, p2)
  7522.  
  7523. if i == 1 then
  7524.  
  7525. local mesh = Instance.new("CylinderMesh",p)
  7526.  
  7527. mesh.Scale = Vector3.new(0.6*s,0.1*s,0.6*s)
  7528.  
  7529. w.C0 = w.C0 * CFrame.Angles(math.pi/2,0,0)
  7530.  
  7531. local mesh = Instance.new("CylinderMesh",p2)
  7532.  
  7533. mesh.Scale = Vector3.new(0.2*s,0.11*s,0.2*s)
  7534.  
  7535. w2.C0 = w2.C0 * CFrame.Angles(math.pi/2,0,0)
  7536.  
  7537. else
  7538.  
  7539. local mesh = Instance.new("BlockMesh", p)
  7540.  
  7541. mesh.Scale = Vector3.new(0.3*s,1.2*s,0.1*s)
  7542.  
  7543. w.C1 = CFrame.new(0.4*s,0,0) * CFrame.Angles(0,0,(math.pi*2/8)*i)
  7544.  
  7545. local mesh = Instance.new("BlockMesh", p2)
  7546.  
  7547. mesh.Scale = Vector3.new(0.09*s,0.7*s,0.11*s)
  7548.  
  7549. w2.C1 = CFrame.new(0.4*s,0,0) * CFrame.Angles(0,0,(math.pi*2/8)*i)
  7550.  
  7551. end
  7552.  
  7553. end
  7554.  
  7555.  
  7556.  
  7557.  
  7558. end
  7559.  
  7560. Build()
  7561.  
  7562.  
  7563.  
  7564.  
  7565. function TurnToPage(page)
  7566.  
  7567. if Casting == false and Animating == false then
  7568.  
  7569. if (page == 1 and prevpage == 2) or (page == numofpages-2 and prevpage == numofpages-1) or (page ~= 0 and page ~= 1 and prevpage ~= numofpages-1) then
  7570.  
  7571. PTS:Play()
  7572.  
  7573. end
  7574.  
  7575. for i, v in pairs(pages) do
  7576.  
  7577. if page == 0 then
  7578.  
  7579. v.MaxVelocity = 0.08
  7580.  
  7581. v.DesiredAngle = 0
  7582.  
  7583. else
  7584.  
  7585. if i > page then
  7586.  
  7587. v.MaxVelocity = 0.1
  7588.  
  7589. v.DesiredAngle = -math.pi/4.6
  7590.  
  7591. else
  7592.  
  7593. v.MaxVelocity = 0.1
  7594.  
  7595. v.DesiredAngle = math.pi/4.6
  7596.  
  7597. end
  7598.  
  7599. end
  7600.  
  7601. end
  7602.  
  7603. if page == 0 then
  7604.  
  7605. Cover1.MaxVelocity = 0.08
  7606.  
  7607. Cover1.DesiredAngle = 0
  7608.  
  7609. Cover2.MaxVelocity = 0.08
  7610.  
  7611. Cover2.DesiredAngle = 0
  7612.  
  7613. if prevpage == 1 then
  7614.  
  7615. Unequip(true)
  7616.  
  7617. end
  7618.  
  7619. else
  7620.  
  7621. Cover1.MaxVelocity = 0.1
  7622.  
  7623. Cover1.DesiredAngle = math.pi/4.6
  7624.  
  7625. Cover2.MaxVelocity = 0.1
  7626.  
  7627. Cover2.DesiredAngle = -math.pi/4.6
  7628.  
  7629. if prevpage == 0 then
  7630.  
  7631. Equip(true)
  7632.  
  7633. end
  7634.  
  7635. end
  7636.  
  7637. prevpage = page
  7638.  
  7639. end
  7640.  
  7641. end
  7642.  
  7643.  
  7644.  
  7645.  
  7646. function CastHeal()
  7647.  
  7648. Casting = true
  7649.  
  7650. local nmdl = Instance.new("Model", char)
  7651.  
  7652. nmdl.Name = "HeallSpellEffects"
  7653.  
  7654. local p = P:Clone()
  7655.  
  7656. p.Parent = nmdl
  7657.  
  7658. p.Anchored = true
  7659.  
  7660. p.Transparency = 1
  7661.  
  7662. p.CFrame = CFrame.new(Torsoz.Position+Vector3.new(0,-3,0))
  7663.  
  7664. local mesh = Instance.new("SpecialMesh", p)
  7665.  
  7666. mesh.MeshType = "Brick"
  7667.  
  7668. mesh.Scale = Vector3.new(28,0.6,28)
  7669.  
  7670. local de = Instance.new("Decal", p)
  7671.  
  7672. de.Name = "Symbol"
  7673.  
  7674. de.Face = "Top"
  7675.  
  7676. de.Transparency = 1
  7677.  
  7678. de.Texture = "http://www.roblox.com/asset/?id="..spellids[Page]
  7679.  
  7680. table.insert(GroundSymbols, p)
  7681.  
  7682. wait(0.2)
  7683.  
  7684. local loopnum = 0
  7685.  
  7686. local makeeffect = true
  7687.  
  7688. local Cont = true
  7689.  
  7690.  
  7691.  
  7692.  
  7693. while Cont == true do
  7694.  
  7695. loopnum = loopnum + 1
  7696.  
  7697. if makeeffect == true and loopnum%3 == 0 then
  7698.  
  7699. local g = P:Clone()
  7700.  
  7701. g.Parent = nmdl
  7702.  
  7703. g.Name = "RiseEffect"
  7704.  
  7705. g.BrickColor = BrickColor.new("White")
  7706.  
  7707. local W = Instance.new("Motor", g)
  7708.  
  7709. W.Part0 = Torsoz
  7710.  
  7711. W.Part1 = g
  7712.  
  7713. W.C1 = CFrame.new(0,0,math.random(20, 80)/10)
  7714.  
  7715. W.C0 = CFrame.new(0,-4,0) * CFrame.Angles(0,(math.pi*2/100)*math.random(0, 100),0)
  7716.  
  7717. local meshz = Instance.new("SpecialMesh", g)
  7718.  
  7719. local ran = math.random(1, 3)
  7720.  
  7721. meshz.Scale = Vector3.new(math.random(15, 34)/10,math.random(15, 34)/10,math.random(15, 34)/10)
  7722.  
  7723. if ran == 1 then
  7724.  
  7725. meshz.MeshType = "Sphere"
  7726.  
  7727. elseif ran == 2 then
  7728.  
  7729. meshz.MeshId = "http://www.roblox.com/asset/?id=9756362"
  7730.  
  7731. meshz.Scale = Vector3.new(math.random(12, 30)/15,math.random(12, 30)/15,math.random(12, 30)/15)
  7732.  
  7733. elseif ran == 3 then
  7734.  
  7735. meshz.MeshType = "Head"
  7736.  
  7737. end
  7738.  
  7739. table.insert(RiseEffects, {W, math.random(10,130)/1000})
  7740.  
  7741. if #RiseEffects > 15 then
  7742.  
  7743. print("Stopped making effects")
  7744.  
  7745. makeeffect = false
  7746.  
  7747. end
  7748.  
  7749. end
  7750.  
  7751.  
  7752.  
  7753.  
  7754. for i, v in pairs(RiseEffects) do
  7755.  
  7756. v[1].Parent.Transparency = v[1].Parent.Transparency + 0.016
  7757.  
  7758. v[1].C0 = v[1].C0 * CFrame.new(0,0.12,0) * CFrame.Angles(0,v[2],0)
  7759.  
  7760. v[1].C1 = v[1].C1 * CFrame.new(0,0,v[2]/3)
  7761.  
  7762. if v[1].Parent.Transparency > 0.9 then
  7763.  
  7764. v[1].Parent:remove()
  7765.  
  7766. table.remove(RiseEffects,i)
  7767.  
  7768. end
  7769.  
  7770. end
  7771.  
  7772.  
  7773.  
  7774.  
  7775. if loopnum > 4 then
  7776.  
  7777. if #RiseEffects == 0 then
  7778.  
  7779. print("Stopped loop")
  7780.  
  7781. Cont = false
  7782.  
  7783. end
  7784.  
  7785. end
  7786.  
  7787.  
  7788.  
  7789.  
  7790. wait(0.03)
  7791.  
  7792. end
  7793.  
  7794. nmdl:remove()
  7795.  
  7796. Casting = false
  7797.  
  7798. end
  7799.  
  7800. function CastAttack()
  7801.  
  7802. Casting2 = true
  7803.  
  7804. local mndl = Instance.new("Model", char)
  7805.  
  7806. mndl.Name = "AttackSpellEffects"
  7807.  
  7808. local d = P:Clone()
  7809.  
  7810. d.Parent = mndl
  7811.  
  7812. d.Anchored = true
  7813.  
  7814. d.Transparency = 1
  7815.  
  7816. d.CFrame = CFrame.new(Torsoz.Position+Vector3.new(0,-3,0))
  7817.  
  7818. local mesh2 = Instance.new("SpecialMesh", d)
  7819.  
  7820. mesh2.MeshType = "Brick"
  7821.  
  7822. mesh2.Scale = Vector3.new(28,0.6,28)
  7823.  
  7824. local df = Instance.new("Decal", d)
  7825.  
  7826. df.Name = "Symbol2"
  7827.  
  7828. df.Face = "Top"
  7829.  
  7830. df.Transparency = 1
  7831.  
  7832. df.Texture = "http://www.roblox.com/asset/?id="..spellids[Page]
  7833.  
  7834. table.insert(GroundSymbols, d)
  7835.  
  7836. wait(0.2)
  7837.  
  7838. local loopnum2 = 0
  7839.  
  7840. local makeeffect2 = true
  7841.  
  7842. local Cont2 = true
  7843.  
  7844.  
  7845.  
  7846.  
  7847. while Cont2 == true do
  7848.  
  7849. loopnum2 = loopnum2 + 1
  7850.  
  7851. if makeeffect2 == true and loopnum2%3 == 0 then
  7852.  
  7853. local g = P:Clone()
  7854.  
  7855. k.Parent = mndl
  7856.  
  7857. k.Name = "RiseEffect2"
  7858.  
  7859. k.BrickColor = BrickColor.new("White")
  7860.  
  7861. local L = Instance.new("Motor", k)
  7862.  
  7863. L.Part0 = Torsoz
  7864.  
  7865. L.Part1 = k
  7866.  
  7867. L.C1 = CFrame.new(0,0,math.random(20, 80)/10)
  7868.  
  7869. L.C0 = CFrame.new(0,-4,0) * CFrame.Angles(0,(math.pi*2/100)*math.random(0, 100),0)
  7870.  
  7871. local meshx = Instance.new("SpecialMesh", k)
  7872.  
  7873. local ran2 = math.random(4, 6)
  7874.  
  7875. meshx.Scale = Vector3.new(math.random(15, 34)/10,math.random(15, 34)/10,math.random(15, 34)/10)
  7876.  
  7877. if ran2 == 4 then
  7878.  
  7879. meshx.MeshType = "Sphere"
  7880.  
  7881. elseif ran2 == 5 then
  7882.  
  7883. meshx.MeshId = "http://www.roblox.com/asset/?id=9756362"
  7884.  
  7885. meshx.Scale = Vector3.new(math.random(12, 30)/15,math.random(12, 30)/15,math.random(12, 30)/15)
  7886.  
  7887. elseif ran2 == 6 then
  7888.  
  7889. meshx.MeshType = "Cylinder"
  7890.  
  7891. end
  7892.  
  7893. table.insert(RiseEffects2, {L, math.random(10,130)/1000})
  7894.  
  7895. if #RiseEffects2 > 15 then
  7896.  
  7897. print("Stopped making effects")
  7898.  
  7899. makeeffect2 = false
  7900.  
  7901. end
  7902.  
  7903. end
  7904.  
  7905.  
  7906.  
  7907.  
  7908. for i, v in pairs(RiseEffects2) do
  7909.  
  7910. v[1].Parent.Transparency = v[1].Parent.Transparency + 0.016
  7911.  
  7912. v[1].C0 = v[1].C0 * CFrame.new(0,0.12,0) * CFrame.Angles(0,v[2],0)
  7913.  
  7914. v[1].C1 = v[1].C1 * CFrame.new(0,0,v[2]/3)
  7915.  
  7916. if v[1].Parent.Transparency > 0.9 then
  7917.  
  7918. v[1].Parent:remove()
  7919.  
  7920. table.remove(RiseEffects2,i)
  7921.  
  7922. end
  7923.  
  7924. end
  7925.  
  7926.  
  7927.  
  7928.  
  7929. if loopnum2 > 4 then
  7930.  
  7931. if #RiseEffects2 == 0 then
  7932.  
  7933. print("Stopped loop")
  7934.  
  7935. Cont2 = false
  7936.  
  7937. end
  7938.  
  7939. end
  7940.  
  7941.  
  7942.  
  7943.  
  7944. wait(0.03)
  7945.  
  7946. end
  7947.  
  7948. mndl:remove()
  7949.  
  7950. Casting2 = false
  7951.  
  7952. end
  7953.  
  7954.  
  7955. function onButton1Down(mouse)
  7956.  
  7957. print("Trying to cast page: "..Page)--IT WORKED :D
  7958. if Casting == false then
  7959.  
  7960. if Page == 1 then
  7961.  
  7962. CastHeal()
  7963.  
  7964. end
  7965.  
  7966. if Casting == false then
  7967.  
  7968. if Page == 3 then
  7969. print("Casting:"..Page)
  7970. CastAttack()
  7971.  
  7972. end
  7973.  
  7974. end
  7975.  
  7976. end
  7977.  
  7978. end
  7979.  
  7980.  
  7981.  
  7982.  
  7983. function onKeyDown(key, mouse)
  7984.  
  7985. if key ~= nil then
  7986.  
  7987. key:lower()
  7988.  
  7989. if Casting == false and Animating == false then
  7990.  
  7991. if key == "e" then
  7992.  
  7993. if Page ~= numofpages-1 then
  7994.  
  7995. Page = Page + 1
  7996.  
  7997. end
  7998.  
  7999. TurnToPage(Page)
  8000.  
  8001. elseif key == "q" then
  8002.  
  8003. if Page ~= 0 then
  8004.  
  8005. Page = Page - 1
  8006.  
  8007. end
  8008.  
  8009. TurnToPage(Page)
  8010.  
  8011. end
  8012.  
  8013. end --- animating = false end
  8014.  
  8015. end
  8016.  
  8017. end
  8018.  
  8019.  
  8020.  
  8021.  
  8022. function Equip(anim)
  8023.  
  8024. if anim == true then
  8025.  
  8026. Animating = true
  8027.  
  8028. local joint = Instance.new("Motor", Torsoz)
  8029.  
  8030. joint.Part0 = Torsoz
  8031.  
  8032. joint.Part1 = RA
  8033.  
  8034. joint.C0 = CFrame.new(1.5,0.5,0) * CFrame.Angles(0,math.pi/2,0)
  8035.  
  8036. joint.C1 = CFrame.new(0,0.5,0) * CFrame.Angles(0,math.pi/2,-1)
  8037.  
  8038. joint.MaxVelocity = 0.06
  8039.  
  8040. joint.DesiredAngle = math.pi/3
  8041.  
  8042. Joint = joint
  8043.  
  8044. Main.Part0 = RA
  8045.  
  8046. Main.C0 = CFrame.new(0,-1.5*s,0) * CFrame.Angles(0,math.pi/2,-math.pi/2)
  8047.  
  8048. for i = 1, 16 do
  8049.  
  8050. Main.C0 = CFrame.new((-1*s/16)*i,(-1.5*s)+((0.25*s/16)*i),(-0.65*s/16)*i) * CFrame.Angles((math.pi/16)*i,(math.pi/2)-((math.pi/16)*i),-math.pi/2)
  8051.  
  8052. wait(0.02)
  8053.  
  8054. end
  8055.  
  8056. Animating = false
  8057.  
  8058. else
  8059.  
  8060. Main.Part0 = RA
  8061.  
  8062. Main.C0 = CFrame.new(0,-1.5*s,0) * CFrame.Angles(0,math.pi/2,-math.pi/2)
  8063.  
  8064. end
  8065.  
  8066. end
  8067.  
  8068.  
  8069.  
  8070.  
  8071. function Unequip(anim)
  8072.  
  8073. if anim == true then
  8074.  
  8075. Animating = true
  8076.  
  8077. local joint = Joint
  8078.  
  8079. joint.MaxVelocity = 0.06
  8080.  
  8081. joint.DesiredAngle = 0
  8082.  
  8083. for i = 1, 16 do
  8084.  
  8085. Main.C0 = CFrame.new((-1*s)+((1*s/16)*i),(-1.25*s)-((0.25*s/16)*i),(-0.65*s)+((0.65*s/16)*i)) * CFrame.Angles(math.pi-((math.pi/16)*i),(-math.pi/2)+((math.pi/16)*i),-math.pi/2)
  8086.  
  8087. wait(0.02)
  8088.  
  8089. end
  8090.  
  8091. Animating = false
  8092.  
  8093. end
  8094.  
  8095. for i, v in pairs(Torsoz:children()) do
  8096.  
  8097. if v.className == "Motor" then
  8098.  
  8099. v:remove()
  8100.  
  8101. end
  8102.  
  8103. end
  8104.  
  8105. RS.Parent = Torsoz
  8106.  
  8107. RS.Part0 = Torsoz
  8108.  
  8109. RS.Part1 = RA
  8110.  
  8111. end
  8112.  
  8113.  
  8114.  
  8115.  
  8116. bin.Selected:connect(function(mouse)
  8117.  
  8118. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  8119.  
  8120. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  8121.  
  8122. mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
  8123.  
  8124. Page = 0
  8125.  
  8126. prevpage = 0
  8127.  
  8128. Equip(false)
  8129.  
  8130. end)
  8131.  
  8132.  
  8133.  
  8134.  
  8135. bin.Deselected:connect(function()
  8136.  
  8137. Unequip(false)
  8138.  
  8139. Build()
  8140.  
  8141. end)
  8142.  
  8143.  
  8144.  
  8145.  
  8146. local num = 0
  8147.  
  8148. local plus = true
  8149.  
  8150. local trans = 0
  8151.  
  8152. while bin.Parent == player.Backpack do
  8153.  
  8154. num = num + 1
  8155.  
  8156.  
  8157.  
  8158.  
  8159. if #Glows == 0 then
  8160.  
  8161. trans = 0
  8162.  
  8163. else
  8164.  
  8165. for i, v in pairs(Glows) do
  8166.  
  8167. v.Transparency = trans
  8168.  
  8169. end
  8170.  
  8171. if plus == true then
  8172.  
  8173. trans = trans + 0.032
  8174.  
  8175. elseif plus == false then
  8176.  
  8177. trans = trans - 0.032
  8178.  
  8179. end
  8180.  
  8181. if trans > 0.65 then
  8182.  
  8183. plus = false
  8184.  
  8185. elseif trans < 0.06 then
  8186.  
  8187. plus = true
  8188.  
  8189. end
  8190.  
  8191. end
  8192.  
  8193.  
  8194.  
  8195.  
  8196. for i, v in pairs(GroundSymbols) do
  8197.  
  8198. if v.Parent == nil then
  8199.  
  8200. table.remove(GroundSymbols, i)
  8201.  
  8202. break
  8203.  
  8204. else
  8205.  
  8206. v.CFrame = v.CFrame * CFrame.Angles(0,0.02,0)
  8207.  
  8208. v.CFrame = v.CFrame - v.Position + (Torsoz.Position-Vector3.new(0,3,0))
  8209.  
  8210. if plus == true then
  8211.  
  8212. v.Mesh.Scale = v.Mesh.Scale + Vector3.new(0.2,0,0.2)
  8213.  
  8214. else
  8215.  
  8216. v.Mesh.Scale = v.Mesh.Scale - Vector3.new(0.2,0,0.2)
  8217.  
  8218. end
  8219.  
  8220. if v.Symbol.Transparency > 0.1 then
  8221.  
  8222. v.Symbol.Transparency = v.Symbol.Transparency - 0.008
  8223.  
  8224. end
  8225.  
  8226. end
  8227.  
  8228. end
  8229.  
  8230.  
  8231.  
  8232.  
  8233. wait(0.03)
  8234.  
  8235. end
  8236.  
  8237.  
  8238.  
  8239.  
  8240. --mediafire gtfo password[
  8241.  
  8242. end)
  8243.  
  8244. WeAreNumber1.Name = "We Are Number 1"
  8245. WeAreNumber1.Parent = Scripts2Frame
  8246. WeAreNumber1.BackgroundColor3 = Color3.new(1, 0, 0)
  8247. WeAreNumber1.BorderSizePixel = 0
  8248. WeAreNumber1.Position = UDim2.new(0.0147679448, 0, 0.351744175, 0)
  8249. WeAreNumber1.Size = UDim2.new(0, 161, 0, 42)
  8250. WeAreNumber1.Font = Enum.Font.GothamBlack
  8251. WeAreNumber1.Text = "We are number 1"
  8252. WeAreNumber1.TextColor3 = Color3.new(0, 0, 0)
  8253. WeAreNumber1.TextSize = 14
  8254. WeAreNumber1.MouseButton1Down:connect(function()
  8255. --[We are number one script! Includes ear rape, skybox and particles!]--
  8256.  
  8257. --[Particles]--
  8258.  
  8259. local GetPlayers = game.Players:GetPlayers()
  8260.  
  8261. for _,v in pairs(GetPlayers) do
  8262. local Particles = Instance.new("ParticleEmitter",v.Character.Torso)
  8263. Particles.Texture = "rbxassetid://541396576"
  8264. Particles.VelocitySpread = 50
  8265. local Particles2 = Instance.new("ParticleEmitter",v.Character.Torso)
  8266. Particles2.Texture = "rbxassetid://541396627"
  8267. Particles2.VelocitySpread = 50
  8268. local Particles3 = Instance.new("ParticleEmitter",v.Character.Torso)
  8269. Particles3.Texture = "rbxassetid://541396654"
  8270. Particles3.VelocitySpread = 50
  8271. end
  8272.  
  8273. --[Skybox]--
  8274.  
  8275. local SkyBox = Instance.new("Sky",game.Lighting)
  8276. local SkySettings = {"Bk","Dn","Ft","Lf","Rt","Up"}
  8277.  
  8278. for _,v in pairs(SkySettings) do
  8279. SkyBox["Skybox"..v]="rbxassetid://541396480"
  8280. end
  8281.  
  8282. --[Music]--
  8283.  
  8284. local Music = Instance.new("Sound")
  8285. Music.Name = "Music"
  8286. Music.SoundId = "rbxassetid://541369345"
  8287. Music.Looped = true
  8288. Music.Pitch = 1
  8289. Music.Volume = 10
  8290. Music.archivable = false
  8291. Music.Parent = game.Workspace
  8292. wait(1)
  8293. Music:play()
  8294.  
  8295. --[Made for Raindrop]--
  8296. end)
  8297.  
  8298. Disco.Name = "Disco"
  8299. Disco.Parent = Scripts2Frame
  8300. Disco.BackgroundColor3 = Color3.new(1, 0, 0)
  8301. Disco.BorderSizePixel = 0
  8302. Disco.Position = UDim2.new(0.373417735, 0, 0.191860467, 0)
  8303. Disco.Size = UDim2.new(0, 161, 0, 42)
  8304. Disco.Font = Enum.Font.GothamBlack
  8305. Disco.Text = "Disco"
  8306. Disco.TextColor3 = Color3.new(0, 0, 0)
  8307. Disco.TextSize = 14
  8308. Disco.MouseButton1Down:connect(function()
  8309. local Delay = 1 --The delay you prefer
  8310.  
  8311. function Stop()
  8312. game.Lighting.Ambient = Color3.new(0,0,0)
  8313. end
  8314.  
  8315. for i=1, 9999 do -- How many times it should loop
  8316. game.Lighting.Ambient = Color3.new(math.random(), math.random(), math.random()) wait(Delay)
  8317. end
  8318. end)
  8319.  
  8320. VaporGun.Name = "Vapor Gun"
  8321. VaporGun.Parent = Scripts2Frame
  8322. VaporGun.BackgroundColor3 = Color3.new(1, 0, 0)
  8323. VaporGun.BorderSizePixel = 0
  8324. VaporGun.Position = UDim2.new(0.373417735, 0, 0.502906978, 0)
  8325. VaporGun.Size = UDim2.new(0, 161, 0, 42)
  8326. VaporGun.Font = Enum.Font.GothamBlack
  8327. VaporGun.Text = "Vapor Gun"
  8328. VaporGun.TextColor3 = Color3.new(0, 0, 0)
  8329. VaporGun.TextSize = 14
  8330. VaporGun.MouseButton1Down:connect(function()
  8331. me = game.Players.LocalPlayer
  8332. walkspeed = 35
  8333. walkspeed2 = 16
  8334. WaitTime = 0.01
  8335. WaitTime2 = 0.41
  8336. WaitTime3 = 3
  8337. god = false
  8338. fakeff = false -- don't enable if god is enabled. it won't break, they both basically god you, but fakeff has a cooler effect.
  8339.  
  8340. h = Instance.new("HopperBin")
  8341. h.Parent = me.Backpack
  8342. h.Name = "VaporGun v3"
  8343.  
  8344. sp = game.Players.LocalPlayer.Backpack["VaporGun v3"]
  8345.  
  8346.  
  8347. rightarm = me.Character["Right Arm"]
  8348. leftarm = me.Character["Left Arm"]
  8349.  
  8350. hold = false
  8351. using = false
  8352. holdkey = false
  8353.  
  8354. right = Instance.new("Weld")
  8355. right.Parent = me.Character.Torso
  8356. right.Part0 = nil
  8357. right.Part1 = nil
  8358. right.C1 = CFrame.fromEulerAnglesXYZ(-1.57,-0.4,0) * CFrame.new(-1,-0.5,0.1)
  8359.  
  8360. left = Instance.new("Weld")
  8361. left.Parent = me.Character.Torso
  8362. left.Part0 = nil
  8363. left.Part1 = nil
  8364. left.C1 = CFrame.fromEulerAnglesXYZ(-1.4,0.5,0) * CFrame.new(0.55,-0.4,1.3)
  8365.  
  8366.  
  8367. bulletcolors = {"Hot pink", "Really red", "Really blue", "New Yeller", "Lime green", "Neon orange"}
  8368.  
  8369. gun = Instance.new("Model")
  8370. gun.Parent = game.Lighting
  8371. gun.Name = "Gun"
  8372.  
  8373. handle = Instance.new("Part")
  8374. handle.Parent = gun
  8375. handle.formFactor = 0
  8376. handle.Size = Vector3.new(1,1,1)
  8377. handle.BrickColor = BrickColor.random()
  8378. mesh = Instance.new("SpecialMesh")
  8379. mesh.Parent = handle
  8380. mesh.MeshType = "Brick"
  8381. mesh.Scale = Vector3.new(0.5,0.75,1.6)
  8382.  
  8383. handle2 = Instance.new("Part")
  8384. handle2.Parent = gun
  8385. handle2.formFactor = 0
  8386. handle2.Size = Vector3.new(1,1,1)
  8387. handle2.BrickColor = BrickColor.random()
  8388. mesh2 = mesh:clone()
  8389. mesh2.Parent = handle2
  8390. mesh2.Scale = Vector3.new(0.6,3.6,0.75)
  8391.  
  8392. handle3 = Instance.new("Part")
  8393. handle3.Parent = gun
  8394. handle3.formFactor = 0
  8395. handle3.Size = Vector3.new(1,1,1)
  8396. handle3.BrickColor = BrickColor.random()
  8397. mesh3 = mesh:clone()
  8398. mesh3.Parent = handle3
  8399. mesh3.Scale = Vector3.new(.45,.11,2)
  8400.  
  8401. handle4 = Instance.new("Part")
  8402. handle4.Parent = gun
  8403. handle4.formFactor = 0
  8404. handle4.Size = Vector3.new(.1,.1,.1)
  8405. handle4.BrickColor = BrickColor.random()
  8406. mesh4 = Instance.new("CylinderMesh")
  8407. mesh4.Parent = handle4
  8408. mesh4.Scale = Vector3.new(.4,4,.3)
  8409. hold = false
  8410.  
  8411. if god == true then
  8412. me.Character.Humanoid.MaxHealth = math.huge
  8413. end
  8414. if fakeff == true then
  8415. select=Instance.new("SelectionBox",me.Character.Head)
  8416. select1=Instance.new("SelectionBox",me.Character.Torso)
  8417. select2=Instance.new("SelectionBox",me.Character["Right Arm"])
  8418. select3=Instance.new("SelectionBox",me.Character["Left Arm"])
  8419. select4=Instance.new("SelectionBox",me.Character["Left Leg"])
  8420. select5=Instance.new("SelectionBox",me.Character["Right Leg"])
  8421. select.Adornee=me.Character.Head
  8422. select1.Adornee=me.Character.Torso
  8423. select2.Adornee=me.Character["Right Arm"]
  8424. select3.Adornee=me.Character["Left Arm"]
  8425. select4.Adornee=me.Character["Left Leg"]
  8426. select5.Adornee=me.Character["Right Leg"]
  8427. me.Character.Humanoid.MaxHealth=math.huge
  8428. end
  8429.  
  8430. function selected(mouse, key)
  8431. right.Part0 = right.Parent
  8432. right.Part1 = rightarm
  8433. left.Part0 = left.Parent
  8434. left.Part1 = leftarm
  8435. left.C1 = CFrame.fromEulerAnglesXYZ(-1.4,0.5,0) * CFrame.new(0.55,-0.4,1.3)
  8436. right.C1 = CFrame.fromEulerAnglesXYZ(-1.57,-0.4,0) * CFrame.new(-1,-0.5,0.1)
  8437. left.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  8438. right.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  8439. gun.Parent = me.Character
  8440. gunweld1 = Instance.new("Weld")
  8441. gunweld1.Parent = rightarm
  8442. gunweld1.Part0 = gunweld1.Parent
  8443. gunweld1.Part1 = handle
  8444. gunweld1.C1 = CFrame.fromEulerAnglesXYZ(0.4,0,0) * CFrame.new(0,1,0)
  8445. gunweld2 = Instance.new("Weld")
  8446. gunweld2.Parent = handle
  8447. gunweld2.Part0 = gunweld2.Parent
  8448. gunweld2.Part1 = handle2
  8449. gunweld2.C1 = CFrame.fromEulerAnglesXYZ(-0.4,0,0) * CFrame.new(0,1,1.2)
  8450. gunweld3 = Instance.new("Weld")
  8451. gunweld3.Parent = handle2
  8452. gunweld3.Part0 = gunweld3.Parent
  8453. gunweld3.Part1 = handle3
  8454. gunweld3.C1 = CFrame.fromEulerAnglesXYZ(-0.3,0,0) * CFrame.new(0,0.3,-0.9)
  8455. gunweld4 = Instance.new("Weld")
  8456. gunweld4.Parent = handle2
  8457. gunweld4.Part0 = gunweld3.Parent
  8458. gunweld4.Part1 = handle4
  8459. gunweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.751,0)
  8460. mouse.Button1Down:connect(function()
  8461. zmeme = Instance.new("Sound",handle4)
  8462. zmeme.SoundId = "rbxassetid://479049474"
  8463. zmeme.Volume = 100
  8464. zmeme.Looped = true
  8465. zmeme:Play()
  8466. hold = true
  8467. while hold == true do
  8468. wait(0.04)
  8469. local color = math.random(1, #bulletcolors)
  8470. local wkspd = walkspeed
  8471. local pos = mouse.Hit.p + Vector3.new(math.random(-2,2),0,math.random(-2,2))
  8472. local BamOne = Instance.new("Sound",handle4)
  8473. BamOne.Pitch,BamOne.Volume,BamOne.SoundId = 1.4,100,"rbxassetid://2920959"
  8474. local BamTwo = Instance.new("Sound",handle4)
  8475. BamTwo.Pitch,BamTwo.Volume,BamTwo.SoundId = 1.4,100,"rbxassetid://2920959"
  8476. local bullet = Instance.new("Part")
  8477. bullet.Parent = workspace
  8478. bullet.formFactor = 0
  8479. bullet.Size = Vector3.new(1,1,1)
  8480. bullet.BrickColor = BrickColor.new(bulletcolors[color])
  8481. bullet.CanCollide = false
  8482. bullet.Anchored = true
  8483. bullet.CFrame = CFrame.new((handle4.Position + pos)/2, pos)
  8484. local distance = (handle4.Position - pos).magnitude
  8485. local bulletmesh = Instance.new("SpecialMesh")
  8486. bulletmesh.Parent = bullet
  8487. bulletmesh.MeshType = "Brick"
  8488. bulletmesh.Scale = Vector3.new(0.2,0.2,distance)
  8489. if mouse.Target ~= nil then
  8490. local hu = mouse.Target.Parent:findFirstChild("Humanoid")
  8491. if hu ~= nil then
  8492. hu.Health = hu.Health - 10
  8493. if hu.Health == 0 then
  8494. vape = Instance.new("Sound",hu.Parent.Head)
  8495. vape.SoundId = "rbxassetid://479081073"
  8496. vape.Volume = 100
  8497. vape:Play()
  8498. wait(2.28)
  8499. vape:Destroy()
  8500. end
  8501. end
  8502. end
  8503. coroutine.resume(coroutine.create(function()
  8504. left.C0 = left.C0 * CFrame.fromEulerAnglesXYZ(0.12,0,0)
  8505. right.C0 = right.C0 * CFrame.fromEulerAnglesXYZ(0.12,0,0)
  8506. wait()
  8507. left.C0 = left.C0 * CFrame.fromEulerAnglesXYZ(-0.12,0,0)
  8508. right.C0 = right.C0 * CFrame.fromEulerAnglesXYZ(-0.12,0,0)
  8509. wait(0.03)
  8510. bullet:remove()
  8511. end))
  8512. end
  8513. end)
  8514. mouse.Button1Up:connect(function()
  8515. zmeme:Pause()
  8516. zmeme:Destroy()
  8517. hold = false
  8518. end)
  8519. local Gui = Instance.new("ScreenGui",me.PlayerGui)
  8520. Gui.Name = "Ammo"
  8521. local Frame = Instance.new("Frame",Gui)
  8522. Frame.Name = "MainFrame"
  8523. Frame.Size = UDim2.new(.15,0,.1,0)
  8524. Frame.Position = UDim2.new(0.4,0,0.4,0)
  8525. Frame.BackgroundTransparency = 0.99
  8526. Frame.BackgroundColor = BrickColor.new("Really black")
  8527. Frame.Active = true
  8528. local Exit = Instance.new("TextButton",Gui)
  8529. Exit.Name = "Exit"
  8530. Exit.Size = UDim2.new(.15,0,.1,0)
  8531. Exit.Position = UDim2.new(0.4,0,0.4,0)
  8532. Exit.BackgroundTransparency = 1
  8533. Exit.Text = ""
  8534. Exit.BackgroundColor = BrickColor.new("Really black")
  8535. Exit.Active = true
  8536. Exit.Draggable = false
  8537. Exit.MouseButton1Down:connect(function()
  8538. me.PlayerGui["Ammo"]:remove()
  8539. end)
  8540. local msg1 = "Made by colin, Editted by OpTic Wisdom"
  8541. local msg2 = "VaporGun v3"
  8542. local msg3 = "Click to exit"
  8543. local Cred = Instance.new("TextLabel",Frame)
  8544. Cred.Name = "Credz"
  8545. Cred.Font = "ArialBold"
  8546. Cred.FontSize = "Size12"
  8547. Cred.Position = UDim2.new(0.5,0,0.05,0)
  8548. for i = 1,#msg1 do
  8549. Cred.Text = (string.sub(msg1, 1,i))
  8550. wait(WaitTime)
  8551. end
  8552. Cred.TextColor3 = BrickColor.new("Hot pink").Color
  8553. wait(WaitTime2)
  8554. local Dis = Instance.new("TextLabel",Frame)
  8555. Dis.Name = "Real Numbers"
  8556. Dis.Font = "ArialBold"
  8557. Dis.FontSize = "Size18"
  8558. Dis.Position = UDim2.new(0.5,0,0.5,0)
  8559. Dis.TextColor3 = BrickColor.new("Hot pink").Color
  8560. for i = 1,#msg2 do
  8561. Dis.Text = (string.sub(msg2, 1,i))
  8562. wait(WaitTime)
  8563. end
  8564. me.Character.Humanoid.WalkSpeed = walkspeed
  8565. wait(WaitTime3)
  8566. for i = 1,#msg2 do
  8567. Dis.Text = string.sub(msg2, i,#msg2)
  8568. wait(WiatTime)
  8569. end
  8570. for i = 1,#msg3 do
  8571. Dis.Text = (string.sub(msg3, 1,i))
  8572. wait(WaitTime)
  8573. end
  8574. end
  8575.  
  8576. function deselect()
  8577. left.C0 = CFrame.new(0,0,0)
  8578. right.C0 = CFrame.new(0,0,0)
  8579. me.Character:makeJoints()
  8580. wait()
  8581. right.Part0 = nil
  8582. right.Part1 = nil
  8583. left.Part0 = nil
  8584. left.Part1 = nil
  8585. gun.Parent = game.Lighting
  8586. me.Character:makeJoints()
  8587. me.PlayerGui["Ammo"]:Remove()
  8588. me.Character.Humanoid.WalkSpeed = walkspeed2
  8589. end
  8590.  
  8591. sp.Selected:connect(selected)
  8592. sp.Deselected:connect(deselect)
  8593.  
  8594. end)
  8595.  
  8596. HilaryClinton.Name = "Hilary Clinton"
  8597. HilaryClinton.Parent = Scripts2Frame
  8598. HilaryClinton.BackgroundColor3 = Color3.new(1, 0, 0)
  8599. HilaryClinton.BorderSizePixel = 0
  8600. HilaryClinton.Position = UDim2.new(0.0147679448, 0, 0.5, 0)
  8601. HilaryClinton.Size = UDim2.new(0, 161, 0, 42)
  8602. HilaryClinton.Font = Enum.Font.GothamBlack
  8603. HilaryClinton.Text = "Hilary Clinton"
  8604. HilaryClinton.TextColor3 = Color3.new(0, 0, 0)
  8605. HilaryClinton.TextSize = 14
  8606. HilaryClinton.MouseButton1Down:connect(function()
  8607. gui1=Instance.new("BillboardGui")
  8608. gui1.Parent = game.Players.LocalPlayer.Character.Head
  8609. gui1.Adornee = game.Players.LocalPlayer.Character.Head
  8610. gui1.Size=UDim2.new(2.5,0,2.5,0)
  8611. gui1.StudsOffset=Vector3.new(0,0.2,0)
  8612. gui1.AlwaysOnTop = true
  8613. text1=Instance.new("ImageLabel")
  8614. text1.Image = "rbxassetid://499105465" --
  8615. text1.Size=UDim2.new(1,0,1,0)
  8616. text1.Position=UDim2.new(0,0,0,0)
  8617. text1.BackgroundTransparency = 1
  8618. text1.Parent=gui1
  8619. game.Players.LocalPlayer.Character.Head.Transparency = 1
  8620. end)
  8621.  
  8622. Bomb.Name = "Bomb"
  8623. Bomb.Parent = Scripts2Frame
  8624. Bomb.BackgroundColor3 = Color3.new(1, 0, 0)
  8625. Bomb.BorderSizePixel = 0
  8626. Bomb.Position = UDim2.new(0.373417735, 0, 0.656976759, 0)
  8627. Bomb.Size = UDim2.new(0, 161, 0, 42)
  8628. Bomb.Font = Enum.Font.GothamBlack
  8629. Bomb.Text = "Bomb"
  8630. Bomb.TextColor3 = Color3.new(0, 0, 0)
  8631. Bomb.TextSize = 14
  8632. Bomb.MouseButton1Down:connect(function()
  8633. for _,v in pairs(game.Players:GetChildren()) do
  8634. local Bomb = Instance.new('Part')
  8635. Bomb.Parent = game.Workspace
  8636. Bomb.Size = Vector3.new(2,2,2)
  8637. Bomb.Material = 'Neon'
  8638. Bomb.BrickColor = BrickColor.new('Really black')
  8639. Bomb.Position = v.LocalPlayer.Head.Position
  8640. Bomb.Shape = 'Ball'
  8641. Bomb.TopSurface = 'Smooth'
  8642. Bomb.BottomSurface = 'Smooth'
  8643. Bomb.Locked = true
  8644. wait(3)
  8645. local Explosion = Instance.new('Explosion')
  8646. Explosion.Parent = game.Workspace
  8647. Explosion.Position = Bomb.Position
  8648. Explosion.BlastRadius = 10
  8649. Explosion.BlastPressure = 1000000
  8650. Bomb:Destroy()
  8651. end
  8652. end)
  8653.  
  8654. Harambe.Name = "Harambe"
  8655. Harambe.Parent = Scripts2Frame
  8656. Harambe.BackgroundColor3 = Color3.new(1, 0, 0)
  8657. Harambe.BorderSizePixel = 0
  8658. Harambe.Position = UDim2.new(0.373417735, 0, 0.813953519, 0)
  8659. Harambe.Size = UDim2.new(0, 161, 0, 42)
  8660. Harambe.Font = Enum.Font.GothamBlack
  8661. Harambe.Text = "Harambe"
  8662. Harambe.TextColor3 = Color3.new(0, 0, 0)
  8663. Harambe.TextSize = 14
  8664. Harambe.MouseButton1Down:connect(function()
  8665. local playerLeaderstats = {}
  8666. for i, v in pairs(game.Players:GetChildren()) do
  8667. table.insert(playerLeaderstats, v)
  8668. end
  8669. for i, v in pairs(playerLeaderstats) do
  8670. pe = Instance.new("ParticleEmitter",v.Character.Torso)
  8671. pe.Texture = "http://www.roblox.com/asset/?id=459493380"
  8672. pe.VelocitySpread = 50
  8673.  
  8674. end
  8675.  
  8676. a=Instance.new("Sky",game.Lighting)
  8677.  
  8678. b={"Bk","Dn","Ft","Lf","Rt","Up"}
  8679.  
  8680. for i,v in pairs(b) do
  8681.  
  8682. a["Skybox"..v]="rbxassetid://459493380"
  8683.  
  8684. end
  8685.  
  8686.  
  8687.  
  8688. print("Music executed!")
  8689.  
  8690. s = Instance.new("Sound")
  8691.  
  8692. s.Name = "Music"
  8693.  
  8694. s.SoundId = "rbxassetid://468952487" --Put the id into there.
  8695.  
  8696. s.Looped = true
  8697.  
  8698. s.Pitch = 1 --You can edit these settings.
  8699.  
  8700. s.Volume = 4 --You can edit these settings.
  8701.  
  8702. s.archivable = false
  8703.  
  8704.  
  8705.  
  8706. s.Parent = game.Workspace
  8707.  
  8708.  
  8709.  
  8710. wait(1)
  8711.  
  8712.  
  8713. s:play()
  8714. end)
  8715.  
  8716. MLG.Name = "MLG"
  8717. MLG.Parent = Scripts2Frame
  8718. MLG.BackgroundColor3 = Color3.new(1, 0, 0)
  8719. MLG.BorderSizePixel = 0
  8720. MLG.Position = UDim2.new(0.0147679448, 0, 0.813953519, 0)
  8721. MLG.Size = UDim2.new(0, 161, 0, 42)
  8722. MLG.Font = Enum.Font.GothamBlack
  8723. MLG.Text = "MLG"
  8724. MLG.TextColor3 = Color3.new(0, 0, 0)
  8725. MLG.TextSize = 14
  8726. MLG.MouseButton1Down:connect(function()
  8727. for i, v in pairs(game.Players:GetChildren()) do
  8728. emit = Instance.new("ParticleEmitter")
  8729. emit.Parent = v.Character.Torso
  8730. emit.Texture = "http://www.roblox.com/asset/?id=8979672"
  8731. emit.VelocitySpread = 20
  8732. end
  8733. for i, v in pairs(game.Players:GetChildren()) do
  8734. emit = Instance.new("ParticleEmitter")
  8735. emit.Parent = v.Character.Torso
  8736. emit.Texture = "http://www.roblox.com/asset/?id=176067516"
  8737. emit.VelocitySpread = 20
  8738. end
  8739. for i, v in pairs(game.Players:GetChildren()) do
  8740. emit = Instance.new("ParticleEmitter")
  8741. emit.Parent = v.Character.Torso
  8742. emit.Texture = "http://www.roblox.com/asset/?id=179012130"
  8743. emit.VelocitySpread = 20
  8744. end
  8745.  
  8746. end)
  8747.  
  8748. TsarBomba.Name = "Tsar Bomba"
  8749. TsarBomba.Parent = Scripts2Frame
  8750. TsarBomba.BackgroundColor3 = Color3.new(1, 0, 0)
  8751. TsarBomba.BorderSizePixel = 0
  8752. TsarBomba.Position = UDim2.new(0.0147679448, 0, 0.656976759, 0)
  8753. TsarBomba.Size = UDim2.new(0, 161, 0, 42)
  8754. TsarBomba.Font = Enum.Font.GothamBlack
  8755. TsarBomba.Text = "Tsar Bomba"
  8756. TsarBomba.TextColor3 = Color3.new(0, 0, 0)
  8757. TsarBomba.TextSize = 14
  8758. TsarBomba.MouseButton1Down:connect(function()
  8759. for i = 1, 10 do
  8760. for i, v in pairs(game.Workspace:GetChildren()) do
  8761. Instance.new("Explosion", v)
  8762. end
  8763. wait(0.1)
  8764. end
  8765. for i, v in pairs(game.Players:GetPlayers()) do
  8766. local plr = v.Character.Humanoid
  8767. plr.Health = 0
  8768. end
  8769. end)
  8770.  
  8771.  
  8772.  
  8773. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement