14:09:02.083 SetCore is not a valid member of PlayerGui "Players.NubblyFry.PlayerGui" - Client - BaconHairGUIManager:20
14:09:02.083 Stack Begin - Studio
14:09:02.083 Script 'Players.NubblyFry.PlayerGui.BaconHairGUIManager', Line 20 - Studio - BaconHairGUIManager:20
14:09:02.083 Stack End - Studio
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Event1 = ReplicatedStorage:WaitForChild("BaconHairQuest1")
local BaconHairText = script.Parent.BaconGui.DialogeFrame:WaitForChild("TextLabel")
local function typewrite(object, text)
for i = 1,#text,1 do
object.Text = string.sub(text,1,i)
wait(0.05)
end
end
Event1.OnClientEvent:Connect(function()
script.Parent.BaconGui.DialogeFrame.Visible = true
typewrite(BaconHairText, "Hello! Im Bacon, Do you need something?")
wait(2)
typewrite(BaconHairText, "Oh! You want to learn how to keep your ROBLOX Account Safe?")
wait(4)
typewrite(BaconHairText, "Ok! Try looking for Hackeres and scammers! Here is a Wacky Tacky that you can use!")
script.Parent:SetCore("SendNotification", {
Title = "Item Obtained!";
Text = "You Have Obtained a Wacky Tacky!";
Icon = nil;
Duration = 5
})
wait(6)
typewrite(BaconHairText, "I will help you if you encounter one ok?")
wait(3)
typewrite(BaconHairText, "You will be notified at the bottom of your screen if I say something")
wait(4)
typewrite(BaconHairText, "Goodluck!")
while true do
wait(3)
script.Parent:SetCore("SendNotification", {
Title = "Wacky Tacky";
Text = math.random("Make Sure To Give Scammers no Infromation!", "Report The Scammers and Hackers!", "Avoid Free Robux Games!", "Dont enter your password into anything exept for the Official Roblox Website https://www.roblox.com");
Icon = nil;
Duration = 5
})
end
end)
This is a ServerScript or a Regular Script if you may ask.
14:09:02.083 SetCore is not a valid member of PlayerGui âPlayers.NubblyFry.PlayerGuiâ - Client - BaconHairGUIManager:20
14:09:02.083 Stack Begin - Studio
14:09:02.083 Script âPlayers.NubblyFry.PlayerGui.BaconHairGUIManagerâ, Line 20 - Studio - BaconHairGUIManager:20
14:09:02.083 Stack End - Studio
14:35:15.775 Players.NubblyFry.PlayerGui.BaconHairGUIManager:39: invalid argument #2 to 'random' (interval is empty) - Client - BaconHairGUIManager:39
14:35:15.776 Stack Begin - Studio
14:35:15.777 Script 'Players.NubblyFry.PlayerGui.BaconHairGUIManager', Line 39 - Studio - BaconHairGUIManager:39
14:35:15.777 Stack End - Studio
The script didnât work at this point:
while true do
wait(3)
game.StarterGui:SetCore("SendNotification", {
Title = "Wacky Tacky";
Text = RandomizedWTText[math.random(1,#RandomizedWTText)];
Icon = nil;
Duration = 5
})
end
end)
is RandomizedWTText = {"Make Sure To Give Scammers no Infromation!", "Report The Scammers and Hackers!", "Avoid Free Robux Games!", "Dont enter your password into anything exept for the Official Roblox Website https://www.roblox.com"} ?