Update visit.blade.php
This commit is contained in:
parent
7bab8885b9
commit
abaf333a9d
|
|
@ -2,6 +2,13 @@
|
||||||
|
|
||||||
header("content-type:text/plain");
|
header("content-type:text/plain");
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
|
if (Auth::check()) {
|
||||||
|
$username = addslashes(Auth::user()->name);
|
||||||
|
} else {
|
||||||
|
$username = "Player";
|
||||||
|
}
|
||||||
|
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
-- Prepended to Edit.lua and Visit.lua and Studio.lua and PlaySolo.lua--
|
-- Prepended to Edit.lua and Visit.lua and Studio.lua and PlaySolo.lua--
|
||||||
|
|
@ -96,10 +103,10 @@ function doVisit()
|
||||||
message.Text = "Creating Player"
|
message.Text = "Creating Player"
|
||||||
if false then
|
if false then
|
||||||
player = game:GetService("Players"):CreateLocalPlayer(0)
|
player = game:GetService("Players"):CreateLocalPlayer(0)
|
||||||
player.Name = [====[Guest 4708]====]
|
|
||||||
else
|
else
|
||||||
player = game:GetService("Players"):CreateLocalPlayer(0)
|
player = game:GetService("Players"):CreateLocalPlayer(0)
|
||||||
end
|
end
|
||||||
|
player.Name = <?php echo $username; ?>
|
||||||
player.CharacterAppearance = "http://www.morblox.us/Asset/CharacterFetch.ashx?userId=1&placeId=0"
|
player.CharacterAppearance = "http://www.morblox.us/Asset/CharacterFetch.ashx?userId=1&placeId=0"
|
||||||
local propExists, canAutoLoadChar = false
|
local propExists, canAutoLoadChar = false
|
||||||
propExists = pcall(function() canAutoLoadChar = game.Players.CharacterAutoLoads end)
|
propExists = pcall(function() canAutoLoadChar = game.Players.CharacterAutoLoads end)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue