From abaf333a9d3d18706b39495f7cbc66bd845c8931 Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Mon, 18 Jul 2022 02:11:27 +1000 Subject: [PATCH] Update visit.blade.php --- resources/views/client/visit.blade.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/views/client/visit.blade.php b/resources/views/client/visit.blade.php index 8dfc43d..950608a 100644 --- a/resources/views/client/visit.blade.php +++ b/resources/views/client/visit.blade.php @@ -2,6 +2,13 @@ header("content-type:text/plain"); ob_start(); + +if (Auth::check()) { + $username = addslashes(Auth::user()->name); +} else { + $username = "Player"; +} + @endphp -- Prepended to Edit.lua and Visit.lua and Studio.lua and PlaySolo.lua-- @@ -96,10 +103,10 @@ function doVisit() message.Text = "Creating Player" if false then player = game:GetService("Players"):CreateLocalPlayer(0) - player.Name = [====[Guest 4708]====] else player = game:GetService("Players"):CreateLocalPlayer(0) end + player.Name = player.CharacterAppearance = "http://www.morblox.us/Asset/CharacterFetch.ashx?userId=1&placeId=0" local propExists, canAutoLoadChar = false propExists = pcall(function() canAutoLoadChar = game.Players.CharacterAutoLoads end)