Create a separate Script in ServerScriptService, create a RemoteEvent in ReplicatedStorage then follow:
In the Script located in SeverScriptService write:
local Event = game:GetService("ReplicatedStorage").RemoteEvent
Event.OnServerEvent:Connect(function(Object, Value)
Object.Value == Value
end)
In the LocalScript write:
local Event = game:GetService("ReplicatedStorage").RemoteEvent
local BoxingGloves = accessoriesFolder:WaitForChild("BoxingGloves").Value
:bindEvent("selected", function()
if BoxingGloves == false then
print("BoxingGlove is false")
Event:FireServer(BoxingGloves, true)
end
end)
I am having that issue too, hopefully it gets fixed or I’m using lolman’s one
Edit: I have made a workaround for this
local tbp = player:WaitForChild("PlayerGui"):WaitForChild("TopbarPlus")
local container = tbp:WaitForChild("TopbarContainer")
local duplicateMusic = {}
local duplicateGoofy = {}
local duplicateSP = {}
for _, v in container:GetChildren() do
if v.Name == "NextbotMusic" then
table.insert(duplicateMusic, v)
elseif v.Name == "GoofyMode" then
table.insert(duplicateGoofy, v)
elseif v.Name == "SpawnKill" then
table.insert(duplicateSP, v)
end
end
local music = container:FindFirstChild("NextbotMusic")
local goofy = container:FindFirstChild("GoofyMode")
local sp = container:FindFirstChild("SpawnKill")
for _, v in duplicateMusic do
if v ~= music then
v:Destroy()
end
end
for _, v in duplicateGoofy do
if v ~= goofy then
v:Destroy()
end
end
for _, v in duplicateSP do
if v ~= sp then
v:Destroy()
end
end
That shouldn’t be happening, I’ll go test it RQ. Also, have you tried hitting the site button? For vCommand specifically but not my test script it for some reason starts off with incorrect offsets until hitting that button.
i’m trying to make a button but it’s giving me this error
(new is not a valid member of ModuleScript "ReplicatedStorage.Icon")
here’s my entire script
task.wait(1) -- giving the ModuleScript time to load
local rs = game:GetService("ReplicatedStorage")
local Icon = rs.Icon -- i got the ModuleScript directly from the marketplace
local icon = Icon.new() -- **ERROR**: new is not a valid member of ModuleScript "ReplicatedStorage.Icon"
icon:setName("Icon1")
edit: im so stupid i need to require the module LOL.
Ben is taking an extended break from roblox, trying to find new opportunities outside of the roblox community. He has not given any information on if he will return or when. So it is safe to assume that there will be no updates to any of his products within the near future.