Kotyara19k-Official

Goner Visual Abilities

Apr 7th, 2025
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.39 KB | None | 0 0
  1.  
  2. local player = game.Players.LocalPlayer
  3. local Character = player.Character or player.CharacterAdded:Wait()
  4. local HMD = Character.HumanoidRootPart
  5.  
  6. function GitAud(soundgit,filename)
  7. SoundName=tostring(SoundName)
  8. local url=soundgit
  9. local FileName = filename
  10. writefile(FileName..".mp3", game:HttpGet(url))
  11. return (getcustomasset or getsynasset)(FileName..".mp3")
  12. end
  13.  
  14. function CustomGitSound(soundlink, vol, filename)
  15. local BGMusic = Instance.new("Sound")
  16. BGMusic.SoundId = GitAud(soundlink, filename)
  17. BGMusic.Parent =
  18. BGMusic.Volume = 2
  19. BGMusic.Name = "BGM_MUSIC"
  20. BGMusic.Looped = true
  21. BGMusic:Play()
  22. end
  23.  
  24. CustomGitSound("https://github.com/Kotyara19k-Doorsspawner/Random-files/raw/main/y2meta.net_320kbps-the-goners-full-theme.mp3", 1, "GonerTheme1")
  25.  
  26.  
  27.  
  28. function CreateControlsButton(parent)
  29. local button = Instance.new("TextButton")
  30. button.Name = "ControlsButton"
  31. button.Parent = parent
  32. button.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  33. button.BackgroundTransparency = 0.4
  34. button.Size = UDim2.new(0, 120, 0, 40)
  35. button.Position = UDim2.new(0, 10, 0, 10)
  36. button.Text = "Controls"
  37. button.FontFace = Font.new(
  38. "rbxasset://fonts/families/GothamSSm.json",
  39. Enum.FontWeight.Regular,
  40. Enum.FontStyle.Normal
  41. )
  42. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  43. button.TextSize = 20
  44. button.AutoButtonColor = true
  45. button.BorderSizePixel = 0
  46. button.ZIndex = 2
  47.  
  48. -- Окно контроля
  49. local frame = Instance.new("Frame")
  50. frame.Name = "ControlsFrame"
  51. frame.Parent = parent
  52. frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  53. frame.BackgroundTransparency = 0.3
  54. frame.Size = UDim2.new(0, 300, 0, 220)
  55. frame.Position = UDim2.new(0, 140, 0, 10)
  56. frame.Visible = false
  57. frame.BorderSizePixel = 0
  58. frame.ZIndex = 3
  59.  
  60. local uiCorner = Instance.new("UICorner", frame)
  61. uiCorner.CornerRadius = UDim.new(0, 8)
  62.  
  63. local label = Instance.new("TextLabel")
  64. label.Parent = frame
  65. label.Size = UDim2.new(1, -20, 0, 30)
  66. label.Position = UDim2.new(0, 10, 0, 5)
  67. label.BackgroundTransparency = 1
  68. label.Text = "Credits: GONER by PityPolygon (Reanimate by Genesis Fe)"
  69. label.FontFace = Font.new(
  70. "rbxasset://fonts/families/GothamSSm.json",
  71. Enum.FontWeight.Regular,
  72. Enum.FontStyle.Normal
  73. )
  74. label.TextColor3 = Color3.fromRGB(255, 255, 255)
  75. label.TextSize = 18
  76. label.TextXAlignment = Enum.TextXAlignment.Left
  77. label.ZIndex = 4
  78.  
  79. local text = [[
  80. Mouse - Slash sword
  81. Z/X/C/V - Stand near foe to execute
  82. G - Shriek
  83. Q - Toggle submerge, cannot jump when submerged
  84. T/Y/U - Speak
  85. ]]
  86.  
  87. local description = Instance.new("TextLabel")
  88. description.Parent = frame
  89. description.Size = UDim2.new(1, -20, 1, -50)
  90. description.Position = UDim2.new(0, 10, 0, 40)
  91. description.BackgroundTransparency = 1
  92. description.Text = text
  93. description.FontFace = Font.new(
  94. "rbxasset://fonts/families/GothamSSm.json",
  95. Enum.FontWeight.Regular,
  96. Enum.FontStyle.Normal
  97. )
  98. description.TextColor3 = Color3.fromRGB(255, 255, 255)
  99. description.TextSize = 16
  100. description.TextXAlignment = Enum.TextXAlignment.Left
  101. description.TextYAlignment = Enum.TextYAlignment.Top
  102. description.TextWrapped = true
  103. description.TextScaled = false
  104. description.TextTransparency = 0
  105. description.ZIndex = 4
  106.  
  107. button.MouseButton1Click:Connect(function()
  108. frame.Visible = not frame.Visible
  109. end)
  110.  
  111. return button
  112. end
  113.  
  114. local ScreenGui = Instance.new("ScreenGui")
  115. ScreenGui.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  116. CreateControlsButton(game.Players.LocalPlayer.PlayerGui.ScreenGui)
  117.  
  118.  
  119.  
  120. local TweenService = game:GetService("TweenService")
  121. local Players = game:GetService("Players")
  122.  
  123. local function spawnSlime(position)
  124. if not position then return end
  125. position = Vector3.new(position.X, 0, position.Z) -- Принудительно ставим на нужный уровень пола
  126.  
  127. local puddle = Instance.new("Part")
  128. puddle.Name = "Gore"
  129. puddle.Size = Vector3.new(2, 0.001, 2) -- Начальный размер
  130. puddle.Anchored = true
  131. puddle.CanCollide = false
  132. puddle.Position = position + Vector3.new(0, 0.01, 0) -- Чуть выше, чтобы не проваливалась
  133. puddle.Transparency = 1
  134. puddle.Material = Enum.Material.Slate
  135. puddle.Parent = workspace
  136.  
  137. local surfaceGui = Instance.new("SurfaceGui")
  138. surfaceGui.Name = "PuddleSurface"
  139. surfaceGui.Face = Enum.NormalId.Top
  140. surfaceGui.CanvasSize = Vector2.new(800, 600)
  141. surfaceGui.PixelsPerStud = 50
  142. surfaceGui.SizingMode = Enum.SurfaceGuiSizingMode.FixedSize
  143. surfaceGui.LightInfluence = 10
  144. surfaceGui.AlwaysOnTop = false
  145. surfaceGui.ClipsDescendants = true
  146. surfaceGui.Adornee = puddle
  147. surfaceGui.Parent = puddle
  148.  
  149. local image = Instance.new("ImageLabel")
  150. image.Name = "Image"
  151. image.Size = UDim2.new(1, 0, 1, 0)
  152. image.BackgroundTransparency = 1
  153. image.Image = "rbxassetid://10886329076"
  154. image.ImageTransparency = 0.88
  155. image.ImageColor3 = Color3.new(0, 0, 0) -- Чёрный цвет
  156. image.Parent = surfaceGui
  157.  
  158. -- Анимация роста
  159. local growTween = TweenService:Create(puddle, TweenInfo.new(1.20, Enum.EasingStyle.Linear), {
  160. Size = Vector3.new(10, 0.001, 10)
  161. })
  162. growTween:Play()
  163.  
  164. -- Исчезновение через 15 секунд
  165. task.delay(5, function()
  166. local fadeTween = TweenService:Create(image, TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {
  167. ImageTransparency = 1
  168. })
  169. fadeTween:Play()
  170. game:GetService("Debris"):AddItem(puddle, 3)
  171. end)
  172. end
  173.  
  174. local function startSlimeTrail(character)
  175. task.spawn(function()
  176. while character.Parent do -- Работает, пока персонаж жив
  177. local rightLegAcc = character:FindFirstChild("Accessory (RLeg)")
  178. local leftLegAcc = character:FindFirstChild("Accessory (LLeg)")
  179.  
  180. if rightLegAcc and leftLegAcc then
  181. local rightLeg = rightLegAcc:FindFirstChild("Handle")
  182. local leftLeg = leftLegAcc:FindFirstChild("Handle")
  183.  
  184. if rightLeg and leftLeg then
  185. local middlePoint = (rightLeg.Position + leftLeg.Position) / 2
  186. spawnSlime(middlePoint) -- Создаём лужу по центру между ногами
  187. end
  188. end
  189.  
  190. task.wait(0.3) -- Интервал появления луж
  191. end
  192. end)
  193. end
  194.  
  195. local function onPlayerAdded(player)
  196. local function onCharacterAdded(character)
  197. startSlimeTrail(character)
  198. end
  199.  
  200. if player.Character then
  201. onCharacterAdded(player.Character)
  202. end
  203.  
  204. player.CharacterAdded:Connect(onCharacterAdded)
  205. end
  206.  
  207. local player = Players.LocalPlayer
  208. if player then
  209. onPlayerAdded(player)
  210. end
  211.  
  212.  
  213. local UserInputService = game:GetService("UserInputService")
  214. local player = game.Players.LocalPlayer
  215. local character = player.Character or player.CharacterAdded:Wait()
  216.  
  217. -- Таблица звуков с привязкой к клавишам
  218. local soundsData = {
  219. T = "rbxassetid://2316600989",
  220. Y = "rbxassetid://2290634374",
  221. U = "rbxassetid://2291325961",
  222. G = "rbxassetid://2466752906" -- ID звука для крика
  223. }
  224.  
  225. -- Эффект настройки
  226. local function addEffects(sound)
  227. local pitch = Instance.new("PitchShiftSoundEffect")
  228. pitch.Octave = 0.925
  229. pitch.Priority = 0
  230. pitch.Parent = sound
  231.  
  232. local chorus = Instance.new("ChorusSoundEffect")
  233. chorus.Depth = 0.07
  234. chorus.Mix = 0.2
  235. chorus.Rate = 0.5
  236. chorus.Priority = 0
  237. chorus.Parent = sound
  238. end
  239.  
  240. -- Создание звуков
  241. local soundObjects = {}
  242.  
  243. for key, id in pairs(soundsData) do
  244. local sound = Instance.new("Sound")
  245. sound.Name = "SpeakSound_" .. key
  246. sound.SoundId = id
  247. sound.Volume = 6
  248. sound.Looped = false
  249. sound.PlayOnRemove = false
  250. sound.Parent = character
  251. addEffects(sound)
  252. soundObjects[key] = sound
  253. end
  254.  
  255. -- Партиклы для крика
  256. local function createScreamParticles()
  257. local screamEffect = Instance.new("ParticleEmitter")
  258. -- Красный цвет для крика
  259. screamEffect.Color = ColorSequence.new(
  260. Color3.fromRGB(255, 0, 0), -- Красный цвет
  261. Color3.fromRGB(255, 0, 0) -- Также красный цвет для второго перехода
  262. )
  263. screamEffect.Texture = "rbxassetid://1084991215" -- ID партиклов для крика
  264. screamEffect.Lifetime = NumberRange.new(0.6, 0.6)
  265. screamEffect.Rate = 7
  266.  
  267. -- Попробуем правильно настроить размер
  268. screamEffect.Size = NumberSequence.new(
  269. 5, -- Начальный размер
  270. 6, -- Начальный размер
  271. 7, -- Маленький размер частиц
  272. 8, -- Средний размер
  273. 9, -- Крупный размер
  274. 10, -- Еще больше
  275. 11, -- Финальный размер
  276. 12 -- Максимальный размер
  277. )
  278.  
  279. screamEffect.Speed = NumberRange.new(0, 0)
  280. screamEffect.Rotation = NumberRange.new(-180, 180)
  281. screamEffect.Drag = NumberRange.new(0)
  282. -- Заменили NumberRange на NumberSequence для Transparency
  283. screamEffect.Transparency = NumberSequence.new(0, 0.5, 0, 1, 1, 0)
  284.  
  285. -- Добавляем световой эффект для устранения черных квадратов0
  286. screamEffect.LightEmission = 100 -- Включаем свечение для улучшенной видимости
  287. screamEffect.LightInfluence = 1 -- Влияние света для партиклов
  288.  
  289. screamEffect.Parent = workspace.npio444_1["Accessory (GonerHead)"].Handle
  290. screamEffect.ZOffset = 1
  291. end
  292.  
  293. -- Обработка нажатий клавиш
  294. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  295. if gameProcessed then return end
  296.  
  297. local key = input.KeyCode.Name
  298. local sound = soundObjects[key]
  299. if sound and not sound.IsPlaying then
  300. sound:Play()
  301.  
  302. if key == "G" then
  303. -- Воспроизводим партиклы и эффект крика
  304. createScreamParticles()
  305. wait(2)
  306. workspace.npio444_1["Accessory (GonerHead)"].Handle.ParticleEmitter.Enabled = false
  307. wait(0.8)
  308. workspace.npio444_1["Accessory (GonerHead)"].Handle.ParticleEmitter:Destroy()
  309. -- Можно отправить запрос на сервер для убийства
  310. -- Для убийства можно создать RemoteEvent, который сработает на сервере
  311. end
  312. end
  313. end)
  314.  
  315. while true do
  316. wait(2)
  317. workspace.npio444_1["Accessory (LArm)"].Handle.Color = Color3.new(0, 0, 0)
  318. workspace.npio444_1["Accessory (LArm)"].Handle.TextureID = ""
  319. workspace.npio444_1["Accessory (LArm)"].Handle.Material = "Slate"
  320.  
  321.  
  322. workspace.npio444_1["Accessory (Black)"].Handle.Color = Color3.new(0, 0, 0)
  323. workspace.npio444_1["Accessory (Black)"].Handle.TextureID = ""
  324. workspace.npio444_1["Accessory (Black)"].Handle.Material = "Slate"
  325.  
  326.  
  327.  
  328.  
  329. workspace.npio444_1["Accessory (RArm)"].Handle.Color = Color3.new(0, 0, 0)
  330. workspace.npio444_1["Accessory (RArm)"].Handle.TextureID = ""
  331. workspace.npio444_1["Accessory (RArm)"].Handle.Material = "Slate"
  332.  
  333. workspace.npio444_1["Accessory (LLeg)"].Handle.Color = Color3.new(0, 0, 0)
  334. workspace.npio444_1["Accessory (LLeg)"].Handle.TextureID = ""
  335. workspace.npio444_1["Accessory (LLeg)"].Handle.Material = "Slate"
  336.  
  337. workspace.npio444_1["Accessory (RLeg)"].Handle.Color = Color3.new(0, 0, 0)
  338. workspace.npio444_1["Accessory (RLeg)"].Handle.TextureID = ""
  339. workspace.npio444_1["Accessory (RLeg)"].Handle.Material = "Slate"
  340.  
  341. workspace.npio444_1["Accessory (gonerswordAccessory)"].Handle.Color = Color3.new(0, 0, 0)
  342. workspace.npio444_1["Accessory (gonerswordAccessory)"].Handle.TextureID = ""
  343. workspace.npio444_1["Accessory (gonerswordAccessory)"].Handle.Material = "Slate"
  344.  
  345.  
  346. local accessories = {
  347. workspace.npio444_1["Accessory (RLeg)"],
  348. workspace.npio444_1["Accessory (LLeg)"],
  349. workspace.npio444_1["Accessory (RArm)"],
  350. workspace.npio444_1["Accessory (LArm)"],
  351. workspace.npio444_1["Accessory (Black)"],
  352. workspace.npio444_1["Accessory (gonerswordAccessory)"],
  353. workspace.npio444_1["Accessory (GonerHead)"],
  354. }
  355.  
  356. for _, accessory in ipairs(accessories) do
  357. if accessory:FindFirstChild("Handle") then
  358. local handle = accessory.Handle
  359. if handle.Transparency > 0 then
  360. handle.Transparency = 0
  361. end
  362. end
  363. end
  364. wait(0.1) -- проверяет каждые 0.1 секунды
  365. end
Advertisement
Add Comment
Please, Sign In to add comment