Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Instances: 43 | Scripts: 1 | Modules: 0
- local G2L = {};
- -- StarterGui.ProjectSmashTest
- G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
- G2L["1"]["IgnoreGuiInset"] = true;
- G2L["1"]["DisplayOrder"] = 6;
- G2L["1"]["AutoLocalize"] = false;
- G2L["1"]["ScreenInsets"] = Enum.ScreenInsets.DeviceSafeInsets;
- G2L["1"]["Name"] = [[ProjectSmashTest]];
- G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
- G2L["1"]["ResetOnSpawn"] = false;
- -- StarterGui.ProjectSmashTest.Frame
- G2L["2"] = Instance.new("Frame", G2L["1"]);
- G2L["2"]["BorderSizePixel"] = 0;
- G2L["2"]["BackgroundColor3"] = Color3.fromRGB(18, 18, 18);
- G2L["2"]["BackgroundTransparency"] = 1;
- G2L["2"]["Size"] = UDim2.new(0.3442429006099701, 0, 1, 0);
- G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- -- StarterGui.ProjectSmashTest.Frame.UIListLayout
- G2L["3"] = Instance.new("UIListLayout", G2L["2"]);
- G2L["3"]["VerticalAlignment"] = Enum.VerticalAlignment.Center;
- G2L["3"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
- G2L["3"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.ProjectSmashTest.Frame.Main
- G2L["4"] = Instance.new("Frame", G2L["2"]);
- G2L["4"]["BorderSizePixel"] = 0;
- G2L["4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["4"]["Size"] = UDim2.new(0.8942731022834778, 0, 0.9416873455047607, 0);
- G2L["4"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["4"]["Position"] = UDim2.new(0.01984732784330845, 0, 0.028535980731248856, 0);
- G2L["4"]["Name"] = [[Main]];
- -- StarterGui.ProjectSmashTest.Frame.Main.UIGradient
- G2L["5"] = Instance.new("UIGradient", G2L["4"]);
- G2L["5"]["Rotation"] = 45;
- G2L["5"]["Color"] = ColorSequence.new{ColorSequenceKeypoint.new(0.000, Color3.fromRGB(116, 153, 185)),ColorSequenceKeypoint.new(1.000, Color3.fromRGB(89, 117, 142))};
- -- StarterGui.ProjectSmashTest.Frame.Main.UICorner
- G2L["6"] = Instance.new("UICorner", G2L["4"]);
- G2L["6"]["CornerRadius"] = UDim.new(0, 12);
- -- StarterGui.ProjectSmashTest.Frame.Main.Players
- G2L["7"] = Instance.new("Frame", G2L["4"]);
- G2L["7"]["BorderSizePixel"] = 0;
- G2L["7"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["7"]["BackgroundTransparency"] = 1;
- G2L["7"]["Size"] = UDim2.new(1, 0, 0.8642951250076294, 0);
- G2L["7"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["7"]["Name"] = [[Players]];
- -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame
- G2L["8"] = Instance.new("ScrollingFrame", G2L["7"]);
- G2L["8"]["Active"] = true;
- G2L["8"]["BorderSizePixel"] = 0;
- G2L["8"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["8"]["AutomaticCanvasSize"] = Enum.AutomaticSize.Y;
- G2L["8"]["BackgroundTransparency"] = 0.9990000128746033;
- G2L["8"]["Size"] = UDim2.new(1, 0, 0.9832317233085632, 0);
- G2L["8"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["8"]["ScrollBarThickness"] = 2;
- G2L["8"]["Position"] = UDim2.new(0, 0, 0.014173274859786034, 0);
- -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.Template
- G2L["9"] = Instance.new("TextButton", G2L["8"]);
- G2L["9"]["TextWrapped"] = true;
- G2L["9"]["BorderSizePixel"] = 0;
- G2L["9"]["TextScaled"] = true;
- G2L["9"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
- G2L["9"]["TextSize"] = 12;
- G2L["9"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["9"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["9"]["Visible"] = false;
- G2L["9"]["Size"] = UDim2.new(0, 382, 0, 32);
- G2L["9"]["Name"] = [[Template]];
- G2L["9"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["9"]["Text"] = "User [@User]";
- G2L["9"]["Position"] = UDim2.new(0.029556650668382645, 0, 0, 0);
- -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.Template.UICorner
- G2L["a"] = Instance.new("UICorner", G2L["9"]);
- G2L["a"]["CornerRadius"] = UDim.new(0, 9);
- -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.Template.UIAspectRatioConstraint
- G2L["b"] = Instance.new("UIAspectRatioConstraint", G2L["9"]);
- G2L["b"]["AspectRatio"] = 11.9375;
- -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.Template.UITextSizeConstraint
- G2L["c"] = Instance.new("UITextSizeConstraint", G2L["9"]);
- G2L["c"]["MaxTextSize"] = 12;
- -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.UIListLayout
- G2L["d"] = Instance.new("UIListLayout", G2L["8"]);
- G2L["d"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
- G2L["d"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.ProjectSmashTest.Frame.Main.Players.ScrollingFrame.UIAspectRatioConstraint
- G2L["e"] = Instance.new("UIAspectRatioConstraint", G2L["8"]);
- G2L["e"]["AspectRatio"] = 0.6294573545455933;
- -- StarterGui.ProjectSmashTest.Frame.Main.Players.UIAspectRatioConstraint
- G2L["f"] = Instance.new("UIAspectRatioConstraint", G2L["7"]);
- G2L["f"]["AspectRatio"] = 0.6189024448394775;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars
- G2L["10"] = Instance.new("Frame", G2L["4"]);
- G2L["10"]["BorderSizePixel"] = 0;
- G2L["10"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["10"]["BackgroundTransparency"] = 1;
- G2L["10"]["Size"] = UDim2.new(1, 0, 0.06060606241226196, 0);
- G2L["10"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["10"]["Position"] = UDim2.new(0, 0, 0.939393937587738, 0);
- G2L["10"]["Name"] = [[StatBars]];
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.UIListLayout
- G2L["11"] = Instance.new("UIListLayout", G2L["10"]);
- G2L["11"]["VerticalAlignment"] = Enum.VerticalAlignment.Center;
- G2L["11"]["FillDirection"] = Enum.FillDirection.Horizontal;
- G2L["11"]["Padding"] = UDim.new(0, 8);
- G2L["11"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money
- G2L["12"] = Instance.new("TextLabel", G2L["10"]);
- G2L["12"]["TextWrapped"] = true;
- G2L["12"]["BorderSizePixel"] = 0;
- G2L["12"]["TextScaled"] = true;
- G2L["12"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
- G2L["12"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["12"]["TextSize"] = 14;
- G2L["12"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["12"]["Size"] = UDim2.new(0.2019704431295395, 0, 0.6739130020141602, 0);
- G2L["12"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["12"]["Text"] = [[$ 0]];
- G2L["12"]["Name"] = [[Money]];
- G2L["12"]["Position"] = UDim2.new(0, 0, 0.3695652186870575, 0);
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money.UIStroke
- G2L["13"] = Instance.new("UIStroke", G2L["12"]);
- G2L["13"]["Color"] = Color3.fromRGB(255, 255, 255);
- G2L["13"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money.UICorner
- G2L["14"] = Instance.new("UICorner", G2L["12"]);
- G2L["14"]["CornerRadius"] = UDim.new(0, 6);
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money.UIAspectRatioConstraint
- G2L["15"] = Instance.new("UIAspectRatioConstraint", G2L["12"]);
- G2L["15"]["AspectRatio"] = 2.6451613903045654;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Money.UITextSizeConstraint
- G2L["16"] = Instance.new("UITextSizeConstraint", G2L["12"]);
- G2L["16"]["MaxTextSize"] = 14;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.UIPadding
- G2L["17"] = Instance.new("UIPadding", G2L["10"]);
- G2L["17"]["PaddingLeft"] = UDim.new(0, 8);
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level
- G2L["18"] = Instance.new("TextLabel", G2L["10"]);
- G2L["18"]["TextWrapped"] = true;
- G2L["18"]["BorderSizePixel"] = 0;
- G2L["18"]["TextScaled"] = true;
- G2L["18"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
- G2L["18"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["18"]["TextSize"] = 14;
- G2L["18"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["18"]["Size"] = UDim2.new(0.2019704431295395, 0, 0.6739130020141602, 0);
- G2L["18"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["18"]["Text"] = [[lvl 35]];
- G2L["18"]["Name"] = [[Level]];
- G2L["18"]["Position"] = UDim2.new(0, 0, 0.3695652186870575, 0);
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level.UIStroke
- G2L["19"] = Instance.new("UIStroke", G2L["18"]);
- G2L["19"]["Color"] = Color3.fromRGB(255, 255, 255);
- G2L["19"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level.UICorner
- G2L["1a"] = Instance.new("UICorner", G2L["18"]);
- G2L["1a"]["CornerRadius"] = UDim.new(0, 6);
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level.UIAspectRatioConstraint
- G2L["1b"] = Instance.new("UIAspectRatioConstraint", G2L["18"]);
- G2L["1b"]["AspectRatio"] = 2.6451613903045654;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Level.UITextSizeConstraint
- G2L["1c"] = Instance.new("UITextSizeConstraint", G2L["18"]);
- G2L["1c"]["MaxTextSize"] = 14;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills
- G2L["1d"] = Instance.new("TextLabel", G2L["10"]);
- G2L["1d"]["TextWrapped"] = true;
- G2L["1d"]["BorderSizePixel"] = 0;
- G2L["1d"]["TextScaled"] = true;
- G2L["1d"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
- G2L["1d"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["1d"]["TextSize"] = 14;
- G2L["1d"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["1d"]["Size"] = UDim2.new(0.2019704431295395, 0, 0.6739130020141602, 0);
- G2L["1d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["1d"]["Text"] = [[K 0]];
- G2L["1d"]["Name"] = [[Kills]];
- G2L["1d"]["Position"] = UDim2.new(0, 0, 0.3695652186870575, 0);
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills.UIStroke
- G2L["1e"] = Instance.new("UIStroke", G2L["1d"]);
- G2L["1e"]["Color"] = Color3.fromRGB(255, 255, 255);
- G2L["1e"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills.UICorner
- G2L["1f"] = Instance.new("UICorner", G2L["1d"]);
- G2L["1f"]["CornerRadius"] = UDim.new(0, 6);
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills.UIAspectRatioConstraint
- G2L["20"] = Instance.new("UIAspectRatioConstraint", G2L["1d"]);
- G2L["20"]["AspectRatio"] = 2.6451613903045654;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.Kills.UITextSizeConstraint
- G2L["21"] = Instance.new("UITextSizeConstraint", G2L["1d"]);
- G2L["21"]["MaxTextSize"] = 14;
- -- StarterGui.ProjectSmashTest.Frame.Main.StatBars.UIAspectRatioConstraint
- G2L["22"] = Instance.new("UIAspectRatioConstraint", G2L["10"]);
- G2L["22"]["AspectRatio"] = 8.82608699798584;
- -- StarterGui.ProjectSmashTest.Frame.Main.Start
- G2L["23"] = Instance.new("TextButton", G2L["4"]);
- G2L["23"]["TextWrapped"] = true;
- G2L["23"]["BorderSizePixel"] = 0;
- G2L["23"]["TextScaled"] = true;
- G2L["23"]["BackgroundColor3"] = Color3.fromRGB(104, 137, 166);
- G2L["23"]["TextSize"] = 14;
- G2L["23"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["23"]["TextColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["23"]["Size"] = UDim2.new(0.9408866763114929, 0, 0.040843214839696884, 0);
- G2L["23"]["Name"] = [[Start]];
- G2L["23"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["23"]["Text"] = [[TP + Death]];
- G2L["23"]["Position"] = UDim2.new(0.029556650668382645, 0, 0.888010561466217, 0);
- -- StarterGui.ProjectSmashTest.Frame.Main.Start.UICorner
- G2L["24"] = Instance.new("UICorner", G2L["23"]);
- G2L["24"]["CornerRadius"] = UDim.new(0, 6);
- -- StarterGui.ProjectSmashTest.Frame.Main.Start.UIStroke
- G2L["25"] = Instance.new("UIStroke", G2L["23"]);
- G2L["25"]["Color"] = Color3.fromRGB(255, 255, 255);
- G2L["25"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border;
- -- StarterGui.ProjectSmashTest.Frame.Main.Start.UIAspectRatioConstraint
- G2L["26"] = Instance.new("UIAspectRatioConstraint", G2L["23"]);
- G2L["26"]["AspectRatio"] = 12.322580337524414;
- -- StarterGui.ProjectSmashTest.Frame.Main.Start.UITextSizeConstraint
- G2L["27"] = Instance.new("UITextSizeConstraint", G2L["23"]);
- G2L["27"]["MaxTextSize"] = 14;
- -- StarterGui.ProjectSmashTest.Frame.Main.Function
- G2L["28"] = Instance.new("LocalScript", G2L["4"]);
- G2L["28"]["Name"] = [[Function]];
- -- StarterGui.ProjectSmashTest.Frame.Main.UIAspectRatioConstraint
- G2L["29"] = Instance.new("UIAspectRatioConstraint", G2L["4"]);
- G2L["29"]["AspectRatio"] = 0.5349143743515015;
- -- StarterGui.ProjectSmashTest.Frame.UIAspectRatioConstraint
- G2L["2a"] = Instance.new("UIAspectRatioConstraint", G2L["2"]);
- G2L["2a"]["AspectRatio"] = 0.5632754564285278;
- -- StarterGui.ProjectSmashTest.UIAspectRatioConstraint
- G2L["2b"] = Instance.new("UIAspectRatioConstraint", G2L["1"]);
- G2L["2b"]["AspectRatio"] = 1.6253101825714111;
- -- StarterGui.ProjectSmashTest.Frame.Main.Function
- local function C_28()
- local script = G2L["28"];
- local plrs = {}
- local target = nil
- local function TP(name)
- local plr = game.Players.LocalPlayer
- local char = plr.Character or plr.CharacterAdded:Wait()
- if game.Players[name] then
- --print("Player Found")
- else
- warn("Player Not Found")
- end
- local distance = 5
- local player = game.Players.LocalPlayer
- local targetPlayer = game.Players[target]
- local status = player.Name.."StatusFolder"
- local path = game.ReplicatedStorage.statusFolders[status].dmgPercent
- --SCRIPT
- if path.Value == 0 then
- game:GetService("ReplicatedStorage").Remotes.game.deploy:InvokeServer()
- local playerHRP = player.Character.HumanoidRootPart
- local targetHRP = targetPlayer.Character.HumanoidRootPart
- local offset = targetHRP.CFrame.LookVector * distance
- playerHRP.CFrame = targetHRP.CFrame + offset
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(264.121, 1516.488, 1630.058)
- wait(0.6)
- player.Character.Humanoid.Health=0
- path.Value = 0
- end
- end
- local function search()
- local t = script.Parent.Players.ScrollingFrame.Template
- for i,v in pairs(game.Players:GetChildren()) do
- if v:IsA("Player") then
- if table.find(plrs, v.Name) then
- else
- local n = t:Clone()
- n.Name = v.Name
- n.Text = v.DisplayName.." [@"..v.Name.."]"
- n.Visible = true
- n.Parent = t.Parent
- n.MouseButton1Click:Connect(function()
- target=v.Name
- end)
- table.insert(plrs, v.Name)
- end
- end
- end
- end
- local function fetchstats()
- local b = script.Parent.StatBars
- local kills = b.Kills
- local money = b.Money
- local levl = b.Level
- money.Visible = false
- kills.Text = "K "..game.Players.LocalPlayer.leaderstats.Kills.Value
- levl.Text = "lvl "..game.Players.LocalPlayer.leaderstats.Level.Value
- end
- script.Parent.Start.MouseButton1Click:Connect(function()
- TP(target)
- end)
- while true do
- search()
- fetchstats()
- wait(.1)
- end
- end;
- task.spawn(C_28);
- return G2L["1"], require;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement