Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CharBooga = Instance.new("ScreenGui")
- local FirstFrame = Instance.new("Frame")
- local Build = Instance.new("TextButton")
- local Counting = Instance.new("TextBox")
- local Nests = Instance.new("TextLabel")
- local RequirementsNoNest = Instance.new("TextLabel")
- local RequirementsNoNest2 = Instance.new("TextLabel")
- local NestRequirements = Instance.new("TextLabel")
- local Credits = Instance.new("TextLabel")
- CharBooga.Name = "CharBooga"
- CharBooga.Parent = game.CoreGui
- FirstFrame.Name = "FirstFrame"
- FirstFrame.Parent = CharBooga
- FirstFrame.Active = true
- FirstFrame.BackgroundColor3 = Color3.new(0.388235, 0.388235, 0.388235)
- FirstFrame.BackgroundTransparency = 0.34999999403954
- FirstFrame.Draggable = true
- FirstFrame.Position = UDim2.new(0.314984709, 0, 0.224683538, 0)
- FirstFrame.Size = UDim2.new(0, 209, 0, 113)
- Build.Name = "Build"
- Build.Parent = FirstFrame
- Build.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- Build.BackgroundTransparency = 0.69999998807907
- Build.Position = UDim2.new(0.260765553, 0, 0.747395039, 0)
- Build.Size = UDim2.new(0, 100, 0, 21)
- Build.Font = Enum.Font.SourceSans
- Build.Text = "Build!"
- Build.TextColor3 = Color3.new(1, 1, 1)
- Build.TextSize = 14
- Build.MouseButton1Click:connect(function()
- local Counting = Counting.Text
- local HRP = game:GetService("Players").LocalPlayer.Character.PrimaryPart
- if HRP.Name == "BypassedHum" then
- local Chest = game.Players.LocalPlayer.Character.BypassedHum.Position
- game.ReplicatedStorage.Events.PlaceStructure:FireServer("Campfire", Chest + Vector3.new(0, -1.8, 5), 0) -- 2 Logs
- game.ReplicatedStorage.Events.PlaceStructure:FireServer("Chest", Chest + Vector3.new(0, 4.5, 5), 0) -- 2 Logs
- for i = 1, Counting do
- game.ReplicatedStorage.Events.PlaceStructure:FireServer("Nest", Chest + Vector3.new(3, 4, 7), 0) -- 1 Egg + 2 Leaves + 2 Sticks
- end
- else
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character
- local mouse = plr:GetMouse()
- local newPart = Instance.new("Part")
- local newWeld = Instance.new("Weld")
- hum = char:FindFirstChild("HumanoidRootPart")
- newPart.Parent = workspace
- newWeld.Parent = newPart
- newPart.Position = Vector3.new(hum.Position)
- newWeld.Part0 = hum
- newWeld.Part1 = newPart
- newPart.Name = "Bypassed"
- hum.Name = "BypassedHum"
- newPart.Transparency = 1
- newPart.CanCollide = true
- local humd = char:FindFirstChild("Humanoid")
- humd.HipHeight = humd.HipHeight + 1.35
- local Chest = game.Players.LocalPlayer.Character.BypassedHum.Position
- game.ReplicatedStorage.Events.PlaceStructure:FireServer("Campfire", Chest + Vector3.new(0, -1.8, 5), 0) -- 2 Logs
- game.ReplicatedStorage.Events.PlaceStructure:FireServer("Chest", Chest + Vector3.new(0, 4.5, 5), 0) -- 2 Logs
- for i = 1, Counting do
- game.ReplicatedStorage.Events.PlaceStructure:FireServer("Nest", Chest + Vector3.new(3, 4, 7), 0) -- 1 Egg + 2 Leaves + 2 Sticks
- end
- end
- end)
- Counting.Name = "Counting"
- Counting.Parent = FirstFrame
- Counting.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- Counting.BackgroundTransparency = 0.69999998807907
- Counting.Position = UDim2.new(0.358851671, 0, 0.186194688, 0)
- Counting.Size = UDim2.new(0, 100, 0, 21)
- Counting.Font = Enum.Font.SourceSans
- Counting.Text = "Number"
- Counting.TextColor3 = Color3.new(1, 1, 1)
- Counting.TextSize = 14
- Nests.Name = "Nests"
- Nests.Parent = FirstFrame
- Nests.BackgroundColor3 = Color3.new(1, 1, 1)
- Nests.BackgroundTransparency = 1
- Nests.Position = UDim2.new(0.162679434, 0, 0.186194688, 0)
- Nests.Size = UDim2.new(0, 41, 0, 21)
- Nests.Font = Enum.Font.SourceSans
- Nests.Text = "Nests:"
- Nests.TextColor3 = Color3.new(1, 1, 1)
- Nests.TextSize = 14
- RequirementsNoNest.Name = "RequirementsNoNest"
- RequirementsNoNest.Parent = FirstFrame
- RequirementsNoNest.BackgroundColor3 = Color3.new(1, 1, 1)
- RequirementsNoNest.BackgroundTransparency = 1
- RequirementsNoNest.Position = UDim2.new(0.263157904, 0, 0.559523702, 0)
- RequirementsNoNest.Size = UDim2.new(0, 41, 0, 21)
- RequirementsNoNest.Font = Enum.Font.SourceSans
- RequirementsNoNest.Text = "Requirements without nest:"
- RequirementsNoNest.TextColor3 = Color3.new(1, 1, 1)
- RequirementsNoNest.TextSize = 14
- RequirementsNoNest2.Name = "RequirementsNoNest2"
- RequirementsNoNest2.Parent = FirstFrame
- RequirementsNoNest2.BackgroundColor3 = Color3.new(1, 1, 1)
- RequirementsNoNest2.BackgroundTransparency = 1
- RequirementsNoNest2.Position = UDim2.new(0.691387534, 0, 0.559523702, 0)
- RequirementsNoNest2.Size = UDim2.new(0, 41, 0, 21)
- RequirementsNoNest2.Font = Enum.Font.SourceSans
- RequirementsNoNest2.Text = "4 Logs"
- RequirementsNoNest2.TextColor3 = Color3.new(1, 1, 1)
- RequirementsNoNest2.TextSize = 14
- NestRequirements.Name = "NestRequirements"
- NestRequirements.Parent = FirstFrame
- NestRequirements.BackgroundColor3 = Color3.new(1, 1, 1)
- NestRequirements.BackgroundTransparency = 1
- NestRequirements.Position = UDim2.new(0.404306233, 0, 0.373341918, 0)
- NestRequirements.Size = UDim2.new(0, 41, 0, 21)
- NestRequirements.Font = Enum.Font.SourceSans
- NestRequirements.Text = "1 Nest is 1 Egg + 2 Leaves + 2 Sticks"
- NestRequirements.TextColor3 = Color3.new(1, 1, 1)
- NestRequirements.TextSize = 14
- Credits.Name = "Credits"
- Credits.Parent = FirstFrame
- Credits.BackgroundColor3 = Color3.new(1, 1, 1)
- Credits.BackgroundTransparency = 1
- Credits.Position = UDim2.new(0.0430622026, 0, 0, 0)
- Credits.Size = UDim2.new(0, 200, 0, 21)
- Credits.Font = Enum.Font.Arcade
- Credits.Text = "Made by: CharWar"
- Credits.TextColor3 = Color3.new(1, 1, 1)
- Credits.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement