Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not game:IsLoaded() then
- game.Loaded:Wait()
- end
- local lcpl = game:GetService("Players").LocalPlayer
- local correct_key = "dhnb666"
- local user_key = vision_key or ""
- if user_key ~= correct_key then
- lcpl:Kick("[蛋黄]\n错误的卡密 , 请重试")
- return
- end
- local function modifyPrompt(prompt)
- if prompt:IsA("ProximityPrompt") then
- prompt.HoldDuration = 0
- prompt.ClickablePrompt = true
- end
- end
- for _, prompt in ipairs(workspace:GetDescendants()) do
- modifyPrompt(prompt)
- end
- workspace.DescendantAdded:Connect(function(instance)
- modifyPrompt(instance)
- end)
- local textToDisplay = "蛋皇快速互动"
- local fontSize = 30
- local colors = {
- Color3.fromRGB(255, 0, 0),
- Color3.fromRGB(0, 255, 0),
- Color3.fromRGB(0, 0, 255),
- Color3.fromRGB(255, 255, 0),
- Color3.fromRGB(0, 255, 255),
- Color3.fromRGB(255, 0, 255)
- }
- local currentColorIndex = 1
- local colorChangeInterval = 1
- local timer = 0
- local screenGui = Instance.new("ScreenGui")
- screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- local textLabel = Instance.new("TextLabel")
- textLabel.Position = UDim2.new(0.5, 0, 0.1, 0)
- textLabel.Size = UDim2.new(0, 0, 0, fontSize)
- textLabel.BackgroundTransparency = 1
- textLabel.Text = textToDisplay
- textLabel.Font = Enum.Font.SourceSansBold
- textLabel.TextSize = fontSize
- textLabel.TextColor3 = colors[currentColorIndex]
- textLabel.Parent = screenGui
- game:GetService("RunService").Heartbeat:Connect(function(dt)
- timer = timer + dt
- if timer >= colorChangeInterval then
- currentColorIndex = currentColorIndex + 1
- if currentColorIndex > #colors then
- currentColorIndex = 1
- end
- textLabel.TextColor3 = colors[currentColorIndex]
- timer = 0
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement