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

"Configuration is not a valid member of Workspace"?

Asked by 7 years ago
Edited 7 years ago

My output say Configuration is not a valid member of Workspace. What is it? Finished script:

PatchStuff=workspace["[PATCH]! ! ! READ ME ! ! !"].PatchStuff
Team1=PatchStuff.Team:Clone()
Team2=PatchStuff.Team:Clone()
WorkspaceItems=workspace.Configuration["Workspace Items"]
OriginalT1=WorkspaceItems.System.Team1Name.Team
OriginalT2=WorkspaceItems.System.Team2Name.Team
--Updating Workspace Tools
Team1:SetPrimaryPartCFrame(CFrame.new(Vector3.new(OriginalT1.RootPart.Position.X,OriginalT1.RootPart.Position.Y,OriginalT1.RootPart.Position.Z)))
Team2:SetPrimaryPartCFrame(CFrame.new(Vector3.new(OriginalT2.RootPart.Position.X,OriginalT2.RootPart.Position.Y,OriginalT2.RootPart.Position.Z)))
Team1.Parent=OriginalT1.Parent
Team2.Parent=OriginalT2.Parent
OriginalT1:Destroy()
OriginalT2:Destroy()

--updating gunbai UI
Cscript1=PatchStuff.LocalScript
Cscript2=PatchStuff.PlaceScript
if workspace.Configuration.ServerStorageItems.Weapons["ConstructionSupplies"]:FindFirstChild("LocalScript") then workspace.Configuration.ServerStorageItems.Weapons["ConstructionSupplies"]:FindFirstChild("LocalScript"):Destroy() end
if workspace.Configuration.ServerStorageItems.Weapons["ConstructionSupplies"]:FindFirstChild("PlaceScript") then workspace.Configuration.ServerStorageItems.Weapons["ConstructionSupplies"]:FindFirstChild("PlaceScript"):Destroy()end
Cscript1.Parent=workspace.Configuration.ServerStorageItems.Weapons["ConstructionSupplies"]
Cscript2.Parent=workspace.Configuration.ServerStorageItems.Weapons["ConstructionSupplies"]
t1=PatchStuff.Teamm1
t2=PatchStuff.Teamm2
if workspace.Configuration.ReplicatedStorageItems:FindFirstChild("Teamm1") then workspace.Configuration.ReplicatedStorageItems.Teamm1:Destroy()end
if workspace.Configuration.ReplicatedStorageItems:FindFirstChild("Teamm2") then workspace.Configuration.ReplicatedStorageItems.Teamm2:Destroy()end

t1.Parent=workspace.Configuration.ReplicatedStorageItems
t2.Parent=workspace.Configuration.ReplicatedStorageItems

--Flag Fix
WorkspaceItems.System.CapturePoint.RouteFlag.RFlagCap:Destroy()
PatchStuff.RFlagCap.Parent=WorkspaceItems.System.CapturePoint.RouteFlag

--RefillSpotFix
if workspace.Configuration.ServerStorageItems:FindFirstChild("Refill Spot") then
workspace.Configuration.ServerStorageItems:FindFirstChild("Refill Spot"):Destroy()
PatchStuff["Refill Spot"].Parent=workspace.Configuration.ServerStorageItems else
PatchStuff["Refill Spot"].Parent=workspace.Configuration.ServerStorageItems

tank1=PatchStuff.Settings
if workspace.Configuration.ServerStorageItems.Weapons["Tanken"].Handle:FindFirstChild("Settings") then workspace.Configuration.ServerStorageItems.Weapons["Tanken"].Handle:FindFirstChild("Settings") :Destroy() end
tank1.Parent=workspace.Configuration.ServerStorageItems.Weapons["Tanken"].Handle


end

if workspace.Configuration.ServerStorageItems.Mangonel.RockLoad.Projectile.BoomRock:FindFirstChild("SiegeDamage") then
    workspace.Configuration.ServerStorageItems.Mangonel.RockLoad.Projectile.BoomRock.SiegeDamage:remove()
    PatchStuff.SiegeDamage.Parent=workspace.Configuration.ServerStorageItems.Mangonel.RockLoad.Projectile.BoomRock
end


Mscript1=PatchStuff["Tachi"].SwordScript
Mscript2=PatchStuff["Naginata"].Script
Mscript3=PatchStuff["Katakama Yari"].Script
Mscript4=PatchStuff["Jumonji Yari"].Script
Mscript5=PatchStuff["Su Yari"].Script

if workspace.Configuration.ServerStorageItems.Weapons["Tachi"]:FindFirstChild("SwordScript") then workspace.Configuration.ServerStorageItems.Weapons["Tachi"]:FindFirstChild("SwordScript"):Destroy() end
if workspace.Configuration.ServerStorageItems.Weapons["Naginata"]:FindFirstChild("Script") then workspace.Configuration.ServerStorageItems.Weapons["Naginata"]:FindFirstChild("Script"):Destroy()end
if workspace.Configuration.ServerStorageItems.Weapons["Katakama Yari"]:FindFirstChild("Script") then workspace.Configuration.ServerStorageItems.Weapons["Katakama Yari"]:FindFirstChild("Script"):Destroy() end
if workspace.Configuration.ServerStorageItems.Weapons["Jumonji Yari"]:FindFirstChild("Script") then workspace.Configuration.ServerStorageItems.Weapons["Jumonji Yari"]:FindFirstChild("Script"):Destroy()end
if workspace.Configuration.ServerStorageItems.Weapons["Su Yari"]:FindFirstChild("Script") then workspace.Configuration.ServerStorageItems.Weapons["Su Yari"]:FindFirstChild("Script"):Destroy()end

Mscript1.Parent=workspace.Configuration.ServerStorageItems.Weapons["Tachi"]
Mscript2.Parent=workspace.Configuration.ServerStorageItems.Weapons["Naginata"]
Mscript3.Parent=workspace.Configuration.ServerStorageItems.Weapons["Katakama Yari"]
Mscript4.Parent=workspace.Configuration.ServerStorageItems.Weapons["Jumonji Yari"]
Mscript5.Parent=workspace.Configuration.ServerStorageItems.Weapons["Su Yari"]

Cchildren=workspace.Configuration:GetChildren()
for i=1,#Cchildren do
if Cchildren[i]:IsA("Camera") then
Cchildren[i].Name="Version 6.4"
end
end
PatchStuff:Destroy()
workspace["[PATCH]! ! ! READ ME ! ! !"]:Destroy()
0
For your code to work, you must have an item in the workspace called "Configuration". You are pointing to the workspace and looking for an item with the name Configuration when you type `workspace.Configuration`, but the script cannot find that location (because you haven't set it). cfiredog 274 — 7y

Answer this question