Advertisement
Burkino

booga booga

Mar 3rd, 2018
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. local CharBooga = Instance.new("ScreenGui")
  2. local FirstFrame = Instance.new("Frame")
  3. local Build = Instance.new("TextButton")
  4. local Counting = Instance.new("TextBox")
  5. local Nests = Instance.new("TextLabel")
  6. local RequirementsNoNest = Instance.new("TextLabel")
  7. local RequirementsNoNest2 = Instance.new("TextLabel")
  8. local NestRequirements = Instance.new("TextLabel")
  9. local Credits = Instance.new("TextLabel")
  10.  
  11. CharBooga.Name = "CharBooga"
  12. CharBooga.Parent = game.CoreGui
  13.  
  14. FirstFrame.Name = "FirstFrame"
  15. FirstFrame.Parent = CharBooga
  16. FirstFrame.Active = true
  17. FirstFrame.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
  18. FirstFrame.BackgroundTransparency = 0.34999999403954
  19. FirstFrame.Draggable = true
  20. FirstFrame.Position = UDim2.new(0.314984709, 0, 0.224683538, 0)
  21. FirstFrame.Size = UDim2.new(0, 209, 0, 113)
  22.  
  23. Build.Name = "Build"
  24. Build.Parent = FirstFrame
  25. Build.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  26. Build.BackgroundTransparency = 0.69999998807907
  27. Build.Position = UDim2.new(0.260765553, 0, 0.747395039, 0)
  28. Build.Size = UDim2.new(0, 100, 0, 21)
  29. Build.Font = Enum.Font.SourceSans
  30. Build.Text = "Build!"
  31. Build.TextColor3 = Color3.new(1, 1, 1)
  32. Build.TextSize = 14
  33. Build.MouseButton1Click:connect(function()
  34. local Counting = Counting.Text
  35. local HRP = game:GetService("Players").LocalPlayer.Character.PrimaryPart
  36. if HRP.Name == "BypassedHum" then
  37. local Chest = game.Players.LocalPlayer.Character.BypassedHum.Position
  38. game.ReplicatedStorage.Events.PlaceStructure:FireServer("Campfire", Chest + Vector3.new(0, -1.8, 5), 0) -- 2 Logs
  39. game.ReplicatedStorage.Events.PlaceStructure:FireServer("Chest", Chest + Vector3.new(0, 4.5, 5), 0) -- 2 Logs
  40. for i = 1, Counting do
  41. game.ReplicatedStorage.Events.PlaceStructure:FireServer("Nest", Chest + Vector3.new(3, 4, 7), 0) -- 1 Egg + 2 Leaves + 2 Sticks
  42. end
  43. else
  44. local plr = game:GetService("Players").LocalPlayer
  45. local char = plr.Character
  46. local mouse = plr:GetMouse()
  47. local newPart = Instance.new("Part")
  48. local newWeld = Instance.new("Weld")
  49. hum = char:FindFirstChild("HumanoidRootPart")
  50. newPart.Parent = workspace
  51. newWeld.Parent = newPart
  52. newPart.Position = Vector3.new(hum.Position)
  53. newWeld.Part0 = hum
  54. newWeld.Part1 = newPart
  55. newPart.Name = "Bypassed"
  56. hum.Name = "BypassedHum"
  57. newPart.Transparency = 1
  58. newPart.CanCollide = true
  59. local humd = char:FindFirstChild("Humanoid")
  60. humd.HipHeight = humd.HipHeight + 1.35
  61. local Chest = game.Players.LocalPlayer.Character.BypassedHum.Position
  62. game.ReplicatedStorage.Events.PlaceStructure:FireServer("Campfire", Chest + Vector3.new(0, -1.8, 5), 0) -- 2 Logs
  63. game.ReplicatedStorage.Events.PlaceStructure:FireServer("Chest", Chest + Vector3.new(0, 4.5, 5), 0) -- 2 Logs
  64. for i = 1, Counting do
  65. game.ReplicatedStorage.Events.PlaceStructure:FireServer("Nest", Chest + Vector3.new(3, 4, 7), 0) -- 1 Egg + 2 Leaves + 2 Sticks
  66. end
  67. end
  68. end)
  69.  
  70. Counting.Name = "Counting"
  71. Counting.Parent = FirstFrame
  72. Counting.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  73. Counting.BackgroundTransparency = 0.69999998807907
  74. Counting.Position = UDim2.new(0.358851671, 0, 0.186194688, 0)
  75. Counting.Size = UDim2.new(0, 100, 0, 21)
  76. Counting.Font = Enum.Font.SourceSans
  77. Counting.Text = "Number"
  78. Counting.TextColor3 = Color3.new(1, 1, 1)
  79. Counting.TextSize = 14
  80.  
  81. Nests.Name = "Nests"
  82. Nests.Parent = FirstFrame
  83. Nests.BackgroundColor3 = Color3.new(1, 1, 1)
  84. Nests.BackgroundTransparency = 1
  85. Nests.Position = UDim2.new(0.162679434, 0, 0.186194688, 0)
  86. Nests.Size = UDim2.new(0, 41, 0, 21)
  87. Nests.Font = Enum.Font.SourceSans
  88. Nests.Text = "Nests:"
  89. Nests.TextColor3 = Color3.new(1, 1, 1)
  90. Nests.TextSize = 14
  91.  
  92. RequirementsNoNest.Name = "RequirementsNoNest"
  93. RequirementsNoNest.Parent = FirstFrame
  94. RequirementsNoNest.BackgroundColor3 = Color3.new(1, 1, 1)
  95. RequirementsNoNest.BackgroundTransparency = 1
  96. RequirementsNoNest.Position = UDim2.new(0.263157904, 0, 0.559523702, 0)
  97. RequirementsNoNest.Size = UDim2.new(0, 41, 0, 21)
  98. RequirementsNoNest.Font = Enum.Font.SourceSans
  99. RequirementsNoNest.Text = "Requirements without nest:"
  100. RequirementsNoNest.TextColor3 = Color3.new(1, 1, 1)
  101. RequirementsNoNest.TextSize = 14
  102.  
  103. RequirementsNoNest2.Name = "RequirementsNoNest2"
  104. RequirementsNoNest2.Parent = FirstFrame
  105. RequirementsNoNest2.BackgroundColor3 = Color3.new(1, 1, 1)
  106. RequirementsNoNest2.BackgroundTransparency = 1
  107. RequirementsNoNest2.Position = UDim2.new(0.691387534, 0, 0.559523702, 0)
  108. RequirementsNoNest2.Size = UDim2.new(0, 41, 0, 21)
  109. RequirementsNoNest2.Font = Enum.Font.SourceSans
  110. RequirementsNoNest2.Text = "4 Logs"
  111. RequirementsNoNest2.TextColor3 = Color3.new(1, 1, 1)
  112. RequirementsNoNest2.TextSize = 14
  113.  
  114. NestRequirements.Name = "NestRequirements"
  115. NestRequirements.Parent = FirstFrame
  116. NestRequirements.BackgroundColor3 = Color3.new(1, 1, 1)
  117. NestRequirements.BackgroundTransparency = 1
  118. NestRequirements.Position = UDim2.new(0.404306233, 0, 0.373341918, 0)
  119. NestRequirements.Size = UDim2.new(0, 41, 0, 21)
  120. NestRequirements.Font = Enum.Font.SourceSans
  121. NestRequirements.Text = "1 Nest is 1 Egg + 2 Leaves + 2 Sticks"
  122. NestRequirements.TextColor3 = Color3.new(1, 1, 1)
  123. NestRequirements.TextSize = 14
  124.  
  125. Credits.Name = "Credits"
  126. Credits.Parent = FirstFrame
  127. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  128. Credits.BackgroundTransparency = 1
  129. Credits.Position = UDim2.new(0.0430622026, 0, 0, 0)
  130. Credits.Size = UDim2.new(0, 200, 0, 21)
  131. Credits.Font = Enum.Font.Arcade
  132. Credits.Text = "Made by: CharWar"
  133. Credits.TextColor3 = Color3.new(1, 1, 1)
  134. Credits.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement