Advertisement
Neverplay

animal simulator script2

Apr 16th, 2022 (edited)
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  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(1) and collecting do
  52. game:GetService("ReplicatedStorage").TreasureEvent:FireServer(workspace.Treasures.Treasure5)
  53. end
  54. end})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement