in scripts1 file
loadstring(game:HttpGet("https://pasteblox.com/raw/gaeuly/emisif"))()pbx pull a9tg735mxcraw link never changes · v1 live
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui")
local LocalPlayer = Players.LocalPlayer
local TargetParent = (typeof(gethui) == "function" and gethui()) or CoreGui or LocalPlayer:WaitForChild("PlayerGui")
local OldGui = TargetParent:FindFirstChild("DiamondHubX")
if OldGui then OldGui:Destroy() end
local FontExtraBold = Font.new("rbxasset://fonts/families/GothamSSm.json", Enum.FontWeight.ExtraBold, Enum.FontStyle.Normal)
local FontBold = Font.new("rbxasset://fonts/families/GothamSSm.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)
local NeonHeaderGrad = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(22, 45, 24)),
ColorSequenceKeypoint.new(0.45, Color3.fromRGB(45, 175, 50)),
ColorSequenceKeypoint.new(0.65, Color3.fromRGB(58, 255, 55)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(16, 65, 18))
})
local NeonButtonGrad = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(160, 255, 160)),
ColorSequenceKeypoint.new(0.08, Color3.fromRGB(58, 255, 55)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(18, 115, 12))
})
local DarkButtonGrad = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(75, 80, 88)),
ColorSequenceKeypoint.new(0.08, Color3.fromRGB(45, 48, 55)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(22, 24, 28))
})
local RowPlateGrad = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(68, 74, 82)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(38, 42, 48)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(24, 26, 30))
})
local RowActiveGrad = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 85, 45)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(24, 52, 26)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(14, 30, 16))
})
local TextShineGrad = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)),
ColorSequenceKeypoint.new(0.48, Color3.fromRGB(255, 255, 255)),
ColorSequenceKeypoint.new(0.52, Color3.fromRGB(215, 215, 215)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(235, 235, 235))
})
local State = {
Active = false,
Mode = "Teleport",
Collected = 0,
Cooldown = 0.15,
WalkSpeed = 22
}
local CurrentMode = "Teleport"
local IsMenuOpen = false
local OptionCards = {}
local CollectedSet = {}
local function Tween(obj, props, duration, style, dir)
local t = TweenService:Create(obj, TweenInfo.new(duration or 0.18, style or Enum.EasingStyle.Quint, dir or Enum.EasingDirection.Out), props)
t:Play()
return t
end
local function AddStroke(parent, thickness, color, trans, mode)
local stroke = Instance.new("UIStroke")
stroke.Thickness = thickness or 1.8
stroke.Color = color or Color3.fromRGB(0, 0, 0)
stroke.Transparency = trans or 0
stroke.ApplyStrokeMode = mode or Enum.ApplyStrokeMode.Border
stroke.LineJoinMode = Enum.LineJoinMode.Round
stroke.Parent = parent
return stroke
end
local function StyleText(label, useShine)
AddStroke(label, 1.6, Color3.fromRGB(0, 0, 0), 0, Enum.ApplyStrokeMode.Contextual)
if useShine then
local grad = Instance.new("UIGradient")
grad.Color = TextShineGrad
grad.Rotation = 90
grad.Parent = label
end
end
local function AddScaleFeedback(btn, hoverScale, pressScale)
local scale = Instance.new("UIScale")
scale.Parent = btn
local hovering = false
btn.MouseEnter:Connect(function()
hovering = true
Tween(scale, {Scale = hoverScale or 1.035}, 0.1, Enum.EasingStyle.Quad)
end)
btn.MouseLeave:Connect(function()
hovering = false
Tween(scale, {Scale = 1}, 0.1, Enum.EasingStyle.Quad)
end)
btn.MouseButton1Down:Connect(function()
Tween(scale, {Scale = pressScale or 0.95}, 0.055, Enum.EasingStyle.Quad)
end)
btn.MouseButton1Up:Connect(function()
Tween(scale, {Scale = hovering and (hoverScale or 1.035) or 1}, 0.08, Enum.EasingStyle.Quad)
end)
return scale
end
local function GetCharacter()
local char = LocalPlayer.Character
if not char then return nil, nil, nil end
return char, char:FindFirstChild("HumanoidRootPart"), char:FindFirstChildOfClass("Humanoid")
end
local function IsValidDiamond(giver)
if not giver or giver.Name ~= "CoinGiver" then return false end
if not giver.Parent or giver.Parent ~= workspace then return false end
local diamond = giver:FindFirstChild("Diamond")
if not diamond then return false end
if diamond.Transparency >= 0.99 then return false end
return true
end
local function CollectGivers()
local list = {}
for _, obj in ipairs(workspace:GetChildren()) do
if obj.Name == "CoinGiver" and obj:IsA("BasePart") then
if IsValidDiamond(obj) then
table.insert(list, obj)
end
end
end
return list
end
local function TeleportTo(pos)
local char, hrp = GetCharacter()
if not char or not hrp then return false end
hrp.CFrame = CFrame.new(pos + Vector3.new(0, 3.2, 0))
return true
end
local function TweenTo(pos)
local char, hrp = GetCharacter()
if not char or not hrp then return false end
local target = CFrame.new(pos + Vector3.new(0, 3.2, 0))
local distance = (hrp.Position - target.Position).Magnitude
local duration = math.clamp(distance / 250, 0.08, 0.25)
local tw = TweenService:Create(hrp, TweenInfo.new(duration, Enum.EasingStyle.Linear), {CFrame = target})
tw:Play()
tw.Completed:Wait()
return true
end
local function NearestFirst(list, origin)
table.sort(list, function(a, b)
local da = (a.Position - origin).Magnitude
local db = (b.Position - origin).Magnitude
return da < db
end)
return list
end
local StatusLabelRef = nil
local CountLabelRef = nil
local ToggleBtnRef = nil
local function UpdateUI()
if CountLabelRef then
CountLabelRef.Text = "Collected: " .. tostring(State.Collected)
end
if StatusLabelRef then
if State.Active then
StatusLabelRef.Text = "STATUS: ACTIVE"
StatusLabelRef.TextColor3 = Color3.fromRGB(58, 255, 55)
else
StatusLabelRef.Text = "STATUS: IDLE"
StatusLabelRef.TextColor3 = Color3.fromRGB(255, 215, 74)
end
end
if ToggleBtnRef then
ToggleBtnRef.Text = State.Active and "STOP AUTO" or "START AUTO"
ToggleBtnRef.BackgroundColor3 = State.Active and Color3.fromRGB(180, 45, 45) or Color3.fromRGB(18, 115, 12)
end
end
local function RunLoop()
if State.Active then return end
State.Active = true
UpdateUI()
task.spawn(function()
while State.Active do
local char, hrp, hum = GetCharacter()
if not char or not hrp or not hum or hum.Health <= 0 then
task.wait(0.5)
else
local list = CollectGivers()
if #list == 0 then
task.wait(0.6)
else
list = NearestFirst(list, hrp.Position)
local target = list[1]
if not target then
task.wait(0.1)
else
local key = target:GetFullName() .. "_" .. string.format("%.1f_%.1f_%.1f", target.Position.X, target.Position.Y, target.Position.Z)
if CollectedSet[key] then
task.wait(0.05)
else
if State.Mode == "Teleport" then
TeleportTo(target.Position)
task.wait(State.Cooldown)
else
TweenTo(target.Position)
task.wait(0.05)
end
CollectedSet[key] = true
State.Collected = State.Collected + 1
UpdateUI()
task.wait(0.05)
end
end
end
end
task.wait(0.02)
end
end)
end
local function StopLoop()
State.Active = false
UpdateUI()
local _, hrp, hum = GetCharacter()
if hrp and hum then
hum:MoveTo(hrp.Position)
end
end
local Screen = Instance.new("ScreenGui")
Screen.Name = "DiamondHubX"
Screen.ResetOnSpawn = false
Screen.IgnoreGuiInset = true
Screen.DisplayOrder = 999
Screen.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Screen.Parent = TargetParent
local MainWrapper = Instance.new("Frame")
MainWrapper.Name = "Wrapper"
MainWrapper.AnchorPoint = Vector2.new(1, 0)
MainWrapper.Position = UDim2.new(0.98, 0, 0.15, 0)
MainWrapper.Size = UDim2.fromOffset(270, 268)
MainWrapper.BackgroundTransparency = 1
MainWrapper.Visible = false
MainWrapper.Parent = Screen
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.fromScale(1, 1)
MainFrame.BackgroundColor3 = Color3.fromRGB(8, 10, 10)
MainFrame.BackgroundTransparency = 0.28
MainFrame.BorderSizePixel = 0
MainFrame.ClipsDescendants = true
MainFrame.ZIndex = 2
MainFrame.Parent = MainWrapper
AddStroke(MainFrame, 2.2, Color3.fromRGB(0, 0, 0), 0)
local GridTexture = Instance.new("ImageLabel")
GridTexture.Name = "GridTexture"
GridTexture.Size = UDim2.fromScale(1, 1)
GridTexture.BackgroundTransparency = 1
GridTexture.Image = "rbxassetid://6372755229"
GridTexture.ImageColor3 = Color3.fromRGB(58, 255, 55)
GridTexture.ImageTransparency = 0.93
GridTexture.ScaleType = Enum.ScaleType.Tile
GridTexture.TileSize = UDim2.fromOffset(24, 24)
GridTexture.ZIndex = 2
GridTexture.Parent = MainFrame
local TopBar = Instance.new("Frame")
TopBar.Name = "Top"
TopBar.Size = UDim2.new(1, 0, 0, 36)
TopBar.BackgroundColor3 = Color3.fromRGB(8, 38, 10)
TopBar.BorderSizePixel = 0
TopBar.Active = true
TopBar.ZIndex = 5
TopBar.Parent = MainFrame
AddStroke(TopBar, 1.8, Color3.fromRGB(0, 0, 0), 0)
local TopColor = Instance.new("Frame")
TopColor.Name = "Color"
TopColor.AnchorPoint = Vector2.new(0.5, 0)lines 1–300 of 865open raw find-in-page only searches the lines loaded so far. "show all" loads the rest.