I made a simple instance but it's not working.
function returnedpart(color,IsAnchored,transparency, name) local part = Instance.new("Part")
part.Color = color part.Anchored = IsAnchored part.Transparency = transparency part.Name = name part.Parent = workspace
end
returnedpart(Color3.fromRGB(198, 64, 255), true, "Test")
output: Script 'ServerScriptService.Script', Line 7 - function returnedpart - Studio - Script:7 Script 'ServerScriptService.Script', Line 13 - Studio - Script:13 Stack End - Studio
uh im kinda new to scripting and im no pro but what about putting print lines in after every line to see where the mistake is? idk if thats gonna work or not cause im kinda a new scripter lol