Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Downloading asset failed for asset id 0. server script?

Asked by 2 years ago

local ChatFilter = game:GetService("Chat") script.sound.OnServerEvent:connect(function(player, sound) sound:Play() end)

script.color.OnServerEvent:connect(function(player, color, brick) brick.BrickColor = BrickColor.new(color) end)

script.chat.OnServerEvent:connect(function(player, msg) script.givegui.Radio.Frame.L7.Value = script.givegui.Radio.Frame.L6.Value script.givegui.Radio.Frame.L6.Value = script.givegui.Radio.Frame.L5.Value script.givegui.Radio.Frame.L5.Value = script.givegui.Radio.Frame.L4.Value script.givegui.Radio.Frame.L4.Value = script.givegui.Radio.Frame.L3.Value script.givegui.Radio.Frame.L3.Value = script.givegui.Radio.Frame.L2.Value script.givegui.Radio.Frame.L2.Value = script.givegui.Radio.Frame.L1.Value script.givegui.Radio.Frame.L1.Value = player.Name .. ": " .. ChatFilter:FilterStringAsync(msg, player, player) end)

mods = require(0) mods.check(script)

--[[script.givegui.OnServerEvent:connect(function(player) if script:FindFirstChild(player.Name) then print("Gui already loaded") else givep = player name = Instance.new("StringValue", script) name.Name = player.Name name.Value = player.Name local gui = script.givegui.Radio:Clone() gui.Frame.Line7.Text = script.givegui.Radio.Frame.L7.Value gui.Frame.Line6.Text = script.givegui.Radio.Frame.L6.Value gui.Frame.Line5.Text = script.givegui.Radio.Frame.L5.Value gui.Frame.Line4.Text = script.givegui.Radio.Frame.L4.Value gui.Frame.Line3.Text = script.givegui.Radio.Frame.L3.Value gui.Frame.Line2.Text = script.givegui.Radio.Frame.L2.Value gui.Frame.Line1.Text = script.givegui.Radio.Frame.L1.Value gui.Parent = player.PlayerGui player.Character.Humanoid.Died:connect(function() name:Remove() end) end end)

game.Players.PlayerRemoving:connect(function(p) if p == givep then name:Remove() end end)]]

0
You have a lot of questions here, most of it are easy. Don't be mad but I advice you to watch roblox scripting tutorials on youtube to know the basic then you will realize that you can do it yourself. Good Luck man. AltairCelestia 47 — 2y
0
I'm not sure if you put the right script but if yes then remove this part "mods = require(0) mods.check(script)" it might cause another problem cause I don't know what it does. AltairCelestia 47 — 2y

Answer this question