Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local Character = player.Character or player.CharacterAdded:Wait()
- local HMD = Character.HumanoidRootPart
- function GitAud(soundgit,filename)
- SoundName=tostring(SoundName)
- local url=soundgit
- local FileName = filename
- writefile(FileName..".mp3", game:HttpGet(url))
- return (getcustomasset or getsynasset)(FileName..".mp3")
- end
- function CustomGitSound(soundlink, vol, filename)
- local BGMusic = Instance.new("Sound")
- BGMusic.SoundId = GitAud(soundlink, filename)
- BGMusic.Parent =
- BGMusic.Volume = 2
- BGMusic.Name = "BGM_MUSIC"
- BGMusic.Looped = true
- BGMusic:Play()
- end
- CustomGitSound("https://github.com/Kotyara19k-Doorsspawner/Random-files/raw/main/y2meta.net_320kbps-the-goners-full-theme.mp3", 1, "GonerTheme1")
- function CreateControlsButton(parent)
- local button = Instance.new("TextButton")
- button.Name = "ControlsButton"
- button.Parent = parent
- button.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- button.BackgroundTransparency = 0.4
- button.Size = UDim2.new(0, 120, 0, 40)
- button.Position = UDim2.new(0, 10, 0, 10)
- button.Text = "Controls"
- button.FontFace = Font.new(
- "rbxasset://fonts/families/GothamSSm.json",
- Enum.FontWeight.Regular,
- Enum.FontStyle.Normal
- )
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.TextSize = 20
- button.AutoButtonColor = true
- button.BorderSizePixel = 0
- button.ZIndex = 2
- -- Окно контроля
- local frame = Instance.new("Frame")
- frame.Name = "ControlsFrame"
- frame.Parent = parent
- frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- frame.BackgroundTransparency = 0.3
- frame.Size = UDim2.new(0, 300, 0, 220)
- frame.Position = UDim2.new(0, 140, 0, 10)
- frame.Visible = false
- frame.BorderSizePixel = 0
- frame.ZIndex = 3
- local uiCorner = Instance.new("UICorner", frame)
- uiCorner.CornerRadius = UDim.new(0, 8)
- local label = Instance.new("TextLabel")
- label.Parent = frame
- label.Size = UDim2.new(1, -20, 0, 30)
- label.Position = UDim2.new(0, 10, 0, 5)
- label.BackgroundTransparency = 1
- label.Text = "Credits: GONER by PityPolygon (Reanimate by Genesis Fe)"
- label.FontFace = Font.new(
- "rbxasset://fonts/families/GothamSSm.json",
- Enum.FontWeight.Regular,
- Enum.FontStyle.Normal
- )
- label.TextColor3 = Color3.fromRGB(255, 255, 255)
- label.TextSize = 18
- label.TextXAlignment = Enum.TextXAlignment.Left
- label.ZIndex = 4
- local text = [[
- Mouse - Slash sword
- Z/X/C/V - Stand near foe to execute
- G - Shriek
- Q - Toggle submerge, cannot jump when submerged
- T/Y/U - Speak
- ]]
- local description = Instance.new("TextLabel")
- description.Parent = frame
- description.Size = UDim2.new(1, -20, 1, -50)
- description.Position = UDim2.new(0, 10, 0, 40)
- description.BackgroundTransparency = 1
- description.Text = text
- description.FontFace = Font.new(
- "rbxasset://fonts/families/GothamSSm.json",
- Enum.FontWeight.Regular,
- Enum.FontStyle.Normal
- )
- description.TextColor3 = Color3.fromRGB(255, 255, 255)
- description.TextSize = 16
- description.TextXAlignment = Enum.TextXAlignment.Left
- description.TextYAlignment = Enum.TextYAlignment.Top
- description.TextWrapped = true
- description.TextScaled = false
- description.TextTransparency = 0
- description.ZIndex = 4
- button.MouseButton1Click:Connect(function()
- frame.Visible = not frame.Visible
- end)
- return button
- end
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game:GetService("Players").LocalPlayer.PlayerGui
- CreateControlsButton(game.Players.LocalPlayer.PlayerGui.ScreenGui)
- local TweenService = game:GetService("TweenService")
- local Players = game:GetService("Players")
- local function spawnSlime(position)
- if not position then return end
- position = Vector3.new(position.X, 0, position.Z) -- Принудительно ставим на нужный уровень пола
- local puddle = Instance.new("Part")
- puddle.Name = "Gore"
- puddle.Size = Vector3.new(2, 0.001, 2) -- Начальный размер
- puddle.Anchored = true
- puddle.CanCollide = false
- puddle.Position = position + Vector3.new(0, 0.01, 0) -- Чуть выше, чтобы не проваливалась
- puddle.Transparency = 1
- puddle.Material = Enum.Material.Slate
- puddle.Parent = workspace
- local surfaceGui = Instance.new("SurfaceGui")
- surfaceGui.Name = "PuddleSurface"
- surfaceGui.Face = Enum.NormalId.Top
- surfaceGui.CanvasSize = Vector2.new(800, 600)
- surfaceGui.PixelsPerStud = 50
- surfaceGui.SizingMode = Enum.SurfaceGuiSizingMode.FixedSize
- surfaceGui.LightInfluence = 10
- surfaceGui.AlwaysOnTop = false
- surfaceGui.ClipsDescendants = true
- surfaceGui.Adornee = puddle
- surfaceGui.Parent = puddle
- local image = Instance.new("ImageLabel")
- image.Name = "Image"
- image.Size = UDim2.new(1, 0, 1, 0)
- image.BackgroundTransparency = 1
- image.Image = "rbxassetid://10886329076"
- image.ImageTransparency = 0.88
- image.ImageColor3 = Color3.new(0, 0, 0) -- Чёрный цвет
- image.Parent = surfaceGui
- -- Анимация роста
- local growTween = TweenService:Create(puddle, TweenInfo.new(1.20, Enum.EasingStyle.Linear), {
- Size = Vector3.new(10, 0.001, 10)
- })
- growTween:Play()
- -- Исчезновение через 15 секунд
- task.delay(5, function()
- local fadeTween = TweenService:Create(image, TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {
- ImageTransparency = 1
- })
- fadeTween:Play()
- game:GetService("Debris"):AddItem(puddle, 3)
- end)
- end
- local function startSlimeTrail(character)
- task.spawn(function()
- while character.Parent do -- Работает, пока персонаж жив
- local rightLegAcc = character:FindFirstChild("Accessory (RLeg)")
- local leftLegAcc = character:FindFirstChild("Accessory (LLeg)")
- if rightLegAcc and leftLegAcc then
- local rightLeg = rightLegAcc:FindFirstChild("Handle")
- local leftLeg = leftLegAcc:FindFirstChild("Handle")
- if rightLeg and leftLeg then
- local middlePoint = (rightLeg.Position + leftLeg.Position) / 2
- spawnSlime(middlePoint) -- Создаём лужу по центру между ногами
- end
- end
- task.wait(0.3) -- Интервал появления луж
- end
- end)
- end
- local function onPlayerAdded(player)
- local function onCharacterAdded(character)
- startSlimeTrail(character)
- end
- if player.Character then
- onCharacterAdded(player.Character)
- end
- player.CharacterAdded:Connect(onCharacterAdded)
- end
- local player = Players.LocalPlayer
- if player then
- onPlayerAdded(player)
- end
- local UserInputService = game:GetService("UserInputService")
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- -- Таблица звуков с привязкой к клавишам
- local soundsData = {
- T = "rbxassetid://2316600989",
- Y = "rbxassetid://2290634374",
- U = "rbxassetid://2291325961",
- G = "rbxassetid://2466752906" -- ID звука для крика
- }
- -- Эффект настройки
- local function addEffects(sound)
- local pitch = Instance.new("PitchShiftSoundEffect")
- pitch.Octave = 0.925
- pitch.Priority = 0
- pitch.Parent = sound
- local chorus = Instance.new("ChorusSoundEffect")
- chorus.Depth = 0.07
- chorus.Mix = 0.2
- chorus.Rate = 0.5
- chorus.Priority = 0
- chorus.Parent = sound
- end
- -- Создание звуков
- local soundObjects = {}
- for key, id in pairs(soundsData) do
- local sound = Instance.new("Sound")
- sound.Name = "SpeakSound_" .. key
- sound.SoundId = id
- sound.Volume = 6
- sound.Looped = false
- sound.PlayOnRemove = false
- sound.Parent = character
- addEffects(sound)
- soundObjects[key] = sound
- end
- -- Партиклы для крика
- local function createScreamParticles()
- local screamEffect = Instance.new("ParticleEmitter")
- -- Красный цвет для крика
- screamEffect.Color = ColorSequence.new(
- Color3.fromRGB(255, 0, 0), -- Красный цвет
- Color3.fromRGB(255, 0, 0) -- Также красный цвет для второго перехода
- )
- screamEffect.Texture = "rbxassetid://1084991215" -- ID партиклов для крика
- screamEffect.Lifetime = NumberRange.new(0.6, 0.6)
- screamEffect.Rate = 7
- -- Попробуем правильно настроить размер
- screamEffect.Size = NumberSequence.new(
- 5, -- Начальный размер
- 6, -- Начальный размер
- 7, -- Маленький размер частиц
- 8, -- Средний размер
- 9, -- Крупный размер
- 10, -- Еще больше
- 11, -- Финальный размер
- 12 -- Максимальный размер
- )
- screamEffect.Speed = NumberRange.new(0, 0)
- screamEffect.Rotation = NumberRange.new(-180, 180)
- screamEffect.Drag = NumberRange.new(0)
- -- Заменили NumberRange на NumberSequence для Transparency
- screamEffect.Transparency = NumberSequence.new(0, 0.5, 0, 1, 1, 0)
- -- Добавляем световой эффект для устранения черных квадратов0
- screamEffect.LightEmission = 100 -- Включаем свечение для улучшенной видимости
- screamEffect.LightInfluence = 1 -- Влияние света для партиклов
- screamEffect.Parent = workspace.npio444_1["Accessory (GonerHead)"].Handle
- screamEffect.ZOffset = 1
- end
- -- Обработка нажатий клавиш
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if gameProcessed then return end
- local key = input.KeyCode.Name
- local sound = soundObjects[key]
- if sound and not sound.IsPlaying then
- sound:Play()
- if key == "G" then
- -- Воспроизводим партиклы и эффект крика
- createScreamParticles()
- wait(2)
- workspace.npio444_1["Accessory (GonerHead)"].Handle.ParticleEmitter.Enabled = false
- wait(0.8)
- workspace.npio444_1["Accessory (GonerHead)"].Handle.ParticleEmitter:Destroy()
- -- Можно отправить запрос на сервер для убийства
- -- Для убийства можно создать RemoteEvent, который сработает на сервере
- end
- end
- end)
- while true do
- wait(2)
- workspace.npio444_1["Accessory (LArm)"].Handle.Color = Color3.new(0, 0, 0)
- workspace.npio444_1["Accessory (LArm)"].Handle.TextureID = ""
- workspace.npio444_1["Accessory (LArm)"].Handle.Material = "Slate"
- workspace.npio444_1["Accessory (Black)"].Handle.Color = Color3.new(0, 0, 0)
- workspace.npio444_1["Accessory (Black)"].Handle.TextureID = ""
- workspace.npio444_1["Accessory (Black)"].Handle.Material = "Slate"
- workspace.npio444_1["Accessory (RArm)"].Handle.Color = Color3.new(0, 0, 0)
- workspace.npio444_1["Accessory (RArm)"].Handle.TextureID = ""
- workspace.npio444_1["Accessory (RArm)"].Handle.Material = "Slate"
- workspace.npio444_1["Accessory (LLeg)"].Handle.Color = Color3.new(0, 0, 0)
- workspace.npio444_1["Accessory (LLeg)"].Handle.TextureID = ""
- workspace.npio444_1["Accessory (LLeg)"].Handle.Material = "Slate"
- workspace.npio444_1["Accessory (RLeg)"].Handle.Color = Color3.new(0, 0, 0)
- workspace.npio444_1["Accessory (RLeg)"].Handle.TextureID = ""
- workspace.npio444_1["Accessory (RLeg)"].Handle.Material = "Slate"
- workspace.npio444_1["Accessory (gonerswordAccessory)"].Handle.Color = Color3.new(0, 0, 0)
- workspace.npio444_1["Accessory (gonerswordAccessory)"].Handle.TextureID = ""
- workspace.npio444_1["Accessory (gonerswordAccessory)"].Handle.Material = "Slate"
- local accessories = {
- workspace.npio444_1["Accessory (RLeg)"],
- workspace.npio444_1["Accessory (LLeg)"],
- workspace.npio444_1["Accessory (RArm)"],
- workspace.npio444_1["Accessory (LArm)"],
- workspace.npio444_1["Accessory (Black)"],
- workspace.npio444_1["Accessory (gonerswordAccessory)"],
- workspace.npio444_1["Accessory (GonerHead)"],
- }
- for _, accessory in ipairs(accessories) do
- if accessory:FindFirstChild("Handle") then
- local handle = accessory.Handle
- if handle.Transparency > 0 then
- handle.Transparency = 0
- end
- end
- end
- wait(0.1) -- проверяет каждые 0.1 секунды
- end
Advertisement
Add Comment
Please, Sign In to add comment