Update gameserver.php

This commit is contained in:
Thomas G 2022-07-10 21:44:43 +10:00
parent 094eb8a7c0
commit 15adbb07b2
1 changed files with 4 additions and 3 deletions

View File

@ -43,13 +43,13 @@ for i, v in pairs(GetDescendants(game)) do
end
end
print("DONE! Replaced " .. replacedProperties .. " properties")
local Port = <?php echo $port ; ?>
Server = game:GetService("NetworkServer")
RunService = game:GetService("RunService")
Server:start(Port, 20)
Server:Start(Port, 20)
game:GetService("Visit")
RunService:run()
RunService:Run()
game.Players.PlayerAdded:connect(function(plr)
function onJoined(newPlayer)
print ("An new connection was accepted.")
newPlayer:LoadCharacter()
@ -63,6 +63,7 @@ end
end
game.Players.PlayerAdded:connect(onJoined)
<?php
$data = ob_get_clean();
$signature;