Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Services
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local LocalPlayer = Players.LocalPlayer
- -- Create the ScreenGui with modern properties
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game.CoreGui
- ScreenGui.Name = "NeonGamingUI"
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Global
- ScreenGui.ResetOnSpawn = false
- -- Main Frame with advanced styling
- local MainFrame = Instance.new("Frame")
- MainFrame.Parent = ScreenGui
- MainFrame.Size = UDim2.new(0, 350, 0, 200)
- MainFrame.Position = UDim2.new(0.5, -175, 0.5, -100)
- MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
- MainFrame.BackgroundTransparency = 0.15
- MainFrame.BorderSizePixel = 0
- MainFrame.Draggable = true
- MainFrame.Active = true
- -- Modern squircle shape with dynamic glow
- local UICorner = Instance.new("UICorner")
- UICorner.Parent = MainFrame
- UICorner.CornerRadius = UDim.new(0, 12)
- -- Neon border effect
- local FrameGlow = Instance.new("UIStroke")
- FrameGlow.Parent = MainFrame
- FrameGlow.Color = Color3.fromRGB(100, 200, 255)
- FrameGlow.Thickness = 2
- FrameGlow.Transparency = 0.3
- FrameGlow.LineJoinMode = Enum.LineJoinMode.Round
- -- Pulsing glow animation
- coroutine.wrap(function()
- while true do
- for i = 0, 1, 0.05 do
- FrameGlow.Transparency = 0.3 + (i * 0.3)
- RunService.RenderStepped:Wait()
- end
- for i = 1, 0, -0.05 do
- FrameGlow.Transparency = 0.3 + (i * 0.3)
- RunService.RenderStepped:Wait()
- end
- end
- end)()
- -- Title Bar with gradient
- local TitleBar = Instance.new("Frame")
- TitleBar.Parent = MainFrame
- TitleBar.Size = UDim2.new(1, 0, 0, 30)
- TitleBar.BackgroundColor3 = Color3.fromRGB(40, 40, 60)
- TitleBar.BorderSizePixel = 0
- local TitleGradient = Instance.new("UIGradient")
- TitleGradient.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Color3.fromRGB(80, 120, 200)),
- ColorSequenceKeypoint.new(1, Color3.fromRGB(100, 70, 180))
- })
- TitleGradient.Rotation = 90
- TitleGradient.Parent = TitleBar
- -- Title Label with neon text effect
- local TitleLabel = Instance.new("TextLabel")
- TitleLabel.Parent = TitleBar
- TitleLabel.Size = UDim2.new(0, 150, 1, 0)
- TitleLabel.Position = UDim2.new(0, 10, 0, 0)
- TitleLabel.Text = "✨ اغتصاب الاعب من طيزه | V1.0✨"
- TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TitleLabel.BackgroundTransparency = 1
- TitleLabel.Font = Enum.Font.GothamBold
- TitleLabel.TextSize = 16
- TitleLabel.TextStrokeColor3 = Color3.fromRGB(100, 200, 255)
- TitleLabel.TextStrokeTransparency = 0.7
- -- Close Button with hover effects
- local CloseButton = Instance.new("TextButton")
- CloseButton.Parent = TitleBar
- CloseButton.Size = UDim2.new(0, 30, 1, 0)
- CloseButton.Position = UDim2.new(1, -30, 0, 0)
- CloseButton.Text = "X"
- CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CloseButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
- CloseButton.BackgroundTransparency = 0.7
- CloseButton.Font = Enum.Font.GothamBold
- CloseButton.TextSize = 16
- CloseButton.BorderSizePixel = 0
- local CloseCorner = Instance.new("UICorner")
- CloseCorner.Parent = CloseButton
- CloseCorner.CornerRadius = UDim.new(0, 6)
- local CloseGlow = Instance.new("UIStroke")
- CloseGlow.Parent = CloseButton
- CloseGlow.Color = Color3.fromRGB(255, 120, 120)
- CloseGlow.Thickness = 1.5
- CloseGlow.Transparency = 0.3
- -- Minimize Button with modern style
- local MinimizeButton = Instance.new("TextButton")
- MinimizeButton.Parent = TitleBar
- MinimizeButton.Size = UDim2.new(0, 30, 1, 0)
- MinimizeButton.Position = UDim2.new(1, -70, 0, 0)
- MinimizeButton.Text = "-"
- MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- MinimizeButton.BackgroundColor3 = Color3.fromRGB(100, 100, 180)
- MinimizeButton.BackgroundTransparency = 0.7
- MinimizeButton.Font = Enum.Font.GothamBold
- MinimizeButton.TextSize = 18
- MinimizeButton.BorderSizePixel = 0
- local MinimizeCorner = Instance.new("UICorner")
- MinimizeCorner.Parent = MinimizeButton
- MinimizeCorner.CornerRadius = UDim.new(0, 6)
- local MinimizeGlow = Instance.new("UIStroke")
- MinimizeGlow.Parent = MinimizeButton
- MinimizeGlow.Color = Color3.fromRGB(150, 150, 255)
- MinimizeGlow.Thickness = 1.5
- MinimizeGlow.Transparency = 0.3
- -- Target TextBox with modern styling
- local TargetTextBox = Instance.new("TextBox")
- TargetTextBox.Parent = MainFrame
- TargetTextBox.Size = UDim2.new(0.9, 0, 0, 35)
- TargetTextBox.Position = UDim2.new(0.05, 0, 0.25, 0)
- TargetTextBox.PlaceholderText = "حط اسم الاعب هون 😉✌️"
- TargetTextBox.Text = ""
- TargetTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TargetTextBox.BackgroundColor3 = Color3.fromRGB(40, 40, 60)
- TargetTextBox.BackgroundTransparency = 0.7
- TargetTextBox.Font = Enum.Font.Gotham
- TargetTextBox.TextSize = 14
- TargetTextBox.ClearTextOnFocus = false
- TargetTextBox.BorderSizePixel = 0
- local TextBoxCorner = Instance.new("UICorner")
- TextBoxCorner.Parent = TargetTextBox
- TextBoxCorner.CornerRadius = UDim.new(0, 8)
- local TextBoxGlow = Instance.new("UIStroke")
- TextBoxGlow.Parent = TargetTextBox
- TextBoxGlow.Color = Color3.fromRGB(100, 180, 255)
- TextBoxGlow.Thickness = 1
- TextBoxGlow.Transparency = 0.5
- -- Toggle Button with advanced effects
- local ToggleButton = Instance.new("TextButton")
- ToggleButton.Parent = MainFrame
- ToggleButton.Size = UDim2.new(0.9, 0, 0, 40)
- ToggleButton.Position = UDim2.new(0.05, 0, 0.55, 0)
- ToggleButton.Text = "اغتصب"
- ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- ToggleButton.BackgroundColor3 = Color3.fromRGB(80, 160, 220)
- ToggleButton.BackgroundTransparency = 0.7
- ToggleButton.Font = Enum.Font.GothamBold
- ToggleButton.TextSize = 16
- ToggleButton.BorderSizePixel = 0
- local ToggleCorner = Instance.new("UICorner")
- ToggleCorner.Parent = ToggleButton
- ToggleCorner.CornerRadius = UDim.new(0, 8)
- local ToggleGlow = Instance.new("UIStroke")
- ToggleGlow.Parent = ToggleButton
- ToggleGlow.Color = Color3.fromRGB(100, 200, 255)
- ToggleGlow.Thickness = 2
- ToggleGlow.Transparency = 0.3
- -- Button animation function
- local function setupButtonAnimation(button)
- local originalSize = button.Size
- local originalPos = button.Position
- local originalTransparency = button.BackgroundTransparency
- local originalGlow = button.UIStroke.Transparency
- button.MouseEnter:Connect(function()
- TweenService:Create(button, TweenInfo.new(0.15), {
- Size = originalSize + UDim2.new(0, 5, 0, 5),
- Position = originalPos - UDim2.new(0, 2.5, 0, 2.5),
- BackgroundTransparency = originalTransparency - 0.1
- }):Play()
- TweenService:Create(button.UIStroke, TweenInfo.new(0.15), {
- Thickness = 2.5,
- Transparency = originalGlow - 0.2
- }):Play()
- end)
- button.MouseLeave:Connect(function()
- TweenService:Create(button, TweenInfo.new(0.2), {
- Size = originalSize,
- Position = originalPos,
- BackgroundTransparency = originalTransparency
- }):Play()
- TweenService:Create(button.UIStroke, TweenInfo.new(0.2), {
- Thickness = 2,
- Transparency = originalGlow
- }):Play()
- end)
- button.MouseButton1Down:Connect(function()
- TweenService:Create(button, TweenInfo.new(0.1), {
- Size = originalSize - UDim2.new(0, 2, 0, 2),
- Position = originalPos + UDim2.new(0, 1, 0, 1),
- BackgroundTransparency = originalTransparency - 0.15
- }):Play()
- end)
- button.MouseButton1Up:Connect(function()
- TweenService:Create(button, TweenInfo.new(0.15, Enum.EasingStyle.Back), {
- Size = originalSize,
- Position = originalPos,
- BackgroundTransparency = originalTransparency
- }):Play()
- end)
- end
- -- Apply animations to all buttons
- setupButtonAnimation(CloseButton)
- setupButtonAnimation(MinimizeButton)
- setupButtonAnimation(ToggleButton)
- -- TextBox focus effects
- TargetTextBox.Focused:Connect(function()
- TweenService:Create(TargetTextBox.UIStroke, TweenInfo.new(0.2), {
- Thickness = 2,
- Transparency = 0.2
- }):Play()
- end)
- TargetTextBox.FocusLost:Connect(function()
- TweenService:Create(TargetTextBox.UIStroke, TweenInfo.new(0.2), {
- Thickness = 1,
- Transparency = 0.5
- }):Play()
- end)
- -- Minimize functionality
- local minimized = false
- MinimizeButton.MouseButton1Click:Connect(function()
- minimized = not minimized
- if minimized then
- TweenService:Create(MainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back), {
- Size = UDim2.new(0, 350, 0, 30)
- }):Play()
- MinimizeButton.Text = "+"
- else
- TweenService:Create(MainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back), {
- Size = UDim2.new(0, 350, 0, 200)
- }):Play()
- MinimizeButton.Text = "─"
- end
- end)
- -- Close functionality
- CloseButton.MouseButton1Click:Connect(function()
- TweenService:Create(MainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back), {
- Size = UDim2.new(0, 0, 0, 0)
- }):Play()
- wait(0.3)
- ScreenGui:Destroy()
- end)
- -- Original functionality remains unchanged below this point
- local following = false
- local targetPlayer = nil
- local animationId = "10714068222"
- local activeAnimation
- ToggleButton.MouseButton1Click:Connect(function()
- if not following then
- -- Start following
- local targetName = TargetTextBox.Text:lower()
- targetPlayer = nil
- for _, player in pairs(Players:GetPlayers()) do
- if player.Name:lower():find(targetName) or player.DisplayName:lower():find(targetName) then
- targetPlayer = player
- break
- end
- end
- if targetPlayer and targetPlayer.Character then
- following = true
- ToggleButton.Text = "STOP"
- -- Play Animation
- local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
- if humanoid then
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://" .. animationId
- activeAnimation = humanoid:LoadAnimation(animation)
- activeAnimation:Play()
- activeAnimation:AdjustSpeed(2)
- end
- coroutine.wrap(function()
- local lastPosition = nil
- while following do
- local targetCharacter = targetPlayer.Character
- if targetCharacter and targetCharacter:FindFirstChild("HumanoidRootPart") then
- local targetHRP = targetCharacter.HumanoidRootPart
- local targetPosition = targetHRP.Position
- local targetLookVector = targetHRP.CFrame.LookVector
- -- Smoothly position character behind the target
- local forwardCFrame = targetHRP.CFrame * CFrame.new(0, 0, 1)
- local backwardCFrame = targetHRP.CFrame * CFrame.new(0, 0, 2.5)
- -- Forward motion
- local tweenForward = TweenService:Create(
- LocalPlayer.Character:FindFirstChild("HumanoidRootPart"),
- TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out),
- {CFrame = forwardCFrame}
- )
- tweenForward:Play()
- tweenForward.Completed:Wait()
- -- Backward motion
- local tweenBackward = TweenService:Create(
- LocalPlayer.Character:FindFirstChild("HumanoidRootPart"),
- TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out),
- {CFrame = backwardCFrame}
- )
- tweenBackward:Play()
- tweenBackward.Completed:Wait()
- -- Stop if target becomes invalid
- lastPosition = targetPosition
- else
- following = false
- ToggleButton.Text = "START"
- break
- end
- end
- end)()
- else
- print("Target not found!")
- end
- else
- -- Stop following
- following = false
- ToggleButton.Text = "START"
- -- Stop Animation
- if activeAnimation then
- activeAnimation:Stop()
- activeAnimation = nil
- end
- end
- end)
- -- Initial animation
- MainFrame.Size = UDim2.new(0, 0, 0, 0)
- TweenService:Create(MainFrame, TweenInfo.new(0.5, Enum.EasingStyle.Back), {
- Size = UDim2.new(0, 350, 0, 200)
- }):Play()
Advertisement
Add Comment
Please, Sign In to add comment