Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local SFOTHGui = Instance.new("ScreenGui")
- local Open = Instance.new("TextButton")
- local MainFrame = Instance.new("Frame")
- local Top = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local NormalReach = Instance.new("TextButton")
- local LongReach = Instance.new("TextButton")
- local KillAllReach = Instance.new("TextButton")
- local ESP = Instance.new("TextButton")
- local Credit = Instance.new("TextLabel")
- SFOTHGui.Name = "SFOTH Gui"
- SFOTHGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- SFOTHGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Open.Name = "Open"
- Open.Parent = SFOTHGui
- Open.BackgroundColor3 = Color3.new(0.933333, 0.933333, 0.933333)
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0, 0, 0.448160529, 0)
- Open.Size = UDim2.new(0, 107, 0, 48)
- Open.Font = Enum.Font.SourceSansSemibold
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(0, 0, 0)
- Open.TextScaled = true
- Open.TextSize = 14
- Open.TextWrapped = true
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = SFOTHGui
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0.347615212, 0, 0.188963205, 0)
- MainFrame.Selectable = true
- MainFrame.Size = UDim2.new(0, 328, 0, 359)
- Top.Name = "Top"
- Top.Parent = MainFrame
- Top.BackgroundColor3 = Color3.new(0.87451, 0.87451, 0.87451)
- Top.BorderSizePixel = 0
- Top.Position = UDim2.new(-0.00299453735, 0, -9.15229321e-05, 0)
- Top.Size = UDim2.new(0, 328, 0, 74)
- TextLabel.Parent = Top
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 328, 0, 74)
- TextLabel.Text = "Sword Fight On The Heights Gui"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 43
- TextLabel.TextStrokeTransparency = 0.89999997615814
- TextLabel.TextWrapped = true
- NormalReach.Name = "Normal Reach"
- NormalReach.Parent = MainFrame
- NormalReach.BackgroundColor3 = Color3.new(0.886275, 0.886275, 0.886275)
- NormalReach.BorderSizePixel = 0
- NormalReach.Position = UDim2.new(0.240853652, 0, 0.283672154, 0)
- NormalReach.Size = UDim2.new(0, 167, 0, 35)
- NormalReach.Font = Enum.Font.SourceSansBold
- NormalReach.Text = "Normal Reach"
- NormalReach.TextColor3 = Color3.new(1, 1, 1)
- NormalReach.TextScaled = true
- NormalReach.TextSize = 14
- NormalReach.TextStrokeTransparency = 0.89999997615814
- NormalReach.TextWrapped = true
- LongReach.Name = "Long Reach"
- LongReach.Parent = MainFrame
- LongReach.BackgroundColor3 = Color3.new(0.886275, 0.886275, 0.886275)
- LongReach.BorderSizePixel = 0
- LongReach.Position = UDim2.new(0.24390243, 0, 0.449638993, 0)
- LongReach.Size = UDim2.new(0, 167, 0, 35)
- LongReach.Font = Enum.Font.SourceSansBold
- LongReach.Text = "Long Reach"
- LongReach.TextColor3 = Color3.new(1, 1, 1)
- LongReach.TextScaled = true
- LongReach.TextSize = 14
- LongReach.TextStrokeTransparency = 0.89999997615814
- LongReach.TextWrapped = true
- KillAllReach.Name = "Kill All Reach"
- KillAllReach.Parent = MainFrame
- KillAllReach.BackgroundColor3 = Color3.new(0.886275, 0.886275, 0.886275)
- KillAllReach.BorderSizePixel = 0
- KillAllReach.Position = UDim2.new(0.24390243, 0, 0.625555992, 0)
- KillAllReach.Size = UDim2.new(0, 167, 0, 39)
- KillAllReach.Font = Enum.Font.SourceSansBold
- KillAllReach.Text = "Kill All Reach"
- KillAllReach.TextColor3 = Color3.new(1, 1, 1)
- KillAllReach.TextScaled = true
- KillAllReach.TextSize = 14
- KillAllReach.TextStrokeTransparency = 0.89999997615814
- KillAllReach.TextWrapped = true
- ESP.Name = "ESP"
- ESP.Parent = MainFrame
- ESP.BackgroundColor3 = Color3.new(0.886275, 0.886275, 0.886275)
- ESP.BorderSizePixel = 0
- ESP.Position = UDim2.new(0.243902445, 0, 0.784358263, 0)
- ESP.Size = UDim2.new(0, 167, 0, 39)
- ESP.Font = Enum.Font.SourceSansBold
- ESP.Text = "ESP"
- ESP.TextColor3 = Color3.new(1, 1, 1)
- ESP.TextScaled = true
- ESP.TextSize = 14
- ESP.TextStrokeTransparency = 0.89999997615814
- ESP.TextWrapped = true
- Credit.Name = "Credit"
- Credit.Parent = MainFrame
- Credit.BackgroundColor3 = Color3.new(1, 1, 1)
- Credit.BackgroundTransparency = 1
- Credit.Position = UDim2.new(-0.00299444422, 0, 0.922005594, 0)
- Credit.Size = UDim2.new(0, 328, 0, 28)
- Credit.Font = Enum.Font.SourceSansBold
- Credit.Text = "Created by Viown"
- Credit.TextColor3 = Color3.new(1, 1, 1)
- Credit.TextScaled = true
- Credit.TextSize = 14
- Credit.TextStrokeTransparency = 0.89999997615814
- Credit.TextWrapped = true
- function SCRIPT_VPSG79_FAKESCRIPT()
- local script = Instance.new('LocalScript')
- script.Parent = Open
- script.Parent.MouseButton1Click:Connect(function()
- if script.Parent.Text == "Open" then
- script.Parent.Parent.MainFrame.Visible = true;
- script.Parent.Text = "Close"
- else
- script.Parent.Parent.MainFrame.Visible = false;
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_VPSG79_FAKESCRIPT))
- function SCRIPT_LQFE84_FAKESCRIPT()
- local script = Instance.new('LocalScript')
- script.Parent = NormalReach
- script.Parent.MouseButton1Click:Connect(function()
- local scr=game.Players.LocalPlayer.Backpack.Sword
- a=Instance.new("SelectionBox",foil.Handle)
- a.Adornee=scr.Handle
- scr.Handle.Size=Vector3.new(1, 0.8, 4)
- scr.Equipped:connect(function()
- while wait() do
- game.Workspace[game.Players.LocalPlayer.Name].Foil.GripPos=Vector3.new(0,0,-30)
- end
- end)
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_LQFE84_FAKESCRIPT))
- function SCRIPT_MCBZ74_FAKESCRIPT()
- local script = Instance.new('LocalScript')
- script.Parent = LongReach
- script.Parent.MouseButton1Click:Connect(function()
- local scr=game.Players.LocalPlayer.Backpack.Sword
- a=Instance.new("SelectionBox",scr.Handle)
- a.Adornee=scr.Handle
- scr.Handle.Size=Vector3.new(0.2,0.2,60)
- scr.Equipped:connect(function()
- while wait() do
- game.Workspace[game.Players.LocalPlayer.Name].Foil.GripPos=Vector3.new(0,0,-30)
- end
- end)
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_MCBZ74_FAKESCRIPT))
- function SCRIPT_HKIJ88_FAKESCRIPT()
- local script = Instance.new('LocalScript')
- script.Parent = KillAllReach
- script.Parent.MouseButton1Click:Connect(function()
- local scr=game.Players.LocalPlayer.Backpack.Sword
- a=Instance.new("SelectionBox",scr.Handle)
- a.Adornee=scr.Handle
- scr.Handle.Size=Vector3.new(1000,1000,1000)
- scr.Equipped:connect(function()
- while wait() do
- game.Workspace[game.Players.LocalPlayer.Name].Foil.GripPos=Vector3.new(0,0,-30)
- end
- end)
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_HKIJ88_FAKESCRIPT))
- function SCRIPT_LBJA77_FAKESCRIPT()
- local script = Instance.new('LocalScript')
- script.Parent = MainFrame
- script.Parent.Draggable = true;
- end
- coroutine.resume(coroutine.create(SCRIPT_LBJA77_FAKESCRIPT))
- function SCRIPT_NAHZ76_FAKESCRIPT()
- local script = Instance.new('LocalScript')
- script.Parent = ESP
- script.Parent.MouseButton1Click:Connect(function()
- ALLYCOLOR = {0,255,255}
- ENEMYCOLOR = {255,0,0}
- TRANSPARENCY = 0.5
- HEALTHBAR_ACTIVATED = true
- function ESP()
- players = game:GetService("Players")
- faces = {"Front","Back","Bottom","Left","Right","Top"}
- currentPlayer = nil
- lplayer = players.LocalPlayer
- players.PlayerAdded:Connect(function(p)
- currentPlayer = p
- p.CharacterAdded:Connect(function(character)
- createESP(character)
- end)
- end)
- function checkPart(obj) if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Name~="HumanoidRootPart" then return true end end
- function actualESP(obj)
- for i=0,5 do
- surface = Instance.new("SurfaceGui",obj)
- surface.Face = Enum.NormalId[faces[i+1]]
- surface.AlwaysOnTop = true
- frame = Instance.new("Frame",surface)
- frame.Size = UDim2.new(1,0,1,0)
- frame.BorderSizePixel = 0
- frame.BackgroundTransparency = TRANSPARENCY
- if currentPlayer.Team == players.LocalPlayer.Team then
- frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3])
- else
- frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3])
- end
- end
- end
- function createHealthbar(hrp)
- board =Instance.new("BillboardGui",hrp)
- 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)
- 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)
- 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)
- hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
- end)
- end
- function createESP(c)
- bugfix = c:WaitForChild("Head")
- for i,v in pairs(c:GetChildren()) do
- if checkPart(v) then
- actualESP(v)
- end
- end
- if HEALTHBAR_ACTIVATED then
- createHealthbar(c:WaitForChild("HumanoidRootPart"))
- end
- end
- for i,people in pairs(players:GetChildren())do
- if people ~= players.LocalPlayer then
- currentPlayer = people
- createESP(people.Character)
- people.CharacterAdded:Connect(function(character)
- createESP(character)
- end)
- end
- end
- end
- ESP()
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_NAHZ76_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement