The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Animal Simulator script pastebin roblox
By LINK GAME on 2024-09-21 08:00 am | Syntax: LUA | Views: 10



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. repeat wait() until game:IsLoaded()
  2. local Venyx = loadstring(game:HttpGet("https://raw.githubusercontent.com/Stefanuk12/Venyx-UI-Library/main/source2.lua"))()
  3. local UI = Venyx.new({
  4.   title = "Animal Simulator - By Pirator/Lucky"
  5. })
  6.  
  7. local Themes = {
  8.   Background = Color3.fromRGB(24, 24, 24),
  9.   Glow = Color3.fromRGB(0, 0, 0),
  10.   Accent = Color3.fromRGB(10, 10, 10),
  11.   LightContrast = Color3.fromRGB(20, 20, 20),
  12.   DarkContrast = Color3.fromRGB(14, 14, 14),  
  13.   TextColor = Color3.fromRGB(255, 255, 255)
  14. }
  15.  
  16. local Main = UI:addPage({
  17.   title = "Main",
  18.   icon = 887262219
  19. })
  20.  
  21. local Gameplaydiv = Main:addSection({
  22.   title = "Gameplay"
  23. })
  24.  
  25. local function findPlr(name)
  26. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  27.     if string.find(v.Name, name) then
  28.         return v
  29.     end
  30. end
  31. return nil
  32. end
  33.  
  34. local function damageplayer(player)
  35. for i,p in pairs(game.Workspace:GetChildren()) do
  36. if p.Name == player then
  37. print("Damaging " .. player)
  38. game:GetService("ReplicatedStorage").jdskhfsIIIllliiIIIdchgdIiIIIlIlIli:FireServer(p.Humanoid,1) -- the last arguement is not damage don't bother changin it
  39. print("Damaged " .. player)
  40. end
  41. end
  42. end
  43.  
  44. local collecting = false
  45.  
  46. Gameplaydiv:addToggle({
  47. title = "Collect Chests",
  48. toggled = nil,
  49. callback = function(value)
  50. collecting = value
  51. while wait(3) and collecting do
  52.   game:GetService("ReplicatedStorage").TreasureEvent:FireServer(workspace.Treasures.Treasure5)
  53. end
  54. end})
  55.  
  56. local damagedplayer = nil
  57.  
  58. Gameplaydiv:addTextbox({
  59.   title = "Choose Player",
  60.   default = "Mr. Poopy Pants",
  61.   callback = function(text, focusLost)
  62.       if (focusLost) then
  63.        print("Searching " .. text)
  64.        local Player = findPlr(text)
  65.        print("Found " .. tostring(Player))
  66.        local Player = game.Workspace:FindFirstChild(Player.Name)
  67.        damagedplayer = tostring(Player)
  68.       end
  69.   end
  70. })
  71.  
  72. Gameplaydiv:addButton({
  73.   title = "Damage Player",
  74.   callback = function()
  75.   damageplayer(damagedplayer)
  76.   end
  77. })
  78.  
  79. Gameplaydiv:addButton({
  80.   title = "Damage All", -- does not damage yourself or players in safe-zone
  81.   callback = function()
  82.   for i,v in pairs(game.Players:GetChildren()) do
  83.    for i,p in pairs(game.Workspace:GetChildren()) do
  84.    if p.Name == v.Name and p.Name ~= game.Players.LocalPlayer.Name then
  85.    game:GetService("ReplicatedStorage").jdskhfsIIIllliiIIIdchgdIiIIIlIlIli:FireServer(p.Humanoid,1)
  86.    end
  87.    end
  88.   end
  89.    end
  90. })
  91.  
  92. local Theme = UI:addPage({
  93.   title = "Theme",
  94.   icon = 4890363233
  95. })
  96.  
  97. local Colors = Theme:addSection({
  98.   title = "Colors"
  99. })
  100.  
  101. for theme, color in pairs(Themes) do
  102.   Colors:addColorPicker({
  103.       title = theme,
  104.       default = color,
  105.       callback = function(color3)
  106.           UI:setTheme({
  107.               theme = theme,
  108.               color3 = color3
  109.           })
  110.       end
  111.   })
  112. end
  113.  
  114. UI:SelectPage({
  115.   page = UI.pages[1],
  116.   toggle = true
  117. })