So I have good internet. As in 20MB(megabyte)/s download speed and can upload at 5MB/s. I have good internet
Why does it take this script upwards of 15 seconds to grab an image and display it?
wait(1)
local ImageButton = game.Players.LocalPlayer.PlayerGui.Stuffiez.Background.Options.MapImage
script.Parent.MouseEnter:connect(function() --Sets up the function for when the mouse hovers over said GuiObject
ImageButton.Image = "rbxassetid://503430059" --Image here
print("Please dont dun break")
end) --Ends the function
script.Parent.MouseLeave:connect(function()
ImageButton.Image = "rbxassetid://133293264"
print("Please dont dun break#2")
end)

1 comment
You can preload the assets, http://wiki.roblox.com/index.php?title=API:Class/ContentProvider/Preload