Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Load Orion Library
- local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
- -- Variables
- local ESPEnabled = true
- local ESPColor = Color3.fromRGB(255, 182, 193) -- Pastel Pink color
- local ESPOutlineColor = Color3.fromRGB(238, 174, 202) -- Pastel Pink outline
- local ESPGlowColor = Color3.fromRGB(255, 209, 220) -- Light pastel pink glow
- local RunService = game:GetService("RunService")
- local Camera = workspace.CurrentCamera
- local UserInputService = game:GetService("UserInputService")
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local ESPObjects = {}
- -- Function to create a soft neon glow effect
- local function CreateGlowEffect(espObject, color)
- espObject.GlowLayers = {}
- for i = 1, 6 do
- local GlowText = Drawing.new("Text")
- GlowText.Size = espObject.MainText.Size + i * 2
- GlowText.Center = true
- GlowText.Outline = false
- GlowText.Color = color
- GlowText.Transparency = 0.1 / i -- Creates a soft, fading glow
- GlowText.Visible = false
- table.insert(espObject.GlowLayers, GlowText)
- -- Updating glow each frame
- RunService.RenderStepped:Connect(function()
- if ESPEnabled and espObject.MainText.Visible then
- GlowText.Position = espObject.MainText.Position
- GlowText.Text = espObject.MainText.Text
- GlowText.Visible = true
- else
- GlowText.Visible = false
- end
- end)
- end
- end
- -- Function to create ESP for a specific item named "cardScanner"
- local function CreateESPForItem(item)
- local ItemESP = {}
- -- Main Text Layer (Pastel Neon)
- ItemESP.MainText = Drawing.new("Text")
- ItemESP.MainText.Size = 20
- ItemESP.MainText.Center = true
- ItemESP.MainText.Outline = true
- ItemESP.MainText.Color = ESPColor
- ItemESP.MainText.Visible = false
- -- Reflection Shine Effect (Moving Highlight)
- ItemESP.ReflectionText = Drawing.new("Text")
- ItemESP.ReflectionText.Size = 20
- ItemESP.ReflectionText.Center = true
- ItemESP.ReflectionText.Outline = false
- ItemESP.ReflectionText.Color = Color3.new(1, 1, 1) -- White for reflective shine
- ItemESP.ReflectionText.Transparency = 0.5 -- Semi-transparent for gloss effect
- ItemESP.ReflectionText.Visible = false
- -- Soft Colored Outline
- ItemESP.SoftOutline = Drawing.new("Text")
- ItemESP.SoftOutline.Size = 22
- ItemESP.SoftOutline.Center = true
- ItemESP.SoftOutline.Outline = false
- ItemESP.SoftOutline.Color = ESPOutlineColor
- ItemESP.SoftOutline.Transparency = 0.8
- ItemESP.SoftOutline.Visible = false
- -- Animated Gradient Background Box
- ItemESP.BackgroundBox = Drawing.new("Square")
- ItemESP.BackgroundBox.Size = Vector2.new(200, 50) -- Size of the background box
- ItemESP.BackgroundBox.Filled = true
- ItemESP.BackgroundBox.Transparency = 0.4 -- Semi-transparent
- ItemESP.BackgroundBox.Color = Color3.fromRGB(250, 214, 255) -- Start with light pastel purple
- ItemESP.BackgroundBox.Visible = false
- ESPObjects[item] = ItemESP
- -- Create Soft Neon Glow Effect
- CreateGlowEffect(ItemESP, ESPGlowColor) -- Pastel Pink glow
- -- Pulsing Animation Variables
- local pulseDirection = 1
- local pulseScale = 0
- -- Update ESP each frame
- local animationTime = 0 -- Used for animating the reflective shine
- local colorCycleTime = 0 -- Used for color cycling
- RunService.RenderStepped:Connect(function()
- if item:IsDescendantOf(workspace) and ESPEnabled then
- local ItemPos, OnScreen = Camera:WorldToViewportPoint(item.Position)
- local Distance = (Camera.CFrame.Position - item.Position).Magnitude
- if OnScreen then
- -- Pulsing Animation
- pulseScale = pulseScale + pulseDirection * 0.005
- if pulseScale > 0.1 or pulseScale < 0 then
- pulseDirection = -pulseDirection
- end
- -- Position the background box
- ItemESP.BackgroundBox.Position = Vector2.new(ItemPos.X - 100, ItemPos.Y - 25)
- ItemESP.BackgroundBox.Visible = true
- -- Position the soft outline
- ItemESP.SoftOutline.Position = Vector2.new(ItemPos.X, ItemPos.Y)
- ItemESP.SoftOutline.Text = "cardScanner [" .. math.floor(Distance) .. "m]"
- ItemESP.SoftOutline.Size = 18 * (1 + pulseScale) -- Apply pulsing effect
- ItemESP.SoftOutline.Visible = true
- -- Position the main text
- ItemESP.MainText.Position = Vector2.new(ItemPos.X, ItemPos.Y)
- ItemESP.MainText.Text = ItemESP.SoftOutline.Text
- ItemESP.MainText.Size = 18 * (1 + pulseScale) -- Apply pulsing effect
- ItemESP.MainText.Visible = true
- -- Position the reflection shine
- ItemESP.ReflectionText.Position = Vector2.new(ItemPos.X + 5, ItemPos.Y - 5)
- ItemESP.ReflectionText.Text = ItemESP.MainText.Text
- ItemESP.ReflectionText.Size = ItemESP.MainText.Size
- ItemESP.ReflectionText.Visible = true
- -- Animate Background Box Color
- colorCycleTime = colorCycleTime + RunService.RenderStepped:Wait()
- local hue = colorCycleTime % 1
- ItemESP.BackgroundBox.Color = Color3.fromHSV(hue, 0.4, 1) -- Soft pastel gradient animation
- -- Interactive Element (Click to Reveal)
- if Mouse.X >= ItemPos.X - 100 and Mouse.X <= ItemPos.X + 100 and Mouse.Y >= ItemPos.Y - 25 and Mouse.Y <= ItemPos.Y + 25 then
- if UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
- print("Clicked on ESP for cardScanner: " .. item.Name)
- -- Add additional actions here, like revealing more information
- end
- end
- else
- ItemESP.MainText.Visible = false
- ItemESP.ReflectionText.Visible = false
- ItemESP.SoftOutline.Visible = false
- ItemESP.BackgroundBox.Visible = false
- for _, glow in pairs(ItemESP.GlowLayers) do
- glow.Visible = false
- end
- end
- else
- ItemESP.MainText.Visible = false
- ItemESP.ReflectionText.Visible = false
- ItemESP.SoftOutline.Visible = false
- ItemESP.BackgroundBox.Visible = false
- for _, glow in pairs(ItemESP.GlowLayers) do
- glow.Visible = false
- end
- end
- end)
- end
- -- Initialize ESP for all objects named "cardScanner" in the game
- local function InitializeESP()
- for _, item in ipairs(workspace:GetDescendants()) do
- if item:IsA("BasePart") and item.Name == "cardScanner" then
- CreateESPForItem(item)
- end
- end
- end
- -- Handle new "cardScanner" objects
- workspace.DescendantAdded:Connect(function(item)
- if item:IsA("BasePart") and item.Name == "cardScanner" then
- CreateESPForItem(item)
- end
- end)
- -- Handle objects being removed
- workspace.DescendantRemoving:Connect(function(item)
- if ESPObjects[item] then
- ESPObjects[item].MainText:Remove()
- ESPObjects[item].ReflectionText:Remove()
- ESPObjects[item].SoftOutline:Remove()
- ESPObjects[item].BackgroundBox:Remove()
- for _, glow in pairs(ESPObjects[item].GlowLayers) do
- glow:Remove()
- end
- ESPObjects[item] = nil
- end
- end)
- -- Initialize the ESP when the script runs
- InitializeESP()
- -- Orion UI Library Configuration
- local Window = OrionLib:MakeWindow({Name = "ESP Script", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
- local ESPTab = Window:MakeTab({
- Name = "ESP Settings",
- Icon = "rbxassetid://4483345998",
- PremiumOnly = false
- })
- ESPTab:AddToggle({
- Name = "Enable ESP",
- Default = ESPEnabled,
- Callback = function(Value)
- ESPEnabled = Value
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement