Compare commits

..

No commits in common. "5c70b55a67590c9f617b4cb766057bb5aeb7eb12" and "0bfe732c3af036931e9a6a0235c7d5489135f971" have entirely different histories.

2 changed files with 5 additions and 6 deletions

View File

@ -6,11 +6,13 @@ print("Hello Client!")
require("tevgit:core/client/debug.lua")
require("tevgit:core/client/chat.lua")
require("tevgit:core/client/playerList.lua")
require("tevgit:core/client/characterController.lua")
workspace.camera.position = vector3(0, 15, -10)
workspace.camera:lookAt(vector3(0, 0, 0))
-- Stealing camera from workshop
require("tevgit:workshop/controllers/environment/camera.lua")
local function registerBlock(c)
if c.className == "block" then
c:once("mouseLeftPressed", function ()

View File

@ -5,7 +5,6 @@ print("Hello Server!")
require("tevgit:core/server/debug.lua")
require("tevgit:core/server/chat.lua")
local char = require("tevgit:core/server/characterController.lua")
workspace:destroyAllChildren()
@ -65,7 +64,7 @@ local function fillSpace(x, y, z)
name = "minable",
position = vector3(x * 4, y * 4, z * 4),
size = vector3(4, 4, 4),
colour = colour:fromRGB(math.random(55, 85), math.random(40, 60), 5),
colour = colour:random(),
static = true
})
@ -129,6 +128,4 @@ engine.networking:bind( "mineBlock", function( client, x, y, z )
fillSpace(x, y, z + 1)
end
end
end)
print("server loaded")
end)