Hello,
I have an interesting problem. When player clicks the ‘Yes’ button in the pop-up GUI, their house should appear. It’s been working for over a year, and continues to work in Studio and Mobile. However, when playing it on the site with a computer it no longer is. No output errors, and I can still get a print out of the position of where the house is suppose to be. I don’t have any mobile/platform-specific scripts that would interrupt this, I’m starting to think its a Roblox quirk.
Screenshots in Studio, confirmation GUI:
Confirmation, House generated, note the sign displays the house owner’s name:
Output from Studio:
And then this is what happens when attempting to play on the website:
As you can see from the sign, there should be a house, there’s even Position coordinates for the house, but there is no House.
And lastly a screenshot from playing the game on the Mobile device (Samsung Galaxy S6) where the house does generate:
I’ve tried this from both my desktop and laptop, and both continue to work in Studio, but not when playing on the site. I’m confused as to how this could happen now, when as recently as a week ago, there were no problems, and it continues to work properly on Mobile.
Not sure how much it’d help, but here’s the script that fires when the ‘Yes’ button is selected in the Gui:
game.ReplicatedStorage.HouseEvents.Build.OnServerEvent:Connect(function(Player)
local HasPlot = Player.Inventory.HasPlot
local CurrentPlot = Player.CurrentHouseDataSession.CurrentPlot
local Plots = game.Workspace:FindFirstChild("Plots")
local HasPlot = Player.Inventory.HasPlot
local PlayerStuff = Plots[CurrentPlot.Value].PlayerStuff
local PlotName = Plots[CurrentPlot.Value]
local Fence = game.ReplicatedStorage.House[CurrentPlot.Value].Fence
if FenceActive.Value == true then local ThingClone = Fence:Clone() ThingClone.Parent = PlayerStuff ThingClone:GetChildren() print('House Position ') print(ThingClone.Position) end
end)
Game Link: Magic World [reLAUNCH ALPHA] - Roblox (walk up to a spot to Rental spot to claim it, Menus - Build for House options, first time players have enough coins to purchase the starter House)
Any insights into what might be causing this is much appreciated. Thanks!