Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- =====================================================
- -- AUTO MUSIC SECTION
- -- Auto play, manual loop, print on every loop
- -- =====================================================
- local SoundService = game:GetService("SoundService")
- -- Prevent duplicate sounds
- if SoundService:FindFirstChild("AutoMusic") then
- SoundService.AutoMusic:Destroy()
- end
- -- Initial print
- print("Never Gonna Give You Up")
- local sound = Instance.new("Sound")
- sound.Name = "AutoMusic"
- sound.SoundId = "rbxassetid://118759837130012"
- sound.Volume = 1
- sound.Looped = false -- manual loop to detect Ended
- sound.Parent = SoundService
- sound.Ended:Connect(function()
- print("Never Gonna Give You Up")
- sound:Play()
- end)
- sound:Play()
- -- =====================================================
- -- AUTO CHAT SECTION (VISIBLE TO OTHER PLAYERS)
- -- =====================================================
- local Players = game:GetService("Players")
- local TextChatService = game:GetService("TextChatService")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local CHAT_MESSAGE = "Never Gonna Give You Up"
- local CHAT_DELAY = 1
- task.spawn(function()
- while true do
- task.wait(CHAT_DELAY)
- -- New chat system
- if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
- local channels = TextChatService:FindFirstChild("TextChannels")
- local general = channels and channels:FindFirstChild("RBXGeneral")
- if general then
- general:SendAsync(CHAT_MESSAGE)
- end
- else
- -- Old chat system
- local sayEvent = ReplicatedStorage:FindFirstChild("SayMessageRequest")
- if sayEvent then
- sayEvent:FireServer(CHAT_MESSAGE, "All")
- end
- end
- end
- end)
- -- =====================================================
- -- VISUAL OVERRIDE / TROLL SECTION
- -- =====================================================
- local imageAssetId = "rbxassetid://8423195710"
- local faces = {
- Enum.NormalId.Front,
- Enum.NormalId.Back,
- Enum.NormalId.Left,
- Enum.NormalId.Right,
- Enum.NormalId.Top,
- Enum.NormalId.Bottom
- }
- -- Replace images inside ScreenGuis
- local function replaceGuiImages(container)
- for _, obj in ipairs(container:GetDescendants()) do
- if obj:IsA("ImageLabel") or obj:IsA("ImageButton") then
- obj.Image = imageAssetId
- end
- end
- end
- -- Replace all visible text
- local function replaceAllText()
- for _, obj in ipairs(game:GetDescendants()) do
- if (obj:IsA("TextLabel") or obj:IsA("TextButton") or obj:IsA("TextBox"))
- and not obj:GetFullName():find("ChatChannelParentFrame") then
- if obj.Text ~= "" then
- obj.Text = "Never Gonna Give You Up"
- end
- obj:GetPropertyChangedSignal("Text"):Connect(function()
- if obj.Text ~= "" then
- obj.Text = "Never Gonna Let You Down"
- end
- end)
- end
- end
- end
- -- =====================================================
- -- MAIN LOOP
- -- =====================================================
- while true do
- -- Workspace parts and meshes
- for _, obj in ipairs(workspace:GetDescendants()) do
- -- Normal Parts: apply decals on all 6 faces
- if obj:IsA("BasePart") and not obj:IsA("MeshPart") then
- local existingFaces = {}
- for _, child in ipairs(obj:GetChildren()) do
- if child:IsA("Decal") then
- child.Texture = imageAssetId
- existingFaces[child.Face] = true
- end
- end
- for _, face in ipairs(faces) do
- if not existingFaces[face] then
- local decal = Instance.new("Decal")
- decal.Texture = imageAssetId
- decal.Face = face
- decal.Parent = obj
- end
- end
- end
- -- MeshPart texture
- if obj:IsA("MeshPart") then
- obj.TextureID = imageAssetId
- end
- -- SpecialMesh texture
- if obj:IsA("SpecialMesh") then
- obj.TextureId = imageAssetId
- end
- -- Decals and textures
- if obj:IsA("Decal") or obj:IsA("Texture") then
- obj.Texture = imageAssetId
- end
- end
- -- Replace skybox
- local Lighting = game:GetService("Lighting")
- local sky = Lighting:FindFirstChildOfClass("Sky")
- if sky then
- sky.SkyboxBk = imageAssetId
- sky.SkyboxDn = imageAssetId
- sky.SkyboxFt = imageAssetId
- sky.SkyboxLf = imageAssetId
- sky.SkyboxRt = imageAssetId
- sky.SkyboxUp = imageAssetId
- end
- -- GUI images
- for _, gui in ipairs(game:GetDescendants()) do
- if gui:IsA("ScreenGui") then
- replaceGuiImages(gui)
- end
- end
- -- GUI text
- replaceAllText()
- task.wait(0.6)
- end
Advertisement
Add Comment
Please, Sign In to add comment