Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Close = Instance.new("TextButton")
- local Open2 = Instance.new("ScreenGui")
- local Open = Instance.new("TextButton")
- local FightingGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local Cre = Instance.new("TextLabel")
- local HitBox = Instance.new("TextBox")
- local Red = Instance.new("TextBox")
- local Green = Instance.new("TextBox")
- local Blue = Instance.new("TextBox")
- local UICorner = Instance.new("UICorner")
- local UICorner_2 = Instance.new("UICorner")
- local UICorner_3 = Instance.new("UICorner")
- local UICorner_4 = Instance.new("UICorner")
- -- Properties
- FightingGui.Name = "FightingGui"
- FightingGui.Parent = game.CoreGui
- FightingGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Open2.Name = "Tools"
- Open2.Parent = game.CoreGui
- Open2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Open.Name = "Open"
- Open.Parent = Open2
- Open.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Open.Position = UDim2.new(0, 0, 0.451871663, 0)
- Open.Size = UDim2.new(0, 50, 0, 50)
- Open.Font = Enum.Font.FredokaOne
- Open.Text = "Open"
- Open.TextColor3 = Color3.fromRGB(250, 0, 0)
- Open.TextScaled = true
- Open.MouseButton1Down:Connect(function()
- FightingGui.Enabled = true
- end)
- Close.Name = "Close"
- Close.Parent = main
- Close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- Close.Position = UDim2.new(1, 0, -0.001, 0)
- Close.Size = UDim2.new(0, 30, 0, 30)
- Close.Font = Enum.Font.FredokaOne
- Close.Text = "X"
- Close.TextColor3 = Color3.fromRGB(0, 0, 0)
- Close.TextScaled = true
- Close.MouseButton1Down:Connect(function()
- FightingGui.Enabled = false
- end)
- UICorner_4.Parent = Close
- main.Parent = FightingGui
- main.Active = true
- main.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
- main.Position = UDim2.new(0.259, 0, 0.237, 0)
- main.Size = UDim2.new(0, 127, 0, 111)
- main.Draggable = true
- UICorner.Parent = main
- Cre.Name = "Cre"
- Cre.Parent = main
- Cre.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
- Cre.Position = UDim2.new(0, 0, -0.019, 0)
- Cre.Size = UDim2.new(0, 127, 0, 16)
- Cre.Font = Enum.Font.FredokaOne
- Cre.Text = "Script made by WarriorRoberr"
- Cre.TextColor3 = Color3.fromRGB(0, 0, 0)
- Cre.TextScaled = true
- UICorner_2.Parent = Cre
- UICorner_3.Parent = HitBox
- HitBox.Name = "HitBox"
- HitBox.Parent = main
- HitBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- HitBox.Position = UDim2.new(0.113, 0, 0.127, 0)
- HitBox.Size = UDim2.new(0, 103, 0, 79)
- HitBox.Font = Enum.Font.FredokaOne
- HitBox.PlaceholderText = "Put Number Here"
- HitBox.Text = ""
- HitBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- HitBox.TextScaled = true
- game:GetService('RunService').RenderStepped:Connect(function()
- for _, player in ipairs(game:GetService('Players'):GetPlayers()) do
- if player ~= game.Players.LocalPlayer then
- local localPlayerTeam = game.Players.LocalPlayer.Team
- local otherPlayerTeam = player.Team
- -- Apply only to opponents
- if otherPlayerTeam ~= localPlayerTeam then
- local character = player.Character
- if character and character:FindFirstChild("HumanoidRootPart") then
- local hrp = character.HumanoidRootPart
- hrp.Size = Vector3.new(tonumber(HitBox.Text) or 1, tonumber(HitBox.Text) or 1, tonumber(HitBox.Text) or 1)
- hrp.Transparency = 0.9
- hrp.Color = Color3.new(
- tonumber(Red.Text) or 0,
- tonumber(Green.Text) or 0,
- tonumber(Blue.Text) or 0
- )
- hrp.Material = Enum.Material.Neon
- hrp.CanCollide = false
- end
- else
- -- Optional reset for teammates
- local character = player.Character
- if character and character:FindFirstChild("HumanoidRootPart") then
- local hrp = character.HumanoidRootPart
- hrp.Size = Vector3.new(2, 2, 1) -- Default size
- hrp.Transparency = 0
- hrp.Material = Enum.Material.Plastic
- hrp.CanCollide = true
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement