Advertisement
gogo92111

Untitled

Dec 27th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.44 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local MainB = Instance.new("TextButton")
  7. local ScriptsB = Instance.new("TextButton")
  8. local CreditsB = Instance.new("TextButton")
  9. local Main = Instance.new("Frame")
  10. local TextButton = Instance.new("TextButton")
  11. local TextButton_2 = Instance.new("TextButton")
  12. local TextButton_3 = Instance.new("TextButton")
  13. local TextButton_4 = Instance.new("TextButton")
  14. local TextButton_5 = Instance.new("TextButton")
  15. local TextButton_6 = Instance.new("TextButton")
  16. local TextButton_7 = Instance.new("TextButton")
  17. local Scripts = Instance.new("Frame")
  18. local TextButton_8 = Instance.new("TextButton")
  19. local TextButton_9 = Instance.new("TextButton")
  20. local TextButton_10 = Instance.new("TextButton")
  21. local TextButton_11 = Instance.new("TextButton")
  22. local TextButton_12 = Instance.new("TextButton")
  23. local Credits = Instance.new("Frame")
  24. local TextLabel = Instance.new("TextLabel")
  25. local TextLabel_2 = Instance.new("TextLabel")
  26. local TextButton_13 = Instance.new("TextButton")
  27. local TextButton_14 = Instance.new("TextButton")
  28. local TextBox = Instance.new("TextBox")
  29. local TextButton_15 = Instance.new("TextButton")
  30. local ExecutorB = Instance.new("TextButton")
  31. local Executor = Instance.new("Frame")
  32. Frame.Draggable = true;
  33. Frame.Active = true
  34. Frame.Selectible = true;
  35. Frame.Visible = true;
  36. Credits.Visible = false;
  37. Main.Visible = true;
  38. Scripts.Visible = false;
  39. Executor.Visible = false;
  40. local TextButton_16 = Instance.new("TextButton")
  41. local TextButton_17 = Instance.new("TextButton")
  42. local TextButton_18 = Instance.new("TextButton")
  43. local TextBox_4 = Instance.new("TextBox")
  44. local TextBox_2 = Instance.new("TextBox")
  45. local TextBox_3 = Instance.new("TextBox")
  46. local TextButton_19 = Instance.new("TextButton")
  47. local TextButton_20 = Instance.new("TextButton")
  48. local TextButton_21 = Instance.new("TextButton")
  49. local TextButton_22 = Instance.new("TextButton")
  50. local TextButton_23 = Instance.new("TextButton")
  51. local TextButton_24 = Instance.new("TextButton")
  52. local TextButton_25 = Instance.new("TextButton")
  53. local TextButton_26 = Instance.new("TextButton")
  54.  
  55. --Properties:
  56. ScreenGui.Parent = game.CoreGui
  57.  
  58. Frame.Parent = ScreenGui
  59. Frame.Active = true
  60. Frame.BackgroundColor3 = Color3.new(0.0235294, 0.0235294, 0.0235294)
  61. Frame.Position = UDim2.new(0.313, 0, 0.42, 0)
  62. Frame.Size = UDim2.new(0, 443, 0, 37)
  63.  
  64. MainB.Name = "MainB"
  65. MainB.Parent = Frame
  66. MainB.BackgroundColor3 = Color3.new(1, 1, 1)
  67. MainB.Position = UDim2.new(0, 0, 0.297297299, 0)
  68. MainB.Size = UDim2.new(0, 115, 0, 26)
  69. MainB.Font = Enum.Font.SourceSans
  70. MainB.Text = "Main"
  71. MainB.TextColor3 = Color3.new(0, 0, 0)
  72. MainB.TextSize = 14
  73. MainB.MouseButton1Down:connect(function()
  74. Main.Visible = true;
  75. Credits.Visible = false;
  76. Scripts.Visible = false;
  77. Executor.Visible = false;
  78.  
  79. end)
  80.  
  81.  
  82.  
  83. ScriptsB.Name = "ScriptsB"
  84. ScriptsB.Parent = Frame
  85. ScriptsB.BackgroundColor3 = Color3.new(1, 1, 1)
  86. ScriptsB.Position = UDim2.new(0.259593666, 0, 0.297297299, 0)
  87. ScriptsB.Size = UDim2.new(0, 115, 0, 25)
  88. ScriptsB.Font = Enum.Font.SourceSans
  89. ScriptsB.Text = "Scripts"
  90. ScriptsB.TextColor3 = Color3.new(0, 0, 0)
  91. ScriptsB.TextSize = 14
  92. ScriptsB.MouseButton1Down:connect(function()
  93. Main.Visible = false;
  94. Credits.Visible = false;
  95. Scripts.Visible = true;
  96. Executor.Visible = false;
  97.  
  98.  
  99. end)
  100.  
  101. CreditsB.Name = "CreditsB"
  102. CreditsB.Parent = Frame
  103. CreditsB.BackgroundColor3 = Color3.new(1, 1, 1)
  104. CreditsB.Position = UDim2.new(0.519187331, 0, 0.297297299, 0)
  105. CreditsB.Size = UDim2.new(0, 115, 0, 25)
  106. CreditsB.Font = Enum.Font.SourceSans
  107. CreditsB.Text = "Executor"
  108. CreditsB.TextColor3 = Color3.new(0, 0, 0)
  109. CreditsB.TextSize = 14
  110. CreditsB.MouseButton1Down:connect(function()
  111. Credits.Visible = false;
  112. Main.Visible = false;
  113. Scripts.Visible = false;
  114. Executor.Visible = true;
  115.  
  116.  
  117.  
  118.  
  119. end)
  120.  
  121. Main.Name = "Main"
  122. Main.Parent = Frame
  123. Main.BackgroundColor3 = Color3.new(0.631373, 0.447059, 1)
  124. Main.Position = UDim2.new(-0.000277638435, 0, 1.00986481, 0)
  125. Main.Size = UDim2.new(0, 443, 0, 195)
  126.  
  127.  
  128. TextButton.Parent = Main
  129. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  130. TextButton.Position = UDim2.new(0.227542147, 0, 0.807012081, 0)
  131. TextButton.Size = UDim2.new(0, 89, 0, 26)
  132. TextButton.Font = Enum.Font.SourceSans
  133. TextButton.Text = "JumpPower"
  134. TextButton.TextColor3 = Color3.new(0, 0, 0)
  135. TextButton.TextSize = 14
  136. TextButton.MouseButton1Down:connect(function()
  137. game.Players.LocalPlayer.Character.Humanoid.JumpPower = TextBox_2.Text
  138.  
  139. end)
  140.  
  141.  
  142.  
  143. TextButton_3.Parent = Main
  144. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  145. TextButton_3.Position = UDim2.new(-0.000330885872, 0, 0.807012081, 0)
  146. TextButton_3.Size = UDim2.new(0, 89, 0, 26)
  147. TextButton_3.Font = Enum.Font.SourceSans
  148. TextButton_3.Text = "WalkSpeed"
  149. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  150. TextButton_3.TextSize = 14
  151. TextButton_3.MouseButton1Down:connect(function()
  152. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = TextBox_4.Text
  153.  
  154. end)
  155.  
  156.  
  157.  
  158. TextButton_5.Parent = Main
  159. TextButton_5.BackgroundColor3 = Color3.new(1, 1, 1)
  160. TextButton_5.Position = UDim2.new(0.799, 0, 0.858, 0)
  161. TextButton_5.Size = UDim2.new(0, 89, 0, 27)
  162. TextButton_5.Font = Enum.Font.SourceSans
  163. TextButton_5.Text = "Fe Btools"
  164. TextButton_5.TextColor3 = Color3.new(0, 0, 0)
  165. TextButton_5.TextSize = 14
  166. TextButton_5.MouseButton1Down:connect(function()
  167.  
  168. local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  169. local tool2 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  170. local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  171. local tool4 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  172. local tool5 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  173. tool1.BinType = "Clone"
  174. tool2.BinType = "GameTool"
  175. tool3.BinType = "Hammer"
  176. tool4.BinType = "Script"
  177. tool5.BinType = "Grab"
  178.  
  179. end)
  180.  
  181. TextButton_6.Parent = Main
  182. TextButton_6.BackgroundColor3 = Color3.new(1, 1, 1)
  183. TextButton_6.Position = UDim2.new(0.46, 0, 0.807012081, 0)
  184. TextButton_6.Size = UDim2.new(0, 89, 0, 26)
  185. TextButton_6.Font = Enum.Font.SourceSans
  186. TextButton_6.Text = "HipHeight"
  187. TextButton_6.TextColor3 = Color3.new(0, 0, 0)
  188. TextButton_6.TextSize = 14
  189. TextButton_6.MouseButton1Down:connect(function()
  190.  
  191. game.Players.LocalPlayer.Character.Humanoid.HipHeight = TextBox_3.Text
  192.  
  193. end)
  194.  
  195.  
  196.  
  197. Scripts.Name = "Scripts"
  198. Scripts.Parent = Frame
  199. Scripts.BackgroundColor3 = Color3.new(0.631373, 0.447059, 1)
  200. Scripts.Position = UDim2.new(4.47034836e-08, 0, 1, 0)
  201. Scripts.Size = UDim2.new(0, 443, 0, 195)
  202. Scripts.Visible = false;
  203.  
  204. TextButton_8.Parent = Scripts
  205. TextButton_8.BackgroundColor3 = Color3.new(1, 1, 1)
  206. TextButton_8.Position = UDim2.new(-0, 0, 0.859, 0)
  207. TextButton_8.Size = UDim2.new(0, 89, 0, 27)
  208. TextButton_8.Font = Enum.Font.SourceSans
  209. TextButton_8.Text = "ClickTPTool"
  210. TextButton_8.TextColor3 = Color3.new(0, 0, 0)
  211. TextButton_8.TextSize = 14
  212. TextButton_8.MouseButton1Down:connect(function()
  213.  
  214. mouse = game.Players.LocalPlayer:GetMouse()
  215. tool = Instance.new("Tool")
  216. tool.RequiresHandle = false
  217. tool.Name = "Click Teleport"
  218. tool.Activated:connect(function()
  219. local pos = mouse.Hit+Vector3.new(0,2.5,0)
  220. pos = CFrame.new(pos.X,pos.Y,pos.Z)
  221. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  222. end)
  223. tool.Parent = game.Players.LocalPlayer.Backpack
  224.  
  225. end)
  226.  
  227. TextButton_9.Parent = Scripts
  228. TextButton_9.BackgroundColor3 = Color3.new(1, 1, 1)
  229. TextButton_9.Position = UDim2.new(-0.000330885872, 0, 0.668550551, 0)
  230. TextButton_9.Size = UDim2.new(0, 89, 0, 27)
  231. TextButton_9.Font = Enum.Font.SourceSans
  232. TextButton_9.Text = "EnableInventory"
  233. TextButton_9.TextColor3 = Color3.new(0, 0, 0)
  234. TextButton_9.TextSize = 14
  235. TextButton_9.MouseButton1Down:connect(function()
  236.  
  237. game.StarterGui:SetCoreGuiEnabled(2, true)
  238.  
  239.  
  240.  
  241. end)
  242.  
  243. TextButton_10.Parent = Scripts
  244. TextButton_10.BackgroundColor3 = Color3.new(1, 1, 1)
  245. TextButton_10.Position = UDim2.new(-0.000330885872, 0, 0.478806973, 0)
  246. TextButton_10.Size = UDim2.new(0, 89, 0, 27)
  247. TextButton_10.Font = Enum.Font.SourceSans
  248. TextButton_10.Text = "Fe God"
  249. TextButton_10.TextColor3 = Color3.new(0, 0, 0)
  250. TextButton_10.TextSize = 14
  251. TextButton_10.MouseButton1Down:connect(function()
  252.  
  253.  
  254. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  255. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  256. l.Parent = game.Players.LocalPlayer.Character
  257. l.Name = "Humanoid"
  258. wait(0.1)
  259. game.Players.LocalPlayer.Character["1"]:Destroy()
  260. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  261. game.Players.LocalPlayer.Character.Animate.Disabled = true
  262. wait(0.1)
  263. game.Players.LocalPlayer.Character.Animate.Disabled = false
  264. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  265.  
  266. end)
  267.  
  268. TextButton_11.Parent = Scripts
  269. TextButton_11.BackgroundColor3 = Color3.new(1, 1, 1)
  270. TextButton_11.Position = UDim2.new(-0.000330871175, 0, 0.289769262, 0)
  271. TextButton_11.Size = UDim2.new(0, 89, 0, 27)
  272. TextButton_11.Font = Enum.Font.SourceSans
  273. TextButton_11.Text = "Respawn"
  274. TextButton_11.TextColor3 = Color3.new(0, 0, 0)
  275. TextButton_11.TextSize = 14
  276. TextButton_11.MouseButton1Down:connect(function()
  277.  
  278.  
  279. local prt=Instance.new("Model", workspace);
  280. Instance.new("Part", prt).Name="Torso";
  281. Instance.new("Part", prt).Name="Head";
  282. Instance.new("Humanoid", prt).Name="Humanoid";
  283. game.Players.LocalPlayer.Character=prt
  284.  
  285.  
  286. end)
  287.  
  288. TextButton_12.Parent = Scripts
  289. TextButton_12.BackgroundColor3 = Color3.new(1, 1, 1)
  290. TextButton_12.Position = UDim2.new(0.224999994, 0, 0.859000027, 0)
  291. TextButton_12.Size = UDim2.new(0, 89, 0, 27)
  292. TextButton_12.Font = Enum.Font.SourceSans
  293. TextButton_12.Text = "Invisible"
  294. TextButton_12.TextColor3 = Color3.new(0, 0, 0)
  295. TextButton_12.TextSize = 14
  296. TextButton_12.MouseButton1Down:connect(function()
  297.  
  298. Local = game:GetService('Players').LocalPlayer
  299. Char = Local.Character
  300. touched,tpdback = false, false
  301. Local.CharacterAdded:connect(function(char)
  302. if script.Disabled ~= true then
  303. wait(.25)
  304. loc = Char.HumanoidRootPart.Position
  305. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  306. end
  307. end)
  308. game:GetService('UserInputService').InputBegan:connect(function(key)
  309. if key.KeyCode == Enum.KeyCode.Equals then
  310. if script.Disabled ~= true then
  311. script.Disabled = true
  312. print'you may re-execute'
  313. end
  314. end
  315. end)
  316. box = Instance.new('Part',workspace)
  317. box.Anchored = true
  318. box.CanCollide = true
  319. box.Size = Vector3.new(10,1,10)
  320. box.Position = Vector3.new(0,10000,0)
  321. box.Touched:connect(function(part)
  322. if (part.Parent.Name == Local.Name) then
  323. if touched == false then
  324. touched = true
  325. function apply()
  326. if script.Disabled ~= true then
  327. no = Char.HumanoidRootPart:Clone()
  328. wait(.25)
  329. Char.HumanoidRootPart:Destroy()
  330. no.Parent = Char
  331. Char:MoveTo(loc)
  332. touched = false
  333. end end
  334. if Char then
  335. apply()
  336. end
  337. end
  338. end
  339. end)
  340. repeat wait() until Char
  341. loc = Char.HumanoidRootPart.Position
  342. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  343.  
  344. end)
  345.  
  346. Credits.Name = "Credits"
  347. Credits.Parent = Frame
  348. Credits.BackgroundColor3 = Color3.new(0.631373, 0.447059, 1)
  349. Credits.Position = UDim2.new(0, 0, 1, 0)
  350. Credits.Size = UDim2.new(0, 443, 0, 195)
  351. Credits.Visible = false;
  352.  
  353. TextLabel.Parent = Credits
  354. TextLabel.BackgroundColor3 = Color3.new(0.396078, 0.658824, 1)
  355. TextLabel.Position = UDim2.new(0, 0, 0.158163264, 0)
  356. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  357. TextLabel.Font = Enum.Font.SourceSans
  358. TextLabel.Text = "Scripted By Gogo1000"
  359. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  360. TextLabel.TextSize = 14
  361.  
  362. TextLabel_2.Parent = Credits
  363. TextLabel_2.BackgroundColor3 = Color3.new(0.396078, 0.658824, 1)
  364. TextLabel_2.Position = UDim2.new(0, 0, 0.413265288, 0)
  365. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  366. TextLabel_2.Font = Enum.Font.SourceSans
  367. TextLabel_2.Text = "Designed By RockeDev"
  368. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  369. TextLabel_2.TextSize = 14
  370.  
  371. TextButton_13.Parent = Frame
  372. TextButton_13.BackgroundColor3 = Color3.new(1, 0, 0)
  373. TextButton_13.Position = UDim2.new(0.968, 0, 0, 0)
  374. TextButton_13.Size = UDim2.new(0, 14, 0, 36)
  375. TextButton_13.Font = Enum.Font.SourceSans
  376. TextButton_13.Text = "X"
  377. TextButton_13.TextColor3 = Color3.new(0, 0, 0)
  378. TextButton_13.TextSize = 14
  379. TextButton_13.MouseButton1Down:connect(function()
  380. Frame.Visible = false;
  381. Credits.Visible = false;
  382. Main.Visible = false;
  383. Scripts.Visible = false;
  384. Executor.Visible = false;
  385. end)
  386.  
  387. TextButton_14.Parent = ScreenGui
  388. TextButton_14.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  389. TextButton_14.Position = UDim2.new(0.441048026, 0, 0.959183633, 0)
  390. TextButton_14.Size = UDim2.new(0, 132, 0, 24)
  391. TextButton_14.Font = Enum.Font.SourceSans
  392. TextButton_14.Text = "Open GUI"
  393. TextButton_14.TextColor3 = Color3.new(0, 0, 0)
  394. TextButton_14.TextSize = 14
  395. TextButton_14.MouseButton1Down:connect(function()
  396. Frame.Visible = true;
  397. Credits.Visible = false;
  398. Main.Visible = true;
  399. Scripts.Visible = false;
  400. Executor.Visible = false;
  401.  
  402. end)
  403.  
  404. ExecutorB.Name = "ExecutorB"
  405. ExecutorB.Parent = Frame
  406. ExecutorB.BackgroundColor3 = Color3.new(1, 1, 1)
  407. ExecutorB.Position = UDim2.new(0.778781056, 0, 0.297297299, 0)
  408. ExecutorB.Size = UDim2.new(0, 83, 0, 25)
  409. ExecutorB.Font = Enum.Font.SourceSans
  410. ExecutorB.Text = "Credits"
  411. ExecutorB.TextColor3 = Color3.new(0, 0, 0)
  412. ExecutorB.TextSize = 14
  413. ExecutorB.MouseButton1Down:connect(function()
  414.  
  415. Main.Visible = false;
  416. Credits.Visible = true;
  417. Scripts.Visible = false;
  418. Executor.Visible = false;
  419. end)
  420.  
  421.  
  422. Executor.Name = "Executor"
  423. Executor.Parent = Frame
  424. Executor.BackgroundColor3 = Color3.new(0.631373, 0.447059, 1)
  425. Executor.Position = UDim2.new(0, 0, 1, 0)
  426. Executor.Size = UDim2.new(0, 443, 0, 195)
  427.  
  428.  
  429. TextButton_15.Parent = Executor
  430. TextButton_15.BackgroundColor3 = Color3.new(1, 1, 1)
  431. TextButton_15.Position = UDim2.new(0.38374716, 0, 0.728205144, 0)
  432. TextButton_15.Size = UDim2.new(0, 89, 0, 27)
  433. TextButton_15.Font = Enum.Font.SourceSans
  434. TextButton_15.Text = "Execute"
  435. TextButton_15.TextColor3 = Color3.new(0, 0, 0)
  436. TextButton_15.TextSize = 14
  437. TextButton_15.MouseButton1Down:connect(function()
  438.  
  439. loadstring(TextBox.Text)()
  440. end)
  441.  
  442.  
  443. TextBox.Parent = Executor
  444. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  445. TextBox.Position = UDim2.new(0.128668174, 0, 0.0820512846, 0)
  446. TextBox.Size = UDim2.new(0, 328, 0, 114)
  447. TextBox.Font = Enum.Font.SourceSans
  448. TextBox.Text = "Script here"
  449. TextBox.TextColor3 = Color3.new(0, 0, 0)
  450. TextBox.TextSize = 14
  451. TextBox.TextWrapped = true;
  452. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  453. TextBox.TextYAlignment = Enum.TextYAlignment.Top
  454.  
  455.  
  456. TextButton_16.Parent = Scripts
  457. TextButton_16.BackgroundColor3 = Color3.new(1, 1, 1)
  458. TextButton_16.Position = UDim2.new(0.225402758, 0, 0.294191658, 0)
  459. TextButton_16.Size = UDim2.new(0, 89, 0, 27)
  460. TextButton_16.Font = Enum.Font.SourceSans
  461. TextButton_16.Text = "Name Spam"
  462. TextButton_16.TextColor3 = Color3.new(0, 0, 0)
  463. TextButton_16.TextSize = 14
  464. TextButton_16.MouseButton1Down:connect(function()
  465.  
  466. while true do
  467. amount_of_msgs = 1
  468. for i = 1, amount_of_msgs do
  469. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/me ", "All")
  470. end
  471. wait(0.75)
  472. amount_of_msgs = 1
  473. for i = 1, amount_of_msgs do
  474. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/me ", "All")
  475. end
  476. wait(0.75)
  477. amount_of_msgs = 1
  478. for i = 1, amount_of_msgs do
  479. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/me ", "All")
  480. end
  481. wait(0.75)
  482. amount_of_msgs = 1
  483. for i = 1, amount_of_msgs do
  484. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/me ", "All")
  485. end
  486. wait(0.75)
  487. amount_of_msgs = 1
  488. for i = 1, amount_of_msgs do
  489. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/me ", "All")
  490. end
  491. wait(0.75)
  492. amount_of_msgs = 1
  493. for i = 1, amount_of_msgs do
  494. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/me ", "All")
  495. end
  496. wait(0.75)
  497. amount_of_msgs = 1
  498. for i = 1, amount_of_msgs do
  499. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/me ", "All")
  500. end
  501. wait(12)
  502. end
  503.  
  504. end)
  505.  
  506.  
  507. TextButton_17.Parent = Scripts
  508. TextButton_17.BackgroundColor3 = Color3.new(1, 1, 1)
  509. TextButton_17.Position = UDim2.new(0.225402758, 0, 0.478807032, 0)
  510. TextButton_17.Size = UDim2.new(0, 89, 0, 27)
  511. TextButton_17.Font = Enum.Font.SourceSans
  512. TextButton_17.Text = "ESP"
  513. TextButton_17.TextColor3 = Color3.new(0, 0, 0)
  514. TextButton_17.TextSize = 14
  515. TextButton_17.MouseButton1Down:connect(function()
  516.  
  517. -- -----------------------------------
  518. -- ___ _ _ _ --
  519. -- / __| ___| |_| |_(_)_ _ __ _ ___--
  520. -- \__ \/ -_) _| _| | ' \/ _` (_-<--
  521. -- |___/\___|\__|\__|_|_||_\__, /__/--
  522. -- |___/ --
  523. -- -----------------------------------
  524. -- -----------------------------------
  525. ALLYCOLOR = {0,255,255} --//Color of the ESP of people on the same team
  526. ENEMYCOLOR = {255,0,0} --//Color of the ESP of people on NOT the same team
  527. TRANSPARENCY = 0.5 --//Transparency of the ESP
  528. HEALTHBAR_ACTIVATED = true --//Renders the Healthbar
  529. --
  530. --
  531.  
  532. -- !!!Don't Change Anything Below Here Unless You Know What You're Doing!!!
  533.  
  534. function createFlex()
  535. -- -----------------------------------------------------------------------------------
  536. --[VARIABLES] //Changing may result in Errors!
  537. players = game:GetService("Players") --//Required for PF
  538. faces = {"Front","Back","Bottom","Left","Right","Top"} --//Every possible Enum face
  539. currentPlayer = nil --//Used for the Team-Check
  540. lplayer = players.LocalPlayer --//The LocalPlayer
  541. -- -----------------------------------------------------------------------------------
  542. players.PlayerAdded:Connect(function(p)
  543. currentPlayer = p
  544. p.CharacterAdded:Connect(function(character) --//For when a new Player joins the game
  545. createESP(character)
  546. end)
  547. end)
  548. -- -----------------------------------------------------------------------------------
  549. function checkPart(obj) if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Name~="HumanoidRootPart" then return true end end --//Check if the Part is suitable
  550. -- -----------------------------------------------------------------------------------
  551. function actualESP(obj)
  552.  
  553. for i=0,5 do
  554. surface = Instance.new("SurfaceGui",obj) --//Creates the SurfaceGui
  555. surface.Face = Enum.NormalId[faces[i+1]] --//Adjusts the Face and chooses from the face table
  556. surface.AlwaysOnTop = true
  557.  
  558. frame = Instance.new("Frame",surface) --//Creates the viewable Frame
  559. frame.Size = UDim2.new(1,0,1,0)
  560. frame.BorderSizePixel = 0
  561. frame.BackgroundTransparency = TRANSPARENCY
  562. if currentPlayer.Team == players.LocalPlayer.Team then --//Checks the Players Team
  563. frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3]) --//If in same Team
  564. else
  565. frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3]) --//If in another Team
  566. end
  567.  
  568. end
  569. end
  570. -- -----------------------------------------------------------------------------------
  571. function createHealthbar(hrp)
  572. board =Instance.new("BillboardGui",hrp) --//Creates the BillboardGui with HumanoidRootPart as the Parent
  573. board.Name = "total"
  574. board.Size = UDim2.new(1,0,1,0)
  575. board.StudsOffset = Vector3.new(3,1,0)
  576. board.AlwaysOnTop = true
  577.  
  578. bar = Instance.new("Frame",board) --//Creates the red background
  579. bar.BackgroundColor3 = Color3.new(255,0,0)
  580. bar.BorderSizePixel = 0
  581. bar.Size = UDim2.new(0.2,0,4,0)
  582. bar.Name = "total2"
  583.  
  584. health = Instance.new("Frame",bar) --//Creates the changing green Frame
  585. health.BackgroundColor3 = Color3.new(0,255,0)
  586. health.BorderSizePixel = 0
  587. health.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
  588. hrp.Parent.Humanoid.Changed:Connect(function(property) --//Triggers when any Property changed
  589. hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0) --//Adjusts the size of the green Frame
  590. end)
  591. end
  592. -- -----------------------------------------------------------------------------------
  593. function createESP(c) --//Checks and calls the proper function
  594. bugfix = c:WaitForChild("Head") --// *Used so the children of the character arent nil.
  595. for i,v in pairs(c:GetChildren()) do
  596. if checkPart(v) then
  597. actualESP(v)
  598. end
  599. end
  600. if HEALTHBAR_ACTIVATED then --//If the user decided to
  601. createHealthbar(c:WaitForChild("HumanoidRootPart")) --//Calls the function of the creation
  602. end
  603. end
  604. -- -----------------------------------------------------------------------------------
  605. for i,people in pairs(players:GetChildren())do
  606. if people ~= players.LocalPlayer then
  607. currentPlayer = people
  608. --//Used for Players already in the Game
  609. createESP(people.Character)
  610. people.CharacterAdded:Connect(function(character)
  611. createESP(character)
  612. end)
  613. end
  614. end
  615. -- -----------------------------------------------------------------------------------
  616. end --//End of the entire function
  617.  
  618. createFlex() --// Does exactly that :)
  619.  
  620. end)
  621.  
  622. TextButton_18.Parent = Scripts
  623. TextButton_18.BackgroundColor3 = Color3.new(1, 1, 1)
  624. TextButton_18.Position = UDim2.new(0.225402758, 0, 0.668550611, 0)
  625. TextButton_18.Size = UDim2.new(0, 89, 0, 27)
  626. TextButton_18.Font = Enum.Font.SourceSans
  627. TextButton_18.Text = "Friend Spam"
  628. TextButton_18.TextColor3 = Color3.new(0, 0, 0)
  629. TextButton_18.TextSize = 14
  630. TextButton_18.MouseButton1Down:connect(function()
  631.  
  632. local RobloxReplicatedStorage = game:GetService('RobloxReplicatedStorage')
  633. RemoteEvent_NewFollower = RobloxReplicatedStorage:WaitForChild('NewFollower')
  634. while wait(0) do
  635. for i,v in pairs(game.Players:GetChildren()) do
  636. game.Players.LocalPlayer:RequestFriendship(v)
  637. RemoteEvent_NewFollower:FireServer(v, true)
  638. wait(0.01)
  639. RemoteEvent_NewFollower:FireServer(v, false)
  640. game.Players.LocalPlayer:RevokeFriendship(v)
  641. end
  642. end
  643. -- Purest/Noober
  644. end)
  645.  
  646. TextBox_4.Parent = Main
  647. TextBox_4.BackgroundColor3 = Color3.new(1, 1, 1)
  648. TextBox_4.Position = UDim2.new(0, 0, 0.61, 0)
  649. TextBox_4.Size = UDim2.new(0, 89, 0, 27)
  650. TextBox_4.Font = Enum.Font.SourceSans
  651. TextBox_4.Text = "Value"
  652. TextBox_4.TextColor3 = Color3.new(0, 0, 0)
  653. TextBox_4.TextSize = 14
  654.  
  655. TextBox_2.Parent = Main
  656. TextBox_2.BackgroundColor3 = Color3.new(1, 1, 1)
  657. TextBox_2.Position = UDim2.new(0.228, 0, 0.61, 0)
  658. TextBox_2.Size = UDim2.new(0, 89, 0, 27)
  659. TextBox_2.Font = Enum.Font.SourceSans
  660. TextBox_2.Text = "Value"
  661. TextBox_2.TextColor3 = Color3.new(0, 0, 0)
  662. TextBox_2.TextSize = 14
  663.  
  664. TextBox_3.Parent = Main
  665. TextBox_3.BackgroundColor3 = Color3.new(1, 1, 1)
  666. TextBox_3.Position = UDim2.new(0.46, 0, 0.61, 0)
  667. TextBox_3.Size = UDim2.new(0, 89, 0, 27)
  668. TextBox_3.Font = Enum.Font.SourceSans
  669. TextBox_3.Text = "Value"
  670. TextBox_3.TextColor3 = Color3.new(0, 0, 0)
  671. TextBox_3.TextSize = 14
  672.  
  673.  
  674. TextButton_19.Parent = Scripts
  675. TextButton_19.BackgroundColor3 = Color3.new(1, 1, 1)
  676. TextButton_19.Position = UDim2.new(0.448476285, 0, 0.289769292, 0)
  677. TextButton_19.Size = UDim2.new(0, 89, 0, 27)
  678. TextButton_19.Font = Enum.Font.SourceSans
  679. TextButton_19.Text = "Night"
  680. TextButton_19.TextColor3 = Color3.new(0, 0, 0)
  681. TextButton_19.TextSize = 14
  682. TextButton_19.MouseButton1Down:connect(function()
  683. game.Lighting.TimeOfDay = "00:00:00"
  684.  
  685. end)
  686.  
  687.  
  688. TextButton_20.Parent = Scripts
  689. TextButton_20.BackgroundColor3 = Color3.new(1, 1, 1)
  690. TextButton_20.Position = UDim2.new(0.448476285, 0, 0.474384665, 0)
  691. TextButton_20.Size = UDim2.new(0, 89, 0, 27)
  692. TextButton_20.Font = Enum.Font.SourceSans
  693. TextButton_20.Text = "Day"
  694. TextButton_20.TextColor3 = Color3.new(0, 0, 0)
  695. TextButton_20.TextSize = 14
  696. TextButton_20.MouseButton1Down:connect(function()
  697. game.Lighting.TimeOfDay = "12:00:00"
  698.  
  699. end)
  700.  
  701.  
  702. TextButton_21.Parent = Scripts
  703. TextButton_21.BackgroundColor3 = Color3.new(1, 1, 1)
  704. TextButton_21.Position = UDim2.new(0.448476285, 0, 0.664128244, 0)
  705. TextButton_21.Size = UDim2.new(0, 89, 0, 26)
  706. TextButton_21.Font = Enum.Font.SourceSans
  707. TextButton_21.Text = "ForceField"
  708. TextButton_21.TextColor3 = Color3.new(0, 0, 0)
  709. TextButton_21.TextSize = 14
  710. TextButton_21.MouseButton1Down:connect(function()
  711. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  712.  
  713. end)
  714.  
  715.  
  716. TextButton_22.Parent = Scripts
  717. TextButton_22.BackgroundColor3 = Color3.new(1, 1, 1)
  718. TextButton_22.Position = UDim2.new(0.448476285, 0, 0.859000027, 0)
  719. TextButton_22.Size = UDim2.new(0, 89, 0, 27)
  720. TextButton_22.Font = Enum.Font.SourceSans
  721. TextButton_22.Text = "Sit"
  722. TextButton_22.TextColor3 = Color3.new(0, 0, 0)
  723. TextButton_22.TextSize = 14
  724. TextButton_22.MouseButton1Down:connect(function()
  725. game.Players.LocalPlayer.Character.Humanoid.Sit = true
  726.  
  727. end)
  728. TextButton_23.Parent = Scripts
  729. TextButton_23.BackgroundColor3 = Color3.new(1, 1, 1)
  730. TextButton_23.Position = UDim2.new(0.665180564, 0, 0.289769292, 0)
  731. TextButton_23.Size = UDim2.new(0, 89, 0, 27)
  732. TextButton_23.Font = Enum.Font.SourceSans
  733. TextButton_23.Text = "Destroy All"
  734. TextButton_23.TextColor3 = Color3.new(0, 0, 0)
  735. TextButton_23.TextSize = 14
  736. TextButton_23.MouseButton1Down:connect(function()
  737. for i,v in pairs(game.Workspace:GetChildren()) do
  738. if v.Name ~= game.Players.LocalPlayer.Name then
  739. v:Destroy()
  740. end
  741. end
  742. end)
  743.  
  744. TextButton_24.Parent = Scripts
  745. TextButton_24.BackgroundColor3 = Color3.new(1, 1, 1)
  746. TextButton_24.Position = UDim2.new(0.665180564, 0, 0.474384665, 0)
  747. TextButton_24.Size = UDim2.new(0, 89, 0, 27)
  748. TextButton_24.Font = Enum.Font.SourceSans
  749. TextButton_24.Text = "Print All Names"
  750. TextButton_24.TextColor3 = Color3.new(0, 0, 0)
  751. TextButton_24.TextSize = 14
  752. TextButton_24.MouseButton1Down:connect(function()
  753. for Get,Players in ipairs(game.Players:GetPlayers()) do
  754. print(Players.Name)
  755. end
  756. end)
  757. TextButton_25.Parent = Scripts
  758. TextButton_25.BackgroundColor3 = Color3.new(1, 1, 1)
  759. TextButton_25.Position = UDim2.new(0.665180564, 0, 0.664128244, 0)
  760. TextButton_25.Size = UDim2.new(0, 89, 0, 26)
  761. TextButton_25.Font = Enum.Font.SourceSans
  762. TextButton_25.Text = "Print Everything"
  763. TextButton_25.TextColor3 = Color3.new(0, 0, 0)
  764. TextButton_25.TextSize = 14
  765. TextButton_25.MouseButton1Down:connect(function()
  766. for Get,Players in ipairs(game.Players:GetPlayers()) do
  767. for Get,InsidePlayers in ipairs(Players:GetChildren()) do
  768. print(InsidePlayers.Name)
  769. end
  770. end
  771. end)
  772.  
  773. TextButton_26.Parent = Scripts
  774. TextButton_26.BackgroundColor3 = Color3.new(1, 1, 1)
  775. TextButton_26.Position = UDim2.new(0.665180564, 0, 0.859000027, 0)
  776. TextButton_26.Size = UDim2.new(0, 89, 0, 27)
  777. TextButton_26.Font = Enum.Font.SourceSans
  778. TextButton_26.Text = "Pistol"
  779. TextButton_26.TextColor3 = Color3.new(0, 0, 0)
  780. TextButton_26.TextSize = 14
  781. TextButton_26.MouseButton1Down:connect(function()
  782. wait(1)
  783. mee = game.Players.LocalPlayer
  784. pistol = Instance.new("Tool", mee.Backpack)
  785. pistol.GripForward = Vector3.new(-0.149, 0.984, -0.099)
  786. pistol.GripPos = Vector3.new(0.1, -0.55, -0.2)
  787. pistol.GripRight = Vector3.new(0.989, 0.148, -0.015)
  788. pistol.GripUp = Vector3.new(0, 0.1, 0.995)
  789. pistol.ToolTip = "Umm... where did you get that?"
  790. pistol.Name = "Pistol"
  791. pistolpart = Instance.new("Part", pistol)
  792. pistolpart.Name = "Handle"
  793. pistolpart.BrickColor = BrickColor.new("Black")
  794. pistolpart.Material = "SmoothPlastic"
  795. pistolpart.Orientation = Vector3.new(-88.99, 152.78, 135.7)
  796. pistolpart.Size = Vector3.new(0.2, 1.12, 0.6)
  797. pistolmesh = Instance.new("SpecialMesh", pistolpart)
  798. pistolmesh.MeshId = "rbxassetid://430060386"
  799. pistolmesh.Scale = Vector3.new(1.7, 1.7, 1.7)
  800. pistolmesh.TextureId = "rbxassetid://430060404"
  801. pistolmesh.VertexColor = Vector3.new(2, 2, 2)
  802. gunshotsound = Instance.new("Sound", pistolpart)
  803. gunshotsound.SoundId = "rbxassetid://213603013"
  804. mouserotatecharacter = true
  805.  
  806.  
  807. pistol.Equipped:connect(function(mouse)
  808. mouserotatecharacter = true
  809. local torso = mee.Character.HumanoidRootPart
  810. local mouseturning = mee:GetMouse()
  811. mee.Character.Humanoid.AutoRotate = false
  812. mouseturning.Move:connect(function()
  813. if mouserotatecharacter == true then
  814. torso.CFrame = CFrame.new(torso.Position, mouseturning.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
  815.  
  816. end
  817. end)
  818. mouse.Button1Down:connect(function()
  819. gunshotsound:Play()
  820. MakeShell()
  821. local ray = Ray.new(pistol.Handle.CFrame.p, (mouse.Hit.p - pistol.Handle.CFrame.p).unit * 300)
  822. local part, position = workspace:FindPartOnRay(ray, mee.Character, false, true)
  823.  
  824. local beam = Instance.new("Part", workspace)
  825. beam.BrickColor = BrickColor.new("White")
  826. beam.FormFactor = "Custom"
  827. beam.Material = "Neon"
  828. beam.Transparency = 0.7
  829. beam.Anchored = true
  830. beam.Locked = true
  831. beam.CanCollide = false
  832.  
  833. local distance = (pistol.Handle.CFrame.p - position).magnitude
  834. beam.Size = Vector3.new(0.3, 0.3, distance)
  835. beam.CFrame = CFrame.new(pistol.Handle.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  836.  
  837. game:GetService("Debris"):AddItem(beam, 0.1)
  838.  
  839. if part then
  840. local humanoid = part.Parent:FindFirstChild("Humanoid")
  841.  
  842. if not humanoid then
  843. humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  844. end
  845.  
  846. if humanoid then
  847. plrmodel = humanoid.Parent
  848. if plrmodel.Humanoid.Health ~= 0 then
  849. --blood
  850. plrmodel.Archivable = true
  851. local Char = plrmodel
  852. local Hum = Char:FindFirstChild("Humanoid")
  853. local Tor = Char:FindFirstChild("Torso") or Char:FindFirstChild("UpperTorso")
  854. local Health = Hum.Health
  855.  
  856. local M = math.random
  857. local R = math.rad
  858. local rates = {.05, .075, .1, .15}
  859.  
  860. local smooth = function(P)
  861. local SM = Enum.SurfaceType.SmoothNoOutlines
  862. P.TopSurface = SM
  863. P.BottomSurface = SM
  864. P.RightSurface = SM
  865. P.LeftSurface = SM
  866. P.FrontSurface = SM
  867. P.BackSurface = SM
  868. end
  869.  
  870. local function BloodPool(Part,Size)
  871. local Pool = Instance.new("Part",game.Workspace)
  872. Pool.TopSurface = 0
  873. Pool.CanCollide = false
  874. Pool.BrickColor = BrickColor.new("Crimson")
  875. Pool.Transparency = 0
  876. Instance.new("CylinderMesh",Pool)
  877. Pool.Anchored = true
  878. Pool.Name = "BloodPoolPart"
  879. smooth(Pool)
  880. Pool.FormFactor = Enum.FormFactor.Custom
  881. Pool.Size = Size
  882. local c = Part.CFrame*CFrame.new(M(-3.01,3.01),-2.9,M(-3.01,3.01))
  883. coroutine.resume(coroutine.create(function()
  884. local rate = rates[M(1,#rates)]
  885. game.Debris:AddItem(Pool,15)
  886. for i = 1,M(25,70) do
  887. wait()
  888. Pool.CFrame = c
  889. Pool.Size = Pool.Size+Vector3.new(rate,0,rate)
  890. end
  891. wait(5)
  892. Pool:Destroy()
  893. end))
  894. end
  895.  
  896. local function BloodDrops(Size,Area)
  897. local Blood = Instance.new("Part",game.Workspace)
  898. Blood.BrickColor = BrickColor.new("Crimson")
  899. Blood.Parent = plrmodel
  900. Blood.TopSurface = 0
  901. Blood.CanCollide = false
  902. Blood.Anchored = false
  903. Blood.FormFactor = Enum.FormFactor.Custom
  904. Blood.Size = Size
  905. Blood.CFrame = Area*CFrame.new(M(-1.00,1.00),M(-1.00,1.00),M(-1.00,1.00))
  906. return Blood
  907. end
  908.  
  909.  
  910.  
  911. Hum.Changed:connect(function()
  912. if Hum.Health < Health then
  913.  
  914. Health = Hum.Health
  915. for i = 1, math.random(4,10)do
  916. local Size = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
  917. local Blood = BloodDrops(Size,Tor.CFrame)
  918. local Stopper = false
  919. local Size2 = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
  920. BloodPool(Tor,Size2)
  921. end
  922. end
  923. end)
  924. end
  925. --Ragdoll
  926. wait()
  927. function getAttachment0(attachmentName)
  928. for _,child in next,plrmodel:GetChildren() do
  929. local attachment = child:FindFirstChild(attachmentName)
  930. if attachment then
  931. return attachment
  932. end
  933. end
  934. end
  935. plrmodel.Humanoid.Died:Connect(function(var)
  936. local removeHRP = true
  937. local head = plrmodel["Head"]
  938. local leftarm = plrmodel["Left Arm"]
  939. local leftleg = plrmodel["Left Leg"]
  940. local rightleg = plrmodel["Right Leg"]
  941. local rightarm = plrmodel["Right Arm"]
  942. local torso = plrmodel.Torso
  943. local root = plrmodel.HumanoidRootPart
  944. if removeHRP == true then
  945. root:Destroy()
  946. end
  947. local rootA =Instance.new("Attachment")
  948. local HeadA = Instance.new("Attachment")
  949. local LeftArmA = Instance.new("Attachment")
  950. local LeftLegA = Instance.new("Attachment")
  951. local RightArmA = Instance.new("Attachment")
  952. local RightLegA = Instance.new("Attachment")
  953. local TorsoA = Instance.new("Attachment")
  954. local TorsoA1 = Instance.new("Attachment")
  955. local TorsoA2 = Instance.new("Attachment")
  956. local TorsoA3 = Instance.new("Attachment")
  957. local TorsoA4 = Instance.new("Attachment")
  958. local TorsoA5 = Instance.new("Attachment")
  959. local function set1()
  960. HeadA.Name = "HeadA"
  961. HeadA.Parent = head
  962. HeadA.Position = Vector3.new(0, -0.5, 0)
  963. HeadA.Rotation = Vector3.new(0, 0, 0)
  964. HeadA.Axis = Vector3.new(1, 0, 0)
  965. HeadA.SecondaryAxis = Vector3.new(0, 1, 0)
  966. LeftArmA.Name = "LeftArmA"
  967. LeftArmA.Parent = leftarm
  968. LeftArmA.Position = Vector3.new(0.5, 1, 0)
  969. LeftArmA.Rotation = Vector3.new(0, 0, 0)
  970. LeftArmA.Axis = Vector3.new(1, 0, 0)
  971. LeftArmA.SecondaryAxis = Vector3.new(0, 1, 0)
  972. LeftLegA.Name = "LeftLegA"
  973. LeftLegA.Parent = leftleg
  974. LeftLegA.Position = Vector3.new(0, 1, 0)
  975. LeftLegA.Rotation = Vector3.new(0, 0, 0)
  976. LeftLegA.Axis = Vector3.new(1, 0, 0)
  977. LeftLegA.SecondaryAxis = Vector3.new(0, 1, 0)
  978. RightArmA.Name = "RightArmA"
  979. RightArmA.Parent = rightarm
  980. RightArmA.Position = Vector3.new(-0.5, 1, 0)
  981. RightArmA.Rotation = Vector3.new(0, 0, 0)
  982. RightArmA.Axis = Vector3.new(1, 0, 0)
  983. RightArmA.SecondaryAxis = Vector3.new(0, 1, 0)
  984. RightLegA.Name = "RightLegA"
  985. RightLegA.Parent = rightleg
  986. RightLegA.Position = Vector3.new(0, 1, 0)
  987. RightLegA.Rotation = Vector3.new(0, 0, 0)
  988. RightLegA.Axis = Vector3.new(1, 0, 0)
  989. RightLegA.SecondaryAxis = Vector3.new(0, 1, 0)
  990. rootA.Name= "rootA"
  991. rootA.Parent = root
  992. rootA.Position = Vector3.new(0, 0, 0)
  993. rootA.Rotation = Vector3.new(0, 90, 0)
  994. rootA.Axis = Vector3.new(0, 0, -1)
  995. rootA.SecondaryAxis = Vector3.new(0, 1, 0)
  996. end
  997. local function set2()
  998. TorsoA.Name = "TorsoA"
  999. TorsoA.Parent = torso
  1000. TorsoA.Position = Vector3.new(0.5, -1, 0)
  1001. TorsoA.Rotation = Vector3.new(0, 0, 0)
  1002. TorsoA.Axis = Vector3.new(1, 0, 0)
  1003. TorsoA.SecondaryAxis = Vector3.new(0, 1, 0)
  1004. TorsoA1.Name = "TorsoA1"
  1005. TorsoA1.Parent = torso
  1006. TorsoA1.Position = Vector3.new(-0.5, -1, 0)
  1007. TorsoA1.Rotation = Vector3.new(0, 0, 0)
  1008. TorsoA1.Axis = Vector3.new(1, 0, 0)
  1009. TorsoA1.SecondaryAxis = Vector3.new(0, 1, 0)
  1010. TorsoA2.Name = "TorsoA2"
  1011. TorsoA2.Parent = torso
  1012. TorsoA2.Position = Vector3.new(-1, 1, 0)
  1013. TorsoA2.Rotation = Vector3.new(0, 0, 0)
  1014. TorsoA2.Axis = Vector3.new(1, 0, 0)
  1015. TorsoA2.SecondaryAxis = Vector3.new(0, 1, 0)
  1016. TorsoA3.Name = "TorsoA3"
  1017. TorsoA3.Parent = torso
  1018. TorsoA3.Position = Vector3.new(1, 1, 0)
  1019. TorsoA3.Rotation = Vector3.new(0, 0, 0)
  1020. TorsoA3.Axis = Vector3.new(1, 0, 0)
  1021. TorsoA3.SecondaryAxis = Vector3.new(0, 1, 0)
  1022. TorsoA4.Name = "TorsoA4"
  1023. TorsoA4.Parent = torso
  1024. TorsoA4.Position = Vector3.new(0, 1, 0)
  1025. TorsoA4.Rotation = Vector3.new(0, 0, 0)
  1026. TorsoA4.Axis = Vector3.new(1, 0, 0)
  1027. TorsoA4.SecondaryAxis = Vector3.new(0, 1, 0)
  1028. TorsoA5.Name = "TorsoA5"
  1029. TorsoA5.Parent = torso
  1030. TorsoA5.Position = Vector3.new(0, 0, 0)
  1031. TorsoA5.Rotation = Vector3.new(0, 90, 0)
  1032. TorsoA5.Axis = Vector3.new(0, 0, -1)
  1033. TorsoA5.SecondaryAxis = Vector3.new(0, 1, 0)
  1034. end
  1035. local function set3()
  1036. end
  1037. spawn(set1);
  1038. spawn(set2);
  1039. local HA = Instance.new("HingeConstraint")
  1040. HA.Parent = head
  1041. HA.Attachment0 = HeadA
  1042. HA.Attachment1 = TorsoA4
  1043. HA.Enabled = true
  1044. HA.LimitsEnabled=true
  1045. HA.LowerAngle=0
  1046. HA.UpperAngle=0
  1047. local LAT = Instance.new("BallSocketConstraint")
  1048. LAT.Parent = leftarm
  1049. LAT.Attachment0 = LeftArmA
  1050. LAT.Attachment1 = TorsoA2
  1051. LAT.Enabled = true
  1052. LAT.LimitsEnabled=true
  1053. LAT.UpperAngle=90
  1054. local RAT = Instance.new("BallSocketConstraint")
  1055. RAT.Parent = rightarm
  1056. RAT.Attachment0 = RightArmA
  1057. RAT.Attachment1 = TorsoA3
  1058. RAT.Enabled = true
  1059. RAT.LimitsEnabled=true
  1060. RAT.UpperAngle=90
  1061. local HA = Instance.new("BallSocketConstraint")
  1062. HA.Parent = head
  1063. HA.Attachment0 = HeadA
  1064. HA.Attachment1 = TorsoA4
  1065. HA.Enabled = true
  1066. local TLL = Instance.new("BallSocketConstraint")
  1067. TLL.Parent = torso
  1068. TLL.Attachment0 = TorsoA1
  1069. TLL.Attachment1 = LeftLegA
  1070. TLL.Enabled = true
  1071. TLL.LimitsEnabled=true
  1072. TLL.UpperAngle=90
  1073. local TRL = Instance.new("BallSocketConstraint")
  1074. TRL.Parent = torso
  1075. TRL.Attachment0 = TorsoA
  1076. TRL.Attachment1 = RightLegA
  1077. TRL.Enabled = true
  1078. TRL.LimitsEnabled=true
  1079. TRL.UpperAngle=90
  1080. local RTA = Instance.new("BallSocketConstraint")
  1081. RTA.Parent = root
  1082. RTA.Attachment0 = rootA
  1083. RTA.Attachment1 = TorsoA5
  1084. RTA.Enabled = true
  1085. RTA.LimitsEnabled=true
  1086. RTA.UpperAngle=0
  1087. head.Velocity = head.CFrame.lookVector*30
  1088.  
  1089. for _,child in next,plrmodel:GetChildren() do
  1090. if child:IsA("Accoutrement") then
  1091. for _,part in next,child:GetChildren() do
  1092. if part:IsA("BasePart") then
  1093. part.Parent = plrmodel
  1094. child:remove()
  1095. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1096. local attachment0 = getAttachment0(attachment1.Name)
  1097. if attachment0 and attachment1 then
  1098. local constraint = Instance.new("HingeConstraint")
  1099. constraint.Attachment0 = attachment0
  1100. constraint.Attachment1 = attachment1
  1101. constraint.LimitsEnabled = true
  1102. constraint.UpperAngle = 0
  1103. constraint.LowerAngle = 0
  1104. constraint.Parent = plrmodel
  1105. end
  1106. end
  1107. end
  1108. end
  1109. end
  1110. end)
  1111.  
  1112. end
  1113. if humanoid.Health ~= 0 then
  1114. humanoid.Health = 0
  1115. wait(3)
  1116. while true do
  1117. if humanoid.Health ~= 0 then
  1118. humanoid.Health = 0 --This loop is a strange kill system I know, but this prevents doing 99 damage instead of 100 for some reason.s
  1119. else
  1120. break
  1121. end
  1122. wait(0.3)
  1123. end
  1124. end
  1125. end
  1126. end)
  1127. end)
  1128.  
  1129. pistol.Unequipped:connect(function()
  1130. wait(0.2)
  1131. mouserotatecharacter = false
  1132. mee.Character.Humanoid.AutoRotate = true
  1133. end)
  1134. function MakeShell()
  1135. Shell = Instance.new("Part", workspace)
  1136. Shell.Size = Vector3.new(0.2, 0.2, 0.6)
  1137. ShellMesh = Instance.new("SpecialMesh", Shell)
  1138. ShellMesh.MeshId = "http://www.roblox.com/asset/?id=94295100"
  1139. ShellMesh.Scale = Vector3.new(4, 4, 4)
  1140. ShellMesh.TextureId = "http://www.roblox.com/asset/?id=94287792"
  1141. Shell.Position = pistolpart.Position
  1142. end
  1143. end)
  1144.  
  1145.  
  1146. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement