Advertisement
SekkayGod

project smash

Feb 15th, 2024
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.67 KB | None | 0 0
  1. -- Instances: 43 | Scripts: 1 | Modules: 0
  2. local G2L = {};
  3.  
  4. -- StarterGui.ProjectSmashTest
  5. G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
  6. G2L["1"]["IgnoreGuiInset"] = true;
  7. G2L["1"]["DisplayOrder"] = 6;
  8. G2L["1"]["AutoLocalize"] = false;
  9. G2L["1"]["ScreenInsets"] = Enum.ScreenInsets.DeviceSafeInsets;
  10. G2L["1"]["Name"] = [[ProjectSmashTest]];
  11. G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
  12. G2L["1"]["ResetOnSpawn"] = false;
  13.  
  14. -- StarterGui.ProjectSmashTest.Frame
  15. G2L["2"] = Instance.new("Frame", G2L["1"]);
  16. G2L["2"]["BorderSizePixel"] = 0;
  17. G2L["2"]["BackgroundColor3"] = Color3.fromRGB(18, 18, 18);
  18. G2L["2"]["BackgroundTransparency"] = 1;
  19. G2L["2"]["Size"] = UDim2.new(0.3442429006099701, 0, 1, 0);
  20. G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  21.  
  22. -- StarterGui.ProjectSmashTest.Frame.UIListLayout
  23. G2L["3"] = Instance.new("UIListLayout", G2L["2"]);
  24. G2L["3"]["VerticalAlignment"] = Enum.VerticalAlignment.Center;
  25. G2L["3"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
  26. G2L["3"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  27.  
  28. -- StarterGui.ProjectSmashTest.Frame.Main
  29. G2L["4"] = Instance.new("Frame", G2L["2"]);
  30. G2L["4"]["BorderSizePixel"] = 0;
  31. G2L["4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  32. G2L["4"]["Size"] = UDim2.new(0.8942731022834778, 0, 0.9416873455047607, 0);
  33. G2L["4"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  34. G2L["4"]["Position"] = UDim2.new(0.01984732784330845, 0, 0.028535980731248856, 0);
  35. G2L["4"]["Name"] = [[Main]];
  36.  
  37. -- StarterGui.ProjectSmashTest.Frame.Main.UIGradient
  38. G2L["5"] = Instance.new("UIGradient", G2L["4"]);
  39. G2L["5"]["Rotation"] = 45;
  40. G2L["5"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(116, 153, 185)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(89, 117, 142))};
  41.  
  42. -- StarterGui.ProjectSmashTest.Frame.Main.UICorner
  43. G2L["6"] = Instance.new("UICorner", G2L["4"]);
  44. G2L["6"]["CornerRadius"] = UDim.new(0, 12);
  45.  
  46. -- StarterGui.ProjectSmashTest.Frame.Main.Players
  47. G2L["7"] = Instance.new("Frame", G2L["4"]);
  48. G2L["7"]["BorderSizePixel"] = 0;
  49. G2L["7"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  50. G2L["7"]["BackgroundTransparency"] = 1;
  51. G2L["7"]["Size"] = UDim2.new(1, 0, 0.8642951250076294, 0);
  52. G2L["7"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  53. G2L["7"]["Name"] = [[Players]];
  54.  
  55. -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame
  56. G2L["8"] = Instance.new("ScrollingFrame", G2L["7"]);
  57. G2L["8"]["Active"] = true;
  58. G2L["8"]["BorderSizePixel"] = 0;
  59. G2L["8"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  60. G2L["8"]["AutomaticCanvasSize"] = Enum.AutomaticSize.Y;
  61. G2L["8"]["BackgroundTransparency"] = 0.9990000128746033;
  62. G2L["8"]["Size"] = UDim2.new(1, 0, 0.9832317233085632, 0);
  63. G2L["8"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  64. G2L["8"]["ScrollBarThickness"] = 2;
  65. G2L["8"]["Position"] = UDim2.new(0, 0, 0.014173274859786034, 0);
  66.  
  67. -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.Template
  68. G2L["9"] = Instance.new("TextButton", G2L["8"]);
  69. G2L["9"]["TextWrapped"] = true;
  70. G2L["9"]["BorderSizePixel"] = 0;
  71. G2L["9"]["TextScaled"] = true;
  72. G2L["9"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
  73. G2L["9"]["TextSize"] = 12;
  74. G2L["9"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  75. G2L["9"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  76. G2L["9"]["Visible"] = false;
  77. G2L["9"]["Size"] = UDim2.new(0, 382, 0, 32);
  78. G2L["9"]["Name"] = [[Template]];
  79. G2L["9"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  80. G2L["9"]["Text"] = "User [@User]";
  81. G2L["9"]["Position"] = UDim2.new(0.029556650668382645, 0, 0, 0);
  82.  
  83. -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.Template.UICorner
  84. G2L["a"] = Instance.new("UICorner", G2L["9"]);
  85. G2L["a"]["CornerRadius"] = UDim.new(0, 9);
  86.  
  87. -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.Template.UIAspectRatioConstraint
  88. G2L["b"] = Instance.new("UIAspectRatioConstraint", G2L["9"]);
  89. G2L["b"]["AspectRatio"] = 11.9375;
  90.  
  91. -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.Template.UITextSizeConstraint
  92. G2L["c"] = Instance.new("UITextSizeConstraint", G2L["9"]);
  93. G2L["c"]["MaxTextSize"] = 12;
  94.  
  95. -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.UIListLayout
  96. G2L["d"] = Instance.new("UIListLayout", G2L["8"]);
  97. G2L["d"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
  98. G2L["d"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  99.  
  100. -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.UIAspectRatioConstraint
  101. G2L["e"] = Instance.new("UIAspectRatioConstraint", G2L["8"]);
  102. G2L["e"]["AspectRatio"] = 0.6294573545455933;
  103.  
  104. -- StarterGui.ProjectSmashTest.Frame.Main.Players.UIAspectRatioConstraint
  105. G2L["f"] = Instance.new("UIAspectRatioConstraint", G2L["7"]);
  106. G2L["f"]["AspectRatio"] = 0.6189024448394775;
  107.  
  108. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars
  109. G2L["10"] = Instance.new("Frame", G2L["4"]);
  110. G2L["10"]["BorderSizePixel"] = 0;
  111. G2L["10"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
  112. G2L["10"]["BackgroundTransparency"] = 1;
  113. G2L["10"]["Size"] = UDim2.new(1, 0, 0.06060606241226196, 0);
  114. G2L["10"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  115. G2L["10"]["Position"] = UDim2.new(0, 0, 0.939393937587738, 0);
  116. G2L["10"]["Name"] = [[StatBars]];
  117.  
  118. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.UIListLayout
  119. G2L["11"] = Instance.new("UIListLayout", G2L["10"]);
  120. G2L["11"]["VerticalAlignment"] = Enum.VerticalAlignment.Center;
  121. G2L["11"]["FillDirection"] = Enum.FillDirection.Horizontal;
  122. G2L["11"]["Padding"] = UDim.new(0, 8);
  123. G2L["11"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
  124.  
  125. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money
  126. G2L["12"] = Instance.new("TextLabel", G2L["10"]);
  127. G2L["12"]["TextWrapped"] = true;
  128. G2L["12"]["BorderSizePixel"] = 0;
  129. G2L["12"]["TextScaled"] = true;
  130. G2L["12"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
  131. G2L["12"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  132. G2L["12"]["TextSize"] = 14;
  133. G2L["12"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  134. G2L["12"]["Size"] = UDim2.new(0.2019704431295395, 0, 0.6739130020141602, 0);
  135. G2L["12"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  136. G2L["12"]["Text"] = [[$ 0]];
  137. G2L["12"]["Name"] = [[Money]];
  138. G2L["12"]["Position"] = UDim2.new(0, 0, 0.3695652186870575, 0);
  139.  
  140. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money.UIStroke
  141. G2L["13"] = Instance.new("UIStroke", G2L["12"]);
  142. G2L["13"]["Color"] = Color3.fromRGB(255, 255, 255);
  143. G2L["13"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  144.  
  145. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money.UICorner
  146. G2L["14"] = Instance.new("UICorner", G2L["12"]);
  147. G2L["14"]["CornerRadius"] = UDim.new(0, 6);
  148.  
  149. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money.UIAspectRatioConstraint
  150. G2L["15"] = Instance.new("UIAspectRatioConstraint", G2L["12"]);
  151. G2L["15"]["AspectRatio"] = 2.6451613903045654;
  152.  
  153. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money.UITextSizeConstraint
  154. G2L["16"] = Instance.new("UITextSizeConstraint", G2L["12"]);
  155. G2L["16"]["MaxTextSize"] = 14;
  156.  
  157. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.UIPadding
  158. G2L["17"] = Instance.new("UIPadding", G2L["10"]);
  159. G2L["17"]["PaddingLeft"] = UDim.new(0, 8);
  160.  
  161. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level
  162. G2L["18"] = Instance.new("TextLabel", G2L["10"]);
  163. G2L["18"]["TextWrapped"] = true;
  164. G2L["18"]["BorderSizePixel"] = 0;
  165. G2L["18"]["TextScaled"] = true;
  166. G2L["18"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
  167. G2L["18"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  168. G2L["18"]["TextSize"] = 14;
  169. G2L["18"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  170. G2L["18"]["Size"] = UDim2.new(0.2019704431295395, 0, 0.6739130020141602, 0);
  171. G2L["18"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  172. G2L["18"]["Text"] = [[lvl 35]];
  173. G2L["18"]["Name"] = [[Level]];
  174. G2L["18"]["Position"] = UDim2.new(0, 0, 0.3695652186870575, 0);
  175.  
  176. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level.UIStroke
  177. G2L["19"] = Instance.new("UIStroke", G2L["18"]);
  178. G2L["19"]["Color"] = Color3.fromRGB(255, 255, 255);
  179. G2L["19"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  180.  
  181. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level.UICorner
  182. G2L["1a"] = Instance.new("UICorner", G2L["18"]);
  183. G2L["1a"]["CornerRadius"] = UDim.new(0, 6);
  184.  
  185. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level.UIAspectRatioConstraint
  186. G2L["1b"] = Instance.new("UIAspectRatioConstraint", G2L["18"]);
  187. G2L["1b"]["AspectRatio"] = 2.6451613903045654;
  188.  
  189. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level.UITextSizeConstraint
  190. G2L["1c"] = Instance.new("UITextSizeConstraint", G2L["18"]);
  191. G2L["1c"]["MaxTextSize"] = 14;
  192.  
  193. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills
  194. G2L["1d"] = Instance.new("TextLabel", G2L["10"]);
  195. G2L["1d"]["TextWrapped"] = true;
  196. G2L["1d"]["BorderSizePixel"] = 0;
  197. G2L["1d"]["TextScaled"] = true;
  198. G2L["1d"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
  199. G2L["1d"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  200. G2L["1d"]["TextSize"] = 14;
  201. G2L["1d"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  202. G2L["1d"]["Size"] = UDim2.new(0.2019704431295395, 0, 0.6739130020141602, 0);
  203. G2L["1d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  204. G2L["1d"]["Text"] = [[K 0]];
  205. G2L["1d"]["Name"] = [[Kills]];
  206. G2L["1d"]["Position"] = UDim2.new(0, 0, 0.3695652186870575, 0);
  207.  
  208. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills.UIStroke
  209. G2L["1e"] = Instance.new("UIStroke", G2L["1d"]);
  210. G2L["1e"]["Color"] = Color3.fromRGB(255, 255, 255);
  211. G2L["1e"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  212.  
  213. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills.UICorner
  214. G2L["1f"] = Instance.new("UICorner", G2L["1d"]);
  215. G2L["1f"]["CornerRadius"] = UDim.new(0, 6);
  216.  
  217. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills.UIAspectRatioConstraint
  218. G2L["20"] = Instance.new("UIAspectRatioConstraint", G2L["1d"]);
  219. G2L["20"]["AspectRatio"] = 2.6451613903045654;
  220.  
  221. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills.UITextSizeConstraint
  222. G2L["21"] = Instance.new("UITextSizeConstraint", G2L["1d"]);
  223. G2L["21"]["MaxTextSize"] = 14;
  224.  
  225. -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.UIAspectRatioConstraint
  226. G2L["22"] = Instance.new("UIAspectRatioConstraint", G2L["10"]);
  227. G2L["22"]["AspectRatio"] = 8.82608699798584;
  228.  
  229. -- StarterGui.ProjectSmashTest.Frame.Main.Start
  230. G2L["23"] = Instance.new("TextButton", G2L["4"]);
  231. G2L["23"]["TextWrapped"] = true;
  232. G2L["23"]["BorderSizePixel"] = 0;
  233. G2L["23"]["TextScaled"] = true;
  234. G2L["23"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
  235. G2L["23"]["TextSize"] = 14;
  236. G2L["23"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
  237. G2L["23"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
  238. G2L["23"]["Size"] = UDim2.new(0.9408866763114929, 0, 0.040843214839696884, 0);
  239. G2L["23"]["Name"] = [[Start]];
  240. G2L["23"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
  241. G2L["23"]["Text"] = [[TP + Death]];
  242. G2L["23"]["Position"] = UDim2.new(0.029556650668382645, 0, 0.888010561466217, 0);
  243.  
  244. -- StarterGui.ProjectSmashTest.Frame.Main.Start.UICorner
  245. G2L["24"] = Instance.new("UICorner", G2L["23"]);
  246. G2L["24"]["CornerRadius"] = UDim.new(0, 6);
  247.  
  248. -- StarterGui.ProjectSmashTest.Frame.Main.Start.UIStroke
  249. G2L["25"] = Instance.new("UIStroke", G2L["23"]);
  250. G2L["25"]["Color"] = Color3.fromRGB(255, 255, 255);
  251. G2L["25"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
  252.  
  253. -- StarterGui.ProjectSmashTest.Frame.Main.Start.UIAspectRatioConstraint
  254. G2L["26"] = Instance.new("UIAspectRatioConstraint", G2L["23"]);
  255. G2L["26"]["AspectRatio"] = 12.322580337524414;
  256.  
  257. -- StarterGui.ProjectSmashTest.Frame.Main.Start.UITextSizeConstraint
  258. G2L["27"] = Instance.new("UITextSizeConstraint", G2L["23"]);
  259. G2L["27"]["MaxTextSize"] = 14;
  260.  
  261. -- StarterGui.ProjectSmashTest.Frame.Main.Function
  262. G2L["28"] = Instance.new("LocalScript", G2L["4"]);
  263. G2L["28"]["Name"] = [[Function]];
  264.  
  265. -- StarterGui.ProjectSmashTest.Frame.Main.UIAspectRatioConstraint
  266. G2L["29"] = Instance.new("UIAspectRatioConstraint", G2L["4"]);
  267. G2L["29"]["AspectRatio"] = 0.5349143743515015;
  268.  
  269. -- StarterGui.ProjectSmashTest.Frame.UIAspectRatioConstraint
  270. G2L["2a"] = Instance.new("UIAspectRatioConstraint", G2L["2"]);
  271. G2L["2a"]["AspectRatio"] = 0.5632754564285278;
  272.  
  273. -- StarterGui.ProjectSmashTest.UIAspectRatioConstraint
  274. G2L["2b"] = Instance.new("UIAspectRatioConstraint", G2L["1"]);
  275. G2L["2b"]["AspectRatio"] = 1.6253101825714111;
  276.  
  277. -- StarterGui.ProjectSmashTest.Frame.Main.Function
  278. local function C_28()
  279. local script = G2L["28"];
  280. local plrs = {}
  281. local target = nil
  282. local function TP(name)
  283. local plr = game.Players.LocalPlayer
  284. local char = plr.Character or plr.CharacterAdded:Wait()
  285.  
  286. if game.Players[name] then
  287. --print("Player Found")
  288. else
  289. warn("Player Not Found")
  290. end
  291.  
  292. local distance = 5
  293.  
  294. local player = game.Players.LocalPlayer
  295. local targetPlayer = game.Players[target]
  296. local status = player.Name.."StatusFolder"
  297. local path = game.ReplicatedStorage.statusFolders[status].dmgPercent
  298.  
  299. --SCRIPT
  300. if path.Value == 0 then
  301. game:GetService("ReplicatedStorage").Remotes.game.deploy:InvokeServer()
  302. local playerHRP = player.Character.HumanoidRootPart
  303. local targetHRP = targetPlayer.Character.HumanoidRootPart
  304. local offset = targetHRP.CFrame.LookVector * distance
  305. playerHRP.CFrame = targetHRP.CFrame + offset
  306. else
  307. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(264.121, 1516.488, 1630.058)
  308. wait(0.6)
  309. player.Character.Humanoid.Health=0
  310. path.Value = 0
  311. end
  312.  
  313. end
  314. local function search()
  315. local t = script.Parent.Players.ScrollingFrame.Template
  316. for i,v in pairs(game.Players:GetChildren()) do
  317. if v:IsA("Player") then
  318. if table.find(plrs, v.Name) then
  319. else
  320. local n = t:Clone()
  321. n.Name = v.Name
  322. n.Text = v.DisplayName.." [@"..v.Name.."]"
  323. n.Visible = true
  324. n.Parent = t.Parent
  325.  
  326. n.MouseButton1Click:Connect(function()
  327. target=v.Name
  328. end)
  329.  
  330. table.insert(plrs, v.Name)
  331. end
  332. end
  333. end
  334. end
  335. local function fetchstats()
  336. local b = script.Parent.StatBars
  337. local kills = b.Kills
  338. local money = b.Money
  339. local levl = b.Level
  340.  
  341. money.Visible = false
  342. kills.Text = "K "..game.Players.LocalPlayer.leaderstats.Kills.Value
  343. levl.Text = "lvl "..game.Players.LocalPlayer.leaderstats.Level.Value
  344.  
  345. end
  346.  
  347. script.Parent.Start.MouseButton1Click:Connect(function()
  348. TP(target)
  349. end)
  350.  
  351. while true do
  352. search()
  353. fetchstats()
  354. wait(.1)
  355. end
  356. end;
  357. task.spawn(C_28);
  358.  
  359. return G2L["1"], require;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement