Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Instances ]]--
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextButton")
- local TextButton_4 = Instance.new("TextButton")
- local TextButton_5 = Instance.new("TextButton")
- local TextButton_6 = Instance.new("TextButton")
- local TextButton_7 = Instance.new("TextButton")
- local TextButton_8 = Instance.new("TextButton")
- local TextButton_9 = Instance.new("TextButton")
- local TextButton_10 = Instance.new("TextButton")
- local TextButton_11 = Instance.new("TextButton")
- local TextButton_12 = Instance.new("TextButton")
- local TextButton_13 = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextButton_14 = Instance.new("TextButton")
- local TextButton_15 = Instance.new("TextButton")
- --[[ Properties ]]--
- Frame.Active = true
- Frame.Draggable = true
- --[[ Properties ]]--
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.227451, 0, 0.686275)
- Frame.Position = UDim2.new(0.206150308, 0, 0.207171321, 0)
- Frame.Size = UDim2.new(0, 448, 0, 290)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
- TextButton.BorderColor3 = Color3.new(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.939732075, 0, 0, 0)
- TextButton.Size = UDim2.new(0, 27, 0, 27)
- TextButton.Font = Enum.Font.SciFi
- TextButton.Text = "X"
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextSize = 20
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_2.Position = UDim2.new(0.0514969155, 0, 0.124082074, 0)
- TextButton_2.Size = UDim2.new(0, 82, 0, 41)
- TextButton_2.Font = Enum.Font.SciFi
- TextButton_2.Text = "SELL"
- TextButton_2.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_2.TextSize = 24
- TextButton_2.TextStrokeTransparency = 0.40000000596046
- TextButton_2.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(57.19, 2.9999, -20.798)
- end)
- TextButton_3.Parent = Frame
- TextButton_3.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_3.BorderSizePixel = 0
- TextButton_3.Position = UDim2.new(0.297032624, 0, 0.124082074, 0)
- TextButton_3.Size = UDim2.new(0, 82, 0, 41)
- TextButton_3.Font = Enum.Font.SciFi
- TextButton_3.Text = "SHOP"
- TextButton_3.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_3.TextSize = 24
- TextButton_3.TextStrokeTransparency = 0.40000000596046
- TextButton_3.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(8.152, 3.168, -1.03)
- end)
- TextButton_4.Parent = Frame
- TextButton_4.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_4.BorderSizePixel = 0
- TextButton_4.Position = UDim2.new(0.533639729, 0, 0.124082066, 0)
- TextButton_4.Size = UDim2.new(0, 82, 0, 41)
- TextButton_4.Font = Enum.Font.SciFi
- TextButton_4.Text = "REWARD"
- TextButton_4.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_4.TextSize = 22
- TextButton_4.TextStrokeTransparency = 0.40000000596046
- TextButton_4.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(40.79, 2.9999, 25.289)
- end)
- TextButton_5.Parent = Frame
- TextButton_5.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_5.BorderSizePixel = 0
- TextButton_5.Position = UDim2.new(0.785871863, 0, 0.124082074, 0)
- TextButton_5.Size = UDim2.new(0, 82, 0, 41)
- TextButton_5.Font = Enum.Font.SciFi
- TextButton_5.Text = "REWARD+"
- TextButton_5.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_5.TextSize = 19
- TextButton_5.TextStrokeTransparency = 0.40000000596046
- TextButton_5.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(-31.52, 2.9999, 27.08)
- end)
- TextButton_6.Parent = Frame
- TextButton_6.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_6.BorderSizePixel = 0
- TextButton_6.Position = UDim2.new(0.785871863, 0, 0.331894338, 0)
- TextButton_6.Size = UDim2.new(0, 82, 0, 41)
- TextButton_6.Font = Enum.Font.SciFi
- TextButton_6.Text = "GYM"
- TextButton_6.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_6.TextSize = 24
- TextButton_6.TextStrokeTransparency = 0.40000000596046
- TextButton_6.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(-230.18, 4.00, 106.5496)
- end)
- TextButton_7.Parent = Frame
- TextButton_7.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_7.BorderSizePixel = 0
- TextButton_7.Position = UDim2.new(0.785871863, 0, 0.544487834, 0)
- TextButton_7.Size = UDim2.new(0, 82, 0, 41)
- TextButton_7.Font = Enum.Font.SciFi
- TextButton_7.Text = "BUILDING 3"
- TextButton_7.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_7.TextSize = 18
- TextButton_7.TextStrokeTransparency = 0.40000000596046
- TextButton_7.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(-431.742, 227.99, 293.808)
- end)
- TextButton_8.Parent = Frame
- TextButton_8.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_8.BorderSizePixel = 0
- TextButton_8.Position = UDim2.new(0.531407595, 0, 0.544487834, 0)
- TextButton_8.Size = UDim2.new(0, 82, 0, 41)
- TextButton_8.Font = Enum.Font.SciFi
- TextButton_8.Text = "BUILDING 2"
- TextButton_8.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_8.TextSize = 17
- TextButton_8.TextStrokeTransparency = 0.40000000596046
- TextButton_8.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(36.29, 230.13, 232.9)
- end)
- TextButton_9.Parent = Frame
- TextButton_9.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_9.BorderSizePixel = 0
- TextButton_9.Position = UDim2.new(0.533639729, 0, 0.329326749, 0)
- TextButton_9.Size = UDim2.new(0, 82, 0, 41)
- TextButton_9.Font = Enum.Font.SciFi
- TextButton_9.Text = "SPAWN"
- TextButton_9.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_9.TextSize = 24
- TextButton_9.TextStrokeTransparency = 0.40000000596046
- TextButton_9.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(12.322, 3.168, -28.985)
- end)
- TextButton_10.Parent = Frame
- TextButton_10.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_10.BorderSizePixel = 0
- TextButton_10.Position = UDim2.new(0.297032624, 0, 0.331894308, 0)
- TextButton_10.Size = UDim2.new(0, 82, 0, 41)
- TextButton_10.Font = Enum.Font.SciFi
- TextButton_10.Text = "BOSS"
- TextButton_10.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_10.TextSize = 24
- TextButton_10.TextStrokeTransparency = 0.40000000596046
- TextButton_10.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(17.162, 9.600, -254.80)
- end)
- TextButton_11.Parent = Frame
- TextButton_11.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_11.BorderSizePixel = 0
- TextButton_11.Position = UDim2.new(0.297032624, 0, 0.544487834, 0)
- TextButton_11.Size = UDim2.new(0, 82, 0, 41)
- TextButton_11.Font = Enum.Font.SciFi
- TextButton_11.Text = "BUILDING 1"
- TextButton_11.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_11.TextSize = 19
- TextButton_11.TextStrokeTransparency = 0.40000000596046
- TextButton_11.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(415.461, 208.948, 435.574)
- end)
- TextButton_12.Parent = Frame
- TextButton_12.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_12.BorderSizePixel = 0
- TextButton_12.Position = UDim2.new(0.0514969006, 0, 0.33101359, 0)
- TextButton_12.Size = UDim2.new(0, 82, 0, 41)
- TextButton_12.Font = Enum.Font.SciFi
- TextButton_12.Text = "MISSION 18"
- TextButton_12.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_12.TextSize = 18
- TextButton_12.TextStrokeTransparency = 0.40000000596046
- TextButton_12.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(214.31, 3.4999, 74.166)
- end)
- TextButton_13.Parent = Frame
- TextButton_13.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_13.BorderSizePixel = 0
- TextButton_13.Position = UDim2.new(0.0537290424, 0, 0.544487834, 0)
- TextButton_13.Size = UDim2.new(0, 82, 0, 41)
- TextButton_13.Font = Enum.Font.SciFi
- TextButton_13.Text = "KING HILL"
- TextButton_13.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_13.TextSize = 20
- TextButton_13.TextStrokeTransparency = 0.40000000596046
- TextButton_13.MouseButton1Click:connect(function()
- local me = game.Players.LocalPlayer.Character
- me.HumanoidRootPart.CFrame = CFrame.new(-223.13, 25.15, -47.48)
- end)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(0.537255, 0, 0.847059)
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(0, 420, 0, 27)
- TextLabel.Font = Enum.Font.SciFi
- TextLabel.Text = "FIGHT SIMULTOR GUI 2.0 BY X29C"
- TextLabel.TextColor3 = Color3.new(1, 0, 1)
- TextLabel.TextSize = 14
- TextLabel.TextStrokeTransparency = 0.60000002384186
- TextLabel_2.Parent = TextLabel
- TextLabel_2.BackgroundColor3 = Color3.new(0.227451, 0, 0.686275)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0, 0, 9.90032482, 0)
- TextLabel_2.Size = UDim2.new(0, 448, 0, 22)
- TextLabel_2.Font = Enum.Font.SciFi
- TextLabel_2.Text = " MADE BY : x29c#2940"
- TextLabel_2.TextColor3 = Color3.new(1, 0, 1)
- TextLabel_2.TextSize = 30
- TextLabel_2.TextStrokeTransparency = 0.60000002384186
- TextButton_14.Parent = Frame
- TextButton_14.BackgroundColor3 = Color3.new(0.501961, 0, 1)
- TextButton_14.BorderSizePixel = 0
- TextButton_14.Position = UDim2.new(0.0526816249, 0, 0.713847995, 0)
- TextButton_14.Size = UDim2.new(0, 410, 0, 24)
- TextButton_14.Font = Enum.Font.SciFi
- TextButton_14.Text = "ESP"
- TextButton_14.TextColor3 = Color3.new(1, 0.333333, 1)
- TextButton_14.TextSize = 16
- TextButton_14.TextStrokeTransparency = 0.40000000596046
- TextButton_14.MouseButton1Click:connect(function()
- ALLYCOLOR = {0,255,255} --//Color of the ESP of people on the same team
- ENEMYCOLOR = {255,0,0} --//Color of the ESP of people on NOT the same team
- TRANSPARENCY = 0.5 --//Transparency of the ESP
- HEALTHBAR_ACTIVATED = true --//Renders the Healthbar
- --
- --
- -- !!!Don't Change Anything Below Here Unless You Know What You're Doing!!!
- function createFlex()
- -- -----------------------------------------------------------------------------------
- --[VARIABLES] //Changing may result in Errors!
- players = game:GetService("Players") --//Required for PF
- faces = {"Front","Back","Bottom","Left","Right","Top"} --//Every possible Enum face
- currentPlayer = nil --//Used for the Team-Check
- lplayer = players.LocalPlayer --//The LocalPlayer
- -- -----------------------------------------------------------------------------------
- players.PlayerAdded:Connect(function(p)
- currentPlayer = p
- p.CharacterAdded:Connect(function(character) --//For when a new Player joins the game
- createESP(character)
- end)
- end)
- -- -----------------------------------------------------------------------------------
- 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
- -- -----------------------------------------------------------------------------------
- function actualESP(obj)
- for i=0,5 do
- surface = Instance.new("SurfaceGui",obj) --//Creates the SurfaceGui
- surface.Face = Enum.NormalId[faces[i+1]] --//Adjusts the Face and chooses from the face table
- surface.AlwaysOnTop = true
- frame = Instance.new("Frame",surface) --//Creates the viewable Frame
- frame.Size = UDim2.new(1,0,1,0)
- frame.BorderSizePixel = 0
- frame.BackgroundTransparency = TRANSPARENCY
- if currentPlayer.Team == players.LocalPlayer.Team then --//Checks the Players Team
- frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3]) --//If in same Team
- else
- frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3]) --//If in another Team
- end
- end
- end
- -- -----------------------------------------------------------------------------------
- function createHealthbar(hrp)
- board =Instance.new("BillboardGui",hrp) --//Creates the BillboardGui with HumanoidRootPart as the Parent
- board.Name = "total"
- board.Size = UDim2.new(1,0,1,0)
- board.StudsOffset = Vector3.new(3,1,0)
- board.AlwaysOnTop = true
- bar = Instance.new("Frame",board) --//Creates the red background
- bar.BackgroundColor3 = Color3.new(255,0,0)
- bar.BorderSizePixel = 0
- bar.Size = UDim2.new(0.2,0,4,0)
- bar.Name = "total2"
- health = Instance.new("Frame",bar) --//Creates the changing green Frame
- health.BackgroundColor3 = Color3.new(0,255,0)
- health.BorderSizePixel = 0
- health.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
- hrp.Parent.Humanoid.Changed:Connect(function(property) --//Triggers when any Property changed
- hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0) --//Adjusts the size of the green Frame
- end)
- end
- -- -----------------------------------------------------------------------------------
- function createESP(c) --//Checks and calls the proper function
- bugfix = c:WaitForChild("Head") --// *Used so the children of the character arent nil.
- for i,v in pairs(c:GetChildren()) do
- if checkPart(v) then
- actualESP(v)
- end
- end
- if HEALTHBAR_ACTIVATED then --//If the user decided to
- createHealthbar(c:WaitForChild("HumanoidRootPart")) --//Calls the function of the creation
- end
- end
- -- -----------------------------------------------------------------------------------
- for i,people in pairs(players:GetChildren())do
- if people ~= players.LocalPlayer then
- currentPlayer = people
- --//Used for Players already in the Game
- createESP(people.Character)
- people.CharacterAdded:Connect(function(character)
- createESP(character)
- end)
- end
- end
- -- -----------------------------------------------------------------------------------
- end --//End of the entire function
- createFlex() --// Does exactly that :)
- end)
- TextButton_17.Parent = ScreenGui
- TextButton_17.BackgroundColor3 = Color3.new(0.435294, 0, 0.792157)
- TextButton_17.Position = UDim2.new(0.855353057, 0, 0.39641434, 0)
- TextButton_17.Size = UDim2.new(0, 127, 0, 31)
- TextButton_17.Font = Enum.Font.SciFi
- TextButton_17.Text = "Fight Sim GUI"
- TextButton_17.TextColor3 = Color3.new(1, 0, 1)
- TextButton_17.TextSize = 17
- TextButton_17.TextStrokeTransparency = 0.40000000596046
- -- Scripts:
- function SCRIPT_UUKW86_FAKESCRIPT() -- TextButton.LocalScript
- getfenv().script = Instance.new('LocalScript', TextButton)
- script.Parent.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = false
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_UUKW86_FAKESCRIPT))
- function SCRIPT_PPSB66_FAKESCRIPT() -- TextButton_17.LocalScript
- getfenv().script = Instance.new('LocalScript', TextButton_17)
- script.Parent.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = true
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_PPSB66_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement