Run it
Copy the script and paste it into your executor.
local plr = game.Players.LocalPlayer
local rs = game:GetService("ReplicatedStorage")
local gui = Instance.new("ScreenGui", plr:WaitForChild("PlayerGui"))
local f = Instance.new("Frame", gui)
f.Size = UDim2.new(0, 250, 0, 160)
f.Position = UDim2.new(0.5, 0, , )
f.AnchorPoint = .(, )
f.BackgroundColor3 = .(, , )
f.BackgroundTransparency =
f.BorderSizePixel =
f.Active =
f.Draggable =
x = .(, f)
x.Size = .(, , , )
x.Position = .(, -, , )
x.Text =
x.Font = .Font.SourceSansBold
x.TextColor3 = .(, , )
x.TextSize =
x.BackgroundColor3 = .(, , )
x.BorderSizePixel =
x.ZIndex =
b = .(, f)
b.Size = .(, , , )
b.Position = .(, -, , )
b.Text =
b.Font = .Font.SourceSansBold
b.TextSize =
b.TextColor3 = .(, , )
b.BackgroundColor3 = .(, , )
b.BorderSizePixel =
b.ClipsDescendants =
b.MouseEnter:(()
b.BackgroundColor3 = .(, , )
)
b.MouseLeave:(()
b.BackgroundColor3 = .(, , )
)
l = .(, f)
l.Size = .(, , , )
l.Position = .(, -, , )
l.BackgroundTransparency =
l.BackgroundColor3 = .(, , )
l.BorderSizePixel =
l.Text =
l.TextColor3 = .(, , )
l.Font = .Font.SourceSansBold
l.TextSize =
l.TextWrapped =
x.MouseButton1Click:(()
gui:()
)
b.MouseButton1Click:(()
l.Text =
success, result = (()
rs.RemoteFunctions.GetOpponentTypeFunction:()
)
success
l.Text = .. (result)
l.Text =
)Shows opponent type when u click the show opponent type, invokes a remotefunction that gets opponent type and puts the result in the text