Skip to content

Instantly share code, notes, and snippets.

View Core-commits's full-sized avatar
🏠
Working from home

Shiggy Core-commits

🏠
Working from home
View GitHub Profile
local http = require "socket.http"
local data = ""
local function collect(chunk)
if chunk ~= nil then
data = data .. chunk
end
return true
end
/*!
* Bootstrap v4.5.0 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors
* Copyright 2011-2020 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
:root {
--blue: #007bff;
--indigo: #6610f2;
--purple: #6f42c1;

New client information

The new client is close to release. And so we decided to put together all information that might be useful for the new developers.

Programming Language

Change of plans, there's gonna be epic javascript.

Jefemy (Web Developer) has mentioned that data saving will be bundled together with lua so there's no need to worry for databases.

@Core-commits
Core-commits / A.md
Last active August 21, 2020 15:36
AAAAAA

Request to get this Pinned.

Sources: Node-Hill, BHD and BH itself.

Why is the client so laggy? I have a good computer!

The client is laggy on average systems not because they are powerless but because the engine in which the client is made (Gamemaker studio 8.1) is not designed for 3D games at all. And since the client has to manage both Networking, 3D rendering, and player controls. The client has very low FPS Count.

Due the new client being almost finished it's been deprecreated and it's no longer updated. (+ The new client will be more friendly with average systems).

@Core-commits
Core-commits / Blacklist.lua
Created August 17, 2020 21:38
HopityTheUserBlacklist
--[[
when a username that you enter in the table below joins the game,
it will kick you automatically so they don't see you exploiting
i use it with staff member's names so if they join i dont get banned
]]
-- Settings
usernames = {"username","other username","another username lol"}
--- General Code:
function TeleportToRandomServer()
package com.company;
import java.awt.*;
import java.util.Date;
public class Main {
public static void main(String[] args) {
// Data Types
byte age = 10;
long viesCount = 120310331312L;
@Core-commits
Core-commits / BrickRot.js
Last active July 25, 2020 13:52
BrickRotation
function rotateBrick(name, increment, rot)
world.bricks.forEach(async(brick) => { // Finds all brick possible in the map.
if (brick.name == "car") {
brickRot= brick.rotation
setInterval(function () {
for (brickRot <= rot; brickRot + increment;) {
console.log(brick.rotation)
function moveBrick(name, interval, increment, x, y, z) {
world.bricks.find(brick => brick.name === name)
brickX = brick.position.x
brickY = brick.position.y
brickZ = brick.position.z
setInterval(function () {
for (brickX <= x; brickX+increment;) {
console.log(brick.position)
}
@Core-commits
Core-commits / WaitForVanilla.lua
Created July 24, 2020 22:10
Support for Wait() function in vanilla lua
function wait(a)
if a == nil then a = 0.1 end
local sec = tonumber(os.clock() + a);
while (os.clock() < sec) do
end
end
print("hello!")
// MapChanger Simplified.
Owner = [1, 2] // Admins!
Game.command("changemap", (caller, args) => {
for (let elements of Owner) {
console.log(elements);
if (caller.userId == elements ){